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/smarie/python-parsyfiles/get_default_object_converters | LDU_FT | [
"<BEGIN>\n## `read_dict_or_list_from_json`",
"Helper method to read a dictionary from a .json file using json library\n :param file_object:\n :return:\n<END>",
"<BEGIN>\n## `get_default_collection_parsers`",
"Utility method to return the default parsers able to parse a dictionary from a file.\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_object_converters 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 get_default_object_converters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Utility method to return the default converters associated to dict (from dict to other type,
and from other type to dict)
:return: | "Utility method to return the default converters associated to dict (from dict to other type,\n and from other type to dict)\n :return:" | 504 | false | smarie/python-parsyfiles | get_default_object_converters | 39,573 | |
LDU_FT/rosenbrockc/fortpy/_check_parse_modtime | LDU_FT | [
"<BEGIN>\n## `setup_regex`",
"Sets up the patterns and compiled regex objects for parsing types.\n<END>",
"<BEGIN>\n## `parse_signature`",
"Parses the specified line as a new version of the signature for 'element'.",
" :arg statement: the string that has the new signature.\n :arg element: the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_parse_modtime 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 _check_parse_modtime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Checks whether the modules in the specified file path need
to be reparsed because the file was changed since it was
last loaded. | "Checks whether the modules in the specified file path need\n to be reparsed because the file was changed since it was\n last loaded." | 929 | false | rosenbrockc/fortpy | _check_parse_modtime | 39,574 | |
LDU_FT/dmwilcox/vcard-tools/SetVcardField | LDU_FT | [
"<BEGIN>\n## `CleanString`",
"Cleans up string.",
" Doesn't catch everything, appears to sometimes allow double underscores\n to occur as a result of replacements.\n<END>",
"<BEGIN>\n## `DedupVcardFilenames`",
"Make sure every vCard in the dictionary has a unique filename.\n<END>",
"<BEGIN>\n## `Vca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetVcardField API.
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 SetVcardField API.
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... | Set vCard field values and parameters on a new vCard. | "Set vCard field values and parameters on a new vCard." | 19 | false | dmwilcox/vcard-tools | SetVcardField | 39,575 | |
LDU_FT/mozilla/socorrolib/is_not_null_predicate | LDU_FT | [
"<BEGIN>\n## `klass_to_pypath`",
"when a class is defined within the module that is being executed as\n main, the module name will be specified as '__main__' even though the\n module actually had its own real name. This ends up being very confusing\n to Configman as it tries to refer to a class by its p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_not_null_predicate 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 is_not_null_predicate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | a predicate that converts the key'd source to boolean.
parameters:
raw_crash - dict
dumps - placeholder in a fat interface - unused
processed_crash - placeholder in a fat interface - unused
processor - placeholder in a fat interface - unused | "a predicate that converts the key'd source to boolean.\n\n parameters:\n raw_crash - dict\n dumps - placeholder in a fat interface - unused\n processed_crash - placeholder in a fat interface - unused\n processor - placeholder in a fat interface - unused" | 155 | false | mozilla/socorrolib | is_not_null_predicate | 39,576 | |
LDU_FT/eaton-lab/toytree/get_dims_from_tree_size | LDU_FT | [
"<BEGIN>\n## `_translate_nodes`",
"Convert node names into node instances...\n<END>",
"<BEGIN>\n## `add_child`",
"Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.",
" Parameters\n ----------",
" child: \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dims_from_tree_size 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_dims_from_tree_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Calculate reasonable canvas height and width for tree given N tips | "Calculate reasonable canvas height and width for tree given N tips" | 332 | false | eaton-lab/toytree | get_dims_from_tree_size | 39,577 | |
LDU_FT/samfoo/vt102/consume | LDU_FT | [
"<BEGIN>\n## `_escape_sequence`",
"Handle characters seen when in an escape sequence. Most non-vt52\n commands start with a left-bracket after the escape and then a \n stream of parameters and a command.\n<END>",
"<BEGIN>\n## `_end_escape_sequence`",
"Handle the end of an escape sequence. The fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume API.
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 consume API.
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... | Consume a single character and advance the state as necessary. | "Consume a single character and advance the state as necessary." | 55 | false | samfoo/vt102 | consume | 39,578 | |
LDU_FT/mozilla/python_moztelemetry/dataframe | LDU_FT | [
"<BEGIN>\n## `add_expiration_postfix`",
"Formats the expiration version and adds a version postfix if needed.",
" :param expiration: the expiration version string.\n :return: the modified expiration string.\n<END>",
"<BEGIN>\n## `load_yaml_file`",
"Load a YAML file from disk, throw a ParserError on fa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataframe API.
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 dataframe API.
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... | Convert RDD returned from records function to a dataframe
:param spark: a SparkSession object
:param group_by: specifies a paritition strategy for the objects
:param limit: maximum number of objects to retrieve
:param decode: an optional transformation to apply to the objects retrieved
... | "Convert RDD returned from records function to a dataframe\n\n :param spark: a SparkSession object\n :param group_by: specifies a paritition strategy for the objects\n :param limit: maximum number of objects to retrieve\n :param decode: an optional transformation to apply to the objects retr... | 122 | false | mozilla/python_moztelemetry | dataframe | 39,579 | |
LDU_FT/rodricios/eatiht/calc_across_paths_textnodes | LDU_FT | [
"<BEGIN>\n## `get_html_tree`",
"From some file path, input stream, or URL, construct and return\r\n an HTML tree.\n<END>",
"<BEGIN>\n## `get_xpath_frequencydistribution`",
"Build and return a frequency distribution over xpath occurrences.\n<END>",
"<BEGIN>\n## `calc_avgstrlen_pathstextnodes`",
"In the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_across_paths_textnodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_across_paths_textnodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Given a list of parent paths tupled with children textnodes, plus
initialized feature values, we calculate the total and average string
length of the parent's children textnodes. | "Given a list of parent paths tupled with children textnodes, plus\r\n initialized feature values, we calculate the total and average string\r\n length of the parent's children textnodes." | 36 | false | rodricios/eatiht | calc_across_paths_textnodes | 39,580 | |
LDU_FT/zarr-developers/zarr/full_like | LDU_FT | [
"<BEGIN>\n## `group`",
"Create a group.",
" Parameters\n ----------\n store : MutableMapping or string, optional\n Store or path to directory in file system.\n overwrite : bool, optional\n If True, delete any pre-existing data in `store` at `path` before\n creating the group.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_like API.
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 full_like API.
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... | Create an array. Keyword arguments as per
:func:`zarr.creation.full_like`. | "Create an array. Keyword arguments as per\n :func:`zarr.creation.full_like`." | 436 | false | zarr-developers/zarr | full_like | 39,581 | |
LDU_FT/J535D165/recordlinkage/reduction_ratio | LDU_FT | [
"<BEGIN>\n## `_map_tril_1d_on_2d`",
"Map 1d indices on lower triangular matrix in 2d.\n<END>",
"<BEGIN>\n## `random_pairs_without_replacement_large_frames`",
"Make a sample of random pairs with replacement\n<END>",
"<BEGIN>\n## `clean`",
"Clean string variables.",
" Clean strings in the Series by rem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduction_ratio API.
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 reduction_ratio API.
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... | Compute the reduction ratio.
The reduction ratio is 1 minus the ratio candidate matches and the maximum
number of pairs possible.
Parameters
----------
links_pred: int, pandas.MultiIndex
The number of candidate record pairs or the pandas.MultiIndex with
record pairs.
*total: pa... | "Compute the reduction ratio.\n\n The reduction ratio is 1 minus the ratio candidate matches and the maximum\n number of pairs possible.\n\n Parameters\n ----------\n links_pred: int, pandas.MultiIndex\n The number of candidate record pairs or the pandas.MultiIndex with\n record pairs.\n ... | 339 | false | J535D165/recordlinkage | reduction_ratio | 39,582 | |
LDU_FT/roanuz/py-cricket/auth | LDU_FT | [
"<BEGIN>\n## `set_value`",
"Set key value to the file.",
" The fuction will be make the key and value to dictinary formate.\n If its exist then it will update the current new key value to\n the file.\n Arg:\n key : cache key\n value : cache value\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth API.
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 auth API.
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... | Auth is used to call the AUTH API of CricketAPI.
Access token required for every request call to CricketAPI.
Auth functional will post user Cricket API app details to server
and return the access token.
Return:
Access token | "Auth is used to call the AUTH API of CricketAPI.\n \n Access token required for every request call to CricketAPI.\n Auth functional will post user Cricket API app details to server\n and return the access token.\n\n Return:\n Access token" | 72 | false | roanuz/py-cricket | auth | 39,583 | |
LDU_FT/evolbioinfo/pastml/uppass | LDU_FT | [
"<BEGIN>\n## `reconstruct_ancestral_states`",
"Reconstructs ancestral states for the given character on the given tree.",
" :param character: character whose ancestral states are to be reconstructed.\n :type character: str\n :param tree: tree whose ancestral state are to be reconstructed,\n anno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uppass API.
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 uppass API.
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 ... | UPPASS traverses the tree starting from the tips and going up till the root,
and assigns to each parent node a state based on the states of its child nodes.
if N is a tip:
S(N) <- state of N
else:
L, R <- left and right children of N
UPPASS(L)
UPPASS(R)
if S(L) intersects with S... | "UPPASS traverses the tree starting from the tips and going up till the root,\n and assigns to each parent node a state based on the states of its child nodes.\n\n if N is a tip:\n S(N) <- state of N\n else:\n L, R <- left and right children of N\n UPPASS(L)\n UPPASS(R)\n if S(L) interse... | 150 | false | evolbioinfo/pastml | uppass | 39,584 | |
LDU_FT/shazow/unstdlib.py/validate_many | LDU_FT | [
"<BEGIN>\n## `convert_exception`",
"Decorator: Catch exception ``from_exception`` and instead raise ``to_exception(*to_args, **to_kw)``.",
" Useful when modules you're using in a method throw their own errors that you want to\n convert to your own exceptions that you handle higher in the stack.",
" E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_many API.
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 validate_many API.
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... | Validate a dictionary of data against the provided schema.
Returns a list of values positioned in the same order as given in ``schema``, each
value is validated with the corresponding validator. Raises formencode.Invalid if
validation failed.
Similar to get_many but using formencode validation.
:... | "Validate a dictionary of data against the provided schema.\n\n Returns a list of values positioned in the same order as given in ``schema``, each\n value is validated with the corresponding validator. Raises formencode.Invalid if\n validation failed.\n\n Similar to get_many but using formencode validation.... | 187 | false | shazow/unstdlib.py | validate_many | 39,585 | |
LDU_FT/NORDUnet/python-norduniclient/get_node_bundle | LDU_FT | [
"<BEGIN>\n## `get_db_driver`",
":param uri: Bolt uri\n :type uri: str\n :param username: Neo4j username\n :type username: str\n :param password: Neo4j password\n :type password: str\n :param encrypted: Use TLS\n :type encrypted: Boolean\n :param max_pool_size: Maximum number of idle sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node_bundle API.
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_node_bundle API.
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... | :param manager: Neo4jDBSessionManager
:param handle_id: Unique id
:type handle_id: str|unicode
:param node: Node object
:type node: neo4j.v1.types.Node
:return: dict | ":param manager: Neo4jDBSessionManager\n :param handle_id: Unique id\n :type handle_id: str|unicode\n :param node: Node object\n :type node: neo4j.v1.types.Node\n :return: dict" | 71 | false | NORDUnet/python-norduniclient | get_node_bundle | 39,586 | |
LDU_FT/aamalev/aiohttp_apiset/set_document | LDU_FT | [
"<BEGIN>\n## `url_for`",
"Construct url for route with additional params.\n<END>",
"<BEGIN>\n## `deref`",
"Return dereference data\n :param data:\n :param spec:\n :return:\n<END>",
"<BEGIN>\n## `build_swagger_data`",
"Prepare data when schema loaded",
" :param swagger_schema: loaded sche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_document API.
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 set_document API.
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... | Simple handler for set document
:param request: aiohttp.web.Request
:param errors: aiohttp_apiset.exceptions.ValidationError
optional param for manual raise validation errors
:return: dict | "Simple handler for set document\n :param request: aiohttp.web.Request\n :param errors: aiohttp_apiset.exceptions.ValidationError\n optional param for manual raise validation errors\n :return: dict" | 48 | false | aamalev/aiohttp_apiset | set_document | 39,587 | |
LDU_FT/fridiculous/estimators/persist | LDU_FT | [
"<BEGIN>\n## `_get_proxy_object`",
"Returns the proxy object for an input object",
" If the object is already the proxy object, return it.\n Otherwise set the appropriate proxy object to the proxy object's attribute\n<END>",
"<BEGIN>\n## `hash`",
"Quick calculation of a hash to identify unique... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the persist API.
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 persist API.
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... | a private method that persists an object to the filesystem | "a private method that persists an object to the filesystem" | 11 | false | fridiculous/estimators | persist | 39,588 | |
LDU_FT/asascience-open/paegan-transport/export | LDU_FT | [
"<BEGIN>\n## `export`",
"Export particle data to CF trajectory convention\n netcdf file\n<END>",
"<BEGIN>\n## `export`",
"Export particle and datetime data to Pickled objects.\n This can be used to debug or to generate different output\n in the future.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export API.
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 export API.
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 ... | Export particle and datetime data to Pickled objects.
This can be used to debug or to generate different output
in the future. | "Export particle and datetime data to Pickled objects.\n This can be used to debug or to generate different output\n in the future." | 98 | false | asascience-open/paegan-transport | export | 39,589 | |
LDU_FT/fhamborg/news-please/from_urls | LDU_FT | [
"<BEGIN>\n## `rss_parse`",
"Extracts all article links and initiates crawling them.",
" :param obj response: The scrapy response\n<END>",
"<BEGIN>\n## `article_parse`",
"Checks any given response on being an article and if positiv,\n passes the response to the pipeline.",
" :param obj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_urls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_urls API.
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... | Crawls articles from the urls and extracts relevant information.
:param urls:
:param timeout: in seconds, if None, the urllib default is used
:return: A dict containing given URLs as keys, and extracted information as corresponding values. | "Crawls articles from the urls and extracts relevant information.\n :param urls:\n :param timeout: in seconds, if None, the urllib default is used\n :return: A dict containing given URLs as keys, and extracted information as corresponding values." | 277 | false | fhamborg/news-please | from_urls | 39,590 | |
LDU_FT/noxdafox/vminspect/file_comparison | LDU_FT | [
"<BEGIN>\n## `keys`",
"Iterates over the hive's keys.",
" Yields WinRegKey namedtuples containing:",
" path: path of the key \"RootKey\\\\Key\\\\...\"\n timestamp: date and time of last modification\n values: list of values ((\"ValueKey\", \"ValueType\", ValueValue), ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_comparison API.
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 file_comparison API.
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... | Compares two dictionaries of files returning their difference.
{'created_files': [<files in files1 and not in files0>],
'deleted_files': [<files in files0 and not in files1>],
'modified_files': [<files in both files0 and files1 but different>]} | "Compares two dictionaries of files returning their difference.\n\n {'created_files': [<files in files1 and not in files0>],\n 'deleted_files': [<files in files0 and not in files1>],\n 'modified_files': [<files in both files0 and files1 but different>]}" | 123 | false | noxdafox/vminspect | file_comparison | 39,591 | |
LDU_FT/MakerReduxCorp/PLOD/remove_member | LDU_FT | [
"<BEGIN>\n## `dropKey`",
"Drop an attribute/element/key-value pair from all the dictionaries.",
" If the dictionary key does not exist in a particular dictionary, then\n that dictionary is left unchanged.",
" Side effect: if the key is a number and it matches a list (interpreted\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_member API.
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 remove_member API.
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... | properly modifies a dict or class attribute | "properly modifies a dict or class attribute" | 199 | false | MakerReduxCorp/PLOD | remove_member | 39,592 | |
LDU_FT/lowandrew/OLCTools/write_to_logfile | LDU_FT | [
"<BEGIN>\n## `classes`",
"Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>",
"<BEGIN>\n## `gene_name`",
"Split the FASTA header string into i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_to_logfile API.
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 write_to_logfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Writes out and err (both should be strings) to logfile. | "Writes out and err (both should be strings) to logfile." | 432 | false | lowandrew/OLCTools | write_to_logfile | 39,593 | |
LDU_FT/SmartTeleMax/iktomi/replicate_no_merge | LDU_FT | [
"<BEGIN>\n## `pare`",
"Pare text to have maximum size and add etc to the end if it's\n changed\n<END>",
"<BEGIN>\n## `quoteattrs`",
"Takes dict of attributes and returns their HTML representation\n<END>",
"<BEGIN>\n## `quote_js`",
"Quotes text to be used as JavaScript string in HTML templates. The\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replicate_no_merge 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 replicate_no_merge 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... | Replicates the `source` object to `model` class and returns its
reflection. | "Replicates the `source` object to `model` class and returns its\n reflection." | 196 | false | SmartTeleMax/iktomi | replicate_no_merge | 39,594 | |
LDU_FT/CodyKochmann/generators/time_pipeline | LDU_FT | [
"<BEGIN>\n## `first`",
"first is essentially the next() function except it's second argument\n determines how many of the first items you want. If items is more than\n 1 the output is an islice of the generator. If items is 1, the first\n item is returned\n<END>",
"<BEGIN>\n## `timed_pipe`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time_pipeline API.
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 time_pipeline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | This times the steps in a pipeline. Give it an iterable to test against
followed by the steps of the pipeline seperated in individual functions.
Example Usage:
```
from random import choice, randint
l = [randint(0,50) for i in range(100)]
step1 = lambda iterable:(i for i in iterable if i%5==0)
step2 ... | "This times the steps in a pipeline. Give it an iterable to test against\nfollowed by the steps of the pipeline seperated in individual functions.\n\nExample Usage:\n```\n from random import choice, randint\n\n l = [randint(0,50) for i in range(100)]\n\n step1 = lambda iterable:(i for i in iterable if i%5==0)\... | 71 | false | CodyKochmann/generators | time_pipeline | 39,595 | |
LDU_FT/pybluez/pybluez/newChannelOpened_channel_ | LDU_FT | [
"<BEGIN>\n## `btaddrtochars`",
"Takes a bluetooth address and returns a tuple with the corresponding\n char values. This can then be used to construct a\n IOBluetoothDevice object, providing the signature of the withAddress:\n selector has been set (as in _setpyobjcsignatures() in this module).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the newChannelOpened_channel_ 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 newChannelOpened_channel_ API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Handle when a client connects to the server channel.
(This method is called for both RFCOMM and L2CAP channels.) | "Handle when a client connects to the server channel.\n (This method is called for both RFCOMM and L2CAP channels.)" | 80 | false | pybluez/pybluez | newChannelOpened_channel_ | 39,596 | |
LDU_FT/programa-stic/barf-project/translate | LDU_FT | [
"<BEGIN>\n## `translate`",
"Return the SMT representation of a REIL instruction.\n<END>",
"<BEGIN>\n## `_translate_src_oprnd`",
"Translate source operand to a SMT expression.\n<END>",
"<BEGIN>\n## `_translate_dst_oprnd`",
"Translate destination operand to a SMT expression.\n<END>",
"<BEGIN>\n## `_transl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API.
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 translate API.
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... | Return IR representation of an instruction. | "Return IR representation of an instruction." | 148 | false | programa-stic/barf-project | translate | 39,597 | |
LDU_FT/akx/lepo/resolve_reference | LDU_FT | [
"<BEGIN>\n## `resolve_reference`",
"Resolve a JSON Pointer object reference to the object itself.",
" :param ref: Reference string (`#/foo/bar`, for instance)\n :return: The object, if found\n :raises jsonschema.exceptions.RefResolutionError: if there is trouble resolving the reference\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_reference API.
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 resolve_reference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Resolve a JSON Pointer object reference to the object itself.
:param ref: Reference string (`#/foo/bar`, for instance)
:return: The object, if found
:raises jsonschema.exceptions.RefResolutionError: if there is trouble resolving the reference | "Resolve a JSON Pointer object reference to the object itself.\n\n :param ref: Reference string (`#/foo/bar`, for instance)\n :return: The object, if found\n :raises jsonschema.exceptions.RefResolutionError: if there is trouble resolving the reference" | 36 | false | akx/lepo | resolve_reference | 39,598 | |
LDU_FT/dschep/ntfy/notify | LDU_FT | [
"<BEGIN>\n## `notify`",
"Required parameters:\n * ``user_key``",
" Optional parameters:\n * ``sound``\n * ``priority``\n * ``expire``\n * ``retry``\n * ``callback``\n * ``api_token`` - use your own application token\n * ``device`` - target a device, if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Required parameters:
* ``user_key``
Optional parameters:
* ``sound``
* ``priority``
* ``expire``
* ``retry``
* ``callback``
* ``api_token`` - use your own application token
* ``device`` - target a device, if omitted, target all devices
* ``url... | "Required parameters:\n * ``user_key``\n\n Optional parameters:\n * ``sound``\n * ``priority``\n * ``expire``\n * ``retry``\n * ``callback``\n * ``api_token`` - use your own application token\n * ``device`` - target a device, if omitted, target all devices\n ... | 44 | false | dschep/ntfy | notify | 39,599 | |
LDU_FT/edeposit/edeposit.amqp/_require_host_parameter | LDU_FT | [
"<BEGIN>\n## `_process_exception`",
"Process informations about exception and send them thru AMQP.",
" Args:\n e (obj): Exception instance.\n body (str): Text which will be sent over AMQP.\n tb (obj): Traceback object with informations, which will be put to the\n headers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _require_host_parameter 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 _require_host_parameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Make sure, that user specified --host argument. | "Make sure, that user specified --host argument." | 70 | false | edeposit/edeposit.amqp | _require_host_parameter | 39,600 | |
LDU_FT/svven/summary/_get_tag | LDU_FT | [
"<BEGIN>\n## `load_raw_rules`",
"Load raw rules from url or package file.\n<END>",
"<BEGIN>\n## `get_image`",
"Returned Image instance has response url.\r\n This might be different than the url param because of redirects.\n<END>",
"<BEGIN>\n## `check_color`",
"Just check if raw_image is completely ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_tag API.
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_tag API.
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... | Iterates response content and returns the tag if found.
If not found, the response content is fully consumed so
self._html equals response.content, and it returns None. | "Iterates response content and returns the tag if found.\n If not found, the response content is fully consumed so\n self._html equals response.content, and it returns None." | 41 | false | svven/summary | _get_tag | 39,601 | |
LDU_FT/OCHA-DAP/hdx-python-api/_create | LDU_FT | [
"<BEGIN>\n## `validlocations`",
"Read valid locations from HDX",
" Args:\n configuration (Optional[Configuration]): HDX configuration. Defaults to global configuration.",
" Returns:\n List[Dict]: A list of valid locations\n<END>",
"<BEGIN>\n## `get_location_from_HDX_code`... | 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 HDX configuration
Args:
configuration (Optional[Configuration]): Configuration instance. Defaults to setting one up from passed arguments.
remoteckan (Optional[ckanapi.RemoteCKAN]): CKAN instance. Defaults to setting one up from configuration.
**kwargs: See below
... | "Create HDX configuration\n\n Args:\n configuration (Optional[Configuration]): Configuration instance. Defaults to setting one up from passed arguments.\n remoteckan (Optional[ckanapi.RemoteCKAN]): CKAN instance. Defaults to setting one up from configuration.\n **kwargs: See belo... | 513 | false | OCHA-DAP/hdx-python-api | _create | 39,602 | |
LDU_FT/paramiko/paramiko/close | LDU_FT | [
"<BEGIN>\n## `make_tarball`",
"Create a tar file from all the files under 'base_dir'.\n This file may be compressed.",
" :param compress: Compression algorithms. Supported algorithms are:\n 'gzip': (the default)\n 'compress'\n 'bzip2'\n None\n For 'gzip' and 'bzip2' the inte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
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 close API.
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... | Close this pipe object. Future calls to `read` after the buffer
has been emptied will return immediately with an empty string. | "Close this pipe object. Future calls to `read` after the buffer\n has been emptied will return immediately with an empty string." | 608 | false | paramiko/paramiko | close | 39,603 | |
LDU_FT/confluentinc/confluent-kafka-python/on_delivery | LDU_FT | [
"<BEGIN>\n## `_make_topics_result`",
"Map per-topic results to per-topic futures in futmap.\n The result value of each (successful) future is None.\n<END>",
"<BEGIN>\n## `_make_resource_result`",
"Map per-resource results to per-resource futures in futmap.\n The result value of each (successful)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_delivery API.
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 on_delivery API.
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... | Handle delivery reports served from producer.poll.
This callback takes an extra argument, obj.
This allows the original contents to be included for debugging purposes. | "Handle delivery reports served from producer.poll.\n This callback takes an extra argument, obj.\n This allows the original contents to be included for debugging purposes." | 88 | false | confluentinc/confluent-kafka-python | on_delivery | 39,604 | |
LDU_FT/jaysonsantos/python-binary-memcached/set | LDU_FT | [
"<BEGIN>\n## `str_to_bytes`",
"Simply convert a string type to bytes if the value is a string\n and is an instance of six.string_types but not of six.binary_type\n in python2 struct.pack(\"<Q\") is both string_types and binary_type but\n in python3 struct.pack(\"<Q\") is binary_type but not a string_type... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
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 set API.
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... | Set a value for a key on server.
:param key: Key's name
:type key: str
:param value: A value to be stored on server.
:type value: object
:param time: Time in seconds that your key will expire.
:type time: int
:param compress_level: How much to compress.
... | "Set a value for a key on server.\n\n :param key: Key's name\n :type key: str\n :param value: A value to be stored on server.\n :type value: object\n :param time: Time in seconds that your key will expire.\n :type time: int\n :param compress_level: How much to compress.\... | 132 | false | jaysonsantos/python-binary-memcached | set | 39,605 | |
LDU_FT/Azure/azure-uamqp-python/receive_message_batch_async | LDU_FT | [
"<BEGIN>\n## `_close_received`",
"Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_message_batch_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_message_batch_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Receive a batch of messages asynchronously. This method will return as soon as some
messages are available rather than waiting to achieve a specific batch size, and
therefore the number of messages returned per call will vary up to the maximum allowed.
If the receive client is configured with `... | "Receive a batch of messages asynchronously. This method will return as soon as some\n messages are available rather than waiting to achieve a specific batch size, and\n therefore the number of messages returned per call will vary up to the maximum allowed.\n\n If the receive client is configured w... | 299 | false | Azure/azure-uamqp-python | receive_message_batch_async | 39,606 | |
LDU_FT/cwacek/python-jsonschema-objects/as_dict | LDU_FT | [
"<BEGIN>\n## `validate_items`",
"Validates the items in the backing array, including\n performing type validation.",
" Sets the _typed property and clears the dirty flag as a side effect",
" Returns:\n The typed array\n<END>",
"<BEGIN>\n## `create`",
"Create an array valida... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_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 extracted... | Return a dictionary containing the current values
of the object.
Returns:
(dict): The object represented as a dictionary | "Return a dictionary containing the current values\n of the object.\n\n Returns:\n (dict): The object represented as a dictionary" | 41 | false | cwacek/python-jsonschema-objects | as_dict | 39,607 | |
LDU_FT/tkf/python-epc/register_function | LDU_FT | [
"<BEGIN>\n## `register_function`",
"Register function to be called from EPC client.",
" :type function: callable\n :arg function: Function to publish.\n :type name: str\n :arg name: Name by which function is published.",
" This method returns the given `functio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_function API.
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 register_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Register function to be called from EPC client.
:type function: callable
:arg function: Function to publish.
:type name: str
:arg name: Name by which function is published.
This method returns the given `function` as-is, so that you
can use it as a decorat... | "Register function to be called from EPC client.\n\n :type function: callable\n :arg function: Function to publish.\n :type name: str\n :arg name: Name by which function is published.\n\n This method returns the given `function` as-is, so that you\n can use it as ... | 37 | false | tkf/python-epc | register_function | 39,608 | |
LDU_FT/kyan001/ping3/send_one_ping | LDU_FT | [
"<BEGIN>\n## `ones_comp_sum16`",
"Calculates the 1's complement sum for 16-bit numbers.",
" Args:\n num1: 16-bit number.\n num2: 16-bit number.",
" Returns:\n The calculated result.\n<END>",
"<BEGIN>\n## `checksum`",
"Calculates the checksum of the input bytes.",
" RFC1071:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_one_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_one_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 ext... | Sends one ping to the given destination.
ICMP Header (bits): type (8), code (8), checksum (16), id (16), sequence (16)
ICMP Payload: time (double), data
ICMP Wikipedia: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol
Args:
sock: Socket.
dest_addr: The destination addres... | "Sends one ping to the given destination.\n\n ICMP Header (bits): type (8), code (8), checksum (16), id (16), sequence (16)\n ICMP Payload: time (double), data\n ICMP Wikipedia: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol\n\n Args:\n sock: Socket.\n dest_addr: The destinati... | 30 | false | kyan001/ping3 | send_one_ping | 39,609 | |
LDU_FT/splunk/splunk-sdk-python/handler | LDU_FT | [
"<BEGIN>\n## `dispatch`",
"Instantiates and executes a search command class",
" This function implements a `conditional script stanza <https://docs.python.org/2/library/__main__.html>`_ based on the value of\n :code:`module_name`::",
" if module_name is None or module_name == '__main__':\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API.
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 handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | This class returns an instance of the default HTTP request handler using
the values you provide.
:param `key_file`: A path to a PEM (Privacy Enhanced Mail) formatted file containing your private key (optional).
:type key_file: ``string``
:param `cert_file`: A path to a PEM (Privacy Enhanced Mail) forma... | "This class returns an instance of the default HTTP request handler using\n the values you provide.\n\n :param `key_file`: A path to a PEM (Privacy Enhanced Mail) formatted file containing your private key (optional).\n :type key_file: ``string``\n :param `cert_file`: A path to a PEM (Privacy Enhanced Mail)... | 747 | false | splunk/splunk-sdk-python | handler | 39,610 | |
LDU_FT/zsethna/OLGA/compute_Pi_L | LDU_FT | [
"<BEGIN>\n## `nt2aa`",
"Translate a nucleotide sequence into an amino acid sequence.",
" Parameters\n ----------\n ntseq : str\n Nucleotide sequence composed of A, C, G, or T (uppercase or lowercase)",
" Returns\n -------\n aaseq : str\n Amino acid sequence",
" Example\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_Pi_L API.
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 compute_Pi_L API.
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... | Compute Pi_L.
This function returns the Pi array from the model factors of the V genomic
contributions, P(V)*P(delV|V), and the VD (N1) insertions,
first_nt_bias_insVD(m_1)PinsVD(\ell_{VD})\prod_{i=2}^{\ell_{VD}}Rvd(m_i|m_{i-1}).
This corresponds to V_{x_1}{M^{x_1}}_{x_2}.
... | "Compute Pi_L.\n \n This function returns the Pi array from the model factors of the V genomic \n contributions, P(V)*P(delV|V), and the VD (N1) insertions,\n first_nt_bias_insVD(m_1)PinsVD(\\ell_{VD})\\prod_{i=2}^{\\ell_{VD}}Rvd(m_i|m_{i-1}). \n This corresponds to V_{x_1}{M^{x_1}}_{x_2}... | 287 | false | zsethna/OLGA | compute_Pi_L | 39,611 | |
LDU_FT/brunato/lograptor/create_dispatcher | LDU_FT | [
"<BEGIN>\n## `make_text`",
"Make the text representation of a report data element.\n<END>",
"<BEGIN>\n## `make_html`",
"Make the text representation of a report element as html.\n<END>",
"<BEGIN>\n## `make_csv`",
"Get the text representation of a report element as csv.\n<END>",
"<BEGIN>\n## `make_format... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dispatcher API.
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 create_dispatcher API.
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 dispatcher for configured channels. | "Return a dispatcher for configured channels." | 121 | false | brunato/lograptor | create_dispatcher | 39,612 | |
LDU_FT/jim-easterbrook/pyctools/parser_set | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect an output to any callable object.",
" :param str output_name: the output to connect. Must be one of\n the ``'self'`` outputs in the ``linkages`` parameter.",
" :param callable input_method: the thread-safe callable to invoke\n when :py:meth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parser_set API.
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 parser_set API.
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 config from an :py:class:`argparse.Namespace` object.
Call this method with the return value from
:py:meth:`~argparse.ArgumentParser.parse_args`.
:param argparse.Namespace args: The populated
:py:class:`argparse.Namespace` object. | "Set config from an :py:class:`argparse.Namespace` object.\n\n Call this method with the return value from\n :py:meth:`~argparse.ArgumentParser.parse_args`.\n\n :param argparse.Namespace args: The populated\n :py:class:`argparse.Namespace` object." | 158 | false | jim-easterbrook/pyctools | parser_set | 39,613 | |
LDU_FT/thoughtworksarts/EmoPy/next | LDU_FT | [
"<BEGIN>\n## `load_data`",
"Loads image and label data from specified csv file path.",
" :return: Dataset object containing image and label data.\n<END>",
"<BEGIN>\n## `_load_dataset`",
"Loads Dataset object with images, labels, and other data.",
" :param images: numpy array of image data\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next API.
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 next API.
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... | For python 2.x.
# Returns
The next batch. | "For python 2.x.\n\n # Returns\n The next batch." | 53 | false | thoughtworksarts/EmoPy | next | 39,614 | |
LDU_FT/cons3rt/pycons3rt/get_scenario_host_ip_on_network | LDU_FT | [
"<BEGIN>\n## `getdict`",
"Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>",
"<BEGIN>\n## `get_ec2_client`",
"Gets an EC2 client",
" :return: boto3.client object\n :raises: AWSAPIError\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scenario_host_ip_on_network API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scenario_host_ip_on_network API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Given a network name, returns the IP address
:param network_name: (str) Name of the network to search for
:param scenario_role_name: (str) role name to return the IP address for
:return: (str) IP address on the specified network or None | "Given a network name, returns the IP address\n\n :param network_name: (str) Name of the network to search for\n :param scenario_role_name: (str) role name to return the IP address for\n :return: (str) IP address on the specified network or None" | 386 | false | cons3rt/pycons3rt | get_scenario_host_ip_on_network | 39,615 | |
LDU_FT/smnorris/bcdata/dump | LDU_FT | [
"<BEGIN>\n## `parse_db_url`",
"provided a db url, return a dict with connection properties\n<END>",
"<BEGIN>\n## `from_like_context`",
"Return the value for an option from the context if the option\n or `--all` is given, else return None.\n<END>",
"<BEGIN>\n## `info`",
"Print basic metadata about a Dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
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 dump API.
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... | Write DataBC features to stdout as GeoJSON feature collection.
\b
$ bcdata dump bc-airports
$ bcdata dump bc-airports --query "AIRPORT_NAME='Victoria Harbour (Shoal Point) Heliport'"
$ bcdata dump bc-airports --bounds xmin ymin xmax ymax
The values of --bounds must be in BC Albers.
It ... | "Write DataBC features to stdout as GeoJSON feature collection.\n\n \\b\n $ bcdata dump bc-airports\n $ bcdata dump bc-airports --query \"AIRPORT_NAME='Victoria Harbour (Shoal Point) Heliport'\"\n $ bcdata dump bc-airports --bounds xmin ymin xmax ymax\n\n The values of --bounds must be in BC Albers... | 35 | false | smnorris/bcdata | dump | 39,616 | |
LDU_FT/bitlabstudio/django-review/render_category_averages | LDU_FT | [
"<BEGIN>\n## `get_reviews`",
"Simply returns the reviews for an object.\n<END>",
"<BEGIN>\n## `get_review_average`",
"Returns the review average for an object.\n<END>",
"<BEGIN>\n## `render_category_averages`",
"Renders all the sub-averages for each category.\n<END>",
"<BEGIN>\n## `total_review_average`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_category_averages 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 render_category_averages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Renders all the sub-averages for each category. | "Renders all the sub-averages for each category." | 10 | false | bitlabstudio/django-review | render_category_averages | 39,617 | |
LDU_FT/chibisov/drf-extensions/_hash_html_blocks | LDU_FT | [
"<BEGIN>\n## `get_etags_and_matchers`",
"Get the etags from the header and perform a validation against the required preconditions.\n<END>",
"<BEGIN>\n## `evaluate_preconditions`",
"Evaluate whether the precondition for the request is met.\n<END>",
"<BEGIN>\n## `_regex_from_encoded_pattern`",
"foo' -> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hash_html_blocks API.
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 _hash_html_blocks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Hashify HTML blocks
We only want to do this for block-level HTML tags, such as headers,
lists, and tables. That's because we still want to wrap <p>s around
"paragraphs" that are wrapped in non-block-level tags, such as anchors,
phrase emphasis, and spans. The list of tags we're looking ... | "Hashify HTML blocks\n\n We only want to do this for block-level HTML tags, such as headers,\n lists, and tables. That's because we still want to wrap <p>s around\n \"paragraphs\" that are wrapped in non-block-level tags, such as anchors,\n phrase emphasis, and spans. The list of tags we're ... | 55 | false | chibisov/drf-extensions | _hash_html_blocks | 39,618 | |
LDU_FT/Julius2342/pyvlx/stop | LDU_FT | [
"<BEGIN>\n## `add`",
"Add Node, replace existing node if node with node_id is present.\n<END>",
"<BEGIN>\n## `load`",
"Load nodes from KLF 200, if no node_id is specified all nodes are loaded.\n<END>",
"<BEGIN>\n## `handle_frame`",
"Handle incoming API frame, return True if this was the expected frame.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
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 stop API.
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... | Stop window.
Parameters:
* wait_for_completion: If set, function will return
after device has reached target position. | "Stop window.\n\n Parameters:\n * wait_for_completion: If set, function will return\n after device has reached target position." | 74 | false | Julius2342/pyvlx | stop | 39,619 | |
LDU_FT/Microsoft/azure-devops-python-api/delete_folder | LDU_FT | [
"<BEGIN>\n## `create_attachment`",
"CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_folder API.
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 delete_folder API.
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... | DeleteFolder.
[Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.
:param str project: Project ID or project name
:param str path: The full path to the folder. | "DeleteFolder.\n [Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.\n :param str project: Project ID or project name\n :param str path: The full path to the folder." | 1,304 | true | Microsoft/azure-devops-python-api | delete_folder | 39,620 | |
LDU_FT/Equitable/trump/build_view_from_tag | LDU_FT | [
"<BEGIN>\n## `create`",
"Create, or get if exists, a Symbol.\r",
" Parameters\r\n ----------\r\n name : str\r\n A symbol's name is a primary key, used across\r\n the Trump ORM.\r\n description : str, optional\r\n An arbitrary string, used to store use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_view_from_tag 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 build_view_from_tag 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... | Build a view of group of Symbols based on their tag.
Parameters
----------
tag : str
Use '%' to enable SQL's "LIKE" functionality.
Note
----
This function is written without SQLAlchemy,
so it only tested on Postgre... | "Build a view of group of Symbols based on their tag.\r\n \r\n Parameters\r\n ----------\r\n tag : str\r\n Use '%' to enable SQL's \"LIKE\" functionality.\r\n \r\n Note\r\n ----\r\n \r\n This function is written without SQLAlchemy,\r\n so ... | 177 | false | Equitable/trump | build_view_from_tag | 39,621 | |
LDU_FT/MrMinimal64/timezonefinder/set_version | LDU_FT | [
"<BEGIN>\n## `set_version`",
"Set package version as listed in `__version__` in `__init__.py`.\n<END>",
"<BEGIN>\n## `get_geometry`",
":param tz_name: one of the names in timezone_names\n :param tz_id: the id of the timezone (=index in timezone_names)\n :param use_id: determines whether id or na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_version API.
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_version API.
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 package version as listed in `__version__` in `__init__.py`. | "Set package version as listed in `__version__` in `__init__.py`." | 35 | false | MrMinimal64/timezonefinder | set_version | 39,622 | |
LDU_FT/src-d/jgit-spark-connector/from_metadata | LDU_FT | [
"<BEGIN>\n## `repositories`",
"Returns a DataFrame with the data about the repositories found at\n the specified repositories path in the form of siva files.",
" >>> repos_df = engine.repositories",
" :rtype: RepositoriesDataFrame\n<END>",
"<BEGIN>\n## `blobs`",
"Retrieves the blobs o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Registers in the current session the views of the MetadataSource so the
data is obtained from the metadata database instead of reading the
repositories with the DefaultSource.
:param db_path: path to the folder that contains the database.
:type db_path: str
:param db_name: name ... | "Registers in the current session the views of the MetadataSource so the\n data is obtained from the metadata database instead of reading the\n repositories with the DefaultSource.\n\n :param db_path: path to the folder that contains the database.\n :type db_path: str\n :param db_name... | 76 | false | src-d/jgit-spark-connector | from_metadata | 39,623 | |
LDU_FT/UncleRus/regnupg/export_keys | LDU_FT | [
"<BEGIN>\n## `recv_keys`",
"Import the keys with the given key IDs from a HKP keyserver.",
" :param keyserver: Keyserver name. The format of the name is a URI: ``scheme:[//]keyservername[:port]``.\n The scheme is the type of keyserver:\"hkp\" for the HTTP (or compatible) keyservers, \"ldap\" f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_keys API.
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 export_keys API.
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... | Export keys
:param keys: Single key ID or list of mutiple IDs. If None export all of the keys.
:param secret: Export secret keys
:param passphrase: Secret key password, you need this if secret=true
:param binary: If false, create ASCII armored output
:rtype: ExportResult | "Export keys\n\n :param keys: Single key ID or list of mutiple IDs. If None export all of the keys.\n :param secret: Export secret keys\n :param passphrase: Secret key password, you need this if secret=true\n :param binary: If false, create ASCII armored output\n :rtype: ExportResult" | 39 | false | UncleRus/regnupg | export_keys | 39,624 | |
LDU_FT/Netherdrake/steemtools/get_block_from_time | LDU_FT | [
"<BEGIN>\n## `blocks`",
"Yields blocks starting from ``start``.",
" :param int start: Starting block\n :param int stop: Stop at this block\n :param str mode: We here have the choice between\n * \"head\": the last block\n * \"irreversible\": the bl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_block_from_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_block_from_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Estimate block number from given time
:param str timestring: String representing time
:param int error_margin: Estimate block number within this interval (in seconds) | "Estimate block number from given time\n\n :param str timestring: String representing time\n :param int error_margin: Estimate block number within this interval (in seconds)" | 16 | false | Netherdrake/steemtools | get_block_from_time | 39,625 | |
LDU_FT/josiah-wolf-oberholtzer/uqbar/html_visit_inheritance_diagram | LDU_FT | [
"<BEGIN>\n## `_build_mappings`",
"Collect all bases and organize into parent/child mappings.\n<END>",
"<BEGIN>\n## `_collect_classes`",
"Collect all classes defined in/under ``package_paths``.\n<END>",
"<BEGIN>\n## `find_common_prefix`",
"Find the common prefix of two or more paths.",
" ::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html_visit_inheritance_diagram API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html_visit_inheritance_diagram API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Builds HTML output from an :py:class:`~uqbar.sphinx.inheritance.inheritance_diagram` node. | "Builds HTML output from an :py:class:`~uqbar.sphinx.inheritance.inheritance_diagram` node." | 123 | false | josiah-wolf-oberholtzer/uqbar | html_visit_inheritance_diagram | 39,626 | |
LDU_FT/Cognexa/cxflow/get_class_module | LDU_FT | [
"<BEGIN>\n## `_write_header`",
"Write CSV header row with column names.",
" Column names are inferred from the ``epoch_data`` and ``self.variables`` (if specified).\n Variables and streams expected later on are stored in ``self._variables`` and ``self._streams`` respectively.",
" :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_class_module API.
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_class_module API.
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 a sub-module of the given module which has the given class.
This method wraps `utils.reflection.find_class_module method` with the following behavior:
- raise error when multiple sub-modules with different classes with the same name are found
- return None when no sub-module is found
- warn about ... | "Get a sub-module of the given module which has the given class.\n\n This method wraps `utils.reflection.find_class_module method` with the following behavior:\n\n - raise error when multiple sub-modules with different classes with the same name are found\n - return None when no sub-module is found\n - warn... | 325 | false | Cognexa/cxflow | get_class_module | 39,627 | |
LDU_FT/pyupio/changelogs/get_url_map | LDU_FT | [
"<BEGIN>\n## `get_releases`",
"Gets all releases from pypi meta data.\n :param data: dict, meta data\n :return: list, str releases\n<END>",
"<BEGIN>\n## `get_urls`",
"Gets URLs to changelogs.\n :param session: requests Session instance\n :param name: str, package name\n :param data: dict, meta ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url_map API.
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 get_url_map API.
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... | Loads custom/pypi/map.txt and builds a dict where map[package_name] = url
:return: dict, urls | "Loads custom/pypi/map.txt and builds a dict where map[package_name] = url\n :return: dict, urls" | 58 | false | pyupio/changelogs | get_url_map | 39,628 | |
LDU_FT/dsoprea/PySecure/execute | LDU_FT | [
"<BEGIN>\n## `recurse`",
"Recursively iterate a directory. Invoke callbacks for directories \n and entries (both are optional, but it doesn't make sense unless one is \n provided). \"max_listing_size\" will allow for the file-listing to be \n chunked into manageable pieces. \"max_depth\" limi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
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... | Execute a remote command. This functionality does not support more
than one command to be executed on the same channel, so we create a
dedicated channel at the session level than allowing direct access at
the channel level. | "Execute a remote command. This functionality does not support more \n than one command to be executed on the same channel, so we create a \n dedicated channel at the session level than allowing direct access at\n the channel level." | 35 | false | dsoprea/PySecure | execute | 39,629 | |
LDU_FT/aws/aws-dynamodb-encryption-python/_sorted_key_map | LDU_FT | [
"<BEGIN>\n## `encrypt_item`",
"Demonstrate use of EncryptedTable to transparently encrypt an item.\n<END>",
"<BEGIN>\n## `to_str`",
"Takes an input str or bytes object and returns an equivalent str object.",
" :param data: Input data\n :type data: str or bytes\n :returns: Data normalized to str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sorted_key_map API.
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 _sorted_key_map API.
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... | Creates a list of the item's key/value pairs as tuples, sorted by the keys transformed by transform.
:param dict item: Source dictionary
:param function transform: Transform function
:returns: List of tuples containing transformed key, original value, and original key for each entry
:rtype: list(tuple) | "Creates a list of the item's key/value pairs as tuples, sorted by the keys transformed by transform.\n\n :param dict item: Source dictionary\n :param function transform: Transform function\n :returns: List of tuples containing transformed key, original value, and original key for each entry\n :rtype: list(... | 175 | false | aws/aws-dynamodb-encryption-python | _sorted_key_map | 39,630 | |
LDU_FT/Azure/azure-storage-python/_decrypt | LDU_FT | [
"<BEGIN>\n## `_perform_request`",
"Sends the request and return response. Catches HTTPError and hands it\n to error handler\n<END>",
"<BEGIN>\n## `copy_file`",
"source_file_url = self.service.make_file_url(\n remote_share_name,\n remote_directory_name,\n remote_file_nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decrypt API.
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 _decrypt API.
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... | Decrypts the given ciphertext using AES256 in CBC mode with 128 bit padding.
Unwraps the content-encryption-key using the user-provided or resolved key-encryption-key (kek). Returns the original plaintex.
:param str message:
The ciphertext to be decrypted.
:param _EncryptionData encryption_data:
... | "Decrypts the given ciphertext using AES256 in CBC mode with 128 bit padding.\n Unwraps the content-encryption-key using the user-provided or resolved key-encryption-key (kek). Returns the original plaintex.\n\n :param str message:\n The ciphertext to be decrypted.\n :param _EncryptionData encryption_da... | 235 | false | Azure/azure-storage-python | _decrypt | 39,631 | |
LDU_FT/sprockets/sprockets.mixins.mediatype/add_binary_content_type | LDU_FT | [
"<BEGIN>\n## `install`",
"Install the media type management settings.",
" :param tornado.web.Application application: the application to\n install a :class:`.ContentSettings` object into.\n :param str|NoneType default_content_type:\n :param str|NoneType encoding:",
" :returns: the content s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_binary_content_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_binary_content_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... | Add handler for a binary content type.
:param tornado.web.Application application: the application to modify
:param str content_type: the content type to add
:param pack: function that packs a dictionary to a byte string.
``pack(dict) -> bytes``
:param unpack: function that takes a byte string ... | "Add handler for a binary content type.\n\n :param tornado.web.Application application: the application to modify\n :param str content_type: the content type to add\n :param pack: function that packs a dictionary to a byte string.\n ``pack(dict) -> bytes``\n :param unpack: function that takes a byte ... | 53 | false | sprockets/sprockets.mixins.mediatype | add_binary_content_type | 39,632 | |
LDU_FT/taddeus/wspy/get_nonce_timestamp | LDU_FT | [
"<BEGIN>\n## `conflicts`",
"Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters).\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nonce_timestamp 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 get_nonce_timestamp 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... | Extract the timestamp from a Nonce. To be sure the timestamp was generated by this site,
make sure you validate the nonce using validate_nonce(). | "Extract the timestamp from a Nonce. To be sure the timestamp was generated by this site,\n make sure you validate the nonce using validate_nonce()." | 72 | false | taddeus/wspy | get_nonce_timestamp | 39,633 | |
LDU_FT/robgolding/django-radius/_perform_radius_auth | LDU_FT | [
"<BEGIN>\n## `_get_auth_packet`",
"Get the pyrad authentication packet for the username/password and the\n given pyrad client.\n<END>",
"<BEGIN>\n## `_get_client`",
"Get the pyrad client for a given server. RADIUS server is described by\n a 3-tuple: (<hostname>, <port>, <secret>).\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _perform_radius_auth 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 _perform_radius_auth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Perform the actual radius authentication by passing the given packet
to the server which `client` is bound to.
Returns True or False depending on whether the user is authenticated
successfully. | "Perform the actual radius authentication by passing the given packet\n to the server which `client` is bound to.\n Returns True or False depending on whether the user is authenticated\n successfully." | 14 | false | robgolding/django-radius | _perform_radius_auth | 39,634 | |
LDU_FT/HewlettPackard/python-hpOneView/dissociate_values_or_ranges | LDU_FT | [
"<BEGIN>\n## `get_visual_content`",
"Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.",
" Args:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dissociate_values_or_ranges API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dissociate_values_or_ranges API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Build a list of vlan ids given a combination of ranges and/or values
Examples:
>>> enet.dissociate_values_or_ranges('1-2,5')
[1, 2, 5]
>>> enet.dissociate_values_or_ranges('5')
[1, 2, 3, 4, 5]
>>> enet.dissociate_values_or_ranges('4-5,7-8')
... | "Build a list of vlan ids given a combination of ranges and/or values\n\n Examples:\n >>> enet.dissociate_values_or_ranges('1-2,5')\n [1, 2, 5]\n\n >>> enet.dissociate_values_or_ranges('5')\n [1, 2, 3, 4, 5]\n\n >>> enet.dissociate_values_or_ranges('... | 1,297 | true | HewlettPackard/python-hpOneView | dissociate_values_or_ranges | 39,635 | |
LDU_FT/rpcope1/PythonConfluenceAPI/create_new_label_by_content_id | LDU_FT | [
"<BEGIN>\n## `request_patch`",
"Maintains the existing api for Session.request.\n Used by all of the higher level methods, e.g. Session.get.\n The background_callback param allows you to do some processing on the\n response in the background, e.g. call resp.json() so that json parsing\n happens in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_new_label_by_content_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_new_label_by_content_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Adds a list of labels to the specified content.
:param content_id (string): A string containing the id of the labels content container.
:param label_names (list): A list of labels (strings) to apply to the content.
:param callback: OPTIONAL: The callback to execute on the resulting data, before ... | "Adds a list of labels to the specified content.\n :param content_id (string): A string containing the id of the labels content container.\n :param label_names (list): A list of labels (strings) to apply to the content.\n :param callback: OPTIONAL: The callback to execute on the resulting data, bef... | 140 | false | rpcope1/PythonConfluenceAPI | create_new_label_by_content_id | 39,636 | |
LDU_FT/lobocv/pyperform/convert_time_units | LDU_FT | [
"<BEGIN>\n## `validate`",
"Execute the code once to get it's results (to be used in function validation). Compare the result to the\n first function in the group.\n<END>",
"<BEGIN>\n## `summarize`",
"Tabulate and write the results of ComparisonBenchmarks to a file or standard out.\n :param str g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_time_units 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 convert_time_units 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... | Convert time in seconds into reasonable time units. | "Convert time in seconds into reasonable time units." | 30 | false | lobocv/pyperform | convert_time_units | 39,637 | |
LDU_FT/aloetesting/aloe_django/mail_sent_content | LDU_FT | [
"<BEGIN>\n## `run_from_argv`",
"Set the default Gherkin test runner for its options to be parsed.\n<END>",
"<BEGIN>\n## `django_url`",
"The URL for a page from the test server.",
" :param step: A Gherkin step\n :param url: If specified, the relative URL to append.\n<END>",
"<BEGIN>\n## `_models_gene... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mail_sent_content API.
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 mail_sent_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Test an email contains (assert text in) the given text in the relevant
message part (accessible as an attribute on the email object).
This step strictly applies whitespace.
Syntax:
I have sent an email with "`text`" in the `part`
Example:
.. code-block:: gherkin
Then I have sen... | "Test an email contains (assert text in) the given text in the relevant\n message part (accessible as an attribute on the email object).\n\n This step strictly applies whitespace.\n\n Syntax:\n\n I have sent an email with \"`text`\" in the `part`\n\n Example:\n\n .. code-block:: gherkin\n\n ... | 58 | false | aloetesting/aloe_django | mail_sent_content | 39,638 | |
LDU_FT/rsgalloway/grit/make_app | LDU_FT | [
"<BEGIN>\n## `assemble_WSGI_git_app`",
"Assembles basic WSGI-compatible application providing functionality of git-http-backend.\r",
" content_path (Defaults to '.' = \"current\" directory)\r\n The path to the folder that will be the root of served files. Accepts relative paths.\r",
" uri_marker ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_app API.
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 make_app API.
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... | Assembles basic WSGI-compatible application providing functionality of git-http-backend.
content_path (Defaults to '.' = "current" directory)
The path to the folder that will be the root of served files. Accepts relative paths.
uri_marker (Defaults to '')
Acts as a "virtual folder" separator b... | "Assembles basic WSGI-compatible application providing functionality of git-http-backend.\n\n content_path (Defaults to '.' = \"current\" directory)\n The path to the folder that will be the root of served files. Accepts relative paths.\n\n uri_marker (Defaults to '')\n Acts as a \"virtual folder\" ... | 222 | false | rsgalloway/grit | make_app | 39,639 | |
LDU_FT/marcharper/python-ternary/right_parallel_line | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Normalizes input list.",
" Parameters\n ----------\n l: list\n The list to be normalized",
" Returns\n -------\n The normalized list or numpy array",
" Raises\n ------\n ValueError, if the list sums to zero\n<END>",
"<BEGIN>\n## `simplex_iterat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the right_parallel_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the right_parallel_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Draws the i-th line parallel to the right axis.
Parameters
----------
ax: Matplotlib AxesSubplot
The subplot to draw on.
scale: float
Simplex scale size.
i: float
The index of the line to draw
kwargs: Dictionary
Any kwargs to pass through to Matplotlib. | "Draws the i-th line parallel to the right axis.\n\n Parameters\n ----------\n ax: Matplotlib AxesSubplot\n The subplot to draw on.\n scale: float\n Simplex scale size.\n i: float\n The index of the line to draw\n kwargs: Dictionary\n Any kwargs to pass through to Matplotli... | 179 | false | marcharper/python-ternary | right_parallel_line | 39,640 | |
LDU_FT/bslatkin/dpxdt/fetch_internal | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds a work item to a queue.",
" Args:\n queue_name: Name of the queue to add the work item to.\n payload: Optional. Payload that describes the work to do as a string.\n If not a string and content_type is not provided, then this\n function assumes th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_internal API.
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 fetch_internal API.
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... | Fetches the given request by using the local Flask context. | "Fetches the given request by using the local Flask context." | 180 | false | bslatkin/dpxdt | fetch_internal | 39,641 | |
LDU_FT/hid-io/layouts-python/retrieve_github_cache | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry-point for calling layouts directly as a program.\n<END>",
"<BEGIN>\n## `retrieve_github_cache`",
"Retrieves a cache of the layouts git repo from GitHub",
" @param github_path: Location of the git repo on GitHub (e.g. hid-io/layouts)\n @param version: git refer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_github_cache 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 retrieve_github_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Retrieves a cache of the layouts git repo from GitHub
@param github_path: Location of the git repo on GitHub (e.g. hid-io/layouts)
@param version: git reference for the version to download (e.g. master)
@param cache_dir: Directory to operate on external cache from
@param token: GitHub a... | "Retrieves a cache of the layouts git repo from GitHub\n\n @param github_path: Location of the git repo on GitHub (e.g. hid-io/layouts)\n @param version: git reference for the version to download (e.g. master)\n @param cache_dir: Directory to operate on external cache from\n @param token: Gi... | 35 | false | hid-io/layouts-python | retrieve_github_cache | 39,642 | |
LDU_FT/Exanis/django-rest-generators/then_the_return_element_have_no_key | LDU_FT | [
"<BEGIN>\n## `given_i_am_logged_in`",
":type username: str\r\n :type context: behave.runner.Context\n<END>",
"<BEGIN>\n## `when_i_send_the_request`",
":type method: str\r\n :type context: behave.runner.Context\n<END>",
"<BEGIN>\n## `then_the_return_value_for_is`",
":type key: str\r\n :type value:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the then_the_return_element_have_no_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the then_the_return_element_have_no_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | :param context: behave.runner.Context
:param line: str
:param key: str | ":param context: behave.runner.Context\r\n :param line: str\r\n :param key: str" | 14 | false | Exanis/django-rest-generators | then_the_return_element_have_no_key | 39,643 | |
LDU_FT/postlund/pyatv/post | LDU_FT | [
"<BEGIN>\n## `lookup_tag`",
"Look up a tag based on its key. Returns a DmapTag.\n<END>",
"<BEGIN>\n## `scan_for_apple_tvs`",
"Scan for Apple TVs using zeroconf (bonjour) and returns them.\n<END>",
"<BEGIN>\n## `add_service`",
"Handle callback from zeroconf when a service has been discovered.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
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 post API.
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... | Perform DAAP POST command with optional data. | "Perform DAAP POST command with optional data." | 146 | false | postlund/pyatv | post | 39,644 | |
LDU_FT/Metatab/metatab/cleanse | LDU_FT | [
"<BEGIN>\n## `split_term`",
"Split a term in to parent and record term components\n :param term: combined term text\n :return: Tuple of parent and record term\n<END>",
"<BEGIN>\n## `split_term_lower`",
"Like split_term, but also lowercases both parent and record term\n :param term: combin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanse API.
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 cleanse API.
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... | Clean up some terms, like ensuring that the name is a slug | "Clean up some terms, like ensuring that the name is a slug" | 102 | false | Metatab/metatab | cleanse | 39,645 | |
LDU_FT/WimpyAnalytics/pynt-of-django/recursive_pattern_delete | LDU_FT | [
"<BEGIN>\n## `setup_pod`",
"This must be called by the project's build.py for pyntofdjango to function.",
" You can specify it directly with the optional manage_dir kwarg.",
" :param build_file_path: E.g. os.path.abspath(__file__)\n :param manage_dir: Optional, Searched for if None.\n :param local... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recursive_pattern_delete 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 recursive_pattern_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Recursively deletes files matching a list of patterns. Same for directories | "Recursively deletes files matching a list of patterns. Same for directories" | 16 | false | WimpyAnalytics/pynt-of-django | recursive_pattern_delete | 39,646 | |
LDU_FT/google/transitfeed/AddShapePointObjectUnsorted | LDU_FT | [
"<BEGIN>\n## `GetClosestPoint`",
"Returns the point on the great circle segment ab closest to x.\n<END>",
"<BEGIN>\n## `Norm2`",
"Returns the L_2 (Euclidean) norm of self.\n<END>",
"<BEGIN>\n## `Plus`",
"Returns a new point which is the pointwise sum of self and other.\n<END>",
"<BEGIN>\n## `Minus`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddShapePointObjectUnsorted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddShapePointObjectUnsorted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Insert a point into a correct position by sequence. | "Insert a point into a correct position by sequence." | 708 | false | google/transitfeed | AddShapePointObjectUnsorted | 39,647 | |
LDU_FT/amicks/Speculator/get_end_start_epochs | LDU_FT | [
"<BEGIN>\n## `set_targets`",
"Sets target market trend for a date",
" Args:\n x: Pandas DataFrame of market features\n delta: Positive number defining a price buffer between what is\n classified as a bullish/bearish market for the training set.\n delta is equivalent to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_end_start_epochs 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_end_start_epochs 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 epoch from a start date and epoch from a shifted date
Args:
year: Int between 1 and 9999.
month: Int between 1 and 12.
day: Int between 1 and 31.
direction: String to shift time forwards or backwards.
Valid values: 'last', 'next'.
unit: String of time period... | "Gets epoch from a start date and epoch from a shifted date\n\n Args:\n year: Int between 1 and 9999.\n month: Int between 1 and 12.\n day: Int between 1 and 31.\n direction: String to shift time forwards or backwards.\n Valid values: 'last', 'next'.\n unit: String of ti... | 104 | false | amicks/Speculator | get_end_start_epochs | 39,648 | |
LDU_FT/scottjbarr/bitfinex/delete_order | LDU_FT | [
"<BEGIN>\n## `place_order`",
"Submit a new order.\n :param amount:\n :param price:\n :param side:\n :param ord_type:\n :param symbol:\n :param exchange:\n :return:\n<END>",
"<BEGIN>\n## `delete_order`",
"Cancel an order.\n :param order_id:\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Cancel an order.
:param order_id:
:return: | "Cancel an order.\n :param order_id:\n :return:" | 28 | false | scottjbarr/bitfinex | delete_order | 39,649 | |
LDU_FT/samghelms/mathviz/load_module | LDU_FT | [
"<BEGIN>\n## `get_next_token`",
"\"eats\" up the string until it hits an ending character to get valid leaf expressions.\n For example, given \\\\Phi_{z}(L) = \\\\sum_{i=1}^{N} \\\\frac{1}{C_{i} \\\\times V_{\\\\rm max, i}},\n this function would pull out \\\\Phi, stopping at _\n @ string: str\n retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_module API.
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 load_module API.
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... | Load values from a Python module.
Example modue ``config.py``::
DEBUG = True
SQLITE = {
"db": ":memory:"
}
>>> c = ConfigDict()
>>> c.load_module('config')
{DEBUG: True, 'SQLITE.DB': 'memory'}
... | "Load values from a Python module.\n\n Example modue ``config.py``::\n\n DEBUG = True\n SQLITE = {\n \"db\": \":memory:\"\n }\n\n\n >>> c = ConfigDict()\n >>> c.load_module('config')\n {DEBUG: True, 'SQLITE.DB': 'mem... | 116 | false | samghelms/mathviz | load_module | 39,650 | |
LDU_FT/switchboardpy/switchboard/configure | LDU_FT | [
"<BEGIN>\n## `has_active_condition`",
"Given a list of instances, and the condition active for\n this switch, returns a boolean representing if the\n conditional is met, including a non-instance default.\n<END>",
"<BEGIN>\n## `_key`",
"Returns a Datastore key object, prefixed with the NAMESPACE.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
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... | Useful for when you need to control Switchboard's setup | "Useful for when you need to control Switchboard's setup" | 30 | false | switchboardpy/switchboard | configure | 39,651 | |
LDU_FT/openearth/bmi-python/get_var_type | LDU_FT | [
"<BEGIN>\n## `colorlogs`",
"Append a rainbow logging handler and a formatter to the root logger\n<END>",
"<BEGIN>\n## `create_string_buffer`",
"create_string_buffer(aString) -> character array\n create_string_buffer(anInteger) -> character array\n create_string_buffer(aString, anInteger) -> character ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var_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 extr... | Return type string, compatible with numpy. | "Return type string, compatible with numpy." | 39 | false | openearth/bmi-python | get_var_type | 39,652 | |
LDU_FT/TurboGears/backlash/log | LDU_FT | [
"<BEGIN>\n## `debug_application`",
"Run the application and conserve the traceback frames.\n<END>",
"<BEGIN>\n## `paste_traceback`",
"Paste the traceback and return a JSON response.\n<END>",
"<BEGIN>\n## `escape`",
"Replace special characters \"&\", \"<\" and \">\" to HTML-safe sequences. If\n the opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
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 log API.
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... | Log the ASCII traceback into a file object. | "Log the ASCII traceback into a file object." | 21 | false | TurboGears/backlash | log | 39,653 | |
LDU_FT/kislyuk/aegea/remove_label | LDU_FT | [
"<BEGIN>\n## `update`",
"Update this authorization.",
" :param list scopes: (optional), replaces the authorization scopes with\n these\n :param list add_scopes: (optional), scopes to be added\n :param list rm_scopes: (optional), scopes to be removed\n :param str note: (opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_label API.
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 remove_label API.
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... | Removes label ``name`` from this issue.
:param str name: (required), name of the label to remove
:returns: bool | "Removes label ``name`` from this issue.\n\n :param str name: (required), name of the label to remove\n :returns: bool" | 834 | false | kislyuk/aegea | remove_label | 39,654 | |
LDU_FT/acsone/git-aggregator/log_call | LDU_FT | [
"<BEGIN>\n## `init_git_version`",
"r\"\"\"Parse git version string and store the resulting tuple on self.\n :returns: the parsed version tuple\n Only the first 3 digits are kept. This is good enough for the few\n version dependent cases we need, and coarse enough to avoid\n more compli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_call API.
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 log_call API.
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... | Wrap a subprocess call with logging
:param meth: the calling method to use. | "Wrap a subprocess call with logging\n :param meth: the calling method to use." | 33 | false | acsone/git-aggregator | log_call | 39,655 | |
LDU_FT/ianepperson/telnetsrvlib/authentication_ok | LDU_FT | [
"<BEGIN>\n## `inputcooker_store_queue`",
"Put the cooked data in the input queue (no locking needed)\n<END>",
"<BEGIN>\n## `streamserver_handle`",
"Translate this class for use in a StreamServer\n<END>",
"<BEGIN>\n## `check_channel_shell_request`",
"Request to start a shell on the given channel\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authentication_ok API.
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 authentication_ok API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Checks the authentication and sets the username of the currently connected terminal. Returns True or False | "Checks the authentication and sets the username of the currently connected terminal. Returns True or False" | 45 | false | ianepperson/telnetsrvlib | authentication_ok | 39,656 | |
LDU_FT/uw-it-aca/uw-restclients-uwnetid/update_catagory | LDU_FT | [
"<BEGIN>\n## `_has_desired_permit`",
"return True if permits has one whose\n category_code and status_code match with the given ones\n<END>",
"<BEGIN>\n## `get_office365edu_prod_subs`",
"Return a restclients.models.uwnetid.Subscription objects\n on the given uwnetid\n<END>",
"<BEGIN>\n## `get_netid_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_catagory API.
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 update_catagory API.
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... | Post a subscriptionfor the given netid
and category_code | "Post a subscriptionfor the given netid\n and category_code" | 22 | false | uw-it-aca/uw-restclients-uwnetid | update_catagory | 39,657 | |
LDU_FT/chaoss/grimoirelab-cereslib/filter_ | LDU_FT | [
"<BEGIN>\n## `filter_`",
"This method filter some of the rows where the 'value'\n is found in each of the 'columns'.",
" :param column: list of strings\n :param value: any type",
" :returns: filtered dataframe\n :rtype: pandas.DataFrame\n<END>",
"<BEGIN>\n## `eventize`",
... | 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... | This method filter some of the rows where the 'value'
is found in each of the 'columns'.
:param column: list of strings
:param value: any type
:returns: filtered dataframe
:rtype: pandas.DataFrame | "This method filter some of the rows where the 'value'\n is found in each of the 'columns'.\n\n :param column: list of strings\n :param value: any type\n\n :returns: filtered dataframe\n :rtype: pandas.DataFrame" | 107 | false | chaoss/grimoirelab-cereslib | filter_ | 39,658 | |
LDU_FT/jtambasco/modesolverpy/eps_func | LDU_FT | [
"<BEGIN>\n## `solve_sweep_structure`",
"Find the modes of many structures.",
" Args:\n structures (list): A list of `Structures` to find the modes\n of.\n sweep_param_list (list): A list of the parameter-sweep sweep\n that was used. This is for plottin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eps_func API.
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 eps_func API.
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... | function: a function that when passed a `x` and `y` values,
returns the permittivity profile of the structure,
interpolating if necessary. | "function: a function that when passed a `x` and `y` values,\n returns the permittivity profile of the structure,\n interpolating if necessary." | 70 | false | jtambasco/modesolverpy | eps_func | 39,659 | |
LDU_FT/yougov/vr.common/get_buildfile_path | LDU_FT | [
"<BEGIN>\n## `str_to_pool`",
"Given a string containing an nginx upstream section, return the pool name\n and list of nodes.\n<END>",
"<BEGIN>\n## `get_buildfile_path`",
"Path to which a build tarball should be downloaded.\n<END>",
"<BEGIN>\n## `_retry`",
"Try to call f(*args, **kwargs) \"n\" times bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_buildfile_path 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 get_buildfile_path 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... | Path to which a build tarball should be downloaded. | "Path to which a build tarball should be downloaded." | 49 | false | yougov/vr.common | get_buildfile_path | 39,660 | |
LDU_FT/saltstack/salt/stop | LDU_FT | [
"<BEGIN>\n## `_config`",
"Return a value for 'name' from command line args then config file options.\n Specify 'key' if the config file option is not the same as 'name'.\n<END>",
"<BEGIN>\n## `add_host`",
"Add, replace, or update the A and PTR (reverse) records for a host.",
" CLI Example:",
" ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
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 stop API.
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... | Stop a vm
.. code-block:: bash
salt-cloud -a stop xenvm01 | "Stop a vm\n\n .. code-block:: bash\n\n salt-cloud -a stop xenvm01" | 61,937 | true | saltstack/salt | stop | 39,661 | |
LDU_FT/weso/CWR-DataApi/isrc | LDU_FT | [
"<BEGIN>\n## `char_code`",
"Character set code field.",
" :param name: name for the field\n :return: an instance of the Character set code field rules\n<END>",
"<BEGIN>\n## `_iso_handler`",
"Transforms an object into it's ISO format, if possible.",
" If the object can't be transformed, then an er... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isrc API.
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 isrc API.
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... | Creates the grammar for an ISRC code.
ISRC stands for International Standard Recording Code, which is the
standard ISO 3901. This stores information identifying a particular
recording.
:param name: name for the field
:return: grammar for an ISRC field | "Creates the grammar for an ISRC code.\n\n ISRC stands for International Standard Recording Code, which is the\n standard ISO 3901. This stores information identifying a particular\n recording.\n\n :param name: name for the field\n :return: grammar for an ISRC field" | 208 | false | weso/CWR-DataApi | isrc | 39,662 | |
LDU_FT/rigetti/grove/_prepare_c_jk_m | LDU_FT | [
"<BEGIN>\n## `_prepare_c_jk_m`",
"Prepare the coefficient matrix for state tomography. This function uses sparse matrices\n for much greater efficiency.\n The coefficient matrix is defined as:",
" .. math::",
" C_{(jk)m} = \\tr{\\Pi_{s_j} \\Lambda_k(P_m)} = \\sum_{r}\\pi_{jr}(\\mathcal{R}_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_c_jk_m API.
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 _prepare_c_jk_m API.
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... | Prepare the coefficient matrix for state tomography. This function uses sparse matrices
for much greater efficiency.
The coefficient matrix is defined as:
.. math::
C_{(jk)m} = \tr{\Pi_{s_j} \Lambda_k(P_m)} = \sum_{r}\pi_{jr}(\mathcal{R}_{k})_{rm}
where :math:`\Lambda_k(\cdot)` is the qua... | "Prepare the coefficient matrix for state tomography. This function uses sparse matrices\n for much greater efficiency.\n The coefficient matrix is defined as:\n\n .. math::\n\n C_{(jk)m} = \\tr{\\Pi_{s_j} \\Lambda_k(P_m)} = \\sum_{r}\\pi_{jr}(\\mathcal{R}_{k})_{rm}\n\n where :math:`\\Lambda_k(\\... | 428 | false | rigetti/grove | _prepare_c_jk_m | 39,663 | |
LDU_FT/OSSOS/MOP/_open_fix | LDU_FT | [
"<BEGIN>\n## `set_ds9`",
"Set the default values on the ds9 display.\n<END>",
"<BEGIN>\n## `cfht_megacam_tap_query`",
"Do a query of the CADC Megacam table.",
" Get all observations inside the box (right now it turns width/height into a radius, should not do this).",
" @rtype : Table\n @param ra_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _open_fix API.
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 _open_fix API.
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... | Takes in a fits file name, open the file in binary mode and creates an HDU.
Will attempt to fix some of the header keywords to match the standard FITS format. | "Takes in a fits file name, open the file in binary mode and creates an HDU.\n\n Will attempt to fix some of the header keywords to match the standard FITS format." | 717 | false | OSSOS/MOP | _open_fix | 39,664 | |
LDU_FT/SciTools/biggus/biggus_chunk | LDU_FT | [
"<BEGIN>\n## `_groups_of_size`",
"Collect data into fixed-length chunks or blocks.\n<END>",
"<BEGIN>\n## `slice_repr`",
"Turn things like `slice(None, 2, -1)` into `:2:-1`.\n<END>",
"<BEGIN>\n## `biggus_chunk`",
"A function that lazily evaluates a biggus.Chunk. This is useful for\n passing through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the biggus_chunk API.
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 biggus_chunk API.
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... | A function that lazily evaluates a biggus.Chunk. This is useful for
passing through as a dask task so that we don't have to compute the
chunk in order to compute the graph. | "A function that lazily evaluates a biggus.Chunk. This is useful for\n passing through as a dask task so that we don't have to compute the\n chunk in order to compute the graph." | 105 | false | SciTools/biggus | biggus_chunk | 39,665 | |
LDU_FT/Nic30/hwtGraph/flattenTrees | LDU_FT | [
"<BEGIN>\n## `extractSplits`",
"convert group of indexed assignments witch are splitting signal to Split node",
" a = sig[0]\n b = sig[1]\n to\n a, b = sig",
" :param toL: dictionary {hdl object: layout object}\n<END>",
"<BEGIN>\n## `getPortSideView`",
"Returns a sublist view for all ports ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flattenTrees API.
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 flattenTrees API.
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... | Walk all nodes and discover trees of nodes (usually operators)
and reduce them to single node with multiple outputs
:attention: selected nodes has to have single output
and has to be connected to nets with single driver | "Walk all nodes and discover trees of nodes (usually operators)\n and reduce them to single node with multiple outputs\n\n :attention: selected nodes has to have single output\n and has to be connected to nets with single driver" | 65 | false | Nic30/hwtGraph | flattenTrees | 39,666 | |
LDU_FT/nlsdfnbch/Pysher/bind | LDU_FT | [
"<BEGIN>\n## `bind`",
"Bind an event to a callback",
" :param event_name: The name of the event to bind to.\n :type event_name: str",
" :param callback: The callback to notify of this event.\n<END>",
"<BEGIN>\n## `send_event`",
"Send an event to the Pusher server.",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
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 bind API.
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... | Bind an event to a callback
:param event_name: The name of the event to bind to.
:type event_name: str
:param callback: The callback to notify of this event. | "Bind an event to a callback\n\n :param event_name: The name of the event to bind to.\n :type event_name: str\n\n :param callback: The callback to notify of this event." | 26 | false | nlsdfnbch/Pysher | bind | 39,667 | |
LDU_FT/django-parler/django-parler/create_translations_model | LDU_FT | [
"<BEGIN>\n## `objectlanguage`",
"Template tag to switch an object language\n Example::",
" {% objectlanguage object \"en\" %}\n {{ object.title }}\n {% endobjectlanguage %}",
" A TranslatedObject is not affected by the ``{% language .. %}`` tag\n as it maintains it's own state.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_translations_model 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 create_translations_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Dynamically create the translations model.
Create the translations model for the shared model 'model'.
:param related_name: The related name for the reverse FK from the translations model.
:param meta: A (optional) dictionary of attributes for the translations model's inner Meta class.
:param fields: A... | "Dynamically create the translations model.\n Create the translations model for the shared model 'model'.\n\n :param related_name: The related name for the reverse FK from the translations model.\n :param meta: A (optional) dictionary of attributes for the translations model's inner Meta class.\n :param fie... | 163 | false | django-parler/django-parler | create_translations_model | 39,668 | |
LDU_FT/googlesamples/assistant-sdk-python/Converse | LDU_FT | [
"<BEGIN>\n## `main`",
"File based sample for the Google Assistant API.",
" Examples:\n $ python -m audiofileinput -i <input file> -o <output file>\n<END>",
"<BEGIN>\n## `process_event`",
"Pretty prints events.",
" Prints all events that occur with two spaces between each new\n conversation a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Converse API.
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 Converse API.
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... | Initiates or continues a conversation with the embedded assistant service.
Each call performs one round-trip, sending an audio request to the service
and receiving the audio response. Uses bidirectional streaming to receive
results, such as the `END_OF_UTTERANCE` event, while sending audio.
A conversat... | "Initiates or continues a conversation with the embedded assistant service.\n Each call performs one round-trip, sending an audio request to the service\n and receiving the audio response. Uses bidirectional streaming to receive\n results, such as the `END_OF_UTTERANCE` event, while sending audio.\n\n A con... | 72 | false | googlesamples/assistant-sdk-python | Converse | 39,669 | |
LDU_FT/aiidateam/aiida-codtools/cli | LDU_FT | [
"<BEGIN>\n## `run_filter_calculation`",
"Run the CifFilterCalculation on the CifData input node.\n<END>",
"<BEGIN>\n## `inspect_filter_calculation`",
"Inspect the result of the CifFilterCalculation, verifying that it produced a CifData output node.\n<END>",
"<BEGIN>\n## `run_select_calculation`",
"Run the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run any cod-tools calculation for the given ``CifData`` node.
The ``-p/--parameters`` option takes a single string with any command line parameters that you want to be passed
to the calculation, and by extension the cod-tools script. Example::
launch_calculation_cod_tools -X cif-filter -N 95 -p '--use... | "Run any cod-tools calculation for the given ``CifData`` node.\n\n The ``-p/--parameters`` option takes a single string with any command line parameters that you want to be passed\n to the calculation, and by extension the cod-tools script. Example::\n\n launch_calculation_cod_tools -X cif-filter -N 95 -p ... | 73 | false | aiidateam/aiida-codtools | cli | 39,670 | |
LDU_FT/yougov/vr.runners/teardown | LDU_FT | [
"<BEGIN>\n## `untar`",
"Unpack tarpath to outfolder. Make a guess about the compression based on\n file extension (.gz or .bz2).",
" The unpacking of the tarfile is done in a temp directory and moved into\n place atomically at the end (assuming /tmp is on the same filesystem as\n outfolder).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the teardown API.
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 teardown API.
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... | Delete the proc path where everything has been put.
The build will be cleaned up elsewhere. | "Delete the proc path where everything has been put.\n The build will be cleaned up elsewhere." | 28 | false | yougov/vr.runners | teardown | 39,671 | |
LDU_FT/timothyb0912/pylogit/calc_log_likes_for_replicates | LDU_FT | [
"<BEGIN>\n## `get_dataframe_from_data`",
"Parameters\n ----------\n data : string or pandas dataframe.\n If string, data should be an absolute or relative path to a CSV file\n containing the long format data for this choice model. Note long format\n has one row per available alternative... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_log_likes_for_replicates 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 calc_log_likes_for_replicates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Calculate the log-likelihood value of one's replicates, given one's
dataset.
Parameters
----------
replicates : str in {'bootstrap', 'jackknife'}.
Denotes which set of replicates should have their log-likelihoods
calculated.
num_draws : int greater than z... | "Calculate the log-likelihood value of one's replicates, given one's\n dataset.\n\n Parameters\n ----------\n replicates : str in {'bootstrap', 'jackknife'}.\n Denotes which set of replicates should have their log-likelihoods\n calculated.\n num_draws : int great... | 871 | false | timothyb0912/pylogit | calc_log_likes_for_replicates | 39,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.