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/GGiecold/Concurrent_AP/output_clusters
LDU_FT
[ "<BEGIN>\n## `chunk_generator`", "Returns a generator of slice objects.", " Parameters\n ----------\n N : int\n The size of one of the dimensions of a two-dimensional array. ", " n : int\n The number of arrays of shape ('N', 'get_chunk_size(N, n)') that fit into\n memory.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output_clusters 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 output_clusters 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...
Write in tab-separated files the vectors of cluster identities and of indices of cluster centers.
"Write in tab-separated files the vectors of cluster identities and\n of indices of cluster centers."
61
false
GGiecold/Concurrent_AP
output_clusters
5,473
LDU_FT/geronimp/graftM/_remove_sequences_from_alignment
LDU_FT
[ "<BEGIN>\n## `_write_consensus_strings`", "Writes the taxonomy of each leaf to a file. If the leaf has no\n taxonomy, a taxonomy string will be created using the annotations\n provided to the ancestor nodes of that leaf (meaning, it will be\n decorated).", " Parameters\n -----...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_sequences_from_alignment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_sequences_from_alignment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Remove sequences from the alignment file that have names in sequence_names Parameters ---------- sequence_names: list of str names of sequences to remove input_alignment_file: str path to alignment file to remove from output_alignment_file: str ...
"Remove sequences from the alignment file that have names in\n sequence_names\n\n Parameters\n ----------\n sequence_names: list of str\n names of sequences to remove\n input_alignment_file: str\n path to alignment file to remove from\n output_alignment_fi...
334
false
geronimp/graftM
_remove_sequences_from_alignment
5,474
LDU_FT/DheerendraRathor/django-auth-ldap-ng/_populate_profile_from_group_memberships
LDU_FT
[ "<BEGIN>\n## `get_ldap`", "Returns the ldap module. The unit test harness will assign a mock object\n to _LDAPConfig.ldap. It is imperative that the ldap module not be\n imported anywhere else so that the unit tests will pass in the absence\n of python-ldap.\n<END>", "<BEGIN>\n## `get_logge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _populate_profile_from_group_memberships API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _populate_profile_from_group_memberships API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
Populate the given profile object from AUTH_LDAP_PROFILE_FLAGS_BY_GROUP. Returns True if the profile was modified.
"Populate the given profile object from AUTH_LDAP_PROFILE_FLAGS_BY_GROUP.\n Returns True if the profile was modified."
55
false
DheerendraRathor/django-auth-ldap-ng
_populate_profile_from_group_memberships
5,475
LDU_FT/rdo-management/python-rdomanager-oscplugin/wait_for_node_discovery
LDU_FT
[ "<BEGIN>\n## `_csv_to_nodes_dict`", "Convert CSV to a list of dicts formatted for os_cloud_config", " Given a CSV file in the format below, convert it into the\n structure expected by os_could_config JSON files.", " pm_type, pm_addr, pm_user, pm_password, mac\n<END>", "<BEGIN>\n## `build_option_par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_node_discovery 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 wait_for_node_discovery API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Check the status of Node discovery in Ironic discoverd Gets the status and waits for them to complete. :param discoverd_client: Ironic Discoverd client :type discoverd_client: ironic_discoverd.client :param auth_token: Authorisation token used by discoverd client :type auth_token: string :p...
"Check the status of Node discovery in Ironic discoverd\n\n Gets the status and waits for them to complete.\n\n :param discoverd_client: Ironic Discoverd client\n :type discoverd_client: ironic_discoverd.client\n\n :param auth_token: Authorisation token used by discoverd client\n :type auth_token: strin...
85
false
rdo-management/python-rdomanager-oscplugin
wait_for_node_discovery
5,476
LDU_FT/alixnovosi/botskeleton/_send_direct_message_new
LDU_FT
[ "<BEGIN>\n## `cred_init`", "Initialize what requires credentials/secret files.", " :param secrets_dir: dir to expect credentials in and store logs/history in.\n :param log: logger to use for log output.\n :param bot_name: name of this bot,\n used for various kinds of labelling.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_direct_message_new 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 _send_direct_message_new API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
:reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/new-event.html
":reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/new-event.html"
69
false
alixnovosi/botskeleton
_send_direct_message_new
5,477
LDU_FT/msuozzo/Lector/_to_reader_home
LDU_FT
[ "<BEGIN>\n## `_to_reader_home`", "Navigate to the Cloud Reader library page.", " Raises:\n BrowserError: If the KCR homepage could not be loaded.\n ConnectionError: If there was a connection error.\n<END>", "<BEGIN>\n## `_login`", "Logs in to Kindle Cloud Reader.", " Args:\n max_tries...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_reader_home 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 _to_reader_home 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...
Navigate to the Cloud Reader library page. Raises: BrowserError: If the KCR homepage could not be loaded. ConnectionError: If there was a connection error.
"Navigate to the Cloud Reader library page.\n\n Raises:\n BrowserError: If the KCR homepage could not be loaded.\n ConnectionError: If there was a connection error."
29
false
msuozzo/Lector
_to_reader_home
5,478
LDU_FT/Robpol86/colorclass/encode
LDU_FT
[ "<BEGIN>\n## `readme`", "Try to read README.rst or return empty string if failed.", " :return: File contents.\n :rtype: str\n<END>", "<BEGIN>\n## `apply_text`", "Call `func` on text portions of incoming color string.", " :param iter incoming: Incoming string/ColorStr/string-like object to iterate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode 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 encode 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 ...
Encode using the codec registered for encoding. encoding defaults to the default encoding. errors may be given to set a different error handling scheme. Default is 'strict' meaning that encoding errors raise a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and 'xmlcharrefreplace' as ...
"Encode using the codec registered for encoding. encoding defaults to the default encoding.\n\n errors may be given to set a different error handling scheme. Default is 'strict' meaning that encoding errors\n raise a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and 'xmlcharrefreplace'...
191
false
Robpol86/colorclass
encode
5,479
LDU_FT/pantsbuild/pants/get_program_args
LDU_FT
[ "<BEGIN>\n## `load_file_contents`", "Loads config from the given string payloads.", " A handful of seed values will be set to act as if specified in the loaded config file's DEFAULT\n section, and be available for use in substitutions. The caller may override some of these\n seed values.", " :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_program_args 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_program_args 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 ...
Get the program args to run this JVM with. These are the arguments passed to main() and are program-specific.
"Get the program args to run this JVM with.\n\n These are the arguments passed to main() and are program-specific."
3,372
true
pantsbuild/pants
get_program_args
5,480
LDU_FT/satori-ng/hooker/isloaded
LDU_FT
[ "<BEGIN>\n## `isloaded`", "Checks if given hook module has been loaded", " Args:\n name (str): The name of the module to check", " Returns:\n bool. The return code::", " True -- Loaded\n False -- Not Loaded\n<END>", "<BEGIN>\n## `hook`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isloaded 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 isloaded 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...
Checks if given hook module has been loaded Args: name (str): The name of the module to check Returns: bool. The return code:: True -- Loaded False -- Not Loaded
"Checks if given hook module has been loaded\n\n Args:\n name (str): The name of the module to check\n\n Returns:\n bool. The return code::\n\n True -- Loaded\n False -- Not Loaded"
31
false
satori-ng/hooker
isloaded
5,481
LDU_FT/dranjan/python-plyfile/_to_fields
LDU_FT
[ "<BEGIN>\n## `plot`", "Plot vertices and triangles from a PlyData instance. Assumptions:\n `ply' has a 'vertex' element with 'x', 'y', and 'z'\n properties;", " `ply' has a 'face' element with an integral list property\n 'vertex_indices', all of whose elements have length 3.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_fields 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 _to_fields 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 generator over the (numerical) PLY representation of the list data (length followed by actual data).
"Return generator over the (numerical) PLY representation of the\n list data (length followed by actual data)."
34
false
dranjan/python-plyfile
_to_fields
5,482
LDU_FT/twoolie/NBT/process_region_file
LDU_FT
[ "<BEGIN>\n## `stats_per_chunk`", "Given a chunk, increment the block types with the number of blocks found\n<END>", "<BEGIN>\n## `bounded_stats_per_chunk`", "Given a chunk, return the number of blocks types within the specified selection\n<END>", "<BEGIN>\n## `process_region_file`", "Given a region, retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_region_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_region_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. T...
Given a region, return the number of blocks of each ID in that region
"Given a region, return the number of blocks of each ID in that region"
84
false
twoolie/NBT
process_region_file
5,483
LDU_FT/SMTG-UCL/sumo/get_element_pdos
LDU_FT
[ "<BEGIN>\n## `kpath_from_seekpath`", "r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.", " If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.", " Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_element_pdos 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_element_pdos 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 ...
Get the projected density of states for an element. Args: dos (:obj:`~pymatgen.electronic_structure.dos.CompleteDos`): The density of states. element (str): Element symbol. E.g. 'Zn'. sites (tuple): The atomic indices over which to sum the density of states, as a :ob...
"Get the projected density of states for an element.\n\n Args:\n dos (:obj:`~pymatgen.electronic_structure.dos.CompleteDos`): The\n density of states.\n element (str): Element symbol. E.g. 'Zn'.\n sites (tuple): The atomic indices over which to sum the density of\n states, ...
449
false
SMTG-UCL/sumo
get_element_pdos
5,484
LDU_FT/SheffieldML/GPyOpt/_expand_vector
LDU_FT
[ "<BEGIN>\n## `constant_cost_withGradients`", "Constant cost function used by default: cost = 1, d_cost = 0.\n<END>", "<BEGIN>\n## `_cost_gp`", "Predicts the time cost of evaluating the function at x.\n<END>", "<BEGIN>\n## `_cost_gp_withGradients`", "Predicts the time cost and its gradient of evaluating th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_vector 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 _expand_vector 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...
Takes a value x in the subspace of not fixed dimensions and expands it with the values of the fixed ones. :param x: input vector to be expanded by adding the context values
"Takes a value x in the subspace of not fixed dimensions and expands it with the values of the fixed ones.\n :param x: input vector to be expanded by adding the context values"
259
false
SheffieldML/GPyOpt
_expand_vector
5,485
LDU_FT/AndresMWeber/Nomenclate/parse_name
LDU_FT
[ "<BEGIN>\n## `purge_tokens`", "Removes all specified token_attrs that exist in instance.token_attrs", " :param token_attrs: list(str), list of string values of tokens to remove. If None, removes all\n<END>", "<BEGIN>\n## `combine_dicts`", "Combines all arguments (if they are dictionaries) and kwargs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac...
Parses a name into a dictionary of identified subsections with accompanying information to correctly identify and replace if necessary :param name: str, string to be parsed :return: dict, dictionary with relevant parsed information
"Parses a name into a dictionary of identified subsections with accompanying information to\n correctly identify and replace if necessary\n\n :param name: str, string to be parsed\n :return: dict, dictionary with relevant parsed information"
140
false
AndresMWeber/Nomenclate
parse_name
5,486
LDU_FT/EliotBerriot/django-dynamic-preferences/get_field_kwargs
LDU_FT
[ "<BEGIN>\n## `by_name`", "Return a dictionary with preferences identifiers and values, but without the section name in the identifier\n<END>", "<BEGIN>\n## `get_cache_key`", "Return the cache key corresponding to a given preference\n<END>", "<BEGIN>\n## `from_cache`", "Return a preference raw_value from c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_kwargs 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_field_kwargs 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 a dict of arguments to use as parameters for the field class instianciation. This will use :py:attr:`field_kwargs` as a starter, and use sensible defaults for a few attributes: - :py:attr:`instance.verbose_name` for the field label - :py:attr:`instance.help_text` for the...
"Return a dict of arguments to use as parameters for the field\n class instianciation.\n\n This will use :py:attr:`field_kwargs` as a starter,\n and use sensible defaults for a few attributes:\n\n - :py:attr:`instance.verbose_name` for the field label\n - :py:attr:`instance.help_text`...
64
false
EliotBerriot/django-dynamic-preferences
get_field_kwargs
5,487
LDU_FT/heronotears/lazyxml/check_structure
LDU_FT
[ "<BEGIN>\n## `set_options`", "r\"\"\"Set Parser options.", " .. seealso::\n ``kw`` argument have the same meaning as in :func:`lazyxml.loads`\n<END>", "<BEGIN>\n## `xml2object`", "r\"\"\"Convert xml content to python object.", " :param content: xml content\n :rtype: dict", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_structure 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 check_structure 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...
r"""Check structure availability by ``attrkey`` and ``valuekey`` option.
"r\"\"\"Check structure availability by ``attrkey`` and ``valuekey`` option."
60
false
heronotears/lazyxml
check_structure
5,488
LDU_FT/last-partizan/pytils/distance_of_time_in_words
LDU_FT
[ "<BEGIN>\n## `choose_plural`", "Choose proper form for plural.", " Value is a amount, parameters are forms of noun.\n Forms are variants for 1, 2, 5 nouns. It may be tuple\n of elements, or string where variants separates each other\n by comma.", " Examples::\n {{ some_int|choose_plural:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance_of_time_in_words API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance_of_time_in_words API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Represents distance of time in words @param from_time: source time (in seconds from epoch) @type from_time: C{int}, C{float} or C{datetime.datetime} @param accuracy: level of accuracy (1..3), default=1 @type accuracy: C{int} @param to_time: target time (in seconds from epoch), default=Non...
"Represents distance of time in words\n\n @param from_time: source time (in seconds from epoch)\n @type from_time: C{int}, C{float} or C{datetime.datetime}\n\n @param accuracy: level of accuracy (1..3), default=1\n @type accuracy: C{int}\n\n @param to_time: target time (in seconds from epoch),\n d...
134
false
last-partizan/pytils
distance_of_time_in_words
5,489
LDU_FT/andialbrecht/sqlparse/get_type
LDU_FT
[ "<BEGIN>\n## `_group_matching`", "Groups Tokens that have beginning and end.\n<END>", "<BEGIN>\n## `group_order`", "Group together Identifier and Asc/Desc token\n<END>", "<BEGIN>\n## `_group`", "Groups together tokens that are joined by a middle token. i.e. x < y\n<END>", "<BEGIN>\n## `_reset`", "Set ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type 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_type 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 type of a statement. The returned value is a string holding an upper-cased reprint of the first DML or DDL keyword. If the first token in this group isn't a DML or DDL keyword "UNKNOWN" is returned. Whitespaces and comments at the beginning of the statement are igno...
"Returns the type of a statement.\n\n The returned value is a string holding an upper-cased reprint of\n the first DML or DDL keyword. If the first token in this group\n isn't a DML or DDL keyword \"UNKNOWN\" is returned.\n\n Whitespaces and comments at the beginning of the statement\n ...
57
false
andialbrecht/sqlparse
get_type
5,490
LDU_FT/anti1869/sunhead/gen_from_yaml_config
LDU_FT
[ "<BEGIN>\n## `discover_config_path`", "Search for config file in a number of places.\n If there is no config file found, will return None.", " :param config_filename: Config file name or custom path to filename with config.\n :return: Path to the discovered config file or None.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_from_yaml_config 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 gen_from_yaml_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convention is to uppercase first level keys. :param config_path: Valid path to the yml config file. :return: Config loaded from yml file
"Convention is to uppercase first level keys.\n\n :param config_path: Valid path to the yml config file.\n :return: Config loaded from yml file"
53
false
anti1869/sunhead
gen_from_yaml_config
5,491
LDU_FT/eandersson/amqpstorm/delete
LDU_FT
[ "<BEGIN>\n## `open`", "Open Socket and establish a connection.", " :raises AMQPConnectionError: Raises if the connection\n encountered an error.\n :return:\n<END>", "<BEGIN>\n## `write_to_socket`", "Write data to the socket.", " :param str frame_dat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete 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 delete 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 ...
Delete a Queue. :param str queue: Queue name :param bool if_unused: Delete only if unused :param bool if_empty: Delete only if empty :raises AMQPInvalidArgument: Invalid Parameters :raises AMQPChannelError: Raises if the channel encountered an error. :raises AMQPConnect...
"Delete a Queue.\n\n :param str queue: Queue name\n :param bool if_unused: Delete only if unused\n :param bool if_empty: Delete only if empty\n\n :raises AMQPInvalidArgument: Invalid Parameters\n :raises AMQPChannelError: Raises if the channel encountered an error.\n :raises AM...
612
false
eandersson/amqpstorm
delete
5,492
LDU_FT/henrysher/kotocore/get_connection
LDU_FT
[ "<BEGIN>\n## `get_version`", "Returns a string-ified version number.", " Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>", "<BEGIN>\n## `requires_loaded`", "A decorator to ensure the resource data is loaded.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection 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 get_connection 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...
Returns a ``Connection`` **class** for a given service. :param service_name: A string that specifies the name of the desired service. Ex. ``sqs``, ``sns``, ``dynamodb``, etc. :type service_name: string :rtype: <kotocore.connection.Connection subclass>
"Returns a ``Connection`` **class** for a given service.\n\n :param service_name: A string that specifies the name of the desired\n service. Ex. ``sqs``, ``sns``, ``dynamodb``, etc.\n :type service_name: string\n\n :rtype: <kotocore.connection.Connection subclass>"
198
false
henrysher/kotocore
get_connection
5,493
LDU_FT/HPAC/matchpy/as_graph
LDU_FT
[ "<BEGIN>\n## `substitute`", "Replaces variables in the given *expression* using the given *substitution*.", " >>> print(substitute(f(x_), {'x': a}))\n f(a)", " If nothing was substituted, the original expression is returned:", " >>> expression = f(x_)\n >>> result = substitute(expression, {'y...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_graph 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 as_graph 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 a :class:`graphviz.Graph` representation of this bipartite graph.
"Returns a :class:`graphviz.Graph` representation of this bipartite graph."
324
false
HPAC/matchpy
as_graph
5,494
LDU_FT/peterjc/backports.lzma/seek
LDU_FT
[ "<BEGIN>\n## `open`", "Open an LZMA-compressed file in binary or text mode.", " filename can be either an actual file name (given as a str or bytes object),\n in which case the named file is opened, or it can be an existing file object\n to read from or write to.", " The mode argument can be \"r\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the seek 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 seek 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...
Change the file position. The new position is specified by offset, relative to the position indicated by whence. Possible values for whence are: 0: start of stream (default): offset must not be negative 1: current stream position 2: end of stream; offset must not be...
"Change the file position.\n\n The new position is specified by offset, relative to the\n position indicated by whence. Possible values for whence are:\n\n 0: start of stream (default): offset must not be negative\n 1: current stream position\n 2: end of stream; offset mus...
36
false
peterjc/backports.lzma
seek
5,495
LDU_FT/briney/abutils/get_collections
LDU_FT
[ "<BEGIN>\n## `cluster`", "Perform sequence clustering with CD-HIT.", " Args:", " seqs (list): An iterable of sequences, in any format that `abutils.utils.sequence.Sequence()`\n can handle", " threshold (float): Clustering identity threshold. Default is `0.975`.", " out_f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collections 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 get_collections 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 a sorted list of collection names found in ``db``. Arguments: db (Database): A pymongo Database object. Can be obtained with ``get_db``. collection (str): Name of a collection. If the collection is present in the MongoDB database, a single-element list will ...
"Returns a sorted list of collection names found in ``db``.\n\n Arguments:\n\n db (Database): A pymongo Database object. Can be obtained\n with ``get_db``.\n\n collection (str): Name of a collection. If the collection is\n present in the MongoDB database, a single-element list wil...
445
false
briney/abutils
get_collections
5,496
LDU_FT/thomasdelaet/python-velbus/populate
LDU_FT
[ "<BEGIN>\n## `_name_messages_complete`", "Check if all name messages have been received\n<END>", "<BEGIN>\n## `populate`", "-DB1 last bit = local_control\n -DB1 bit 2+3 = status_mode\n -DB1 bit 4 = auto send\n -DB1 bit 5+6+7 = mode\n -DB1 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populate 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 populate 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...
-DB1 last 2 bits = channel -DB1 first 6 bist = pulses -DB2-5 = pulse counter -DB6-7 = ms/pulse :return: None
"-DB1 last 2 bits = channel\n -DB1 first 6 bist = pulses\n -DB2-5 = pulse counter\n -DB6-7 = ms/pulse \n :return: None"
38
false
thomasdelaet/python-velbus
populate
5,497
LDU_FT/blue-yonder/tsfresh/roll_time_series
LDU_FT
[ "<BEGIN>\n## `_function_with_partly_reduce`", "Small helper function to call a function (map_function)\n on a list of data chunks (chunk_list) and convert the results into\n a flattened list.", " This function is used to send chunks of data with a size larger than 1 to\n the workers in parallel and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roll_time_series 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 roll_time_series 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 ...
This method creates sub windows of the time series. It rolls the (sorted) data frames for each kind and each id separately in the "time" domain (which is represented by the sort order of the sort column given by `column_sort`). For each rolling step, a new id is created by the scheme "id={id}, shift={shift}", ...
"This method creates sub windows of the time series. It rolls the (sorted) data frames for each kind and each id\n separately in the \"time\" domain (which is represented by the sort order of the sort column given by `column_sort`).\n\n For each rolling step, a new id is created by the scheme \"id={id}, shift={sh...
615
false
blue-yonder/tsfresh
roll_time_series
5,498
LDU_FT/django-fluent/fluentcms-emailtemplates/parent_site
LDU_FT
[ "<BEGIN>\n## `replace_fields`", "Allow simple field replacements, using the python str.format() syntax.", " When a string is passed that is tagged with :func:`~django.utils.safestring.mark_safe`,\n the context variables will be escaped before replacement.", " This function is used instead of lazily u...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent_site 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 parent_site 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...
Filter to the given site, only give content relevant for that site.
"Filter to the given site, only give content relevant for that site."
21
false
django-fluent/fluentcms-emailtemplates
parent_site
5,499
LDU_FT/outini/python-pylls/create
LDU_FT
[ "<BEGIN>\n## `request`", "Handle requests to API", " :param str path: API endpoint's path to request\n :param str method: HTTP method to use\n :param dict data: Data to send (optional)\n :return: Parsed json response as :class:`dict`", " Additional named argument may be pass...
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 ...
Add a Metric Point to a Metric :param int metric_id: Metric ID :param int value: Value to plot on the metric graph :param str timestamp: Unix timestamp of the point was measured :return: Created metric point data (:class:`dict`) .. seealso:: https://docs.cachethq.io/reference#p...
"Add a Metric Point to a Metric\n\n :param int metric_id: Metric ID\n :param int value: Value to plot on the metric graph\n :param str timestamp: Unix timestamp of the point was measured\n :return: Created metric point data (:class:`dict`)\n\n .. seealso:: https://docs.cachethq.io/ref...
71
false
outini/python-pylls
create
5,500
LDU_FT/emory-libraries/eulxml/_empty_except_predicates
LDU_FT
[ "<BEGIN>\n## `_serialize`", "Generate token strings which, when joined together, form a valid\n XPath serialization of the AST.\n<END>", "<BEGIN>\n## `download_schema`", "Download a schema from a specified URI and save it locally.", " :param uri: url where the schema should be downloaded\n :param p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _empty_except_predicates 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 _empty_except_predicates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Check if a node is empty (no child nodes or attributes) except for any predicates defined in the specified xpath. :param xast: parsed xpath (xpath abstract syntax tree) from :mod:`eulxml.xpath` :param node: lxml element to check :param context: any context required for the xpath (e.g., namespace ...
"Check if a node is empty (no child nodes or attributes) except\n for any predicates defined in the specified xpath.\n\n :param xast: parsed xpath (xpath abstract syntax tree) from\n\t:mod:`eulxml.xpath`\n :param node: lxml element to check\n :param context: any context required for the xpath (e.g.,\n \t...
109
false
emory-libraries/eulxml
_empty_except_predicates
5,501
LDU_FT/BlackEarth/bl/random_id
LDU_FT
[ "<BEGIN>\n## `random_id`", "Creates a random id with the given length and charset.\r\n ## Parameters\r\n * length the number of characters in the id\r\n * charset what character set to use (a list of characters)\r\n * first_charset what character set for the first character\r\n *...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_id 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 random_id 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...
Creates a random id with the given length and charset. ## Parameters * length the number of characters in the id * charset what character set to use (a list of characters) * first_charset what character set for the first character * sep='' what character to insert be...
"Creates a random id with the given length and charset.\r\n ## Parameters\r\n * length the number of characters in the id\r\n * charset what character set to use (a list of characters)\r\n * first_charset what character set for the first character\r\n * sep='' what character t...
54
false
BlackEarth/bl
random_id
5,502
LDU_FT/mk-fg/feedjack/cloudata
LDU_FT
[ "<BEGIN>\n## `getsteps`", "Returns a list with the max number of posts per \"tagcloud level\"\n<END>", "<BEGIN>\n## `build`", "Returns the tag cloud for a list of tags.\n<END>", "<BEGIN>\n## `cloudata`", "Returns a dictionary with all the tag clouds related to a site.\n<END>", "<BEGIN>\n## `getcloud`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cloudata 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 cloudata 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 a dictionary with all the tag clouds related to a site.
"Returns a dictionary with all the tag clouds related to a site."
62
false
mk-fg/feedjack
cloudata
5,503
LDU_FT/nabla-c0d3/sslyze/get_dns_subject_alternative_names
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 get_dns_subject_alternative_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dns_subject_alternative_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Retrieve all the DNS entries of the Subject Alternative Name extension.
"Retrieve all the DNS entries of the Subject Alternative Name extension."
92
false
nabla-c0d3/sslyze
get_dns_subject_alternative_names
5,504
LDU_FT/openstax/cnx-epub/parse_navigation_html_to_tree
LDU_FT
[ "<BEGIN>\n## `squash_xml_to_text`", "Squash the given XML element (as `elm`) to a text containing XML.\n The outer most element/tag will be removed, but inner elements will\n remain. If `remove_namespaces` is specified, XML namespace declarations\n will be removed from the text.", " :param elm: XML ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_navigation_html_to_tree 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 parse_navigation_html_to_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Parse the given ``html`` (an etree object) to a tree. The ``id`` is required in order to assign the top-level tree id value.
"Parse the given ``html`` (an etree object) to a tree.\n The ``id`` is required in order to assign the top-level tree id value."
67
false
openstax/cnx-epub
parse_navigation_html_to_tree
5,505
LDU_FT/portantier/habu/cmd_arp_ping
LDU_FT
[ "<BEGIN>\n## `cmd_arp_poison`", "Send ARP 'is-at' packets to each victim, poisoning their\n ARP tables for send the traffic to your system.", " Note: If you want a full working Man In The Middle attack, you need\n to enable the packet forwarding on your operating system to act like a\n router. You c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_arp_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_arp_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 extr...
Send ARP packets to check if a host it's alive in the local network. Example: \b # habu.arp.ping 192.168.0.1 Ether / ARP is at a4:08:f5:19:17:a4 says 192.168.0.1 / Padding
"Send ARP packets to check if a host it's alive in the local network.\n\n Example:\n\n \\b\n # habu.arp.ping 192.168.0.1\n Ether / ARP is at a4:08:f5:19:17:a4 says 192.168.0.1 / Padding"
304
false
portantier/habu
cmd_arp_ping
5,506
LDU_FT/geophysics-ubonn/reda/import_medusa_data
LDU_FT
[ "<BEGIN>\n## `import_syscal_bin`", "Syscal import", " timestep: int or :class:`datetime.datetime`\n if provided use this value to set the 'timestep' column of the\n produced dataframe. Default: 0\n<END>", "<BEGIN>\n## `to_ip`", "Return of copy of the data inside a TDIP container...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_medusa_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 import_medusa_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...
Import measurement data (a .mat file) of the FZJ EIT160 system. This data format is identified as 'FZJ-EZ-2017'. Parameters ---------- mat_filename: string filename to the .mat data file. Note that only MNU0 single-potentials are supported! config_file: string filename for c...
"Import measurement data (a .mat file) of the FZJ EIT160 system. This\n data format is identified as 'FZJ-EZ-2017'.\n\n Parameters\n ----------\n mat_filename: string\n filename to the .mat data file. Note that only MNU0 single-potentials\n are supported!\n config_file: string\n file...
486
false
geophysics-ubonn/reda
import_medusa_data
5,507
LDU_FT/yt-project/unyt/_lookup_unit_symbol
LDU_FT
[ "<BEGIN>\n## `uconcatenate`", "Concatenate a sequence of arrays.", " This wrapper around numpy.concatenate preserves units. All input arrays\n must have the same units. See the documentation of numpy.concatenate for\n full details.", " Examples\n --------\n >>> from unyt import cm\n >>> ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lookup_unit_symbol 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 _lookup_unit_symbol 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...
Searches for the unit data tuple corresponding to the given symbol. Parameters ---------- symbol_str : str The unit symbol to look up. unit_symbol_lut : dict Dictionary with symbols as keys and unit data tuples as values.
"Searches for the unit data tuple corresponding to the given symbol.\n\n Parameters\n ----------\n symbol_str : str\n The unit symbol to look up.\n unit_symbol_lut : dict\n Dictionary with symbols as keys and unit data tuples as values."
236
false
yt-project/unyt
_lookup_unit_symbol
5,508
LDU_FT/Peter-Slump/python-keycloak-client/update
LDU_FT
[ "<BEGIN>\n## `session`", "Get session object to benefit from connection pooling.", " http://docs.python-requests.org/en/master/user/advanced/#session-objects", " :rtype: requests.Session\n<END>", "<BEGIN>\n## `open_id_connect`", "Get OpenID Connect client", " :param str client_id:\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update 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 update 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 ...
Update existing role. http://www.keycloak.org/docs-api/3.4/rest-api/index.html#_roles_resource :param str name: Name for the role :param str description: (optional) :param str id: (optional) :param bool client_role: (optional) :param bool composite: (optional) :...
"Update existing role.\n\n http://www.keycloak.org/docs-api/3.4/rest-api/index.html#_roles_resource\n\n :param str name: Name for the role\n :param str description: (optional)\n :param str id: (optional)\n :param bool client_role: (optional)\n :param bool composite: (optional)\...
118
false
Peter-Slump/python-keycloak-client
update
5,509
LDU_FT/bblfsh/client-python/filter
LDU_FT
[ "<BEGIN>\n## `parse`", "Queries the Babelfish server and receives the UAST response for the specified\n file.", " :param filename: The path to the file. Can be arbitrary if contents \\\n is not None.\n :param language: The programming language of the file. Refer to \...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
Further filter the results using this iterator as base.
"Further filter the results using this iterator as base."
25
false
bblfsh/client-python
filter
5,510
LDU_FT/ikegami-yukino/madoka-python/values
LDU_FT
[ "<BEGIN>\n## `create`", "Create new sketch\n Params:\n <int> width\n <str> path\n <int> flags\n <int> seed\n<END>", "<BEGIN>\n## `get`", "Add key-value\n Params:\n <str> key\n <int> key_length\n Return:\n <int> k...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values 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 values 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 ...
Dump all values Return: <generator> <int> val
"Dump all values\n Return:\n <generator> <int> val"
26
false
ikegami-yukino/madoka-python
values
5,511
LDU_FT/thespacedoctor/neddy/_convert_coordinates_to_decimal_degrees
LDU_FT
[ "<BEGIN>\n## `get`", "*get the conesearch object*", " **Return:**\n - ``conesearch``", " .. todo::", " - @review: when complete, clean get method\n - @review: when complete add logging\n<END>", "<BEGIN>\n## `_get_ned_query_url`", "*single ned conesearch*", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_coordinates_to_decimal_degrees API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_coordinates_to_decimal_degrees API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate...
*convert coordinates to decimal degrees*
"*convert coordinates to decimal degrees*"
68
false
thespacedoctor/neddy
_convert_coordinates_to_decimal_degrees
5,512
LDU_FT/pandeylab/pythomics/add_entry
LDU_FT
[ "<BEGIN>\n## `add_header`", "Parses the VCF Header field and returns the number of samples in the VCF file\n<END>", "<BEGIN>\n## `parse_entry`", "Parse an individual VCF entry and return a VCFEntry which contains information about\n the call (such as alternative allele, zygosity, etc.)\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_entry 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 add_entry 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...
This will parse the VCF entry and also store it within the VCFFile. It will also return the VCFEntry as well.
"This will parse the VCF entry and also store it within the VCFFile. It will also\n return the VCFEntry as well."
49
false
pandeylab/pythomics
add_entry
5,513
LDU_FT/gmr/queries/_cleanup
LDU_FT
[ "<BEGIN>\n## `close`", "Close the connection", " :raises: ConnectionBusyError\n<END>", "<BEGIN>\n## `busy`", "Return if the connection is currently executing a query or is locked\n by a session that still exists.", " :rtype: bool\n<END>", "<BEGIN>\n## `free`", "Remove the lock on ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cleanup 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 _cleanup 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...
Remove the connection from the stack, closing out the cursor
"Remove the connection from the stack, closing out the cursor"
181
false
gmr/queries
_cleanup
5,514
LDU_FT/tweepy/tweepy/get_xauth_access_token
LDU_FT
[ "<BEGIN>\n## `get_authorization_url`", "Get the authorization URL to redirect the user\n<END>", "<BEGIN>\n## `get_access_token`", "After user has authorized the request token, get access token\n with user supplied verifier.\n<END>", "<BEGIN>\n## `get_xauth_access_token`", "Get an access token from ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_xauth_access_token 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_xauth_access_token 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 an access token from an username and password combination. In order to get this working you need to create an app at http://twitter.com/apps, after that send a mail to api@twitter.com and request activation of xAuth for it.
"Get an access token from an username and password combination.\n In order to get this working you need to create an app at\n http://twitter.com/apps, after that send a mail to api@twitter.com\n and request activation of xAuth for it."
54
false
tweepy/tweepy
get_xauth_access_token
5,515
LDU_FT/InQuest/python-sandboxapi/analyze
LDU_FT
[ "<BEGIN>\n## `_request`", "Robustness wrapper. Tries up to 3 times to dance with the Sandbox API.", " :type uri: str\n :param uri: URI to append to base_url.\n :type params: dict\n :param params: Optional parameters for API.\n :type files: dict\n :param f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze 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 analyze 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...
Submit a file for analysis. :type handle: File handle :param handle: Handle to file to upload for analysis. :type filename: str :param filename: File name. :rtype: str :return: File ID as a string
"Submit a file for analysis.\n\n :type handle: File handle\n :param handle: Handle to file to upload for analysis.\n :type filename: str\n :param filename: File name.\n\n :rtype: str\n :return: File ID as a string"
93
false
InQuest/python-sandboxapi
analyze
5,516
LDU_FT/watson-developer-cloud/python-sdk/_to_dict
LDU_FT
[ "<BEGIN>\n## `synthesize_using_websocket`", "Synthesizes text to spoken audio using web sockets. It supports the use of\n the SSML <mark> element to identify the location of user-specified markers in the audio.\n It can also return timing information for all strings of the input text.\n Note:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_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. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_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. The extracte...
Return a json dictionary representing this model.
"Return a json dictionary representing this model."
1,254
true
watson-developer-cloud/python-sdk
_to_dict
5,517
LDU_FT/unt-libraries/edtf-validate/replace_u
LDU_FT
[ "<BEGIN>\n## `replace_all`", "Takes a string and dictionary. replaces all occurrences of i with j\n<END>", "<BEGIN>\n## `replace_u`", "Break the interval into parts, and replace 'u's.", " pieces - [pos/neg, start_year, start_month, start_day,\n pos/neg, end_year, end_month, end_day]\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_u 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 replace_u 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...
Break the interval into parts, and replace 'u's. pieces - [pos/neg, start_year, start_month, start_day, pos/neg, end_year, end_month, end_day]
"Break the interval into parts, and replace 'u's.\n\n pieces - [pos/neg, start_year, start_month, start_day,\n pos/neg, end_year, end_month, end_day]"
13
false
unt-libraries/edtf-validate
replace_u
5,518
LDU_FT/kapadia/usgs/_async_requests
LDU_FT
[ "<BEGIN>\n## `datasets`", "This method is used to find datasets available for searching.\n By passing no parameters except node, all available datasets\n are returned. Additional parameters such as temporal range\n and spatial bounding box can be used to find datasets that \n provide more specific dat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _async_requests 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 _async_requests 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...
Sends multiple non-blocking requests. Returns a list of responses. :param urls: List of urls
"Sends multiple non-blocking requests. Returns\n a list of responses.\n\n :param urls:\n List of urls"
62
false
kapadia/usgs
_async_requests
5,519
LDU_FT/YosaiProject/yosai/login
LDU_FT
[ "<BEGIN>\n## `on_successful_login`", "Reacts to the successful login attempt by first always\n forgetting any previously stored identity. Then if the authc_token\n is a ``RememberMe`` type of token, the associated identity\n will be remembered for later retrieval during a new user session.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login 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 login 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...
:type authc_token: authc_abcs.AuthenticationToken authc_token's password is cleartext that is stored as a bytearray. The authc_token password is cleared in memory, within the authc_token, when authentication is successful.
":type authc_token: authc_abcs.AuthenticationToken\n\n authc_token's password is cleartext that is stored as a bytearray.\n The authc_token password is cleared in memory, within the authc_token,\n when authentication is successful."
335
false
YosaiProject/yosai
login
5,520
LDU_FT/PyAr/fades/download_remote_script
LDU_FT
[ "<BEGIN>\n## `consolidate_dependencies`", "Parse files, get deps and merge them. Deps read later overwrite those read earlier.\n<END>", "<BEGIN>\n## `decide_child_program`", "Decide which the child program really is (if any).\n<END>", "<BEGIN>\n## `detect_inside_virtualenv`", "Tell if fades is running ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_remote_script 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 download_remote_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Download the content of a remote script to a local temp file.
"Download the content of a remote script to a local temp file."
85
false
PyAr/fades
download_remote_script
5,521
LDU_FT/andreikop/qutepart/_insertNewBlock
LDU_FT
[ "<BEGIN>\n## `_createAction`", "Create QAction with given parameters and add to the widget\n<END>", "<BEGIN>\n## `clear`", "Clear bookmarks on block range including start and end\n<END>", "<BEGIN>\n## `_onPrevBookmark`", "Previous Bookmark action triggered. Move cursor\n<END>", "<BEGIN>\n## `_onNextBook...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _insertNewBlock 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 _insertNewBlock 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...
Enter pressed. Insert properly indented block
"Enter pressed.\n Insert properly indented block"
303
false
andreikop/qutepart
_insertNewBlock
5,522
LDU_FT/jaseg/python-mpv/overlay_add
LDU_FT
[ "<BEGIN>\n## `_mpv_coax_proptype`", "Intelligently coax the given python value into something that can be understood as a proptype property.\n<END>", "<BEGIN>\n## `_make_node_str_list`", "Take a list of python objects and make a MPV string node array from it.", " As an example, the python list ``l = [ \"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay_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 extra...
Mapped mpv overlay_add command, see man mpv(1).
"Mapped mpv overlay_add command, see man mpv(1)."
66
false
jaseg/python-mpv
overlay_add
5,523
LDU_FT/devision-io/metasdk/write_cfg
LDU_FT
[ "<BEGIN>\n## `get_feed`", "Получение настроек для фида\n :param datasource_id: идентификатор фида\n :return: FeedDataSource\n<END>", "<BEGIN>\n## `get_data`", "Сохранение медиафайла\n :param task:\n :param media_metadata:\n :param file_suffix:\n :param callback:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_cfg 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 write_cfg 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...
:param path: example: "/.rwmeta/developer_settings.json" :param value: dict
":param path: example: \"/.rwmeta/developer_settings.json\"\n :param value: dict"
88
false
devision-io/metasdk
write_cfg
5,524
LDU_FT/JosuaKrause/quick_server/msg
LDU_FT
[ "<BEGIN>\n## `json_dumps`", "A safe JSON dump function that provides correct diverging numbers for a\n ECMAscript consumer.\n<END>", "<BEGIN>\n## `msg`", "Prints a message from the server to the log file.\n<END>", "<BEGIN>\n## `setup_restart`", "Sets up restart functionality that doesn't keep the fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the msg 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 msg 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...
Prints a message from the server to the log file.
"Prints a message from the server to the log file."
90
false
JosuaKrause/quick_server
msg
5,525
LDU_FT/brechtm/rinohtype/place
LDU_FT
[ "<BEGIN>\n## `preprocess_tree`", "Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>", "<BEGIN>\n## `_size_columns`", "Calculate the table's column sizes constrained by:", " - requested (absolute, rela...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the place 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 place 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...
Place this container's canvas onto the parent container's canvas.
"Place this container's canvas onto the parent container's canvas."
310
false
brechtm/rinohtype
place
5,526
LDU_FT/jazzband/django-authority/permission_required_or_403
LDU_FT
[ "<BEGIN>\n## `permission_required`", "Decorator for views that checks whether a user has a particular permission\n enabled, redirecting to the log-in page if necessary.\n<END>", "<BEGIN>\n## `permission_required_or_403`", "Decorator that wraps the permission_required decorator and returns a\n permission...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permission_required_or_403 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 permission_required_or_403 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Decorator that wraps the permission_required decorator and returns a permission denied (403) page instead of redirecting to the login URL.
"Decorator that wraps the permission_required decorator and returns a\n permission denied (403) page instead of redirecting to the login URL."
67
false
jazzband/django-authority
permission_required_or_403
5,527
LDU_FT/andrewsnowden/dota2py/run_hooks
LDU_FT
[ "<BEGIN>\n## `load_heroes`", "Load hero details from JSON file into memoy\n<END>", "<BEGIN>\n## `load_items`", "Load item details fom JSON file into memory\n<END>", "<BEGIN>\n## `debug_dump`", "Utility while developing to dump message data to play with in the\n interpreter\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_hooks 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 run_hooks 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...
Run any additional functions that want to process this type of packet. These can be internal parser hooks, or external hooks that process information
"Run any additional functions that want to process this type of packet.\n These can be internal parser hooks, or external hooks that process\n information"
45
false
andrewsnowden/dota2py
run_hooks
5,528
LDU_FT/django-getpaid/django-plans/import_name
LDU_FT
[ "<BEGIN>\n## `import_name`", "import module given by str or pass the module if it is not str\n<END>", "<BEGIN>\n## `account_status`", "Set following ``RequestContext`` variables:", " * ``ACCOUNT_EXPIRED = boolean``, account was expired state,\n * ``ACCOUNT_NOT_ACTIVE = boolean``, set when account is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_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 extra...
import module given by str or pass the module if it is not str
"import module given by str or pass the module if it is not str"
23
false
django-getpaid/django-plans
import_name
5,529
LDU_FT/cthoyt/onto2nx/bestDescription
LDU_FT
[ "<BEGIN>\n## `parse_owl_rdf`", "Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph", " :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>", "<BEGIN>\n## `get_or_create_home_repo`", "Check to make...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bestDescription 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 bestDescription 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...
facility for extrating the best available description for an entity ..This checks RFDS.label, SKOS.prefLabel and finally the qname local component
"facility for extrating the best available description for an entity\n\n ..This checks RFDS.label, SKOS.prefLabel and finally the qname local component"
102
false
cthoyt/onto2nx
bestDescription
5,530
LDU_FT/xenadevel/PyXenaManager/packets
LDU_FT
[ "<BEGIN>\n## `sendQuery`", "Send command, wait for response (single or multi lines), test for errors and return the returned code.", " :param cmd: command to send\n :param multilines: True - multiline response, False - single line response.\n :return: command return value.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the packets 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 packets 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...
:return: dictionary {id: object} of all packets. :rtype: dict of (int, xenamanager.xena_port.XenaCapturePacket)
":return: dictionary {id: object} of all packets.\n :rtype: dict of (int, xenamanager.xena_port.XenaCapturePacket)"
140
false
xenadevel/PyXenaManager
packets
5,531
LDU_FT/bradmontgomery/django-redis-metrics/get_context_data
LDU_FT
[ "<BEGIN>\n## `categorize_metrics`", "Called only on a valid form, this method will place the chosen\n metrics in the given catgory.\n<END>", "<BEGIN>\n## `dedupe`", "Remove duplicates from a sequence (of hashable items) while maintaining\n order. NOTE: This only works if items in the list are hashab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_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 ...
Includes the metrics slugs in the context.
"Includes the metrics slugs in the context."
122
false
bradmontgomery/django-redis-metrics
get_context_data
5,532
LDU_FT/google/python-gflags/convert
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 convert 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 convert 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...
Converts the argument to a boolean; raise ValueError on errors.
"Converts the argument to a boolean; raise ValueError on errors."
243
false
google/python-gflags
convert
5,533
LDU_FT/Bogdanp/anom-py/paginate
LDU_FT
[ "<BEGIN>\n## `_transactions`", "list[Transaction]: The current stack of Transactions.\n<END>", "<BEGIN>\n## `transactional`", "Decorates functions so that all of their operations (except for\n queries) run inside a Datastore transaction.", " Parameters:\n adapter(Adapter, optional): The Adapter t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate 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 paginate 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...
Run this query and return a page iterator. Parameters: page_size(int): The number of entities to fetch per page. \**options(QueryOptions, optional) Returns: Pages: An iterator for this query's pages of results.
"Run this query and return a page iterator.\n\n Parameters:\n page_size(int): The number of entities to fetch per page.\n \\**options(QueryOptions, optional)\n\n Returns:\n Pages: An iterator for this query's pages of results."
91
false
Bogdanp/anom-py
paginate
5,534
LDU_FT/ContextLab/hypertools/align
LDU_FT
[ "<BEGIN>\n## `default_params`", "Loads and updates default model parameters", " Parameters\n ----------", " model : str\n The name of a model", " update_dict : dict\n A dict to update default parameters", " Returns\n ----------", " params : dict\n A dictionary o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the align 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 align 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...
Aligns a list of arrays This function takes a list of high dimensional arrays and 'hyperaligns' them to a 'common' space, or coordinate system following the approach outlined by Haxby et al, 2011. Hyperalignment uses linear transformations (rotation, reflection, translation, scaling) to register a grou...
"Aligns a list of arrays\n\n This function takes a list of high dimensional arrays and 'hyperaligns' them\n to a 'common' space, or coordinate system following the approach outlined by\n Haxby et al, 2011. Hyperalignment uses linear transformations (rotation,\n reflection, translation, scaling) to register ...
239
false
ContextLab/hypertools
align
5,535
LDU_FT/ECESeniorDesign/greenhouse_envmgmt/TCA_select
LDU_FT
[ "<BEGIN>\n## `TCA_select`", "This function will write to the control register of the\r\n TCA module to select the channel that will be\r\n exposed on the TCA module.\r\n After doing this, the desired module can be used as it would be normally.\r\n (The caller sh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TCA_select 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 TCA_select 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...
This function will write to the control register of the TCA module to select the channel that will be exposed on the TCA module. After doing this, the desired module can be used as it would be normally. (The caller should use the address of the I2C sensor modu...
"This function will write to the control register of the\r\n TCA module to select the channel that will be\r\n exposed on the TCA module.\r\n After doing this, the desired module can be used as it would be normally.\r\n (The caller should use the address of the I2C se...
55
false
ECESeniorDesign/greenhouse_envmgmt
TCA_select
5,536
LDU_FT/decentfox/aioh2/start_response
LDU_FT
[ "<BEGIN>\n## `set_handler`", "Connect with a coroutine, which is scheduled when connection is made.", " This function will create a task, and when connection is closed,\n the task will be canceled.\n :param handler:\n :return: None\n<END>", "<BEGIN>\n## `start_request`", "Start a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_response 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 start_response 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...
Start a response by sending given headers on the given stream. This may block until the underlying transport becomes writable. :param stream_id: Which stream to send response on. :param headers: A list of key-value tuples as headers. :param end_stream: To send a response without body, ...
"Start a response by sending given headers on the given stream.\n\n This may block until the underlying transport becomes writable.\n\n :param stream_id: Which stream to send response on.\n :param headers: A list of key-value tuples as headers.\n :param end_stream: To send a response without...
43
false
decentfox/aioh2
start_response
5,537
LDU_FT/pavlin-policar/openTSNE/optimize
LDU_FT
[ "<BEGIN>\n## `has_c_library`", "Check whether a C/C++ library is available on the system to the compiler.", " Parameters\n ----------\n library: str\n The library we want to check for e.g. if we are interested in FFTW3, we\n want to check for `fftw3.h`, so this parameter will be `fftw3`.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize 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 optimize 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...
Run optmization on the embedding for a given number of steps. Parameters ---------- n_iter: int The number of optimization iterations. learning_rate: float The learning rate for t-SNE optimization. Typical values range between 100 to 1000. Setting th...
"Run optmization on the embedding for a given number of steps.\n\n Parameters\n ----------\n n_iter: int\n The number of optimization iterations.\n\n learning_rate: float\n The learning rate for t-SNE optimization. Typical values range\n between 100 to 1000. ...
181
false
pavlin-policar/openTSNE
optimize
5,538
LDU_FT/RedFantom/ttkwidgets/_set_scroll
LDU_FT
[ "<BEGIN>\n## `_grid_widgets`", "Puts the two whole widgets in the correct position depending on compound.\n<END>", "<BEGIN>\n## `_on_click`", "Function bound to event of selection in the Combobox, calls callback if callable", " :param event: Tkinter event\n<END>", "<BEGIN>\n## `left_press`", "Cal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_scroll 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_scroll 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...
Set horizontal scroll of scroll container and ticks Canvas
"Set horizontal scroll of scroll container and ticks Canvas"
429
false
RedFantom/ttkwidgets
_set_scroll
5,539
LDU_FT/joshspeagle/dynesty/scale_to_vol
LDU_FT
[ "<BEGIN>\n## `runplot`", "Plot live points, ln(likelihood), ln(weight), and ln(evidence)\n as a function of ln(prior volume).", " Parameters\n ----------\n results : :class:`~dynesty.results.Results` instance\n A :class:`~dynesty.results.Results` instance from a nested\n sampling run."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scale_to_vol 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 scale_to_vol 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...
Scale ball to encompass a target volume.
"Scale ball to encompass a target volume."
709
false
joshspeagle/dynesty
scale_to_vol
5,540
LDU_FT/andycasey/sick/create
LDU_FT
[ "<BEGIN>\n## `chains`", "Create a plot showing the walker values for each parameter at every step.", " :param xs:\n The samples. This should be a 3D :class:`numpy.ndarray` of size \n (``n_walkers``, ``n_steps``, ``n_parameters``).", " :type xs:\n :class:`numpy.ndarray`", " :par...
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 ...
Create a new *sick* model from files describing the parameter names, fluxes, and wavelengths.
"Create a new *sick* model from files describing the parameter names, fluxes,\n and wavelengths."
179
false
andycasey/sick
create
5,541
LDU_FT/sammchardy/python-binance/order_market_buy
LDU_FT
[ "<BEGIN>\n## `add_bid`", "Add a bid to the cache", " :param bid:\n :return:\n<END>", "<BEGIN>\n## `add_ask`", "Add an ask to the cache", " :param ask:\n :return:\n<END>", "<BEGIN>\n## `_init_cache`", "Initialise the depth cache calling REST endpoint", " :return:\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_market_buy 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 order_market_buy 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 ...
Send in a new market buy order :param symbol: required :type symbol: str :param quantity: required :type quantity: decimal :param newClientOrderId: A unique id for the order. Automatically generated if not sent. :type newClientOrderId: str :param newOrderRespType...
"Send in a new market buy order\n\n :param symbol: required\n :type symbol: str\n :param quantity: required\n :type quantity: decimal\n :param newClientOrderId: A unique id for the order. Automatically generated if not sent.\n :type newClientOrderId: str\n :param newOrde...
233
false
sammchardy/python-binance
order_market_buy
5,542
LDU_FT/mattupstate/flask-security/hash_password
LDU_FT
[ "<BEGIN>\n## `add_role_to_user`", "Adds a role to a user.", " :param user: The user to manipulate\n :param role: The role to add to the user\n<END>", "<BEGIN>\n## `remove_role_from_user`", "Removes a role from a user.", " :param user: The user to manipulate\n :param role: The r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash_password 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 hash_password 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...
Hash the specified plaintext password. It uses the configured hashing options. .. versionadded:: 2.0.2 :param password: The plaintext password to hash
"Hash the specified plaintext password.\n\n It uses the configured hashing options.\n\n .. versionadded:: 2.0.2\n\n :param password: The plaintext password to hash"
145
false
mattupstate/flask-security
hash_password
5,543
LDU_FT/dmlc/gluon-nlp/decode_step
LDU_FT
[ "<BEGIN>\n## `train`", "Train textCNN model for sentiment analysis.\n<END>", "<BEGIN>\n## `embedding`", "Get tokens, tokens embedding", " Parameters\n ----------\n sentences : List[str]\n sentences for encoding.\n oov_way : str, default avg.\n use **avg**, *...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_step 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 decode_step 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...
One step decoding of the translation model. Parameters ---------- step_input : NDArray Shape (batch_size,) states : list of NDArrays Returns ------- step_output : NDArray Shape (batch_size, C_out) states : list step_additi...
"One step decoding of the translation model.\n\n Parameters\n ----------\n step_input : NDArray\n Shape (batch_size,)\n states : list of NDArrays\n\n Returns\n -------\n step_output : NDArray\n Shape (batch_size, C_out)\n states : list\n ...
801
false
dmlc/gluon-nlp
decode_step
5,544
LDU_FT/volfpeter/graphscraper/get_authentic_node_name
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_authentic_node_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authentic_node_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...
Returns the exact, authentic node name for the given node name if a node corresponding to the given name exists in the graph (maybe not locally yet) or `None` otherwise. By default, this method checks whether a node with the given name exists locally in the graph and return `node_name` if it do...
"Returns the exact, authentic node name for the given node name if a node corresponding to\n the given name exists in the graph (maybe not locally yet) or `None` otherwise.\n\n By default, this method checks whether a node with the given name exists locally in the\n graph and return `node_name` if ...
122
false
volfpeter/graphscraper
get_authentic_node_name
5,545
LDU_FT/cloudflare/sqlalchemy-clickhouse/fetchmany
LDU_FT
[ "<BEGIN>\n## `_reset_state`", "Reset state about the previous query in preparation for running another query\n<END>", "<BEGIN>\n## `description`", "This read-only attribute is a sequence of 7-item sequences.", " Each of these sequences contains information describing one result column:", " -...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchmany 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 fetchmany 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...
Fetch the next set of rows of a query result, returning a sequence of sequences (e.g. a list of tuples). An empty sequence is returned when no more rows are available. The number of rows to fetch per call is specified by the parameter. If it is not given, the cursor's arraysize determines the n...
"Fetch the next set of rows of a query result, returning a sequence of sequences (e.g. a\n list of tuples). An empty sequence is returned when no more rows are available.\n\n The number of rows to fetch per call is specified by the parameter. If it is not given, the\n cursor's arraysize determines ...
22
false
cloudflare/sqlalchemy-clickhouse
fetchmany
5,546
LDU_FT/mkouhei/tonicdnscli/set_option
LDU_FT
[ "<BEGIN>\n## `check_infile`", "Check text file exisitense.", " Argument:", " filename: text file of bulk updating\n<END>", "<BEGIN>\n## `set_json`", "Convert text file to JSON.", " Arguments:", " domain: domain name of updating target\n action: True ; for PUT/POST HTTP m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_option 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_option 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...
Set options of command line. Arguments: prs: parser object of argparse keyword: processing keyword required: True is required option (default is False)
"Set options of command line.\n\n Arguments:\n\n prs: parser object of argparse\n keyword: processing keyword\n required: True is required option (default is False)"
192
false
mkouhei/tonicdnscli
set_option
5,547
LDU_FT/tarbell-project/tarbell/find_file_paths
LDU_FT
[ "<BEGIN>\n## `_get_or_create_config`", "Get or create a Tarbell configuration directory.\n<END>", "<BEGIN>\n## `slughifi`", "High Fidelity slugify - slughifi.py, v 0.1", " Examples :", " >>> text = 'C\\'est déjà l\\'été.'", " >>> slughifi(text)\n 'cest-deja-lete'", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_file_paths 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 find_file_paths 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...
A generator function that recursively finds all files in the upload directory.
"A generator function that recursively finds all files in the upload directory."
66
false
tarbell-project/tarbell
find_file_paths
5,548
LDU_FT/wbond/pybars3/grow
LDU_FT
[ "<BEGIN>\n## `prepare`", "Prepares a value to be added to the result", " :param value:\n The value to add to the result", " :param should_escape:\n If the string should be HTML-escaped", " :return:\n A unicode string or strlist\n<END>", "<BEGIN>\n## `grow`", "Make the list ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grow 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 grow 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...
Make the list longer, appending for unicode, extending otherwise.
"Make the list longer, appending for unicode, extending otherwise."
22
false
wbond/pybars3
grow
5,549
LDU_FT/PMBio/limix-backup/_splitGenoSlidingWindow
LDU_FT
[ "<BEGIN>\n## `PCA`", "run PCA, retrieving the first (components) principle components\n\treturn [s0, eig, w0]\n\ts0: factors\n\tw0: weights\n<END>", "<BEGIN>\n## `PC_varExplained`", "Run PCA and calculate the cumulative fraction of variance\n Args:\n Y: phenotype values\n standardize: if True...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _splitGenoSlidingWindow 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 _splitGenoSlidingWindow API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
split into windows using a slide criterion Args: size: window size step: moving step (default: 0.5*size) minSnps: only windows with nSnps>=minSnps are considered maxSnps: only windows with nSnps>=maxSnps are considered
"split into windows using a slide criterion\n Args:\n size: window size\n step: moving step (default: 0.5*size)\n minSnps: only windows with nSnps>=minSnps are considered\n maxSnps: only windows with nSnps>=maxSnps are considered"
428
false
PMBio/limix-backup
_splitGenoSlidingWindow
5,550
LDU_FT/vladcalin/gemstone/emit_event
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 emit_event 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 emit_event 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...
Publishes an event of type ``event_name`` to all subscribers, having the body ``event_body``. The event is pushed through all available event transports. The event body must be a Python object that can be represented as a JSON. :param event_name: a ``str`` representing the event type :...
"Publishes an event of type ``event_name`` to all subscribers, having the body\n ``event_body``. The event is pushed through all available event transports.\n\n The event body must be a Python object that can be represented as a JSON.\n\n :param event_name: a ``str`` representing the event type\n ...
107
false
vladcalin/gemstone
emit_event
5,551
LDU_FT/django-leonardo/django-leonardo/dbtemplate_save
LDU_FT
[ "<BEGIN>\n## `sort_dependencies`", "Sort a list of (app_config, models) pairs into a single list of models.\n The single list of models is sorted so that any model with a natural key\n is serialized before a normal model, and any model with a natural key\n dependency has it's dependencies serialized firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dbtemplate_save 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 dbtemplate_save 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...
create widget/page content/base theme from given db template:: /widget/icon/my_awesome.html /base/widget/my_new_widget_box.html /base/page/my_new_page_layout.html
"create widget/page content/base theme from given db template::\n /widget/icon/my_awesome.html\n /base/widget/my_new_widget_box.html\n /base/page/my_new_page_layout.html"
267
false
django-leonardo/django-leonardo
dbtemplate_save
5,552
LDU_FT/tobiasfeistmantl/python-actioncable-zwei/received
LDU_FT
[ "<BEGIN>\n## `connect`", "Connects to the server.", " :param origin: (Optional) The origin.\n<END>", "<BEGIN>\n## `find_subscription`", "Finds a subscription\n by it's identifier.\n<END>", "<BEGIN>\n## `send`", "Sends data to the server on the\n subscription channel.", " :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the received 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 received 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...
API for the connection to forward information to this subscription instance. :param data: The JSON data which was received. :type data: Message
"API for the connection to forward\n information to this subscription instance.\n\n :param data: The JSON data which was received.\n :type data: Message"
13
false
tobiasfeistmantl/python-actioncable-zwei
received
5,553
LDU_FT/stefankoegl/kdtree/dist
LDU_FT
[ "<BEGIN>\n## `require_axis`", "Check if the object of the function has axis and sel_axis members\n<END>", "<BEGIN>\n## `create`", "Creates a kd-tree from a list of points", " All points in the list must be of the same dimensionality.", " If no point_list is given, an empty tree is created. The numbe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dist 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 dist 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...
Squared distance between the current Node and the given point
"Squared distance between the current Node\n and the given point"
72
false
stefankoegl/kdtree
dist
5,554
LDU_FT/ptcryan/hydrawiser/controller
LDU_FT
[ "<BEGIN>\n## `update_controller_info`", "Pulls controller information.", " :returns: True if successfull, otherwise False.\n :rtype: boolean\n<END>", "<BEGIN>\n## `controller`", "Check if multiple controllers are connected.", " :returns: Return the controller_id of the active controll...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the controller 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 controller 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...
Check if multiple controllers are connected. :returns: Return the controller_id of the active controller. :rtype: string
"Check if multiple controllers are connected.\n\n :returns: Return the controller_id of the active controller.\n :rtype: string"
30
false
ptcryan/hydrawiser
controller
5,555
LDU_FT/enkore/i3pystatus/request_update
LDU_FT
[ "<BEGIN>\n## `init`", "Creates context, when context is ready context_notify_cb is called\n<END>", "<BEGIN>\n## `request_update`", "Requests a sink info update (sink_info_cb is called)\n<END>", "<BEGIN>\n## `server_info_cb`", "Retrieves the default sink and calls request_update\n<END>", "<BEGIN>\n## `co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_update 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 request_update 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...
Requests a sink info update (sink_info_cb is called)
"Requests a sink info update (sink_info_cb is called)"
181
false
enkore/i3pystatus
request_update
5,556
LDU_FT/jbrudvik/yahooscraper/start_active_players_path
LDU_FT
[ "<BEGIN>\n## `authenticated_session`", "Given username and password, return an authenticated Yahoo `requests`\n session that can be used for further scraping requests.", " Throw an AuthencationError if authentication fails.\n<END>", "<BEGIN>\n## `post_data`", "Given username and password, return the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_active_players_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_active_players_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Return the path in the "Start Active Players" button
"Return the path in the \"Start Active Players\" button"
12
false
jbrudvik/yahooscraper
start_active_players_path
5,557
LDU_FT/Rediker-Software/doac/render_exception_js
LDU_FT
[ "<BEGIN>\n## `access_token`", "Try to get the `AccessToken` associated with the provided token.", " *The provided value must pass `BearerHandler.validate()`*\n<END>", "<BEGIN>\n## `validate`", "Try to get the `AccessToken` associated with the given token.", " The return value is determined b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_exception_js 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 render_exception_js 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 response with the body containing a JSON-formatter version of the exception.
"Return a response with the body containing a JSON-formatter version of the exception."
46
false
Rediker-Software/doac
render_exception_js
5,558
LDU_FT/inveniosoftware/invenio-i18n/get_translations
LDU_FT
[ "<BEGIN>\n## `get_locale`", "Get locale.", " Searches for locale in the following the order:", " - User has specified a concrete language in the query string.\n - Current session has a language set.\n - User has a language set in the profile.\n - Headers of the HTTP request.\n - Default lang...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_translations 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_translations 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 the correct gettext translations for a request. This will never fail and return a dummy translation object if used outside of the request or if a translation cannot be found.
"Return the correct gettext translations for a request.\n\n This will never fail and return a dummy translation object if used\n outside of the request or if a translation cannot be found."
27
false
inveniosoftware/invenio-i18n
get_translations
5,559
LDU_FT/Gscorreia89/pyChemometrics/plot_leverages
LDU_FT
[ "<BEGIN>\n## `_cummulativefit`", "Measure the cumulative Regression sum of Squares for each individual component.", " :param x: Data matrix to fit the PLS model.\n :type x: numpy.ndarray, shape [n_samples, n_features]\n :param y: Data matrix to fit the PLS model.\n :type y: numpy.nda...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_leverages 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 plot_leverages 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...
Leverage (h) per observation, with a red line plotted at y = 1/Number of samples (expected :return: Plot with observation leverages (h)
"Leverage (h) per observation, with a red line plotted at y = 1/Number of samples (expected\n :return: Plot with observation leverages (h)"
24
false
Gscorreia89/pyChemometrics
plot_leverages
5,560
LDU_FT/lemieuxl/pyplink/get_acgt_geno_marker
LDU_FT
[ "<BEGIN>\n## `next`", "Returns the next marker.", " Returns:\n tuple: The marker name as a string and its genotypes as a\n :py:class:`numpy.ndarray`.\n<END>", "<BEGIN>\n## `_read_current_marker`", "Reads the current marker and returns its genotypes.\n<END>", "<BEGIN>\n## `seek...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_acgt_geno_marker 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_acgt_geno_marker API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Gets the genotypes for a given marker (ACGT format). Args: marker (str): The name of the marker. Returns: numpy.ndarray: The genotypes of the marker (ACGT format).
"Gets the genotypes for a given marker (ACGT format).\n\n Args:\n marker (str): The name of the marker.\n\n Returns:\n numpy.ndarray: The genotypes of the marker (ACGT format)."
34
false
lemieuxl/pyplink
get_acgt_geno_marker
5,561
LDU_FT/jeffknupp/sandman2/required
LDU_FT
[ "<BEGIN>\n## `to_dict`", "Return a dictionary representation of the exception.\n<END>", "<BEGIN>\n## `required`", "Return a list of all columns required by the database to create the\n resource.", " :param cls: The Model class to gather attributes from\n :rtype: list\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the required 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 required 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 a list of all columns required by the database to create the resource. :param cls: The Model class to gather attributes from :rtype: list
"Return a list of all columns required by the database to create the\n resource.\n\n :param cls: The Model class to gather attributes from\n :rtype: list"
74
false
jeffknupp/sandman2
required
5,562
LDU_FT/lambdalisue/django-permission/get_object_from_list_detail_view
LDU_FT
[ "<BEGIN>\n## `permission_required`", "Permission check decorator for classbased generic view", " This decorator works as class decorator\n DO NOT use ``method_decorator`` or whatever while this decorator will use\n ``self`` argument for method of classbased generic view.", " Parameters\n ------...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_from_list_detail_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_from_list_detail_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Get object from generic list_detail.detail view Parameters ---------- request : instance An instance of HttpRequest Returns ------- instance An instance of model object or None
"Get object from generic list_detail.detail view\n\n Parameters\n ----------\n request : instance\n An instance of HttpRequest\n\n Returns\n -------\n instance\n An instance of model object or None"
147
false
lambdalisue/django-permission
get_object_from_list_detail_view
5,563
LDU_FT/MacHu-GWU/sqlalchemy_mate-project/from_sql
LDU_FT
[ "<BEGIN>\n## `count_row`", "Return number of rows in a table.", " Example::", " >>> count_row(engine, table_user)\n 3", " **中文文档**", " 返回一个表中的行数。\n<END>", "<BEGIN>\n## `keys`", "return list of all declared columns.", " :rtype: List[str]\n<END>", "<BEGIN>\n## `glance`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_sql 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_sql 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...
Create a :class:`prettytable.PrettyTable` from :class:`sqlalchemy.select`. :type sql: Select :param sql: a ``sqlalchemy.sql.selectable.Select`` object. :type engine: Engine :param engine: an ``sqlalchemy.engine.base.Engine`` object. :type limit: int :param limit: int, limit rows to return. ...
"Create a :class:`prettytable.PrettyTable` from :class:`sqlalchemy.select`.\n\n :type sql: Select\n :param sql: a ``sqlalchemy.sql.selectable.Select`` object.\n\n :type engine: Engine\n :param engine: an ``sqlalchemy.engine.base.Engine`` object.\n\n :type limit: int\n :param limit: int, limit rows to ...
92
false
MacHu-GWU/sqlalchemy_mate-project
from_sql
5,564
LDU_FT/mardix/flask-cloudy/create
LDU_FT
[ "<BEGIN>\n## `get_file_extension_type`", "Return the group associated to the file\n :param filename:\n :return: str\n<END>", "<BEGIN>\n## `get_driver_class`", "Return the driver class\n :param provider: str - provider name\n :return:\n<END>", "<BEGIN>\n## `get_provider_name`", "Return the prov...
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 ...
create a new object :param object_name: :param size: :param hash: :param extra: :param meta_data: :return: Object
"create a new object\n :param object_name:\n :param size:\n :param hash:\n :param extra:\n :param meta_data:\n :return: Object"
33
false
mardix/flask-cloudy
create
5,565
LDU_FT/krinj/k-util/is_in_bounds
LDU_FT
[ "<BEGIN>\n## `interpolate_color`", "Linear interpolate two 3-channel colors, using channel based interpolation.\n<END>", "<BEGIN>\n## `interpolate`", "Linearly interpolate between two float values.\n<END>", "<BEGIN>\n## `filter_value`", "Linearly interpolate between two float values.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_in_bounds 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 is_in_bounds 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...
Check if this entire region is contained within the bounds of a given stage size.
"Check if this entire region is contained within the bounds of a given stage size."
30
false
krinj/k-util
is_in_bounds
5,566
LDU_FT/gvanderheide/discreteMarkovChain/getStateIndex
LDU_FT
[ "<BEGIN>\n## `uniqueStates`", "Returns unique states and sums up the corresponding rates.\n States should be a 2d numpy array with on each row a state, and rates a 1d numpy array with length equal to the number of rows in states. ", " This may be helpful in the transition function for summing up the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStateIndex 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 getStateIndex 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...
Returns the index of a state by calculating the state code and searching for this code a sorted list. Can be called on multiple states at once.
"Returns the index of a state by calculating the state code and searching for this code a sorted list.\n Can be called on multiple states at once."
68
false
gvanderheide/discreteMarkovChain
getStateIndex
5,567
LDU_FT/EntilZha/PyFunctional/drop_right_t
LDU_FT
[ "<BEGIN>\n## `name`", "Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>", "<BEGIN>\n## `map_t`", "Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>", "<BEGIN>\n## `starmap_t`", "Transfo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_right_t 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 drop_right_t 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...
Transformation for Sequence.drop_right :param n: number to drop from right :return: transformation
"Transformation for Sequence.drop_right\n :param n: number to drop from right\n :return: transformation"
249
false
EntilZha/PyFunctional
drop_right_t
5,568
LDU_FT/ricequant/rqalpha/order_lots
LDU_FT
[ "<BEGIN>\n## `buy_open`", "买入开仓。", " :param id_or_ins: 下单标的物\n :type id_or_ins: :class:`~Instrument` object | `str` | List[:class:`~Instrument`] | List[`str`]", " :param int amount: 下单手数", " :param float price: 下单价格,默认为None,表示 :class:`~MarketOrder`, 此参数主要用于简化 `style` 参数。", " :param style: 下...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_lots 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 order_lots 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...
指定手数发送买/卖单。如有需要落单类型当做一个参量传入,如果忽略掉落单类型,那么默认是市价单(market order)。 :param id_or_ins: 下单标的物 :type id_or_ins: :class:`~Instrument` object | `str` :param int amount: 下单量, 正数代表买入,负数代表卖出。将会根据一手xx股来向下调整到一手的倍数,比如中国A股就是调整成100股的倍数。 :param float price: 下单价格,默认为None,表示 :class:`~MarketOrder`, 此参数主要用于简化 `style` 参数。 ...
"指定手数发送买/卖单。如有需要落单类型当做一个参量传入,如果忽略掉落单类型,那么默认是市价单(market order)。\n\n :param id_or_ins: 下单标的物\n :type id_or_ins: :class:`~Instrument` object | `str`\n\n :param int amount: 下单量, 正数代表买入,负数代表卖出。将会根据一手xx股来向下调整到一手的倍数,比如中国A股就是调整成100股的倍数。\n\n :param float price: 下单价格,默认为None,表示 :class:`~MarketOrder`, 此参数主要用于简化 `style...
254
false
ricequant/rqalpha
order_lots
5,569
LDU_FT/jaapverloop/knot/provider
LDU_FT
[ "<BEGIN>\n## `factory`", "A decorator to register a factory on the container.\n For more information see :meth:`Container.add_factory`.\n<END>", "<BEGIN>\n## `service`", "A decorator to register a service on a container.\n For more information see :meth:`Container.add_service`.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the provider 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 provider 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...
A decorator to register a provider on a container. For more information see :meth:`Container.add_provider`.
"A decorator to register a provider on a container.\n For more information see :meth:`Container.add_provider`."
16
false
jaapverloop/knot
provider
5,570
LDU_FT/Trebek/pydealer/random_card
LDU_FT
[ "<BEGIN>\n## `build`", "Builds a standard 52 card French deck of Card instances.", " :arg bool jokers:\n Whether or not to include jokers in the deck.\n :arg int num_jokers:\n The number of jokers to include.\n<END>", "<BEGIN>\n## `deal`", "Returns a list of cards, which ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_card 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 random_card 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...
Returns a random card from the Stack. If ``remove=True``, it will also remove the card from the deck. :arg bool remove: Whether or not to remove the card from the deck. :returns: A random Card object, from the Stack.
"Returns a random card from the Stack. If ``remove=True``, it will\n also remove the card from the deck.\n\n :arg bool remove:\n Whether or not to remove the card from the deck.\n\n :returns:\n A random Card object, from the Stack."
96
false
Trebek/pydealer
random_card
5,571
LDU_FT/erdc/RAPIDpy/CreateWeightTableLDAS
LDU_FT
[ "<BEGIN>\n## `generate_single_return_period`", "This function calculates a single return period for a single reach\n<END>", "<BEGIN>\n## `generate_return_periods`", "Generate return period from RAPID Qout file\n<END>", "<BEGIN>\n## `get_poly_area_geo`", "Calculates the area in meters squared of the indivi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CreateWeightTableLDAS 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 CreateWeightTableLDAS API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Create Weight Table for NLDAS, GLDAS grids as well as for 2D Joules, or LIS Grids Parameters ---------- in_ldas_nc: str Path to the land surface model NetCDF grid. in_nc_lon_var: str The variable name in the NetCDF file for the longitude. in_nc_lat_var: str The variable ...
"Create Weight Table for NLDAS, GLDAS grids as well as for 2D Joules,\n or LIS Grids\n\n Parameters\n ----------\n in_ldas_nc: str\n Path to the land surface model NetCDF grid.\n in_nc_lon_var: str\n The variable name in the NetCDF file for the longitude.\n in_nc_lat_var: str\n Th...
502
false
erdc/RAPIDpy
CreateWeightTableLDAS
5,572