id stringlengths 17 116 | task stringclasses 1
value | context_length stringclasses 1
value | documents listlengths 10 1.02k | question stringlengths 332 403 | question_with_choices stringlengths 332 403 | answer stringlengths 40 43.3k | answer_raw stringlengths 42 43.8k | n_chunks_full int64 10 61.9k | truncated bool 2
classes | repo stringlengths 7 54 | target_name stringlengths 1 72 | document_id int64 2.87k 144k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDU_FT/noirbizarre/minibench/with_sizes | LDU_FT | [
"<BEGIN>\n## `load_module`",
"Load a module into name given its filename\n<END>",
"<BEGIN>\n## `humanize`",
"Transform code conventions to human readable strings\n<END>",
"<BEGIN>\n## `end`",
"Dump the report into the output file.",
" If the file directory does not exists, it will be created.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_sizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_sizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Compute the report summary and add the computed column sizes | "Compute the report summary and add the computed column sizes" | 17 | false | noirbizarre/minibench | with_sizes | 7,673 | |
LDU_FT/QInfer/python-qinfer/sample_multinomial | LDU_FT | [
"<BEGIN>\n## `h`",
"r\"\"\"\n Returns the step size to be used in numerical differentiation with \n respect to the model parameters.",
" The step size is given as a vector with length ``n_modelparams`` so \n that each model parameter can be weighted independently.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_multinomial API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_multinomial API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | r"""
Draws fixed number of samples N from different
multinomial distributions (with the same number dice sides).
:param int N: How many samples to draw from each distribution.
:param np.ndarray p: Probabilities specifying each distribution.
Sum along axis 0 should be 1.
:param size: Output ... | "r\"\"\"\n Draws fixed number of samples N from different\n multinomial distributions (with the same number dice sides).\n\n :param int N: How many samples to draw from each distribution.\n :param np.ndarray p: Probabilities specifying each distribution.\n Sum along axis 0 should be 1.\n :param si... | 362 | false | QInfer/python-qinfer | sample_multinomial | 7,674 | |
LDU_FT/SecurityInnovation/PGPy/is_expired | LDU_FT | [
"<BEGIN>\n## `decrypt_sk`",
"The value \"m\" in the above formulas is derived from the session key\n as follows. First, the session key is prefixed with a one-octet\n algorithm identifier that specifies the symmetric encryption\n algorithm used to encrypt the following Symmetrically Encrypte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_expired API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_expired API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | ``True`` if this key is expired, otherwise ``False`` | "``True`` if this key is expired, otherwise ``False``" | 197 | false | SecurityInnovation/PGPy | is_expired | 7,675 | |
LDU_FT/UCSBarchlab/PyRTL/inspect_mem | LDU_FT | [
"<BEGIN>\n## `_initialize`",
"Sets the wire, register, and memory values to default or as specified.",
" :param register_value_map: is a map of {Register: value}.\n :param memory_value_map: is a map of maps {Memory: {address: Value}}.\n :param default_value: is the value that all unspecifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_mem API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_mem API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get the values in a map during the current simulation cycle.
:param mem: the memory to inspect
:return: {address: value}
Note that this returns the current memory state. Modifying the dictonary
will also modify the state in the simulator | "Get the values in a map during the current simulation cycle.\n\n :param mem: the memory to inspect\n :return: {address: value}\n\n Note that this returns the current memory state. Modifying the dictonary\n will also modify the state in the simulator" | 416 | false | UCSBarchlab/PyRTL | inspect_mem | 7,676 | |
LDU_FT/lablup/backend.ai-client-py/attach_files | LDU_FT | [
"<BEGIN>\n## `generate_signature`",
"Generates the API request signature from the given parameters.\n<END>",
"<BEGIN>\n## `list_with_limit`",
"Fetches the list of agents with the given status with limit and offset for\n pagination.",
" :param limit: number of agents to get\n :param offs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Attach a list of files represented as AttachedFile. | "Attach a list of files represented as AttachedFile." | 207 | false | lablup/backend.ai-client-py | attach_files | 7,677 | |
LDU_FT/rraadd88/rohan/get_time | LDU_FT | [
"<BEGIN>\n## `dqueries2queriessam`",
"Aligns queries to genome and gets SAM file\n step#1",
" :param cfg: configuration dict\n :param dqueries: dataframe of queries\n<END>",
"<BEGIN>\n## `queriessam2dalignbed`",
"Processes SAM file to get the genomic coordinates in BED format\n step#2",
" :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Gets current time in a form of a formated string. Used in logger function. | "Gets current time in a form of a formated string. Used in logger function." | 124 | false | rraadd88/rohan | get_time | 7,678 | |
LDU_FT/QuantEcon/QuantEcon.py/set_params | LDU_FT | [
"<BEGIN>\n## `backward_induction`",
"r\"\"\"\n Solve by backward induction a :math:`T`-period finite horizon\n discrete dynamic program with stationary reward and transition\n probability functions :math:`r` and :math:`q` and discount factor\n :math:`\\beta \\in [0, 1]`.",
" The optimal value fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | r"""
Internally, scipy.signal works with systems of the form
.. math::
ar_{poly}(L) X_t = ma_{poly}(L) \epsilon_t
where L is the lag operator. To match this, we set
.. math::
ar_{poly} = (1, -\phi_1, -\phi_2,..., -\phi_p)
ma_{poly} = (1, \theta_1... | "r\"\"\"\n Internally, scipy.signal works with systems of the form\n\n .. math::\n\n ar_{poly}(L) X_t = ma_{poly}(L) \\epsilon_t\n\n where L is the lag operator. To match this, we set\n\n .. math::\n\n ar_{poly} = (1, -\\phi_1, -\\phi_2,..., -\\phi_p)\n\n ma_... | 1,292 | true | QuantEcon/QuantEcon.py | set_params | 7,679 | |
LDU_FT/galactics/beyond/range | LDU_FT | [
"<BEGIN>\n## `create_station`",
"Create a ground station instance",
" Args:\n name (str): Name of the station",
" latlonalt (tuple of float): coordinates of the station, as follow:",
" * Latitude in degrees\n * Longitude in degrees\n * Altitude to sea level ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Generator of a date range
Args:
start (Date):
stop (Date or datetime.timedelta)!
step (timedelta):
Keyword Args:
inclusive (bool): If ``False``, the stopping date is not included.
This is the same behavior as the built-in :py:func:`range`.... | "Generator of a date range\n\n Args:\n start (Date):\n stop (Date or datetime.timedelta)!\n step (timedelta):\n Keyword Args:\n inclusive (bool): If ``False``, the stopping date is not included.\n This is the same behavior as the built-in :py:func... | 297 | false | galactics/beyond | range | 7,680 | |
LDU_FT/riga/tfdeploy/print_op | LDU_FT | [
"<BEGIN>\n## `setup`",
"Sets up global variables (currently only the tensorflow version) to adapt to peculiarities of\n different tensorflow versions. This function should only be called before :py:class:`Model`\n creation, not for evaluation. Therefore, the tensorflow module *tf* must be passed:",
" .... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_op API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_op API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | print_op(td_op, indent=" ", max_depth=-1)
Prints the dependency graph of a :py:class:`Operation` *td_op*, where each new level is indented
by *indent*. When *max_depth* is positive, the graph is truncated at that depth, where each
tensor and each op count as a level. | "print_op(td_op, indent=\" \", max_depth=-1)\n Prints the dependency graph of a :py:class:`Operation` *td_op*, where each new level is indented\n by *indent*. When *max_depth* is positive, the graph is truncated at that depth, where each\n tensor and each op count as a level." | 43 | false | riga/tfdeploy | print_op | 7,681 | |
LDU_FT/otto-torino/django-baton/create_app_list_dict | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns a json representing the menu voices\n in a format eaten by the js menu.\n Raised ImproperlyConfigured exceptions can be viewed\n in the browser console\n<END>",
"<BEGIN>\n## `get_title_voice`",
"Title voice\n Returns the js menu compati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_app_list_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_app_list_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates a more efficient to check dictionary from
the app_list list obtained from django admin | "Creates a more efficient to check dictionary from\n the app_list list obtained from django admin" | 20 | false | otto-torino/django-baton | create_app_list_dict | 7,682 | |
LDU_FT/ssato/python-anyconfig/_parse_attrs | LDU_FT | [
"<BEGIN>\n## `_load_plugins_itr`",
".. seealso:: the doc of :func:`load_plugins`\n<END>",
"<BEGIN>\n## `select_by_key`",
":param items: A list of tuples of keys and values, [([key], val)]\n :return: A list of tuples of key and values, [(key, [val])]",
" >>> select_by_key([([\"a\", \"aaa\"], 1), ([\"b\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_attrs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_attrs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | :param elem: ET Element object has attributes (elem.attrib)
:param container: callble to make a container object
:return: Parsed value or value itself depends on 'ac_parse_value' | ":param elem: ET Element object has attributes (elem.attrib)\n :param container: callble to make a container object\n :return: Parsed value or value itself depends on 'ac_parse_value'" | 534 | false | ssato/python-anyconfig | _parse_attrs | 7,683 | |
LDU_FT/SpriteLink/NIPAP/smart_search_vrf | LDU_FT | [
"<BEGIN>\n## `_serve_file`",
"Call Paste's FileApp (a WSGI application) to serve the file\n at the specified path\n<END>",
"<BEGIN>\n## `extract_prefix_attr`",
"Extract prefix attributes from arbitary dict.\n<END>",
"<BEGIN>\n## `extract_pool_attr`",
"Extract pool attributes from arbitary dict.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_search_vrf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_search_vrf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Perform a smart VRF search.
The "smart" search function tries extract a query from
a text string. This query is then passed to the search_vrf
function, which performs the search. | "Perform a smart VRF search.\n\n The \"smart\" search function tries extract a query from\n a text string. This query is then passed to the search_vrf\n function, which performs the search." | 454 | false | SpriteLink/NIPAP | smart_search_vrf | 7,684 | |
LDU_FT/biosustain/optlang/from_json | LDU_FT | [
"<BEGIN>\n## `_constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value`",
"Helper function used by Constraint and Model\n<END>",
"<BEGIN>\n## `_evolve_kwargs`",
"Filter None keyword arguments. Intended to be passed on to algorithm.evolve(...)\n<END>",
"<BEGIN>\n## `parse_optimization_expression`",
"Funct... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Constructs an Objective from the provided json-object.
Example
--------
>>> import json
>>> with open("path_to_file.json") as infile:
>>> obj = Objective.from_json(json.load(infile)) | "Constructs an Objective from the provided json-object.\n\n Example\n --------\n >>> import json\n >>> with open(\"path_to_file.json\") as infile:\n >>> obj = Objective.from_json(json.load(infile))" | 106 | false | biosustain/optlang | from_json | 7,685 | |
LDU_FT/inveniosoftware/invenio-oauthclient/account_setup | LDU_FT | [
"<BEGIN>\n## `response_token_setter`",
"Extract token from response and set it for the user.",
" :param remote: The remote application.\n :param resp: The response.\n :raises invenio_oauthclient.errors.OAuthClientError: If authorization with\n remote service failed.\n :raises invenio_oauthcli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the account_setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the account_setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Perform additional setup after user have been logged in.
:param remote: The remote application.
:param token: The token value.
:param resp: The response. | "Perform additional setup after user have been logged in.\n\n :param remote: The remote application.\n :param token: The token value.\n :param resp: The response." | 147 | false | inveniosoftware/invenio-oauthclient | account_setup | 7,686 | |
LDU_FT/tyiannak/pyAudioAnalysis/mtFileClassification | LDU_FT | [
"<BEGIN>\n## `recordAnalyzeAudio`",
"recordAnalyzeAudio(duration, outputWavFile, midTermBufferSizeSec, modelName, modelType)",
"\tThis function is used to record and analyze audio segments, in a fix window basis.",
"\tARGUMENTS: \n\t- duration\t\t\ttotal recording duration\n\t- outputWavFile\t\t\tpath of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mtFileClassification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mtFileClassification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This function performs mid-term classification of an audio stream.
Towards this end, supervised knowledge is used, i.e. a pre-trained classifier.
ARGUMENTS:
- input_file: path of the input WAV file
- model_name: name of the classification model
- model_type: svm or k... | "This function performs mid-term classification of an audio stream.\n Towards this end, supervised knowledge is used, i.e. a pre-trained classifier.\n ARGUMENTS:\n - input_file: path of the input WAV file\n - model_name: name of the classification model\n - model_type: sv... | 99 | false | tyiannak/pyAudioAnalysis | mtFileClassification | 7,687 | |
LDU_FT/rytilahti/python-songpal/fetch_signatures | LDU_FT | [
"<BEGIN>\n## `make`",
"Create a container.",
" Reports extra keys as well as missing ones.\n Thanks to habnabit for the idea!\n<END>",
"<BEGIN>\n## `create_post_request`",
"Call the given method over POST.",
" :param method: Name of the method\n :param params: dict of parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_signatures API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_signatures API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Request available methods for the service. | "Request available methods for the service." | 86 | false | rytilahti/python-songpal | fetch_signatures | 7,688 | |
LDU_FT/hfaran/piazza-api/search | LDU_FT | [
"<BEGIN>\n## `user_login`",
"Login with email, password and get back a session cookie",
" :type email: str\n :param email: The email used for authentication\n :type password: str\n :param password: The password used for authentication\n<END>",
"<BEGIN>\n## `demo_login`",
"Authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Search for posts with ``query``
:type nid: str
:param nid: This is the ID of the network to get the feed
from. This is optional and only to override the existing
`network_id` entered when created the class
:type query: str
:param query: The search query; should ... | "Search for posts with ``query``\n\n :type nid: str\n :param nid: This is the ID of the network to get the feed\n from. This is optional and only to override the existing\n `network_id` entered when created the class\n :type query: str\n :param query: The search query;... | 100 | false | hfaran/piazza-api | search | 7,689 | |
LDU_FT/mbi/django-rosetta/msg_filter | LDU_FT | [
"<BEGIN>\n## `timestamp_with_timezone`",
"Return a timestamp with a timezone for the configured locale. If all else\n fails, consider localtime to be UTC.\n<END>",
"<BEGIN>\n## `find_pos`",
"scans a couple possible repositories of gettext catalogs for the given\n language code\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the msg_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the msg_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Validate/return msg_filter from request (e.g. 'fuzzy', 'untranslated'),
or a default.
If a query is also specified in the request, then return None. | "Validate/return msg_filter from request (e.g. 'fuzzy', 'untranslated'),\n or a default.\n\n If a query is also specified in the request, then return None." | 31 | false | mbi/django-rosetta | msg_filter | 7,690 | |
LDU_FT/ktbyers/netmiko/_TemplateNamesToFiles | LDU_FT | [
"<BEGIN>\n## `show_version`",
"Execute show version command using Netmiko.\n<END>",
"<BEGIN>\n## `main`",
"Use threads and Netmiko to connect to each of the devices. Execute\n 'show version' on each device. Record the amount of time required to do this.\n<END>",
"<BEGIN>\n## `session_preparation`",
"Pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _TemplateNamesToFiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _TemplateNamesToFiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parses a string of templates into a list of file handles. | "Parses a string of templates into a list of file handles." | 532 | false | ktbyers/netmiko | _TemplateNamesToFiles | 7,691 | |
LDU_FT/flrt/hl7tersely/buildSegmentMap | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a value in the HL7 dictionary. The terser can be fully qualified or not.\n Fully qualified : OBR[1]-10-01\n Simpliest form : OBR-10-1 (in this case, 1 uniq segment OBR is present in the HL7 message)",
" :return : the value or a list of values. Otherwis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildSegmentMap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildSegmentMap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Build the map of the various segments.
Each segment has a qualified name according to the number
of equivalent segment.
If there is only one segment, the segment name is MSH[1] or PID[1].
If there are 3 segments with the same name, the qualified names are
SPM[1], SPM[2], SPM[3] f... | "Build the map of the various segments.\n Each segment has a qualified name according to the number\n of equivalent segment.\n If there is only one segment, the segment name is MSH[1] or PID[1].\n If there are 3 segments with the same name, the qualified names are\n SPM[1], SPM[2], SP... | 22 | false | flrt/hl7tersely | buildSegmentMap | 7,692 | |
LDU_FT/volfpeter/graphscraper/get_node | LDU_FT | [
"<BEGIN>\n## `add_neighbor`",
"Adds a new neighbor to the node.\r",
" Arguments:\r\n edge (Edge): The edge that would connect this node with its neighbor.\n<END>",
"<BEGIN>\n## `_load_neighbors`",
"Loads all neighbors of the node from the local database and\r\n from the external dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the node with the given index if such a node currently exists in the node list.
Arguments:
index (int): The index of the queried node.
Returns:
The node with the given index if such a node currently exists in the node list,
`None` otherwise. | "Returns the node with the given index if such a node currently exists in the node list.\r\n\r\n Arguments:\r\n index (int): The index of the queried node.\r\n\r\n Returns:\r\n The node with the given index if such a node currently exists in the node list,\r\n `None` other... | 122 | false | volfpeter/graphscraper | get_node | 7,693 | |
LDU_FT/trevorstephens/gplearn/fit | LDU_FT | [
"<BEGIN>\n## `_parallel_evolve`",
"Private function used to build a batch of programs within a job.\n<END>",
"<BEGIN>\n## `_verbose_reporter`",
"A report of the progress of the evolution process.",
" Parameters\n ----------\n run_details : dict\n Information about the evoluti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Fit the Genetic Program according to X, y.
Parameters
----------
X : array-like, shape = [n_samples, n_features]
Training vectors, where n_samples is the number of samples and
n_features is the number of features.
y : array-like, shape = [n_samples]
... | "Fit the Genetic Program according to X, y.\n\n Parameters\n ----------\n X : array-like, shape = [n_samples, n_features]\n Training vectors, where n_samples is the number of samples and\n n_features is the number of features.\n\n y : array-like, shape = [n_samples]\n ... | 103 | false | trevorstephens/gplearn | fit | 7,694 | |
LDU_FT/vladcalin/gemstone/notify | LDU_FT | [
"<BEGIN>\n## `parse_json_structure`",
"Given a raw representation of a json structure, returns the parsed corresponding data\n structure (``JsonRpcRequest`` or ``JsonRpcRequestBatch``)",
" :param string_item:\n :return:\n<END>",
"<BEGIN>\n## `from_dict`",
"Validates a dict instance and transforms i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Sends a notification to the service by calling the ``method_name``
method with the ``params`` parameters. Does not wait for a response, even
if the response triggers an error.
:param method_name_or_object: the name of the method to be called or a ``Notification``
... | "Sends a notification to the service by calling the ``method_name``\n method with the ``params`` parameters. Does not wait for a response, even\n if the response triggers an error.\n\n :param method_name_or_object: the name of the method to be called or a ``Notification``\n ... | 107 | false | vladcalin/gemstone | notify | 7,695 | |
LDU_FT/KeithSSmith/switcheo-python/execute_order | LDU_FT | [
"<BEGIN>\n## `neo_get_scripthash_from_address`",
"Convert a Public Address String to a ScriptHash (Address) String.",
" :param address: The Public address to convert.\n :type address: str\n :return: String containing the converted ScriptHash.\n<END>",
"<BEGIN>\n## `num2hexstring`",
"Converts a numb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | This function executes the order created before it and signs the transaction to be submitted to the blockchain.
Execution of this function is as follows::
execute_order(order_params=create_order, private_key=kp)
The expected return result for this function is the same as the execute_order ... | "This function executes the order created before it and signs the transaction to be submitted to the blockchain.\n Execution of this function is as follows::\n\n execute_order(order_params=create_order, private_key=kp)\n\n The expected return result for this function is the same as the execute_... | 218 | false | KeithSSmith/switcheo-python | execute_order | 7,696 | |
LDU_FT/Capitains/Nautilus/_get_passage_plus | LDU_FT | [
"<BEGIN>\n## `r_cts`",
"Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route",
" :return: Response\n<END>",
"<BEGIN>\n## `cts_error`",
"Create a CTS Error reply",
" :param error_name: Name of the error\n :param message: Message of the Error\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_passage_plus API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_passage_plus API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Provisional route for GetPassagePlus request
:param urn: URN to filter the resource
:return: GetPassagePlus response | "Provisional route for GetPassagePlus request\n\n :param urn: URN to filter the resource\n :return: GetPassagePlus response" | 110 | false | Capitains/Nautilus | _get_passage_plus | 7,697 | |
LDU_FT/SuperCowPowers/bat/transform | LDU_FT | [
"<BEGIN>\n## `readlines`",
"Open the file for reading and yield lines as they are added\n<END>",
"<BEGIN>\n## `readrows`",
"The readrows method reads simply 'combines' the rows of\n multiple files OR gunzips the file and then reads the rows\n<END>",
"<BEGIN>\n## `most_recent`",
"Recursively insp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Transform dataframe into a numpy ndarray(matrix) | "Transform dataframe into a numpy ndarray(matrix)" | 79 | false | SuperCowPowers/bat | transform | 7,698 | |
LDU_FT/programa-stic/barf-project/get_memory | LDU_FT | [
"<BEGIN>\n## `translate`",
"Return the SMT representation of a REIL instruction.\n<END>",
"<BEGIN>\n## `_translate_src_oprnd`",
"Translate source operand to a SMT expression.\n<END>",
"<BEGIN>\n## `_translate_dst_oprnd`",
"Translate destination operand to a SMT expression.\n<END>",
"<BEGIN>\n## `_transl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_memory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_memory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a smt bit vector that represents a memory location. | "Return a smt bit vector that represents a memory location." | 148 | false | programa-stic/barf-project | get_memory | 7,699 | |
LDU_FT/JukeboxPipeline/jukebox-core/rowCount | LDU_FT | [
"<BEGIN>\n## `restrictable`",
"Decorator for :class:`Reftrack` methods.\n A decorated method will check if its restriction with :meth:`Reftrack.is_restricted`\n and raises a :class:`RestrictionError` if it is restricted.",
" :param m: The :class:`Reftrack` method to wrap\n :type m: :class:`Reftrack`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rowCount API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rowCount API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return the number of rows under the given parent.
When the parent is valid return rowCount the number
of children of parent.
:param parent: the parent index
:type parent: :class:`QtCore.QModelIndex`:
:returns: the row count
:rtype: int
:raises: None | "Return the number of rows under the given parent.\n When the parent is valid return rowCount the number\n of children of parent.\n\n :param parent: the parent index\n :type parent: :class:`QtCore.QModelIndex`:\n :returns: the row count\n :rtype: int\n :raises: None" | 1,529 | true | JukeboxPipeline/jukebox-core | rowCount | 7,700 | |
LDU_FT/kervi/kervi-core/activate_page | LDU_FT | [
"<BEGIN>\n## `set_channels`",
"Sets the state of multiple channels in one operation.",
" :param channels:\n A dictionary where keys are channels and values the value to set for each channel.",
" :type channels: ``dict``\n<END>",
"<BEGIN>\n## `action`",
"Decorator that turns a func... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activate_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activate_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | r"""
Activates a display page. Content of the active page is shown in the display.
:param page_id: Id of page to activate
:type page_id: ``str`` | "r\"\"\"\n Activates a display page. Content of the active page is shown in the display.\n\n :param page_id: Id of page to activate\n :type page_id: ``str``" | 101 | false | kervi/kervi-core | activate_page | 7,701 | |
LDU_FT/cablehead/vanilla/channel | LDU_FT | [
"<BEGIN>\n## `Queue`",
"::",
" +----------+\n send --> | Queue |\n | (buffer) | --> recv\n +----------+",
" A Queue may also only have exactly one sender and recver. A Queue however\n has a fifo buffer of a custom size. Sends to the Queue won't b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | ::
send --\ +---------+ /--> recv
+-> | Channel | -+
send --/ +---------+ \--> recv
A Channel can have many senders and many recvers. By default it is
unbuffered, but you can create buffered Channels by specifying a size.
They're structurally... | "::\n\n send --\\ +---------+ /--> recv\n +-> | Channel | -+\n send --/ +---------+ \\--> recv\n\n A Channel can have many senders and many recvers. By default it is\n unbuffered, but you can create buffered Channels by specifying a size.\n They're s... | 81 | false | cablehead/vanilla | channel | 7,702 | |
LDU_FT/SylvanasSun/FishFishJump/from_ssl | LDU_FT | [
"<BEGIN>\n## `hash`",
"function hash() implement to acquire hash value that use simply method that weighted sum.",
" Parameters:\n -----------\n value: string\n the value is param of need acquire hash\n Returns:\n --------\n result... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_ssl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_ssl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Initialize a Elasticsearch client by SSL.
:param ca_certs: optional path to CA bundle. See
https://urllib3.readthedocs.io/en/latest/security.html#using-certifi-with-urllib3
:param client_cert: path to the file containing the private key and the
certificate, or cert only if using client_... | "Initialize a Elasticsearch client by SSL.\n\n :param ca_certs: optional path to CA bundle. See\n https://urllib3.readthedocs.io/en/latest/security.html#using-certifi-with-urllib3\n :param client_cert: path to the file containing the private key and the\n certificate, or cert only if using c... | 97 | false | SylvanasSun/FishFishJump | from_ssl | 7,703 | |
LDU_FT/ramrod-project/database-brain/get_jobs | LDU_FT | [
"<BEGIN>\n## `deprecated_function`",
"decorator to annotate deprecated functions",
" usage @decorator(replacement=\"brain.whatever.new_function\")",
" :param func_: <callable>\n :param replacement: <str>\n :param args: positional arguments\n :param kwargs:\n :return: <func_'s return value>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_jobs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_jobs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | :param plugin_name: <str>
:param verify_job: <bool>
:param conn: <connection> or <NoneType>
:return: <generator> yields <dict> | ":param plugin_name: <str>\n :param verify_job: <bool>\n :param conn: <connection> or <NoneType>\n :return: <generator> yields <dict>" | 165 | false | ramrod-project/database-brain | get_jobs | 7,704 | |
LDU_FT/staffanm/layeredconfig/typevalue | LDU_FT | [
"<BEGIN>\n## `typevalue`",
"Given a parameter identified by ``key`` and an untyped string,\n convert that string to the type that our version of key has.\n<END>",
"<BEGIN>\n## `write`",
"Commits any pending modifications, ie save a configuration file if\n it has been marked \"dirty\" as a result... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the typevalue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the typevalue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Given a parameter identified by ``key`` and an untyped string,
convert that string to the type that our version of key has. | "Given a parameter identified by ``key`` and an untyped string,\n convert that string to the type that our version of key has." | 15 | false | staffanm/layeredconfig | typevalue | 7,705 | |
LDU_FT/SpikeInterface/spiketoolkit/compute_performance | LDU_FT | [
"<BEGIN>\n## `compute_agreement_score`",
"Agreement score is used as a criteria to match unit1 and unit2.\n<END>",
"<BEGIN>\n## `do_matching`",
"This compute the matching between 2 sorters.",
" Parameters\n ----------\n sorting1: SortingExtractor instance",
" sorting2: SortingExtractor instanc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_performance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_performance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return some performance value for comparison.
Parameters
-------
SC: SortingComparison instance
The SortingComparison
verbose: bool
Display on console or not
output: dict or pandas
Returns
----------
performance: dict or pandas.Serie depending output param | "Return some performance value for comparison.\n\n Parameters\n -------\n SC: SortingComparison instance\n The SortingComparison\n\n verbose: bool\n Display on console or not\n\n output: dict or pandas\n\n\n Returns\n ----------\n\n performance: dict or pandas.Serie depending outpu... | 83 | false | SpikeInterface/spiketoolkit | compute_performance | 7,706 | |
LDU_FT/pytroll/pyspectral/_load | LDU_FT | [
"<BEGIN>\n## `radiance2tb`",
"Get the Tb from the radiance using the Planck function",
" rad:\n Radiance in SI units\n wavelength:\n Wavelength in SI units (meter)\n<END>",
"<BEGIN>\n## `_get_rsr`",
"Get the relative spectral responses from file, find the bandname, and\n convert t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Read the tabulated spectral irradiance data from file | "Read the tabulated spectral irradiance data from file" | 129 | false | pytroll/pyspectral | _load | 7,707 | |
LDU_FT/niccokunzmann/hanging_threads/monitor | LDU_FT | [
"<BEGIN>\n## `start_monitoring`",
"Start monitoring for hanging threads.",
" seconds_frozen - How much time should thread hang to activate\n printing stack trace - default(10)",
" tests_interval - Sleep time of monitoring thread (in milliseconds) \n - default(100)\n<END>",
"<BEGIN>\n## `monitor`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monitor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monitor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Monitoring thread function.
Checks if thread is hanging for time defined by
``seconds_frozen`` parameter every ``test_interval`` milliseconds. | "Monitoring thread function.\n\n Checks if thread is hanging for time defined by\n ``seconds_frozen`` parameter every ``test_interval`` milliseconds." | 16 | false | niccokunzmann/hanging_threads | monitor | 7,708 | |
LDU_FT/taizilongxu/douban.fm/set_channel | LDU_FT | [
"<BEGIN>\n## `updown`",
"屏幕上下滚动",
" :params incrment: 1 向下滚动\n -1 向上滚动\n<END>",
"<BEGIN>\n## `center_num`",
"返回总字符数(考虑英文和中文在终端所占字块)",
" return: int\n<END>",
"<BEGIN>\n## `get_login_data`",
"提供登陆的认证",
" 这里顺带增加了 volume, channel, theme_id , netease, run_tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | 设置api发送的FM频道
:params channel_num: channel_list的索引值 int | "设置api发送的FM频道\n\n :params channel_num: channel_list的索引值 int" | 36 | false | taizilongxu/douban.fm | set_channel | 7,709 | |
LDU_FT/hotdoc/hotdoc/add_path_argument | LDU_FT | [
"<BEGIN>\n## `connect`",
"@slot: The method to be called on signal emission",
" Connects to @slot\n<END>",
"<BEGIN>\n## `connect_after`",
"@slot: The method to be called at last stage of signal emission",
" Connects to the signal after the signals has been handled by other\n connect c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_path_argument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_path_argument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Subclasses may call this to expose a path argument.
Args:
group: arparse.ArgumentGroup, the extension argument group
argname: str, the name of the argument, will be namespaced.
dest: str, similar to the `dest` argument of
`argparse.ArgumentParser.add_argument... | "Subclasses may call this to expose a path argument.\n\n Args:\n group: arparse.ArgumentGroup, the extension argument group\n argname: str, the name of the argument, will be namespaced.\n dest: str, similar to the `dest` argument of\n `argparse.ArgumentParser.add_a... | 266 | false | hotdoc/hotdoc | add_path_argument | 7,710 | |
LDU_FT/Pytwitcher/pytwitcherapi/usher_request | LDU_FT | [
"<BEGIN>\n## `needs_auth`",
"Wraps a method of :class:`TwitchSession` and\n raises an :class:`exceptions.NotAuthorizedError`\n if before calling the method, the session isn't authorized.",
" :param meth:\n :type meth:\n :returns: the wrapped method\n :rtype: Method\n :raises: None\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usher_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usher_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Make a request to one of the usher api endpoints.
The url will be constructed of :data:`TWITCH_USHERURL` and
the given endpoint.
:param method: the request method
:type method: :class:`str`
:param endpoint: the endpoint of the usher api.
The base url is... | "Make a request to one of the usher api endpoints.\n\n The url will be constructed of :data:`TWITCH_USHERURL` and\n the given endpoint.\n\n :param method: the request method\n :type method: :class:`str`\n :param endpoint: the endpoint of the usher api.\n The ba... | 198 | false | Pytwitcher/pytwitcherapi | usher_request | 7,711 | |
LDU_FT/kennethreitz/maya/add | LDU_FT | [
"<BEGIN>\n## `comparable`",
"Class decorator that ensures support for the special C{__cmp__} method.\n On Python 2 this does nothing.\n On Python 3, C{__eq__}, C{__lt__}, etc. methods are added to the class,\n relying on C{__cmp__} to implement their comparisons.\n<END>",
"<BEGIN>\n## `validate_class_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns a new MayaDT object with the given offsets. | "Returns a new MayaDT object with the given offsets." | 47 | false | kennethreitz/maya | add | 7,712 | |
LDU_FT/rosshamish/hexgrid/coastal_coords | LDU_FT | [
"<BEGIN>\n## `location`",
"Returns a formatted string representing the coordinate. The format depends on the\n coordinate type.",
" Tiles look like: 1, 12\n Nodes look like: (1 NW), (12 S)\n Edges look like: (1 NW), (12 SE)",
" :param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coastal_coords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coastal_coords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | A coastal coord is a 2-tuple: (tile id, direction).
An edge is coastal if it is on the grid's border.
:return: list( (tile_id, direction) ) | "A coastal coord is a 2-tuple: (tile id, direction).\n\n An edge is coastal if it is on the grid's border.\n\n :return: list( (tile_id, direction) )" | 49 | false | rosshamish/hexgrid | coastal_coords | 7,713 | |
LDU_FT/optimizely/python-sdk/get_variation_from_key | LDU_FT | [
"<BEGIN>\n## `is_datafile_valid`",
"Given a datafile determine if it is valid or not.",
" Args:\n datafile: JSON string representing the project.",
" Returns:\n Boolean depending upon whether datafile is valid or not.\n<END>",
"<BEGIN>\n## `is_user_profile_valid`",
"Determine if provided user prof... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variation_from_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variation_from_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Get variation given experiment and variation key.
Args:
experiment: Key representing parent experiment of variation.
variation_key: Key representing the variation.
Returns
Object representing the variation. | "Get variation given experiment and variation key.\n\n Args:\n experiment: Key representing parent experiment of variation.\n variation_key: Key representing the variation.\n\n Returns\n Object representing the variation." | 302 | false | optimizely/python-sdk | get_variation_from_key | 7,714 | |
LDU_FT/Commonists/CommonsDownloader/download_file | LDU_FT | [
"<BEGIN>\n## `make_thumbnail_name`",
"Return name of the downloaded thumbnail, based on the extension.\n<END>",
"<BEGIN>\n## `get_thumbnail_of_file`",
"Return the file contents of the thumbnail of the given file.\n<END>",
"<BEGIN>\n## `get_exception_based_on_api_message`",
"Return the exception matching t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Download a given Wikimedia Commons file. | "Download a given Wikimedia Commons file." | 16 | false | Commonists/CommonsDownloader | download_file | 7,715 | |
LDU_FT/FreshXOpenSource/wallaby-frontend-qt/addReader | LDU_FT | [
"<BEGIN>\n## `_add`",
"Private method for adding a descriptor from the event loop.",
" It takes care of adding it if new or modifying it if already added\n for another state (read -> read/write for example).\n<END>",
"<BEGIN>\n## `addReader`",
"Add a FileDescriptor for notification of data av... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addReader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addReader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a FileDescriptor for notification of data available to read. | "Add a FileDescriptor for notification of data available to read." | 34 | false | FreshXOpenSource/wallaby-frontend-qt | addReader | 7,716 | |
LDU_FT/nabla-c0d3/sslyze/update_default | LDU_FT | [
"<BEGIN>\n## `do_handshake_with_robot`",
"Modified do_handshake() to send a ROBOT payload and return the result.\n<END>",
"<BEGIN>\n## `get_client_key_exchange_record`",
"A client key exchange record with a hardcoded pre_master_secret, and a valid or invalid padding.\n<END>",
"<BEGIN>\n## `get_finished_reco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Update the default trust stores used by SSLyze.
The latest stores will be downloaded from https://github.com/nabla-c0d3/trust_stores_observatory. | "Update the default trust stores used by SSLyze.\n\n The latest stores will be downloaded from https://github.com/nabla-c0d3/trust_stores_observatory." | 92 | false | nabla-c0d3/sslyze | update_default | 7,717 | |
LDU_FT/slarse/clanimtk/animate_cli | LDU_FT | [
"<BEGIN>\n## `animate_cli`",
"Print out the animation cycle to stdout. This function is for use with\n synchronous functions and must be run in a thread.",
" Args:\n animation_ (generator): A generator that produces strings for the\n animation. Should be endless.\n step (float): Secon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the animate_cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the animate_cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Print out the animation cycle to stdout. This function is for use with
synchronous functions and must be run in a thread.
Args:
animation_ (generator): A generator that produces strings for the
animation. Should be endless.
step (float): Seconds between each animation frame. | "Print out the animation cycle to stdout. This function is for use with\n synchronous functions and must be run in a thread.\n\n Args:\n animation_ (generator): A generator that produces strings for the\n animation. Should be endless.\n step (float): Seconds between each animation frame." | 48 | false | slarse/clanimtk | animate_cli | 7,718 | |
LDU_FT/mapnik/Cascadenik/get_line_pattern_rules | LDU_FT | [
"<BEGIN>\n## `xindexes`",
"Generate list of possible indexes into a list of slots.",
" Best way to think of this is as a number where each digit might have a different radix.\n E.g.: (10, 10, 10) would return 10 x 10 x 10 = 1000 responses from (0, 0, 0) to (9, 9, 9),\n (2, 2, 2, 2) would re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_line_pattern_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_line_pattern_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Given a list of declarations, return a list of output.Rule objects.
Optionally provide an output directory for local copies of image files. | "Given a list of declarations, return a list of output.Rule objects.\n \n Optionally provide an output directory for local copies of image files." | 123 | false | mapnik/Cascadenik | get_line_pattern_rules | 7,719 | |
LDU_FT/taborlab/FlowCal/density2d | LDU_FT | [
"<BEGIN>\n## `clustering_gmm`",
"Find clusters in an array using a Gaussian Mixture Model.",
" Before clustering, `data` can be automatically rescaled as specified by\n the `scale` argument.",
" Parameters\n ----------\n data : FCSData or array_like\n Data to cluster.\n n_clusters : i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the density2d API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the density2d API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Plot a 2D density plot from two channels of a flow cytometry data set.
`density2d` has two plotting modes which are selected using the `mode`
argument. With ``mode=='mesh'``, this function plots the data as a true
2D histogram, in which a plane is divided into bins and the color of
each bin is directly... | "Plot a 2D density plot from two channels of a flow cytometry data set.\n\n `density2d` has two plotting modes which are selected using the `mode`\n argument. With ``mode=='mesh'``, this function plots the data as a true\n 2D histogram, in which a plane is divided into bins and the color of\n each bin is di... | 418 | false | taborlab/FlowCal | density2d | 7,720 | |
LDU_FT/google/python-gflags/ReadFlagsFromFiles | LDU_FT | [
"<BEGIN>\n## `GetRealPath`",
"Given an executable filename, find in the PATH or find absolute path.\n Args:\n filename An executable filename (string)\n Returns:\n Absolute version of filename.\n None if filename could not be found locally, absolutely, or in PATH\n<END>",
"<BEGIN>\n## `Run`",
"Run... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ReadFlagsFromFiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ReadFlagsFromFiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Processes command line args, but also allow args to be read from file.
Args:
argv: A list of strings, usually sys.argv[1:], which may contain one or
more flagfile directives of the form --flagfile="./filename".
Note that the name of the program (sys.argv[0]) should be omitted.
force_gnu... | "Processes command line args, but also allow args to be read from file.\n\n Args:\n argv: A list of strings, usually sys.argv[1:], which may contain one or\n more flagfile directives of the form --flagfile=\"./filename\".\n Note that the name of the program (sys.argv[0]) should be omitted.\n ... | 243 | false | google/python-gflags | ReadFlagsFromFiles | 7,721 | |
LDU_FT/raamana/mrivis/save_as_gif | LDU_FT | [
"<BEGIN>\n## `checkerboard`",
"Checkerboard mixer.",
" Parameters\n ----------\n img_spec1 : str or nibabel image-like object\n MR image (or path to one) to be visualized",
" img_spec2 : str or nibabel image-like object\n MR image (or path to one) to be visualized",
" patch_size... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_as_gif API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_as_gif API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Package the selected slices into a single GIF for easy sharing and display (on web etc).
You must install imageio module separately to use this feature.
Parameters
----------
gif_path : str
Output path for the GIF image
duration : float
Duration of disp... | "Package the selected slices into a single GIF for easy sharing and display (on web etc).\n\n You must install imageio module separately to use this feature.\n\n Parameters\n ----------\n gif_path : str\n Output path for the GIF image\n\n duration : float\n Durat... | 216 | false | raamana/mrivis | save_as_gif | 7,722 | |
LDU_FT/archman/beamline/getAllCols | LDU_FT | [
"<BEGIN>\n## `plotLattice`",
"function plot beamline defined by ``beamlinepatchlist``, which is a set of patches for all elements",
" :param beamlinepatchlist: generated by function ``makeBeamline()``\n :param fignum: figure number, 1 by default\n :param fig_size: figure size, 20 inch by default\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAllCols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAllCols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | get all available column names from sddsfile
:param sddsfile: sdds file name, if not given, rollback to the one that from ``__init__()``
:return: all sdds data column names
:rtype: list
:Example:
>>> dh = DataExtracter('test.out')
>>> print(dh.getAllCols())
['x... | "get all available column names from sddsfile\n\n :param sddsfile: sdds file name, if not given, rollback to the one that from ``__init__()``\n :return: all sdds data column names\n :rtype: list\n\n :Example:\n\n >>> dh = DataExtracter('test.out')\n >>> print(dh.getAllCols())\n... | 318 | false | archman/beamline | getAllCols | 7,723 | |
LDU_FT/rckclmbr/pyportify/i2osp | LDU_FT | [
"<BEGIN>\n## `perform_master_login`",
"Perform a master login, which is what Android does when you first add a\n Google account.",
" Return a dict, eg::",
" {\n 'Auth': '...',\n 'Email': 'email@gmail.com',\n 'GooglePlusUpgrade': '1',\n 'LSID': '...',\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the i2osp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the i2osp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Converts the integer x to its big-endian representation of length
x_len. | "Converts the integer x to its big-endian representation of length\n x_len." | 57 | false | rckclmbr/pyportify | i2osp | 7,724 | |
LDU_FT/konstantint/matplotlib-venn/point_in_circle | LDU_FT | [
"<BEGIN>\n## `point_in_circle`",
"Returns true if a given point is located inside (or on the border) of a circle.",
" >>> point_in_circle((0, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 1), (0, 0), 1)\n False\n<END>",
"<BEGIN>\n## `circle_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point_in_circle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point_in_circle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns true if a given point is located inside (or on the border) of a circle.
>>> point_in_circle((0, 0), (0, 0), 1)
True
>>> point_in_circle((1, 0), (0, 0), 1)
True
>>> point_in_circle((1, 1), (0, 0), 1)
False | "Returns true if a given point is located inside (or on the border) of a circle.\n \n >>> point_in_circle((0, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 0), (0, 0), 1)\n True\n >>> point_in_circle((1, 1), (0, 0), 1)\n False" | 166 | false | konstantint/matplotlib-venn | point_in_circle | 7,725 | |
LDU_FT/LCAV/pylocus/optspace | LDU_FT | [
"<BEGIN>\n## `optspace`",
"Complete and denoise EDM using OptSpace algorithm.",
" Uses OptSpace algorithm to complete and denoise EDM. The problem being solved is\n X,S,Y = argmin_(X,S,Y) || W ° (D - XSY') ||_F^2",
" :param edm_missing: EDM with 0 where no measurement was taken.\n :param rank: exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optspace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optspace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Complete and denoise EDM using OptSpace algorithm.
Uses OptSpace algorithm to complete and denoise EDM. The problem being solved is
X,S,Y = argmin_(X,S,Y) || W ° (D - XSY') ||_F^2
:param edm_missing: EDM with 0 where no measurement was taken.
:param rank: expected rank of complete EDM.
:param nite... | "Complete and denoise EDM using OptSpace algorithm.\n\n Uses OptSpace algorithm to complete and denoise EDM. The problem being solved is\n X,S,Y = argmin_(X,S,Y) || W ° (D - XSY') ||_F^2\n\n :param edm_missing: EDM with 0 where no measurement was taken.\n :param rank: expected rank of complete EDM.\n :pa... | 130 | false | LCAV/pylocus | optspace | 7,726 | |
LDU_FT/undertherain/pycontextfree/compile_string | LDU_FT | [
"<BEGIN>\n## `register_output_name`",
"Register proper and improper file mappings.\n<END>",
"<BEGIN>\n## `find_version`",
"Simulate behaviour of \"from package_name._version import VERSION\", and return VERSION.\n<END>",
"<BEGIN>\n## `parse_requirements`",
"Read contents of requirements.txt file and retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Compile docstrings into HTML strings, with shortcode support. | "Compile docstrings into HTML strings, with shortcode support." | 39 | false | undertherain/pycontextfree | compile_string | 7,727 | |
LDU_FT/xflows/rdm/background_knowledge | LDU_FT | [
"<BEGIN>\n## `cv_split`",
"Returns a list of pairs (train_context, test_context), one for each cross-validation fold.",
" The split is stratified.",
" :param context: DBContext to be split\n :param folds: number of folds\n :param random_seed: random seed to be used",
" :return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the background_knowledge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the background_knowledge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Emits the background knowledge in prolog form for RSD. | "Emits the background knowledge in prolog form for RSD." | 102 | false | xflows/rdm | background_knowledge | 7,728 | |
LDU_FT/foremast/foremast/get_accounts | LDU_FT | [
"<BEGIN>\n## `create_elb_dns`",
"Create dns entries in route53.",
" Args:\n regionspecific (bool): The DNS entry should have region on it\n Returns:\n str: Auto-generated DNS name for the Elastic Load Balancer.\n<END>",
"<BEGIN>\n## `create_failover_dns`",
"Create dns ent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_accounts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_accounts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get Accounts added to Spinnaker.
Args:
provider (str): What provider to find accounts for.
Returns:
list: list of dicts of Spinnaker credentials matching _provider_.
Raises:
AssertionError: Failure getting accounts from Spinnaker. | "Get Accounts added to Spinnaker.\n\n Args:\n provider (str): What provider to find accounts for.\n\n Returns:\n list: list of dicts of Spinnaker credentials matching _provider_.\n\n Raises:\n AssertionError: Failure getting accounts from Spinnaker." | 585 | false | foremast/foremast | get_accounts | 7,729 | |
LDU_FT/ministryofjustice/money-to-prisoners-common/arg_name | LDU_FT | [
"<BEGIN>\n## `get_form_errors`",
"Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>",
"<BEGIN>\n## `sub_nav`",
"Sub-nav displayed below proposition header\n - creates alternate language links if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arg_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arg_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the name of the parameter as a command line flag | "Returns the name of the parameter as a command line flag" | 84 | false | ministryofjustice/money-to-prisoners-common | arg_name | 7,730 | |
LDU_FT/ddorn/GUI/line | LDU_FT | [
"<BEGIN>\n## `select`",
"Select an arbitrary item, by possition or by reference.\n<END>",
"<BEGIN>\n## `on_select`",
"Add an action to make when an object is selected.\n Only one action can be stored this way.\n<END>",
"<BEGIN>\n## `on_unselect`",
"Add an action to make when an object is unfocused.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Draws an antialiased line on the surface. | "Draws an antialiased line on the surface." | 84 | false | ddorn/GUI | line | 7,731 | |
LDU_FT/3ll3d00d/vibe/ping | LDU_FT | [
"<BEGIN>\n## `get`",
"Analyses the measurement with the given parameters\n :param measurementId:\n :return:\n<END>",
"<BEGIN>\n## `start`",
"Initialises the device if required then enters a read loop taking data from the provider and passing it to the\n handler. It will continue until ei... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Posts the current state of each device to the server and schedules the next call in n seconds.
:param serverURL:
:return: | "Posts the current state of each device to the server and schedules the next call in n seconds.\n :param serverURL:\n :return:" | 240 | false | 3ll3d00d/vibe | ping | 7,732 | |
LDU_FT/Robin8Put/pmes/get | LDU_FT | [
"<BEGIN>\n## `create_table`",
"RPC method for creating table with custom name and fields\n :return event id\n<END>",
"<BEGIN>\n## `insert`",
"RPC method for inserting data to the table\n :return: None\n<END>",
"<BEGIN>\n## `select`",
"RPC method for selecting data from the database\n :return sele... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Receives content by content id and coin id
Accepts:
Query string arguments:
- "cid" - int
- "coinid" - str
Returns:
return dict with following fields:
- "description" - str
- "read_access" - int
- "write_access" - int
- "content" - str
- "cid" - int
- "owneraddr" - str
- ... | "Receives content by content id and coin id\n\n\t\tAccepts:\n\t\t\tQuery string arguments:\n\t\t\t\t- \"cid\" - int\n\t\t\t\t- \"coinid\" - str\n\n\t\tReturns:\n\t\t\treturn dict with following fields:\n\t\t\t\t- \"description\" - str\n\t\t\t\t- \"read_access\" - int\n\t\t\t\t- \"write_access\" - int\n\t\t\t\t- \"conte... | 170 | false | Robin8Put/pmes | get | 7,733 | |
LDU_FT/phn/lineid_plot/_convert_to_array | LDU_FT | [
"<BEGIN>\n## `color_text_boxes`",
"Color text boxes.",
" Instead of this function, one can pass annotate_kwargs and plot_kwargs to\n plot_line_ids function.\n<END>",
"<BEGIN>\n## `color_lines`",
"Color lines.",
" Instead of this function, one can pass annotate_kwargs and plot_kwargs to\n plot_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_to_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_to_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Check length of array or convert scalar to array.
Check to see is `x` has the given length `size`. If this is true
then return Numpy array equivalent of `x`. If not then raise
ValueError, using `name` as an idnetification. If len(x) returns
TypeError, then assume it is a scalar and create a Numpy array... | "Check length of array or convert scalar to array.\n\n Check to see is `x` has the given length `size`. If this is true\n then return Numpy array equivalent of `x`. If not then raise\n ValueError, using `name` as an idnetification. If len(x) returns\n TypeError, then assume it is a scalar and create a Numpy... | 44 | false | phn/lineid_plot | _convert_to_array | 7,734 | |
LDU_FT/GoogleCloudPlatform/appengine-mapreduce/validate | LDU_FT | [
"<BEGIN>\n## `_validate_filters`",
"Validate user supplied filters.",
" Validate filters are on existing properties and filter values\n have valid semantics.",
" Args:\n filters: user supplied filters. Each filter should be a list or tuple of\n format (<property_name_as_str>, <query_opera... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validate mapper specification.
Args:
job_config: map_job.JobConfig.
Raises:
BadReaderParamsError: if the specification is invalid for any reason such
as missing the bucket name or providing an invalid bucket name. | "Validate mapper specification.\n\n Args:\n job_config: map_job.JobConfig.\n\n Raises:\n BadReaderParamsError: if the specification is invalid for any reason such\n as missing the bucket name or providing an invalid bucket name." | 766 | false | GoogleCloudPlatform/appengine-mapreduce | validate | 7,735 | |
LDU_FT/JNRowe/upoints/import_metadata | LDU_FT | [
"<BEGIN>\n## `import_locations`",
"Parse zoneinfo zone description data files.",
" ``import_locations()`` returns a list of :class:`Zone` objects.",
" It expects data files in one of the following formats::",
" AN\t+1211-06900\tAmerica/Curacao\n AO\t-0848+01314\tAfrica/Lu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Import information from GPX metadata.
Args:
elements (etree.Element): GPX metadata subtree | "Import information from GPX metadata.\n\n Args:\n elements (etree.Element): GPX metadata subtree" | 438 | false | JNRowe/upoints | import_metadata | 7,736 | |
LDU_FT/tmux-python/libtmux/show_window_options | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Return tmux version.",
" If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.",
" If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_window_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_window_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return a dict of options for the window.
For familiarity with tmux, the option ``option`` param forwards to
pick a single option, forwarding to :meth:`Window.show_window_option`.
Parameters
----------
option : str, optional
show a single option.
g : str, opt... | "Return a dict of options for the window.\n\n For familiarity with tmux, the option ``option`` param forwards to\n pick a single option, forwarding to :meth:`Window.show_window_option`.\n\n Parameters\n ----------\n option : str, optional\n show a single option.\n g ... | 224 | false | tmux-python/libtmux | show_window_options | 7,737 | |
LDU_FT/mayfield/shellish/progressbar | LDU_FT | [
"<BEGIN>\n## `hone_cache`",
"A caching decorator that follows after the style of lru_cache. Calls\n that are sharper than previous requests are returned from the cache after\n honing in on the requested results using the `refineby` technique.",
" The `refineby` technique can be `startswith`, `container... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the progressbar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the progressbar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Generator filter to print a progress bar. | "Generator filter to print a progress bar." | 172 | false | mayfield/shellish | progressbar | 7,738 | |
LDU_FT/boundlessgeo/lib-qgis-commons/addLayerNoCrsDialog | LDU_FT | [
"<BEGIN>\n## `get_oauth_authcfg`",
"Check if the given authcfg_id (or the default) exists, and if it's valid\n OAuth2, return the configuration or None\n<END>",
"<BEGIN>\n## `setup_oauth`",
"Setup oauth configuration to access the BCS API,\n return authcfg_id on success, None on failure\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addLayerNoCrsDialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addLayerNoCrsDialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Tries to add a layer from layer object
Same as the addLayer method, but it does not ask for CRS, regardless of current
configuration in QGIS settings | "Tries to add a layer from layer object\n Same as the addLayer method, but it does not ask for CRS, regardless of current\n configuration in QGIS settings" | 72 | false | boundlessgeo/lib-qgis-commons | addLayerNoCrsDialog | 7,739 | |
LDU_FT/EndurantDevs/webargs-sanic/get_request_from_view_args | LDU_FT | [
"<BEGIN>\n## `handle_404`",
"Handle 404 Not Found\n This handler should be used to handle error http 404 not found for all\n endpoints or if resource not available.\n<END>",
"<BEGIN>\n## `format_error`",
"Formatting JSON API Error Object\n Constructing an error object based on JSON API standard\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_request_from_view_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_request_from_view_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Get request object from a handler function or method. Used internally by
``use_args`` and ``use_kwargs``. | "Get request object from a handler function or method. Used internally by\n ``use_args`` and ``use_kwargs``." | 15 | false | EndurantDevs/webargs-sanic | get_request_from_view_args | 7,740 | |
LDU_FT/nicolargo/glances/init | LDU_FT | [
"<BEGIN>\n## `msg_curse`",
"Return the string to display in the curse interface.\n<END>",
"<BEGIN>\n## `load`",
"Load the web list from the configuration file.\n<END>",
"<BEGIN>\n## `set_server`",
"Set the key to the value for the pos (position in the list).\n<END>",
"<BEGIN>\n## `update`",
"Update se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Init the connection to the Statsd server. | "Init the connection to the Statsd server." | 678 | false | nicolargo/glances | init | 7,741 | |
LDU_FT/openeventdata/mordecai/_feature_location_type_mention | LDU_FT | [
"<BEGIN>\n## `country_list_maker`",
"Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>",
"<BEGIN>\n## `make_skip_list`",
"Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _feature_location_type_mention API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _feature_location_type_mention API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Count forward 1 word from each entity, looking for defined terms that indicate
geographic feature types (e.g. "village" = "P").
Parameters
-----------
ent : spacy entity span
It has to be an entity to handle indexing in the document
Returns
--------
... | "Count forward 1 word from each entity, looking for defined terms that indicate\n geographic feature types (e.g. \"village\" = \"P\").\n\n Parameters\n -----------\n ent : spacy entity span\n It has to be an entity to handle indexing in the document\n\n Returns\n ---... | 110 | false | openeventdata/mordecai | _feature_location_type_mention | 7,742 | |
LDU_FT/onnx/onnxmltools/_infer_all_types | LDU_FT | [
"<BEGIN>\n## `apply_cast`",
":param to: enum defined in ONNX TensorProto.DataType, for example, TensorProto.FLOAT and TensorProto.INT64.\n<END>",
"<BEGIN>\n## `apply_gemm`",
"Applies operator `gemm <https://github.com/onnx/onnx/blob/master/docs/Operators.md#gemm>`.\n<END>",
"<BEGIN>\n## `apply_upsample`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _infer_all_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _infer_all_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Infer all variables' shapes in the computational graph. | "Infer all variables' shapes in the computational graph." | 300 | false | onnx/onnxmltools | _infer_all_types | 7,743 | |
LDU_FT/BBVA/data-refinery/map_to_csv | LDU_FT | [
"<BEGIN>\n## `explode`",
"given an array of objects de-normalized into fields\n<END>",
"<BEGIN>\n## `csv_to_map`",
"Convert csv to dict",
" :param delimiter:\n :param fields:\n :return:\n<END>",
"<BEGIN>\n## `map_to_csv`",
"Convert dict to csv",
" :param fields:\n :return:\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_to_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_to_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Convert dict to csv
:param fields:
:return: | "Convert dict to csv\n\n :param fields:\n :return:" | 14 | false | BBVA/data-refinery | map_to_csv | 7,744 | |
LDU_FT/ponty/entrypoint2/add | LDU_FT | [
"<BEGIN>\n## `_parse_doc`",
"Converts a well-formed docstring into documentation\n to be fed into argparse.",
" See signature_parser for details.",
" shorts: (-k for --keyword -k, or \"from\" for \"frm/from\")\n metavars: (FILE for --input=FILE)\n helps: (docs for --keyword:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | This function adds two number.
:param one: first number to add
:param two: second number to add
:rtype: int | "This function adds two number.\n\n :param one: first number to add\n :param two: second number to add\n :rtype: int" | 38 | false | ponty/entrypoint2 | add | 7,745 | |
LDU_FT/adamreeve/npTDMS/data | LDU_FT | [
"<BEGIN>\n## `to_file`",
"Wrapper around ndarray.tofile to support any file-like object\n<END>",
"<BEGIN>\n## `write_segment`",
"Write a segment of data to a TDMS file",
" :param objects: A list of TdmsObject instances to write\n<END>",
"<BEGIN>\n## `fromfile`",
"Wrapper around np.fromfile to sup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | NumPy array containing data if there is data for this object,
otherwise None. | "NumPy array containing data if there is data for this object,\n otherwise None." | 65 | false | adamreeve/npTDMS | data | 7,746 | |
LDU_FT/googlefonts/glyphsLib/main | LDU_FT | [
"<BEGIN>\n## `to_ufo_font_attributes`",
"Generate a list of UFOs with metadata loaded from .glyphs data.",
" Modifies the list of UFOs in the UFOBuilder (self) in-place.\n<END>",
"<BEGIN>\n## `to_glyphs_font_attributes`",
"Copy font attributes from `ufo` either to `self.font` or to `master`.",
" Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Roundtrip the .glyphs file given as an argument. | "Roundtrip the .glyphs file given as an argument." | 235 | false | googlefonts/glyphsLib | main | 7,747 | |
LDU_FT/ploneintranet/ploneintranet.workspace/participant_policy | LDU_FT | [
"<BEGIN>\n## `get_storage`",
"helper function to get annotation storage on the portal",
" :param clear: If true is passed in, annotations will be cleared\n :returns: portal annotations\n :rtype: IAnnotations\n<END>",
"<BEGIN>\n## `send_email`",
"helper function to send an email with the sender pres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the participant_policy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the participant_policy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Changing participation policy fires a
"ParticipationPolicyChanged" event | "Changing participation policy fires a\n \"ParticipationPolicyChanged\" event" | 53 | false | ploneintranet/ploneintranet.workspace | participant_policy | 7,748 | |
LDU_FT/jermnelson/flask-fedora-commons/search | LDU_FT | [
"<BEGIN>\n## `build_prefixes`",
"Internal function takes a list of prefix, namespace uri tuples and\n generates a SPARQL PREFIX string.",
" Args:\n namespaces(list): List of tuples, defaults to BIBFRAME and\n Schema.org",
" Returns:\n string\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | DEPRECIATED
Method takes a query term and searches Fedora Repository using SPARQL
search endpoint and returns a RDF graph of the search results.
Args:
query_term(str): String to search repository
Returns:
rdflib.Graph() | "DEPRECIATED\n Method takes a query term and searches Fedora Repository using SPARQL\n search endpoint and returns a RDF graph of the search results.\n\n Args:\n query_term(str): String to search repository\n\n Returns:\n rdflib.Graph()" | 57 | false | jermnelson/flask-fedora-commons | search | 7,749 | |
LDU_FT/wal-e/wal-e/acquire | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configure logging.",
" Borrowed from logging.basicConfig",
" Uses the IndentFormatter instead of the regular Formatter",
" Also, opts the caller into Syslog output, unless syslog could not\n be opened for some reason or another, in which case a warning will\n be pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Acquire the pidfile.
Create the pidfile, lock it, write the pid into it
and register the release with atexit.
:return: None
:raise: SystemExit | "Acquire the pidfile.\n\n Create the pidfile, lock it, write the pid into it\n and register the release with atexit.\n\n\n :return: None\n :raise: SystemExit" | 214 | false | wal-e/wal-e | acquire | 7,750 | |
LDU_FT/jbittel/django-mama-cas/clean_service_url | LDU_FT | [
"<BEGIN>\n## `get`",
"(2.1) As a credential requestor, /login accepts three optional\n parameters:",
" 1. ``service``: the identifier of the application the client is\n accessing. We assume this identifier to be a URL.\n 2. ``renew``: requires a client to present credentials\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_service_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_service_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return only the scheme, hostname (with optional port) and path
components of the parameter URL. | "Return only the scheme, hostname (with optional port) and path\n components of the parameter URL." | 86 | false | jbittel/django-mama-cas | clean_service_url | 7,751 | |
LDU_FT/owncloud/pyocclient/update_share | LDU_FT | [
"<BEGIN>\n## `get_expiration`",
"Returns the expiration date.",
" :returns: expiration date\n :rtype: datetime object\n<END>",
"<BEGIN>\n## `login`",
"Authenticate to ownCloud.\n This will create a session on the server.",
" :param user_id: user id\n :param password: pas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_share API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_share API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Updates a given share
:param share_id: (int) Share ID
:param perms: (int) update permissions (see share_file_with_user() below)
:param password: (string) updated password for public link Share
:param public_upload: (boolean) enable/disable public upload for public shares
:return... | "Updates a given share\n\n :param share_id: (int) Share ID\n :param perms: (int) update permissions (see share_file_with_user() below)\n :param password: (string) updated password for public link Share\n :param public_upload: (boolean) enable/disable public upload for public shares\n ... | 139 | false | owncloud/pyocclient | update_share | 7,752 | |
LDU_FT/ColtonProvias/sqlalchemy-jsonapi/get_rel_desc | LDU_FT | [
"<BEGIN>\n## `user_error`",
"Create and return a general user error response that is jsonapi compliant.",
" Required args:\n status_code: The HTTP status code associated with the problem.\n title: A short summary of the problem.\n detail: An explanation specific to the occurence of the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rel_desc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rel_desc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Fetch the appropriate descriptor for the relationship.
:param instance: Model instance
:param key: Name of the relationship
:param action: RelationshipAction | "Fetch the appropriate descriptor for the relationship.\n\n :param instance: Model instance\n :param key: Name of the relationship\n :param action: RelationshipAction" | 95 | false | ColtonProvias/sqlalchemy-jsonapi | get_rel_desc | 7,753 | |
LDU_FT/HPENetworking/PYHPEIMC/get_ssh_template | LDU_FT | [
"<BEGIN>\n## `get_real_time_locate`",
"function takes the ipAddress of a specific host and issues a RESTFUL call to get the device and interface that the\n target host is currently connected to. Note: Although intended to return a single location, Multiple locations may\n be returned for a single host due t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ssh_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ssh_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Takes no input, or template_name as input to issue RESTUL call to HP IMC
:param auth: requests auth object #usually auth.creds from auth pyhpeimc.auth.class
:param url: base url of IMC RS interface #usually auth.url from pyhpeimc.auth.authclass
:param template_name: str value of template name
:retur... | "Takes no input, or template_name as input to issue RESTUL call to HP IMC\n\n :param auth: requests auth object #usually auth.creds from auth pyhpeimc.auth.class\n\n :param url: base url of IMC RS interface #usually auth.url from pyhpeimc.auth.authclass\n\n :param template_name: str value of template name\n\n ... | 1,448 | true | HPENetworking/PYHPEIMC | get_ssh_template | 7,754 | |
LDU_FT/coinbase/coinbase-python/update_current_user | LDU_FT | [
"<BEGIN>\n## `set_primary`",
"https://developers.coinbase.com/api/v2#set-account-as-primary\n<END>",
"<BEGIN>\n## `modify`",
"https://developers.coinbase.com/api#modify-an-account\n<END>",
"<BEGIN>\n## `get_address`",
"https://developers.coinbase.com/api/v2#show-addresss\n<END>",
"<BEGIN>\n## `get_addre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_current_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_current_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | https://developers.coinbase.com/api/v2#update-current-user | "https://developers.coinbase.com/api/v2#update-current-user" | 166 | false | coinbase/coinbase-python | update_current_user | 7,755 | |
LDU_FT/resync/resync/strip_trailing_slashes | LDU_FT | [
"<BEGIN>\n## `read`",
"Read sitemap from a URI including handling sitemapindexes.",
" If index_only is True then individual sitemaps references in a sitemapindex\n will not be read. This will result in no resources being returned and is\n useful only to read the metadata and links listed in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_trailing_slashes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_trailing_slashes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Return input path minus any trailing slashes. | "Return input path minus any trailing slashes." | 322 | false | resync/resync | strip_trailing_slashes | 7,756 | |
LDU_FT/scrapinghub/exporters/_get_aggregated_info | LDU_FT | [
"<BEGIN>\n## `formatted_prefix`",
"Gets a dict with format info, and formats a prefix template with that info. For example:\n if our prefix template is:\n 'some_file_{groups[0]}_{file_number}'",
" And we have this method called with:",
" formatted_prefix(groups=[US], file_number=0)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_aggregated_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_aggregated_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Keeps track of aggregated info in a dictionary called self.aggregated_info | "Keeps track of aggregated info in a dictionary called self.aggregated_info" | 90 | false | scrapinghub/exporters | _get_aggregated_info | 7,757 | |
LDU_FT/aleontiev/dj/build | LDU_FT | [
"<BEGIN>\n## `parse_application_name`",
"Parse a setup.py file for the name.",
" Returns:\n name, or None\n<END>",
"<BEGIN>\n## `build`",
"Builds the app in the app's environment.",
" Only builds if the build is out-of-date and is non-empty.\n Builds in 3 stages: requiremen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Builds the app in the app's environment.
Only builds if the build is out-of-date and is non-empty.
Builds in 3 stages: requirements, dev requirements, and app.
pip is used to install requirements, and setup.py is used to
install the app itself.
Raises:
ValidationErr... | "Builds the app in the app's environment.\n\n Only builds if the build is out-of-date and is non-empty.\n Builds in 3 stages: requirements, dev requirements, and app.\n pip is used to install requirements, and setup.py is used to\n install the app itself.\n\n Raises:\n Vali... | 44 | false | aleontiev/dj | build | 7,758 | |
LDU_FT/aio-libs/aiodocker/list | LDU_FT | [
"<BEGIN>\n## `inspect`",
"Return low-level information about an image",
" Args:\n name: name of the image\n<END>",
"<BEGIN>\n## `pull`",
"Similar to `docker pull`, pull an image locally",
" Args:\n fromImage: name of the image to pull\n repo: repository name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return a list of services
Args:
filters: a dict with a list of filters
Available filters:
id=<service id>
label=<service label>
mode=["replicated"|"global"]
name=<service name> | "Return a list of services\n\n Args:\n filters: a dict with a list of filters\n\n Available filters:\n id=<service id>\n label=<service label>\n mode=[\"replicated\"|\"global\"]\n name=<service name>" | 108 | false | aio-libs/aiodocker | list | 7,759 | |
LDU_FT/BrewBlox/brewblox-service/run | LDU_FT | [
"<BEGIN>\n## `create_task`",
"Convenience function for calling `TaskScheduler.create(coro)`",
" This will use the default `TaskScheduler` to create a new background task.",
" Example:",
" import asyncio\n from datetime import datetime\n from brewblox_service import scheduler, serv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Runs the application in an async context.
This function will block indefinitely until the application is shut down.
Args:
app (web.Application):
The Aiohttp Application as created by `create_app()` | "Runs the application in an async context.\n This function will block indefinitely until the application is shut down.\n\n Args:\n app (web.Application):\n The Aiohttp Application as created by `create_app()`" | 93 | false | BrewBlox/brewblox-service | run | 7,760 | |
LDU_FT/bastibe/PySoundCard/hostapi_info | LDU_FT | [
"<BEGIN>\n## `hostapi_info`",
"Return a generator with information about each host API.",
" If index is given, only one dictionary for the given host API is\n returned.\n<END>",
"<BEGIN>\n## `device_info`",
"Return a generator with information about each device.",
" If index is given, only one di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hostapi_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hostapi_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a generator with information about each host API.
If index is given, only one dictionary for the given host API is
returned. | "Return a generator with information about each host API.\n\n If index is given, only one dictionary for the given host API is\n returned." | 27 | false | bastibe/PySoundCard | hostapi_info | 7,761 | |
LDU_FT/gwpy/gwpy/_select_query_method | LDU_FT | [
"<BEGIN>\n## `canonical_name`",
"Find the canonical name for the given window in scipy.signal",
" Parameters\n ----------\n name : `str`\n the name of the window you want",
" Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _select_query_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _select_query_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Select the correct query method based on the URL
Works for `DataQualityFlag` and `DataQualityDict` | "Select the correct query method based on the URL\n\n Works for `DataQualityFlag` and `DataQualityDict`" | 2,764 | true | gwpy/gwpy | _select_query_method | 7,762 | |
LDU_FT/jaraco/jaraco.windows/SetFileAttributes | LDU_FT | [
"<BEGIN>\n## `CryptUnprotectData`",
"Returns a tuple of (description, data) where description is the\n\tthe description that was passed to the CryptProtectData call and\n\tdata is the decrypted result.\n<END>",
"<BEGIN>\n## `set_data`",
"Use this method to set the data for this blob\n<END>",
"<BEGIN>\n## `m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetFileAttributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetFileAttributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set file attributes. e.g.:
SetFileAttributes('C:\\foo', 'hidden')
Each attr must be either a numeric value, a constant defined in
jaraco.windows.filesystem.api, or one of the nice names
defined in this function. | "Set file attributes. e.g.:\n\n\t\tSetFileAttributes('C:\\\\foo', 'hidden')\n\n\tEach attr must be either a numeric value, a constant defined in\n\tjaraco.windows.filesystem.api, or one of the nice names\n\tdefined in this function." | 119 | false | jaraco/jaraco.windows | SetFileAttributes | 7,763 | |
LDU_FT/SeattleTestbed/seash/forward_word_extend_selection | LDU_FT | [
"<BEGIN>\n## `_bind_key`",
"u\"\"\"setup the mapping from key to call the function.\n<END>",
"<BEGIN>\n## `_bind_exit_key`",
"u\"\"\"setup the mapping from key to call the function.\n<END>",
"<BEGIN>\n## `_get_completions`",
"Return a list of possible completions for the string ending at the point.\r\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_word_extend_selection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_word_extend_selection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | u"""Move forward to the end of the next word. Words are composed of
letters and digits. | "u\"\"\"Move forward to the end of the next word. Words are composed of\r\n letters and digits." | 281 | false | SeattleTestbed/seash | forward_word_extend_selection | 7,764 | |
LDU_FT/biocommons/hgvs/project_interval_forward | LDU_FT | [
"<BEGIN>\n## `_expose_rule_functions`",
"add parse functions for public grammar rules",
" Defines a function for each public grammar rule, based on\n introspecting the grammar. For example, the `c_interval` rule\n is exposed as a method `parse_c_interval` and used like this::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project_interval_forward API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project_interval_forward API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | project c_interval on the source transcript to the
destination transcript
:param c_interval: an :class:`hgvs.interval.Interval` object on the source transcript
:returns: c_interval: an :class:`hgvs.interval.Interval` object on the destination transcript | "project c_interval on the source transcript to the\n destination transcript\n\n :param c_interval: an :class:`hgvs.interval.Interval` object on the source transcript\n :returns: c_interval: an :class:`hgvs.interval.Interval` object on the destination transcript" | 210 | false | biocommons/hgvs | project_interval_forward | 7,765 | |
LDU_FT/sbarham/dsrt/init_encoders | LDU_FT | [
"<BEGIN>\n## `predict`",
"Take in an integer-vectorized (i.e., index) vector, and predict the maximally\n likely response, returning it as an integer-vectorized (i.e., index) vector.\n<END>",
"<BEGIN>\n## `pad_dialogues`",
"Pad the entire dataset.\n This involves adding padding at the end of eac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_encoders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_encoders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Initialize the integer encoder and the one-hot encoder, fitting them to the vocabulary
of the corpus. | "Initialize the integer encoder and the one-hot encoder, fitting them to the vocabulary\n of the corpus." | 77 | false | sbarham/dsrt | init_encoders | 7,766 | |
LDU_FT/Tristramg/mumoro/make_environment_relocatable | LDU_FT | [
"<BEGIN>\n## `create_environment`",
"Creates a new environment in ``home_dir``.",
" If ``site_packages`` is true (the default) then the global\n ``site-packages/`` directory will be on the path.",
" If ``clear`` is true (default False) then the environment will\n first be cleared.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_environment_relocatable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_environment_relocatable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Makes the already-existing environment use relative paths, and takes out
the #!-based environment selection in scripts. | "Makes the already-existing environment use relative paths, and takes out\n the #!-based environment selection in scripts." | 14 | false | Tristramg/mumoro | make_environment_relocatable | 7,767 | |
LDU_FT/vmware/nsxramlclient/create | LDU_FT | [
"<BEGIN>\n## `read`",
"This method is used to read a resource using the GET HTTP Method\n :param searched_resource: A valid display name in the RAML file matching the resource\n :param uri_parameters: A dictionary with the URI Parameters expected by the resource\n :param request_body_dict: A ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | This method is used to create a resource using the POST HTTP Method
:param searched_resource: A valid display name in the RAML file matching the resource
:param uri_parameters: A dictionary with the URI Parameters expected by the resource
:param request_body_dict: A dictionary containing the bod... | "This method is used to create a resource using the POST HTTP Method\n :param searched_resource: A valid display name in the RAML file matching the resource\n :param uri_parameters: A dictionary with the URI Parameters expected by the resource\n :param request_body_dict: A dictionary containing the... | 14 | false | vmware/nsxramlclient | create | 7,768 | |
LDU_FT/voicecom/pgtool/quote_names | LDU_FT | [
"<BEGIN>\n## `quote_names`",
"psycopg2 doesn't know how to quote identifier names, so we ask the server\n<END>",
"<BEGIN>\n## `execute_catch`",
"Run a query, but ignore any errors. For error recovery paths where the error handler should not raise another.\n<END>",
"<BEGIN>\n## `cmd_copy`",
"Uses CREATE DA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | psycopg2 doesn't know how to quote identifier names, so we ask the server | "psycopg2 doesn't know how to quote identifier names, so we ask the server" | 20 | false | voicecom/pgtool | quote_names | 7,769 | |
LDU_FT/google/python-adb/Reboot | LDU_FT | [
"<BEGIN>\n## `_get_service_connection`",
"Based on the service, get the AdbConnection for that service or create one if it doesnt exist",
" :param service:\n :param service_command: Additional service parameters to append\n :param create: If False, dont create a connection if it does not ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Reboot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Reboot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Reboot the device.
Args:
destination: Specify 'bootloader' for fastboot. | "Reboot the device.\n\n Args:\n destination: Specify 'bootloader' for fastboot." | 174 | false | google/python-adb | Reboot | 7,770 | |
LDU_FT/jantman/pypi-download-stats/per_installer_data | LDU_FT | [
"<BEGIN>\n## `_path_for_file`",
"Generate the path on disk for a specified project and date.",
" :param project_name: the PyPI project name for the data\n :type project: str\n :param date: the date for the data\n :type date: datetime.datetime\n :return: path for where to store... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the per_installer_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the per_installer_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return download data by installer name and version.
:return: dict of cache data; keys are datetime objects, values are
dict of installer name/version (str) to count (int).
:rtype: dict | "Return download data by installer name and version.\n\n :return: dict of cache data; keys are datetime objects, values are\n dict of installer name/version (str) to count (int).\n :rtype: dict" | 135 | false | jantman/pypi-download-stats | per_installer_data | 7,771 | |
LDU_FT/FlaskGuys/Flask-Imagine-AzureAdapter/create_cached_item | LDU_FT | [
"<BEGIN>\n## `get_item`",
"Get resource item\n :param path: string\n :return: Image\n<END>",
"<BEGIN>\n## `create_cached_item`",
"Create cached resource item\n :param path: str\n :param content: PIL.Image\n :return: str\n<END>",
"<BEGIN>\n## `get_cached_item`",
"Get cach... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cached_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cached_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create cached resource item
:param path: str
:param content: PIL.Image
:return: str | "Create cached resource item\n :param path: str\n :param content: PIL.Image\n :return: str" | 10 | false | FlaskGuys/Flask-Imagine-AzureAdapter | create_cached_item | 7,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.