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/crossbario/txaio/failure_format_traceback | LDU_FT | [
"<BEGIN>\n## `guess_stream_needs_encoding`",
"Guess the type (bytes/unicode) of this stream, and return whether or not it\n requires text to be encoded before written into it.\n<END>",
"<BEGIN>\n## `with_config`",
":return: an instance of the txaio API with the given\n configuration. This won't affe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the failure_format_traceback 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 failure_format_traceback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | :param fail: must be an IFailedFuture
returns a string | ":param fail: must be an IFailedFuture\n returns a string" | 62 | false | crossbario/txaio | failure_format_traceback | 13,073 | |
LDU_FT/martin-majlis/Wikipedia-API/extracts | LDU_FT | [
"<BEGIN>\n## `page`",
"Constructs Wikipedia page with title `title`.",
" Creating `WikipediaPage` object is always the first step for extracting any information.",
" Example::",
" wiki_wiki = wikipediaapi.Wikipedia('en')\n page_py = wiki_wiki.page('Python_(programming_lan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extracts API.
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 extracts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns summary of the page with respect to parameters
Parameter `exsectionformat` is taken from `Wikipedia` constructor.
API Calls for parameters:
- https://www.mediawiki.org/w/api.php?action=help&modules=query%2Bextracts
- https://www.mediawiki.org/wiki/Extension:TextExtracts#API
... | "Returns summary of the page with respect to parameters\n\n Parameter `exsectionformat` is taken from `Wikipedia` constructor.\n\n API Calls for parameters:\n\n - https://www.mediawiki.org/w/api.php?action=help&modules=query%2Bextracts\n - https://www.mediawiki.org/wiki/Extension:TextExtract... | 55 | false | martin-majlis/Wikipedia-API | extracts | 13,074 | |
LDU_FT/merantix/picasso/reset | LDU_FT | [
"<BEGIN>\n## `preprocess`",
"Convert images into the format required by our model.",
" Our model requires that inputs be grayscale (mode 'L'), be resized to\n `MNIST_DIM`, and be represented as float32 numpy arrays in range\n [0, 1].",
" Args:\n raw_inputs (list of Image... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
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 reset API.
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... | Delete the session and clear temporary directories | "Delete the session and clear temporary directories" | 51 | false | merantix/picasso | reset | 13,075 | |
LDU_FT/klen/pylama/split_csp_str | LDU_FT | [
"<BEGIN>\n## `run`",
"MCCabe code checking.",
" :return list: List of errors.\n<END>",
"<BEGIN>\n## `split_csp_str`",
"Split comma separated string into unique values, keeping their order.",
" :returns: list of splitted values\n<END>",
"<BEGIN>\n## `parse_linters`",
"Initialize choosen linte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_csp_str API.
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 split_csp_str API.
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... | Split comma separated string into unique values, keeping their order.
:returns: list of splitted values | "Split comma separated string into unique values, keeping their order.\n\n :returns: list of splitted values" | 81 | false | klen/pylama | split_csp_str | 13,076 | |
LDU_FT/ghukill/pyfc4/get_resource | LDU_FT | [
"<BEGIN>\n## `_post_create`",
"resource.create() hook",
"\t\tFor PCDM Collections, post creation, also create\n<END>",
"<BEGIN>\n## `get_related`",
"get ore:aggregates for this resource, optionally retrieving resource payload",
"\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource API.
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_resource API.
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... | Retrieve resource:
- Issues an initial GET request
- If 200, continues, 404, returns False, otherwise raises Exception
- Parse resource type
- If custom resource type parser provided, this fires
- Else, or if custom parser misses, fire HEAD request and parse LDP resource type from Link header
- Retu... | "Retrieve resource:\n\t\t\t- Issues an initial GET request\n\t\t\t- If 200, continues, 404, returns False, otherwise raises Exception\n\t\t\t- Parse resource type\n\t\t\t\t- If custom resource type parser provided, this fires\n\t\t\t\t- Else, or if custom parser misses, fire HEAD request and parse LDP resource type fro... | 203 | false | ghukill/pyfc4 | get_resource | 13,077 | |
LDU_FT/mdeous/fatbotslim/add_handler | LDU_FT | [
"<BEGIN>\n## `create_logger`",
"Creates a new ready-to-use logger.",
" :param name: new logger's name\n :type name: str\n :param level: default logging level.\n :type level: :class:`str` or :class:`int`\n :return: new logger.\n :rtype: :class:`logging.Logger`\n<END>",
"<BEGIN>\n## `format`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extra... | Registers a new handler.
:param handler: handler to register.
:type handler: :class:`fatbotslim.handlers.BaseHandler`
:param args: positional arguments to pass to the handler's constructor.
:type args: list
:param kwargs: keyword arguments to pass to the handler's constructor.
... | "Registers a new handler.\n\n :param handler: handler to register.\n :type handler: :class:`fatbotslim.handlers.BaseHandler`\n :param args: positional arguments to pass to the handler's constructor.\n :type args: list\n :param kwargs: keyword arguments to pass to the handler's constru... | 83 | false | mdeous/fatbotslim | add_handler | 13,078 | |
LDU_FT/Felspar/django-fost-authn/sha1_hmac | LDU_FT | [
"<BEGIN>\n## `sha1_hmac`",
"Calculate the Base 64 encoding of the HMAC for the given document.\n<END>",
"<BEGIN>\n## `filter_query_string`",
"Return a version of the query string with the _e, _k and _s values\n removed.\n<END>",
"<BEGIN>\n## `fost_hmac_url_signature`",
"Return a signature that corr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sha1_hmac API.
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 sha1_hmac API.
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... | Calculate the Base 64 encoding of the HMAC for the given document. | "Calculate the Base 64 encoding of the HMAC for the given document." | 11 | false | Felspar/django-fost-authn | sha1_hmac | 13,079 | |
LDU_FT/Shinichi-Nakagawa/pitchpx/isdigit | LDU_FT | [
"<BEGIN>\n## `row`",
"Game Dataset(Row)\n :return: {\n 'retro_game_id': Retrosheet Game id\n 'game_type': Game Type(S/R/F/D/L/W)\n 'game_type_des': Game Type Description\n (Spring Training or Regular Season or Wild-card Game or Divisional Series or LCS or World S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isdigit API.
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 isdigit API.
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... | ditit check for stats
:param value: stats value
:return: True or False | "ditit check for stats\n :param value: stats value\n :return: True or False" | 102 | false | Shinichi-Nakagawa/pitchpx | isdigit | 13,080 | |
LDU_FT/dmort27/panphon/word_to_vector_list | LDU_FT | [
"<BEGIN>\n## `fts`",
"Return features corresponding to segment as list of (value,\n feature) tuples",
" Args:\n segment (unicode): segment for which features are to be returned as\n Unicode string",
" Returns:\n list: None if `segment` c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the word_to_vector_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the word_to_vector_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return a list of feature vectors, given a Unicode IPA word.
Args:
word (unicode): string in IPA
numeric (bool): if True, return features as numeric values instead
of strings
Returns:
list: a list of lists of '+'/'-'/'0' or 1/-1/0 | "Return a list of feature vectors, given a Unicode IPA word.\n\n Args:\n word (unicode): string in IPA\n numeric (bool): if True, return features as numeric values instead\n of strings\n\n Returns:\n list: a list of lists of '+'/'-'/'0' or 1/-1/0... | 112 | false | dmort27/panphon | word_to_vector_list | 13,081 | |
LDU_FT/readbeyond/aeneas/_synthesize_multiple_c_extension | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Return a Unicode string pretty print of the log entries.",
" :param bool as_list: if ``True``, return a list of Unicode strings,\n one for each entry, instead of a Unicode string\n :param bool show_datetime: if ``True``, show the date and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _synthesize_multiple_c_extension API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _synthesize_multiple_c_extension API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Synthesize multiple text fragments, using the cfw extension.
Return a tuple (anchors, total_time, num_chars).
:rtype: (bool, (list, :class:`~aeneas.exacttiming.TimeValue`, int)) | "Synthesize multiple text fragments, using the cfw extension.\n\n Return a tuple (anchors, total_time, num_chars).\n\n :rtype: (bool, (list, :class:`~aeneas.exacttiming.TimeValue`, int))" | 1,097 | true | readbeyond/aeneas | _synthesize_multiple_c_extension | 13,082 | |
LDU_FT/mohamedattahri/PyXMLi/compute_total | LDU_FT | [
"<BEGIN>\n## `c14n`",
"Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>",
"<BEGIN>\n## `sign`",
"Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_total API.
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 compute_total API.
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... | Gets the total of the invoice with a defined decimal precision
@param precision: int Number of decimal places
@return: Decimal | "Gets the total of the invoice with a defined decimal precision\n @param precision: int Number of decimal places\n @return: Decimal" | 102 | false | mohamedattahri/PyXMLi | compute_total | 13,083 | |
LDU_FT/sk-/git-lint/missing_requirements_command | LDU_FT | [
"<BEGIN>\n## `find_invalid_filenames`",
"Find files that does not exist, are not in the repo or are directories.",
" Args:\n filenames: list of filenames to check\n repository_root: the absolute path of the repository's root.",
" Returns: A list of errors.\n<END>",
"<BEGIN>\n## `get_config`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the missing_requirements_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the missing_requirements_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Pseudo-command to be used when requirements are missing. | "Pseudo-command to be used when requirements are missing." | 68 | false | sk-/git-lint | missing_requirements_command | 13,084 | |
LDU_FT/jazzband/inflect/present_participle | LDU_FT | [
"<BEGIN>\n## `bysize`",
"take a list of words and return a dict of sets sorted by word length\n e.g.\n ret[3]=set(['ant', 'cat', 'dog', 'pig'])\n ret[4]=set(['frog', 'goat'])\n ret[5]=set(['horse'])\n ret[8]=set(['elephant'])\n<END>",
"<BEGIN>\n## `make_pl_si_lists`",
"given a list of singular ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the present_participle 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 present_participle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return the present participle for word.
word is the 3rd person singular verb. | "Return the present participle for word.\n\n word is the 3rd person singular verb." | 90 | false | jazzband/inflect | present_participle | 13,085 | |
LDU_FT/iclab/centinel/informed_consent | LDU_FT | [
"<BEGIN>\n## `parse_out_ips`",
"Given a message, parse out the ips in the answer\n<END>",
"<BEGIN>\n## `send_chaos_queries`",
"Send chaos queries to identify the DNS server and its manufacturer",
" Note: we send 2 queries for BIND stuff per RFC 4892 and 1\n query per RFC 6304",
" Note... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the informed_consent API.
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 informed_consent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create a URL for the user to give their consent through | "Create a URL for the user to give their consent through" | 116 | false | iclab/centinel | informed_consent | 13,086 | |
LDU_FT/dhain/potpy/add | LDU_FT | [
"<BEGIN>\n## `inject`",
"Inject arguments from context into a callable.",
" :param func: The callable to inject arguments into.\n :param \\*\\*kwargs: Specify values to override context items.\n<END>",
"<BEGIN>\n## `match`",
"Match a string against the template.",
" If the string matc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Register a handler with the Router.
:param match: The first argument passed to the :meth:`match` method
when checking against this handler.
:param handler: A callable or :class:`Route` instance that will handle
matching calls. If not a Route instance, will be wrapped in one. | "Register a handler with the Router.\n\n :param match: The first argument passed to the :meth:`match` method\n when checking against this handler.\n :param handler: A callable or :class:`Route` instance that will handle\n matching calls. If not a Route instance, will be wrapped in on... | 45 | false | dhain/potpy | add | 13,087 | |
LDU_FT/soldag/python-pwmled/_finish | LDU_FT | [
"<BEGIN>\n## `_get_pwm_values`",
"Get the pwm values for a specific state of the led.",
" If a state argument is omitted, current value is used.",
" :param brightness: The brightness of the state.\n :param color: The color of the state.\n :return: The pwm values.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _finish API.
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 _finish API.
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... | Mark transition as finished and execute callback. | "Mark transition as finished and execute callback." | 73 | false | soldag/python-pwmled | _finish | 13,088 | |
LDU_FT/marrow/schema/dump | LDU_FT | [
"<BEGIN>\n## `_validators`",
"Iterate across the complete set of child validators.\n<END>",
"<BEGIN>\n## `_process_arguments`",
"Map positional to keyword arguments, identify invalid assignments, and return the result.",
"\t\tThis is likely generic enough to be useful as a standalone utility function, and g... | 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... | Attempt to transform and write a string-based foreign value to the given file-like object.
Returns the length written. | "Attempt to transform and write a string-based foreign value to the given file-like object.\n\t\t\n\t\tReturns the length written." | 28 | false | marrow/schema | dump | 13,089 | |
LDU_FT/racker/torment/log | LDU_FT | [
"<BEGIN>\n## `up`",
"Start the specified docker-compose services.",
" Parameters\n ----------",
" :``services``: a list of docker-compose service names to start (must be\n defined in docker-compose.yml)",
" Return Value(s)\n ---------------",
" The integer status of ``d... | 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... | Add start and stop logging messages to the function.
Parameters
----------
:``prefix``: a prefix for the function name (optional) | "Add start and stop logging messages to the function.\n\n Parameters\n ----------\n\n :``prefix``: a prefix for the function name (optional)" | 117 | false | racker/torment | log | 13,090 | |
LDU_FT/CartoDB/carto-python/run | LDU_FT | [
"<BEGIN>\n## `run`",
"Actually creates the import job on the CARTO server",
" :param import_params: To be send to the Import API, see CARTO's docs\n on Import API for an updated list of accepted\n params\n :type import_params: kwargs",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Actually creates the import job on the CARTO server
:param import_params: To be send to the Import API, see CARTO's docs
on Import API for an updated list of accepted
params
:type import_params: kwargs
:return:
.. note:: ... | "Actually creates the import job on the CARTO server\n\n :param import_params: To be send to the Import API, see CARTO's docs\n on Import API for an updated list of accepted\n params\n :type import_params: kwargs\n\n :return:\n\n ... | 154 | false | CartoDB/carto-python | run | 13,091 | |
LDU_FT/VisualOps/cli/_get_client | LDU_FT | [
"<BEGIN>\n## `create_app`",
"insert app record when stack run as a app\n<END>",
"<BEGIN>\n## `create_container`",
"insert container record when create container\n<END>",
"<BEGIN>\n## `get_app_data`",
"get app data ( include name and app_data )\n<END>",
"<BEGIN>\n## `_get_config`",
"Get user docker con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_client API.
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_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get a connection to a docker API (socket or URL)
By default it will use the base docker-py defaults which
at the time of writing are using the local socket and
the 1.4 API
Set those keys in your configuration tree somehow:
- docker.url: URL to the docker service
- docker.version: API ... | "Get a connection to a docker API (socket or URL)\n\n By default it will use the base docker-py defaults which\n at the time of writing are using the local socket and\n the 1.4 API\n\n Set those keys in your configuration tree somehow:\n\n - docker.url: URL to the docker service\n - docker.ver... | 90 | false | VisualOps/cli | _get_client | 13,092 | |
LDU_FT/openego/eDisGo/generators | LDU_FT | [
"<BEGIN>\n## `one_storage_per_feeder`",
"Allocates the given storage capacity to multiple smaller storages.",
" For each feeder with load or voltage issues it is checked if integrating a\n storage will reduce peaks in the feeder, starting with the feeder with\n the highest theoretical grid expansion co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generators API.
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 generators API.
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... | Connected Generators within the grid
Returns
-------
list
List of Generator Objects | "Connected Generators within the grid\n\n Returns\n -------\n list\n List of Generator Objects" | 764 | false | openego/eDisGo | generators | 13,093 | |
LDU_FT/ucsb-cs/submit/later_submission_for_group | LDU_FT | [
"<BEGIN>\n## `compute_diff`",
"Associate the diff (if exists) with the TestCaseResult.",
" Return whether or not the outputs match.\n<END>",
"<BEGIN>\n## `json_exception`",
"Always return json content in the body of Exceptions to xhr requests.\n<END>",
"<BEGIN>\n## `merge_users`",
"Merge a non-umail ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the later_submission_for_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the later_submission_for_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return the submission immediately prior to the given submission. | "Return the submission immediately prior to the given submission." | 102 | false | ucsb-cs/submit | later_submission_for_group | 13,094 | |
LDU_FT/codelv/enaml-native/process_events | LDU_FT | [
"<BEGIN>\n## `init_layout`",
"Initialize the layout of the toolkit widget.",
" This method is called during the bottom-up pass. This method\n should initialize the layout of the widget. The child widgets\n will be fully initialized and layed out when this is called.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_events API.
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 process_events API.
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... | The native implementation must use this call to | "The native implementation must use this call to" | 573 | false | codelv/enaml-native | process_events | 13,095 | |
LDU_FT/toabctl/metaextract/from_archive | LDU_FT | [
"<BEGIN>\n## `_extract_to_tempdir`",
"extract the given tarball or zipfile to a tempdir and change\n the cwd to the new tempdir. Delete the tempdir at the end\n<END>",
"<BEGIN>\n## `_enter_single_subdir`",
"if the given directory has just a single subdir, enter that\n<END>",
"<BEGIN>\n## `_set_file_encod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_archive API.
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 from_archive API.
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... | extract metadata from a given sdist archive file
:param archive_filename: a sdist archive file
:param py_interpreter: The full path to the used python interpreter
:returns: a json blob with metadata | "extract metadata from a given sdist archive file\n\n :param archive_filename: a sdist archive file\n :param py_interpreter: The full path to the used python interpreter\n\n :returns: a json blob with metadata" | 12 | false | toabctl/metaextract | from_archive | 13,096 | |
LDU_FT/toidi/hadoop-yarn-api-python-client/job | LDU_FT | [
"<BEGIN>\n## `node_applications`",
"With the Applications API, you can obtain a collection of resources,\n each of which represents an application.",
" :param str state: application state\n :param str user: user name\n :returns: API response object with JSON data\n :rtype: :py... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the job API.
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 job API.
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... | A job resource contains information about a particular job that was
started by this application master. Certain fields are only accessible
if user has permissions - depends on acl settings.
:param str application_id: The application id
:param str job_id: The job id
:returns: API... | "A job resource contains information about a particular job that was\n started by this application master. Certain fields are only accessible\n if user has permissions - depends on acl settings.\n\n :param str application_id: The application id\n :param str job_id: The job id\n :retur... | 71 | false | toidi/hadoop-yarn-api-python-client | job | 13,097 | |
LDU_FT/emilydolson/avida-spatial-tools/task_percentages | LDU_FT | [
"<BEGIN>\n## `gen_gradient`",
"Returns a line of text to add to an environment file, initializing a\n gradient resource with the specified\n name (string), inflow(int), radius(int), and location (tuple of ints)\n<END>",
"<BEGIN>\n## `gen_res`",
"Returns a line of text to add to an environment file, init... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task_percentages API.
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 task_percentages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Takes a 3D array of strings representing binary numbers and calculates
the percentage of organisms in each cell (across multiple files)
that were doing a given task.
Returns an m x n x n_tasks array indicating the percentages of organisms
at each location (across the 3rd dimension) that were doing each... | "Takes a 3D array of strings representing binary numbers and calculates\n the percentage of organisms in each cell (across multiple files)\n that were doing a given task.\n\n Returns an m x n x n_tasks array indicating the percentages of organisms\n at each location (across the 3rd dimension) that were doin... | 189 | false | emilydolson/avida-spatial-tools | task_percentages | 13,098 | |
LDU_FT/katyukha/extend-me/get_registered_names | LDU_FT | [
"<BEGIN>\n## `_`",
"Method to generate real metaclass to be used::",
" mc = ExtensibleType._(\"MyClass\") # note this line\n @six.add_metaclass(mc)\n class MyClassBase(object):\n pass",
" :param str cls_name: name of generated class\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_registered_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_registered_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return's list of names (keys) registered in this tree.
For each name specific classes exists | "Return's list of names (keys) registered in this tree.\n For each name specific classes exists" | 23 | false | katyukha/extend-me | get_registered_names | 13,099 | |
LDU_FT/mattloper/opendr/Bx | LDU_FT | [
"<BEGIN>\n## `draw_edge_visibility`",
"Assumes camera is set up correctly in gl context.\n<END>",
"<BEGIN>\n## `draw_boundary_images`",
"Assumes camera is set up correctly, and that glf has any texmapping on necessary.\n<END>",
"<BEGIN>\n## `TriArea`",
"Returns a Ch object whose only attribute \"v\" repre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Bx API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Bx API.
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 docu... | Compute a stack of skew-symmetric matrices which can be multiplied
by 'a' to get the cross product. See:
http://en.wikipedia.org/wiki/Cross_product#Conversion_to_matrix_multiplication | "Compute a stack of skew-symmetric matrices which can be multiplied\n by 'a' to get the cross product. See:\n\n http://en.wikipedia.org/wiki/Cross_product#Conversion_to_matrix_multiplication" | 28 | false | mattloper/opendr | Bx | 13,100 | |
LDU_FT/kcolford/txt2boil/collectTriggers | LDU_FT | [
"<BEGIN>\n## `nextComment`",
"Return the next comment found in text starting at start.\n<END>",
"<BEGIN>\n## `isLineComment`",
"Return true if the text is a line comment.\n<END>",
"<BEGIN>\n## `code`",
"Return the code instead of the comments.\n<END>",
"<BEGIN>\n## `collectTriggers`",
"Return a dictio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collectTriggers API.
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 collectTriggers API.
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... | Return a dictionary of triggers and their corresponding matches
from the code. | "Return a dictionary of triggers and their corresponding matches\n from the code." | 15 | false | kcolford/txt2boil | collectTriggers | 13,101 | |
LDU_FT/pwaller/pyprof2calltree/main | LDU_FT | [
"<BEGIN>\n## `pstats2entries`",
"Helper to convert serialized pstats back to a list of raw entries.",
" Converse operation of cProfile.Profile.snapshot_stats()\n<END>",
"<BEGIN>\n## `is_installed`",
"Return whether or not a given executable is installed on the machine.\n<END>",
"<BEGIN>\n## `main`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Execute the converter using parameters provided on the command line | "Execute the converter using parameters provided on the command line" | 14 | false | pwaller/pyprof2calltree | main | 13,102 | |
LDU_FT/draperjames/qtpandas/_updateEncoding | LDU_FT | [
"<BEGIN>\n## `startDrag`",
"start a drag operation with a PandasCellPayload on defined index.",
" Args:\n index (QModelIndex): model index you want to start the drag operation.\n<END>",
"<BEGIN>\n## `initUi`",
"Initalizes the Uuser Interface with all sub widgets.\n<END>",
"<BEGIN>\n## `e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _updateEncoding API.
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 _updateEncoding API.
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... | Changes the value of the encoding combo box to the value of given index.
This method is also a `SLOT`.
After the encoding is changed, the file will be reloaded and previewed.
Args:
index (int): An valid index of the combo box. | "Changes the value of the encoding combo box to the value of given index.\n\n This method is also a `SLOT`.\n After the encoding is changed, the file will be reloaded and previewed.\n\n Args:\n index (int): An valid index of the combo box." | 420 | false | draperjames/qtpandas | _updateEncoding | 13,103 | |
LDU_FT/sqrvrtx/plaid/check_for_empty_defaults | LDU_FT | [
"<BEGIN>\n## `parse`",
"Takes a list of files which are assumed to be jinja2 templates and tries to\n parse the contents of the files",
" Args:\n file_contents (str): File contents of a jinja file",
" Raises:\n Exception: An exception is raised if the contents of the file cannot be\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_empty_defaults 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 check_for_empty_defaults API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Method to check for empty roles structure.
When a role is created using ansible-galaxy it creates a default
scaffolding structure. Best practice dictates that if any of these are not
used then they should be removed. For example a bare main.yml with the
following string is created for a 'defaults' for ... | "Method to check for empty roles structure.\n\n When a role is created using ansible-galaxy it creates a default\n scaffolding structure. Best practice dictates that if any of these are not\n used then they should be removed. For example a bare main.yml with the\n following string is created for a 'defaults... | 22 | false | sqrvrtx/plaid | check_for_empty_defaults | 13,104 | |
LDU_FT/aws/aws-xray-sdk-python/wildcard_match | LDU_FT | [
"<BEGIN>\n## `middleware`",
"Main middleware function, deals with all the X-Ray segment logic\n<END>",
"<BEGIN>\n## `patch`",
"patch the built-in `urllib/httplib/httplib.client` methods for tracing.\n<END>",
"<BEGIN>\n## `unpatch`",
"Unpatch any previously patched modules.\n This operation is idempoten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wildcard_match API.
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 wildcard_match API.
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... | Performs a case-insensitive wildcard match against two strings.
This method works with pseduo-regex chars; specifically ? and * are supported.
An asterisk (*) represents any combination of characters.
A question mark (?) represents any single character.
:param str pattern: the regex-like pattern to be c... | "Performs a case-insensitive wildcard match against two strings.\n This method works with pseduo-regex chars; specifically ? and * are supported.\n An asterisk (*) represents any combination of characters.\n A question mark (?) represents any single character.\n :param str pattern: the regex-like pattern to... | 198 | false | aws/aws-xray-sdk-python | wildcard_match | 13,105 | |
LDU_FT/Vauxoo/cfdilib/cli | LDU_FT | [
"<BEGIN>\n## `send_s3_xsd`",
"This method will not be re-run always, only locally and when xsd\n are regenerated, read the test_008_force_s3_creation on test folder\n<END>",
"<BEGIN>\n## `check_s3`",
"This method is a helper con `cache_s3`.\n Read method `cache_s3` for more information.",
" ... | 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... | Main Interface to generate xml documents
from custom dictionaries using legal xsd files
complying with legal documents in all countires
around the world. | "Main Interface to generate xml documents\n from custom dictionaries using legal xsd files\n complying with legal documents in all countires\n around the world." | 42 | false | Vauxoo/cfdilib | cli | 13,106 | |
LDU_FT/PokeAPI/pokebase/set_cache | LDU_FT | [
"<BEGIN>\n## `sprite_filepath_build`",
"returns the filepath of the sprite *relative to SPRITE_CACHE*\n<END>",
"<BEGIN>\n## `_make_obj`",
"Takes an object and returns a corresponding API class.",
" The names and values of the data will match exactly with those found\n in the online docs at https://pok... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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.
The extract... | Simple function to change the cache location.
`new_path` can be an absolute or relative path. If the directory does not
exist yet, this function will create it. If None it will set the cache to
the default cache directory.
If you are going to change the cache directory, this function should be
cal... | "Simple function to change the cache location.\n\n `new_path` can be an absolute or relative path. If the directory does not\n exist yet, this function will create it. If None it will set the cache to\n the default cache directory.\n\n If you are going to change the cache directory, this function should be\... | 23 | false | PokeAPI/pokebase | set_cache | 13,107 | |
LDU_FT/scott-maddox/openbandparams/_get_y | LDU_FT | [
"<BEGIN>\n## `GaP_Eg_Gamma`",
"Returns the Gamma-valley bandgap, Eg_Gamma, in electron Volts at a\n given temperature, T, in Kelvin (default: 300 K).",
" GaP has a unique Gamma-gap temperature dependence.\n<END>",
"<BEGIN>\n## `_has_x`",
"Returns True if x is explicitly defined in kwargs\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_y API.
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 _get_y API.
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 ... | Returns y if it is explicitly defined in kwargs.
Otherwise, raises TypeError. | "Returns y if it is explicitly defined in kwargs.\n Otherwise, raises TypeError." | 68 | false | scott-maddox/openbandparams | _get_y | 13,108 | |
LDU_FT/kamikaze/webdav/is_dir | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Returns list of nested files and directories for local directory by path",
" :param directory: absolute or relative path to local directory\n :return: list nested of file or directory names\n<END>",
"<BEGIN>\n## `get_options`",
"Extract options for specified option type from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_dir API.
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 is_dir API.
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 ... | Checks is the remote resource directory.
More information you can find by link http://webdav.org/specs/rfc4918.html#METHOD_PROPFIND
:param remote_path: the path to remote resource.
:return: True in case the remote resource is directory and False otherwise. | "Checks is the remote resource directory.\n More information you can find by link http://webdav.org/specs/rfc4918.html#METHOD_PROPFIND\n\n :param remote_path: the path to remote resource.\n :return: True in case the remote resource is directory and False otherwise." | 120 | false | kamikaze/webdav | is_dir | 13,109 | |
LDU_FT/brutasse/graphite-api/create | LDU_FT | [
"<BEGIN>\n## `_find_paths`",
"Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns\n<END>",
"<BEGIN>\n## `union_overlapping`",
"Union any overlapping intervals in the given set.\n<END>",
"<BEGIN>\n## `recurse`",
"Recursi... | 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(path,archiveList,xFilesFactor=0.5,aggregationMethod='average')
path is a string
archiveList is a list of archives, each of which is of the form (secondsPerPoint,numberOfPoints)
xFilesFactor specifies the fraction of data points in a propagation interval that must have known values for a propagation to occur
agg... | "create(path,archiveList,xFilesFactor=0.5,aggregationMethod='average')\n\npath is a string\narchiveList is a list of archives, each of which is of the form (secondsPerPoint,numberOfPoints)\nxFilesFactor specifies the fraction of data points in a propagation interval that must have known values for a propagation to occu... | 519 | false | brutasse/graphite-api | create | 13,110 | |
LDU_FT/gusutabopb/aioinflux/_check_error | LDU_FT | [
"<BEGIN>\n## `lineprotocol`",
"Adds ``to_lineprotocol`` method to arbitrary user-defined classes",
" :param cls: Class to monkey-patch\n :param schema: Schema dictionary (attr/type pairs).\n :param rm_none: Whether apply a regex to remove ``None`` values.\n If ``False``, passing ``None`` values ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_error API.
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 _check_error API.
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... | Checks for JSON error messages and raises Python exception | "Checks for JSON error messages and raises Python exception" | 41 | false | gusutabopb/aioinflux | _check_error | 13,111 | |
LDU_FT/micolous/python-slackrealtime/request_session | LDU_FT | [
"<BEGIN>\n## `sendCommand`",
"Sends a raw command to the Slack server, generating a message ID automatically.\n<END>",
"<BEGIN>\n## `sendChatMessage`",
"Sends a chat message to a given id, user, group or channel.",
"\t\tIf the API token is not a bot token (xoxb), ``send_with_api`` may be set\n\t\tto True. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_session API.
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 request_session API.
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... | Requests a WebSocket session for the Real-Time Messaging API.
Returns a SessionMetadata object containing the information retrieved from
the API call. | "Requests a WebSocket session for the Real-Time Messaging API.\n\t\n\tReturns a SessionMetadata object containing the information retrieved from\n\tthe API call." | 27 | false | micolous/python-slackrealtime | request_session | 13,112 | |
LDU_FT/edx/edx-val/create | LDU_FT | [
"<BEGIN>\n## `generate_sjson_from_srt`",
"Generate transcripts from sjson to SubRip (*.srt).",
" Arguments:\n srt_subs(SubRip): \"SRT\" subs object",
" Returns:\n Subs converted to \"SJSON\" format.\n<END>",
"<BEGIN>\n## `generate_srt_from_sjson`",
"Generate transcripts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a Video Transcript.
Arguments:
video(Video): Video data model object
language_code(unicode): A language code.
file_format(unicode): Transcript file format.
content(InMemoryUploadedFile): Transcript content.
provider(unicode): Transcript provide... | "Create a Video Transcript.\n\n Arguments:\n video(Video): Video data model object\n language_code(unicode): A language code.\n file_format(unicode): Transcript file format.\n content(InMemoryUploadedFile): Transcript content.\n provider(unicode): Transcript... | 197 | false | edx/edx-val | create | 13,113 | |
LDU_FT/robertpeteuil/aws-shortcuts/user_entry | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize DEBUG and DEBUGALL.",
" Allows other modules to set DEBUG and DEBUGALL, so their\n call to dprint or dprintx generate output.",
" Args:\n deb1 (bool): value of DEBUG to set\n deb2 (bool): optional - value of DEBUGALL to set,\n defaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Validate user entry and returns index and validity flag.
Processes the user entry and take the appropriate action: abort
if '0' entered, set validity flag and index is valid entry, else
return invalid index and the still unset validity flag.
Args:
entry_int (int): a number entered or 999 if a ... | "Validate user entry and returns index and validity flag.\n\n Processes the user entry and take the appropriate action: abort\n if '0' entered, set validity flag and index is valid entry, else\n return invalid index and the still unset validity flag.\n\n Args:\n entry_int (int): a number entered or 9... | 76 | false | robertpeteuil/aws-shortcuts | user_entry | 13,114 | |
LDU_FT/inspirehep/inspire-dojson/urls | LDU_FT | [
"<BEGIN>\n## `normalize_rank`",
"Normalize a rank in order to be schema-compliant.\n<END>",
"<BEGIN>\n## `get_recid_from_ref`",
"Retrieve recid from jsonref reference object.",
" If no recid can be parsed, returns None.\n<END>",
"<BEGIN>\n## `absolute_url`",
"Returns an absolute URL from a URL relati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Populate the ``8564`` MARC field.
Also populate the ``FFT`` field through side effects. | "Populate the ``8564`` MARC field.\n\n Also populate the ``FFT`` field through side effects." | 163 | false | inspirehep/inspire-dojson | urls | 13,115 | |
LDU_FT/twoolie/NBT/iter_regions | LDU_FT | [
"<BEGIN>\n## `stats_per_chunk`",
"Given a chunk, increment the block types with the number of blocks found\n<END>",
"<BEGIN>\n## `bounded_stats_per_chunk`",
"Given a chunk, return the number of blocks types within the specified selection\n<END>",
"<BEGIN>\n## `process_region_file`",
"Given a region, retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_regions API.
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 iter_regions API.
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 an iterable list of all region files. Use this function if you only
want to loop through each region files once, and do not want to cache the results. | "Return an iterable list of all region files. Use this function if you only\n want to loop through each region files once, and do not want to cache the results." | 84 | false | twoolie/NBT | iter_regions | 13,116 | |
LDU_FT/ORCID/python-orcid/remove_record | LDU_FT | [
"<BEGIN>\n## `get_login_url`",
"Return a URL for a user to login/register with ORCID.",
" Parameters\n ----------\n :param scope: string or iterable of strings\n The scope(s) of the authorization request.\n For example '/authenticate'\n :param redirect_uri: stri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_record API.
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_record API.
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... | Add a record to a profile.
Parameters
----------
:param orcid_id: string
Id of the author.
:param token: string
Token received from OAuth 2 3-legged authorization.
:param request_type: string
One of 'activities', 'education', 'employment', 'fu... | "Add a record to a profile.\n\n Parameters\n ----------\n :param orcid_id: string\n Id of the author.\n :param token: string\n Token received from OAuth 2 3-legged authorization.\n :param request_type: string\n One of 'activities', 'education', 'employ... | 54 | false | ORCID/python-orcid | remove_record | 13,117 | |
LDU_FT/liamw9534/bt-manager/major_service_class | LDU_FT | [
"<BEGIN>\n## `translate_to_dbus_type`",
"Helper function to map values from their native Python types\n to Dbus types.",
" :param type typeof: Target for type conversion e.g., 'dbus.Dictionary'\n :param value: Value to assign using type 'typeof'\n :return: 'value' converted to type 'typeof'\n :rt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the major_service_class 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 major_service_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return the major service class property decoded e.g.,
Audio, Telephony, etc | "Return the major service class property decoded e.g.,\n Audio, Telephony, etc" | 66 | false | liamw9534/bt-manager | major_service_class | 13,118 | |
LDU_FT/jmvrbanac/Specter/write_expression_list | LDU_FT | [
"<BEGIN>\n## `print_error`",
"A crude way of output the errors for now. This needs to be\n cleaned up into something better.\n<END>",
"<BEGIN>\n## `combine_coverage_reports`",
"Method to force the combination of parallel coverage reports.\n<END>",
"<BEGIN>\n## `serialize`",
"Serializes the CaseWrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_expression_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_expression_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Writes a list of nodes, separated by separator.
If allow_newlines, will write the expression over multiple lines if necessary to say within
max_line_length. If need_parens, will surround the expression with parentheses in this case.
If final_separator_if_multiline, will write a separator at the... | "Writes a list of nodes, separated by separator.\n\n If allow_newlines, will write the expression over multiple lines if necessary to say within\n max_line_length. If need_parens, will surround the expression with parentheses in this case.\n If final_separator_if_multiline, will write a separator a... | 47 | false | jmvrbanac/Specter | write_expression_list | 13,119 | |
LDU_FT/citruz/beacontools/is_one_of | LDU_FT | [
"<BEGIN>\n## `run`",
"Continously scan for BLE advertisements.\n<END>",
"<BEGIN>\n## `set_scan_parameters`",
"sets the le scan parameters",
" Args:\n scan_type: ScanType.(PASSIVE|ACTIVE)\n interval: ms (as float) between scans (valid range 2.5ms - 10240ms)\n ..not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_one_of API.
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 is_one_of API.
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 true iff obj is an instance of one of the types. | "Return true iff obj is an instance of one of the types." | 29 | false | citruz/beacontools | is_one_of | 13,120 | |
LDU_FT/acutesoftware/virtual-AI-simulator/do_action | LDU_FT | [
"<BEGIN>\n## `calc_basics`",
"calculate various aspects of the structure\n<END>",
"<BEGIN>\n## `bld_rafter_deflection`",
"calculate rafter deflections - see test_calc_building_design.py for \n Sample values for equations below from Structures II course\n<END>",
"<BEGIN>\n## `main`",
"Prototype to see h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_action API.
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 do_action API.
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... | called by main game loop to run an action | "called by main game loop to run an action" | 86 | false | acutesoftware/virtual-AI-simulator | do_action | 13,121 | |
LDU_FT/pvlib/pvlib-python/_recolumn | LDU_FT | [
"<BEGIN>\n## `systemdef`",
"Generates a dict of system parameters used throughout a simulation.",
" Parameters\n ----------",
" meta : dict\n meta dict either generated from a TMY file using readtmy2 or\n readtmy3, or a dict containing at least the following fields:",
" ===... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recolumn API.
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 _recolumn API.
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... | Rename the columns of the TMY3 DataFrame.
Parameters
----------
tmy3_dataframe : DataFrame
inplace : bool
passed to DataFrame.rename()
Returns
-------
Recolumned DataFrame. | "Rename the columns of the TMY3 DataFrame.\n\n Parameters\n ----------\n tmy3_dataframe : DataFrame\n inplace : bool\n passed to DataFrame.rename()\n\n Returns\n -------\n Recolumned DataFrame." | 1,499 | true | pvlib/pvlib-python | _recolumn | 13,122 | |
LDU_FT/hickeroar/LatLon23/string2latlon | LDU_FT | [
"<BEGIN>\n## `string2geocoord`",
"Create a GeoCoord object (e.g. Latitude or Longitude) from a string.\n Inputs:\n coord_str (str) - a string representation of a geographic coordinate (e.g. '5.083 N'). Each\n section of the string must be separated by some kind of a separator character ('5.083N... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string2latlon API.
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 string2latlon API.
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... | Create a LatLon object from a pair of strings.
Inputs:
lat_str (str) - string representation of a latitude (e.g. '5 52 59.88 N')
lon_str (str) - string representation of a longitude (e.g. '162 4 59.88 W')
format_str (str) - format in which the coordinate strings are given (e.g.
for... | "Create a LatLon object from a pair of strings.\n Inputs:\n lat_str (str) - string representation of a latitude (e.g. '5 52 59.88 N')\n lon_str (str) - string representation of a longitude (e.g. '162 4 59.88 W')\n format_str (str) - format in which the coordinate strings are given (e.g.\n ... | 30 | false | hickeroar/LatLon23 | string2latlon | 13,123 | |
LDU_FT/nion-software/nionswift-io/andor_tags | LDU_FT | [
"<BEGIN>\n## `imagedatadict_to_ndarray`",
"Converts the ImageData dictionary, imdict, to an nd image.\n<END>",
"<BEGIN>\n## `ndarray_to_imagedatadict`",
"Convert the numpy array nparr into a suitable ImageList entry dictionary.\n Returns a dictionary with the appropriate Data, DataType, PixelDepth\n to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the andor_tags API.
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 andor_tags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return consolidated metadata from Andor tags as dict.
Remove Andor tags from self.tags. | "Return consolidated metadata from Andor tags as dict.\n\n Remove Andor tags from self.tags." | 438 | false | nion-software/nionswift-io | andor_tags | 13,124 | |
LDU_FT/pyupio/dparse/_dump_inline_table | LDU_FT | [
"<BEGIN>\n## `loads`",
"Parses string as toml",
" Args:\n s: String to be parsed\n _dict: (optional) Specifies the class of the returned toml dictionary",
" Returns:\n Parsed toml file represented as a dictionary",
" Raises:\n TypeError: When a non-string is passed\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dump_inline_table 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 _dump_inline_table 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... | Preserve inline table in its compact syntax instead of expanding
into subsection.
https://github.com/toml-lang/toml#user-content-inline-table | "Preserve inline table in its compact syntax instead of expanding\n into subsection.\n\n https://github.com/toml-lang/toml#user-content-inline-table" | 22 | false | pyupio/dparse | _dump_inline_table | 13,125 | |
LDU_FT/OnroerendErfgoed/crabpy/list_adresposities_by_subadres_and_huisnummer | LDU_FT | [
"<BEGIN>\n## `crab_gateway_request`",
"Utility function that helps making requests to the CRAB service.",
" This is a specialised version of :func:`crabpy.client.crab_request` that\n allows adding extra functionality for the calls made by the gateway.",
" :param client: A :class:`suds.client.Client` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_adresposities_by_subadres_and_huisnummer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_adresposities_by_subadres_and_huisnummer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in... | List all `adresposities` for a subadres and a :class:`Huisnummer`.
:param subadres: A string representing a certain subadres.
:param huisnummer: The :class:`Huisnummer` for which the \
`adresposities` are wanted. OR A huisnummer id.
:rtype: A :class:`list` of :class:`Adrespositie` | "List all `adresposities` for a subadres and a :class:`Huisnummer`.\n\n :param subadres: A string representing a certain subadres.\n :param huisnummer: The :class:`Huisnummer` for which the \\\n `adresposities` are wanted. OR A huisnummer id.\n :rtype: A :class:`list` of :class:`Adrespos... | 196 | false | OnroerendErfgoed/crabpy | list_adresposities_by_subadres_and_huisnummer | 13,126 | |
LDU_FT/razorpay/razorpay-python/put | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetch Card for given Id",
" Args:\n card_id : Id for which card object has to be retrieved",
" Returns:\n Card dict for given card Id\n<END>",
"<BEGIN>\n## `all`",
"Fetch all Virtual Account entities",
" Returns:\n Dictionary ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | Parses PUT request options and dispatches a request | "Parses PUT request options and dispatches a request" | 159 | false | razorpay/razorpay-python | put | 13,127 | |
LDU_FT/biocommons/hgvs/_expose_rule_functions | LDU_FT | [
"<BEGIN>\n## `_expose_rule_functions`",
"add parse functions for public grammar rules",
" Defines a function for each public grammar rule, based on\n introspecting the grammar. For example, the `c_interval` rule\n is exposed as a method `parse_c_interval` and used like this::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expose_rule_functions 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 _expose_rule_functions 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 parse functions for public grammar rules
Defines a function for each public grammar rule, based on
introspecting the grammar. For example, the `c_interval` rule
is exposed as a method `parse_c_interval` and used like this::
Parser.parse_c_interval('26+2_57-3') -> Interval(...) | "add parse functions for public grammar rules\n\n Defines a function for each public grammar rule, based on\n introspecting the grammar. For example, the `c_interval` rule\n is exposed as a method `parse_c_interval` and used like this::\n\n Parser.parse_c_interval('26+2_57-3') -> Interval(... | 210 | false | biocommons/hgvs | _expose_rule_functions | 13,128 | |
LDU_FT/JarryShaw/PyPCAPKit/_read_para_notification | LDU_FT | [
"<BEGIN>\n## `_missing_`",
"Lookup function used when value is not found.\n<END>",
"<BEGIN>\n## `count`",
"S.count(value) -> integer -- return number of occurrences of value\n<END>",
"<BEGIN>\n## `index`",
"S.index(value, [start, [stop]]) -> integer -- return first index of value.\n Raises Value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_para_notification 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 _read_para_notification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Read HIP NOTIFICATION parameter.
Structure of HIP NOTIFICATION parameter [RFC 7401]:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-... | "Read HIP NOTIFICATION parameter.\n\n Structure of HIP NOTIFICATION parameter [RFC 7401]:\n 0 1 2 3\n 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1\n +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-... | 733 | false | JarryShaw/PyPCAPKit | _read_para_notification | 13,129 | |
LDU_FT/IceflowRE/unidown/to_protobuf | LDU_FT | [
"<BEGIN>\n## `from_protobuf`",
"Constructor from protobuf.",
" :param proto: protobuf structure\n :type proto: ~unidown.plugin.protobuf.link_item_pb2.LinkItemProto\n :return: the LinkItem\n :rtype: ~unidown.plugin.link_item.LinkItem\n :raises ValueError: name of LinkItem does ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_protobuf API.
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 to_protobuf API.
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... | Create protobuf item.
:return: protobuf structure
:rtype: ~unidown.plugin.protobuf.save_state_pb2.SaveStateProto | "Create protobuf item.\n\n :return: protobuf structure\n :rtype: ~unidown.plugin.protobuf.save_state_pb2.SaveStateProto" | 88 | false | IceflowRE/unidown | to_protobuf | 13,130 | |
LDU_FT/rosenbrockc/fortpy/_dict_increment | 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 _dict_increment API.
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 _dict_increment API.
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... | Increments the value of the dictionary at the specified key. | "Increments the value of the dictionary at the specified key." | 929 | false | rosenbrockc/fortpy | _dict_increment | 13,131 | |
LDU_FT/minio/minio-py/_marshal_json | LDU_FT | [
"<BEGIN>\n## `run`",
"Continously receive tasks and execute them\n<END>",
"<BEGIN>\n## `result`",
"Stop threads and return the result of all called tasks\n<END>",
"<BEGIN>\n## `xml_marshal_bucket_constraint`",
"Marshal's bucket constraint based on *region*.",
" :param region: Region name of a given b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _marshal_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _marshal_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Marshal various policies into json str/bytes. | "Marshal various policies into json str/bytes." | 331 | false | minio/minio-py | _marshal_json | 13,132 | |
LDU_FT/bwhite/hadoopy/walkRelocatables | LDU_FT | [
"<BEGIN>\n## `__add_options`",
"Add the `Makespec` options to a option-parser instance or a\n option group.\n<END>",
"<BEGIN>\n## `exec_python`",
"Wrap running python script in a subprocess.",
" Return stdout of the invoked command.\n<END>",
"<BEGIN>\n## `exec_python_rc`",
"Wrap running python scr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walkRelocatables API.
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 walkRelocatables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | for all relocatable commands
yield (command_index, command_name, filename) | "for all relocatable commands\n yield (command_index, command_name, filename)" | 610 | false | bwhite/hadoopy | walkRelocatables | 13,133 | |
LDU_FT/HydrelioxGitHub/pybbox/login | LDU_FT | [
"<BEGIN>\n## `set_display_luminosity`",
"Change the intensity of light of the front panel of the box\n :param luminosity: must be between 0 (light off) and 100\n :type luminosity: int\n<END>",
"<BEGIN>\n## `reboot`",
"Reboot the device\n Useful when trying to get xDSL sync\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Authentify yourself against the box,
:param password: Admin password of the box
:type password: str
:return: True if your auth is successful
:rtype: bool | "Authentify yourself against the box,\n :param password: Admin password of the box\n :type password: str\n :return: True if your auth is successful\n :rtype: bool" | 27 | false | HydrelioxGitHub/pybbox | login | 13,134 | |
LDU_FT/aws/aws-xray-sdk-python/_delete_empty_properties | LDU_FT | [
"<BEGIN>\n## `middleware`",
"Main middleware function, deals with all the X-Ray segment logic\n<END>",
"<BEGIN>\n## `patch`",
"patch the built-in `urllib/httplib/httplib.client` methods for tracing.\n<END>",
"<BEGIN>\n## `unpatch`",
"Unpatch any previously patched modules.\n This operation is idempoten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_empty_properties 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 _delete_empty_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Delete empty properties before serialization to avoid
extra keys with empty values in the output json. | "Delete empty properties before serialization to avoid\n extra keys with empty values in the output json." | 198 | false | aws/aws-xray-sdk-python | _delete_empty_properties | 13,135 | |
LDU_FT/adamcharnock/swiftwind/get_amount_arrears_balance | LDU_FT | [
"<BEGIN>\n## `get_amount_normal`",
"Get the amount due on the given billing cycle",
" For regular recurring costs this is simply `fixed_amount`. For\n one-off costs this is the portion of `fixed_amount` for the given\n billing_cycle.\n<END>",
"<BEGIN>\n## `get_amount_arrears_balance`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_amount_arrears_balance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_amount_arrears_balance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Get the balance of to_account at the end of billing_cycle | "Get the balance of to_account at the end of billing_cycle" | 49 | false | adamcharnock/swiftwind | get_amount_arrears_balance | 13,136 | |
LDU_FT/sdispater/cachy/put | LDU_FT | [
"<BEGIN>\n## `tag_id`",
"Get the unique tag identifier for a given tag.",
" :param name: The tag\n :type name: str",
" :rtype: str\n<END>",
"<BEGIN>\n## `reset_tag`",
"Reset the tag and return the new tag identifier.",
" :param name: The tag\n :type name: str",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | Store an item in the cache for a given number of minutes.
:param key: The cache key
:type key: str
:param value: The cache value
:type value: mixed
:param minutes: The lifetime in minutes of the cached value
:type minutes: int | "Store an item in the cache for a given number of minutes.\n\n :param key: The cache key\n :type key: str\n\n :param value: The cache value\n :type value: mixed\n\n :param minutes: The lifetime in minutes of the cached value\n :type minutes: int" | 206 | false | sdispater/cachy | put | 13,137 | |
LDU_FT/quantopian/trading_calendars/minutes_for_session | LDU_FT | [
"<BEGIN>\n## `days_at_time`",
"Create an index of days at time ``t``, interpreted in timezone ``tz``.",
" The returned index is localized to UTC.",
" Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minutes_for_session 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 minutes_for_session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Given a session label, return the minutes for that session.
Parameters
----------
session_label: pd.Timestamp (midnight UTC)
A session label whose session's minutes are desired.
Returns
-------
pd.DateTimeIndex
All the minutes for the given sessi... | "Given a session label, return the minutes for that session.\n\n Parameters\n ----------\n session_label: pd.Timestamp (midnight UTC)\n A session label whose session's minutes are desired.\n\n Returns\n -------\n pd.DateTimeIndex\n All the minutes for the ... | 150 | false | quantopian/trading_calendars | minutes_for_session | 13,138 | |
LDU_FT/HumanCellAtlas/cloud-blobstore/list | LDU_FT | [
"<BEGIN>\n## `list`",
"Returns an iterator of all blob entries in a bucket that match a given prefix. Do not return any keys that\n contain the delimiter past the\n prefix.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes an object in a bucket. If the operation definitely did not delete anything, ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns an iterator of all blob entries in a bucket that match a given prefix. Do not return any keys that
contain the delimiter past the prefix. | "Returns an iterator of all blob entries in a bucket that match a given prefix. Do not return any keys that\n contain the delimiter past the prefix." | 59 | false | HumanCellAtlas/cloud-blobstore | list | 13,139 | |
LDU_FT/danilobellini/audiolazy/limit | LDU_FT | [
"<BEGIN>\n## `deprecate`",
"A deprecation warning emmiter as a decorator.\n<END>",
"<BEGIN>\n## `get_module_names`",
"All names in the package directory that matches the given glob, without\n their extension. Repeated names should appear only once.\n<END>",
"<BEGIN>\n## `get_modules`",
"List of module ob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limit API.
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 limit API.
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... | Enforces the Stream to finish after ``n`` items. | "Enforces the Stream to finish after ``n`` items." | 578 | false | danilobellini/audiolazy | limit | 13,140 | |
LDU_FT/mozilla/build-mar/make_hasher | LDU_FT | [
"<BEGIN>\n## `add_signature_block`",
"Add a signature block to marfile, a MarReader object.",
" Productversion and channel are preserved, but any existing signatures are overwritten.",
" Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_hasher API.
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 make_hasher API.
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... | Create a hashing object for the given signing algorithm. | "Create a hashing object for the given signing algorithm." | 146 | false | mozilla/build-mar | make_hasher | 13,141 | |
LDU_FT/annayqho/TheCannon/run_all | LDU_FT | [
"<BEGIN>\n## `gen_cannon_grad_spec`",
"Generate Cannon gradient spectra",
" Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_all API.
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 run_all API.
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... | Load the data that we're using to search for Li-rich giants.
Store it in dataset and model objects. | "Load the data that we're using to search for Li-rich giants.\n Store it in dataset and model objects." | 188 | false | annayqho/TheCannon | run_all | 13,142 | |
LDU_FT/torfsen/service/_detach_process | LDU_FT | [
"<BEGIN>\n## `_detach_process`",
"Detach daemon process.",
" Forks the current process into a parent and a detached child. The\n child process resides in its own process group, has no controlling\n terminal attached and is cleaned up by the init process.",
" Returns ``True`` for the parent and ``F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _detach_process API.
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 _detach_process API.
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... | Detach daemon process.
Forks the current process into a parent and a detached child. The
child process resides in its own process group, has no controlling
terminal attached and is cleaned up by the init process.
Returns ``True`` for the parent and ``False`` for the child. | "Detach daemon process.\n\n Forks the current process into a parent and a detached child. The\n child process resides in its own process group, has no controlling\n terminal attached and is cleaned up by the init process.\n\n Returns ``True`` for the parent and ``False`` for the child." | 40 | false | torfsen/service | _detach_process | 13,143 | |
LDU_FT/bblfsh/client-python/filter_string | LDU_FT | [
"<BEGIN>\n## `parse`",
"Queries the Babelfish server and receives the UAST response for the specified\n file.",
" :param filename: The path to the file. Can be arbitrary if contents \\\n is not None.\n :param language: The programming language of the file. Refer to \... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Filter and ensure that the returned value is of string type. | "Filter and ensure that the returned value is of string type." | 25 | false | bblfsh/client-python | filter_string | 13,144 | |
LDU_FT/mattjj/pylds/scipy_solve_symm_block_tridiag | LDU_FT | [
"<BEGIN>\n## `symm_block_tridiag_matmul`",
"Compute matrix-vector product with a symmetric block\n tridiagonal matrix H and vector v.",
" :param H_diag: block diagonal terms of H\n :param H_upper_diag: upper block diagonal terms of H\n :param v: vector to multiple\n :ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scipy_solve_symm_block_tridiag 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 scipy_solve_symm_block_tridiag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | use scipy.linalg.solve_banded to solve a symmetric block tridiagonal system
see https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.solveh_banded.html | "use scipy.linalg.solve_banded to solve a symmetric block tridiagonal system\n\n see https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.solveh_banded.html" | 53 | false | mattjj/pylds | scipy_solve_symm_block_tridiag | 13,145 | |
LDU_FT/klen/peewee_migrate/migrator | LDU_FT | [
"<BEGIN>\n## `create_table`",
"Create model and table in database.",
" >> migrator.create_table(model)\n<END>",
"<BEGIN>\n## `drop_table`",
"Drop model and table from database.",
" >> migrator.drop_table(model, cascade=True)\n<END>",
"<BEGIN>\n## `_check_model`",
"Checks object if it's a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the migrator API.
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 migrator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Create migrator and setup it with fake migrations. | "Create migrator and setup it with fake migrations." | 20 | false | klen/peewee_migrate | migrator | 13,146 | |
LDU_FT/shtalinberg/django-actions-logger/process_exception | LDU_FT | [
"<BEGIN>\n## `create_log_action`",
"Helper method to create a new log entry.\n This method automatically populates some fields when no explicit value is given.\n :param instance: The model instance to log a change for.\n :type instance: Model\n :param kwargs: Field overrides for the :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_exception API.
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 process_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Disconnects the signal receiver to prevent it from staying active in case of an exception. | "Disconnects the signal receiver to prevent it from staying active in case of an exception." | 31 | false | shtalinberg/django-actions-logger | process_exception | 13,147 | |
LDU_FT/atlassian-api/atlassian-python-api/create_request_comment | LDU_FT | [
"<BEGIN>\n## `clean_draft_pages_from_space`",
"Remove draft pages from space using datetime.now\n :param confluence:\n :param space_key:\n :param count:\n :param date_now:\n :return: int counter\n<END>",
"<BEGIN>\n## `clean_all_draft_pages_from_all_spaces`",
"Remove all draft pages for all spac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_request_comment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_request_comment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Creating request comment
:param issue_id_or_key: str
:param body: str
:param public: OPTIONAL: bool (default is True)
:return: New comment | "Creating request comment\n\n :param issue_id_or_key: str\n :param body: str\n :param public: OPTIONAL: bool (default is True)\n :return: New comment" | 414 | false | atlassian-api/atlassian-python-api | create_request_comment | 13,148 | |
LDU_FT/shidenggui/easytrader/get_30_date | LDU_FT | [
"<BEGIN>\n## `prepare`",
"登录的统一接口\n :param config_file 登录数据文件,若无则选择参数登录模式\n :param user: 各家券商的账号或者雪球的用户名\n :param password: 密码, 券商为加密后的密码,雪球为明文密码\n :param account: [雪球登录需要]雪球手机号(邮箱手机二选一)\n :param portfolio_code: [雪球登录需要]组合代码\n :param portfolio_market: [雪球登录需要]交易市场,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_30_date API.
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_30_date API.
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... | 获得用于查询的默认日期, 今天的日期, 以及30天前的日期
用于查询的日期格式通常为 20160211
:return: | "获得用于查询的默认日期, 今天的日期, 以及30天前的日期\n 用于查询的日期格式通常为 20160211\n :return:" | 93 | false | shidenggui/easytrader | get_30_date | 13,149 | |
LDU_FT/pyrogram/pyrogram/on_user_status | LDU_FT | [
"<BEGIN>\n## `request_callback_answer`",
"Use this method to request a callback answer from bots.\n This is the equivalent of clicking an inline button containing callback data.",
" Args:\n chat_id (``int`` | ``str``):\n Unique identifier (int) or username (str) of the ta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_user_status API.
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 on_user_status API.
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... | Use this decorator to automatically register a function for handling user status updates.
This does the same thing as :meth:`add_handler` using the :class:`UserStatusHandler`.
Args:
filters (:obj:`Filters <pyrogram.Filters>`):
Pass one or more filters to allow only a subset ... | "Use this decorator to automatically register a function for handling user status updates.\n This does the same thing as :meth:`add_handler` using the :class:`UserStatusHandler`.\n\n Args:\n filters (:obj:`Filters <pyrogram.Filters>`):\n Pass one or more filters to allow only a s... | 1,097 | true | pyrogram/pyrogram | on_user_status | 13,150 | |
LDU_FT/clinicedc/edc-form-label/previous_visit | LDU_FT | [
"<BEGIN>\n## `get_form_label`",
"Returns a customized form label, if condition is met,\n otherwise returns the default form label.",
" * condition is an instance of CustomLabelCondition.\n<END>",
"<BEGIN>\n## `update_form_labels`",
"Returns a form obj after modifying form labels\n refer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the previous_visit API.
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 previous_visit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns the previous visit for this request or None.
Requires attr `visit_model_cls`. | "Returns the previous visit for this request or None.\n\n Requires attr `visit_model_cls`." | 13 | false | clinicedc/edc-form-label | previous_visit | 13,151 | |
LDU_FT/sendgrid/sendgrid-python/section | LDU_FT | [
"<BEGIN>\n## `threshold`",
"Threshold used to determine if your content qualifies as spam.\n On a scale from 1 to 10, with 10 being most strict, or most likely to\n be considered as spam.",
" :param value: Threshold used to determine if your content qualifies as\n spam.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the section API.
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 section API.
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... | The block sections of code to be used as substitutions
:rtype: Section, list(Section) | "The block sections of code to be used as substitutions\n\n :rtype: Section, list(Section)" | 229 | false | sendgrid/sendgrid-python | section | 13,152 | |
LDU_FT/ulfalizer/Kconfiglib/print_menuconfig_nodes | LDU_FT | [
"<BEGIN>\n## `oldconfig`",
"Prompts the user for a value if node.item is a visible symbol/choice with\n no user value.\n<END>",
"<BEGIN>\n## `all_arch_srcarch_pairs`",
"Generates all valid (ARCH, SRCARCH) tuples for the kernel, corresponding to\n different architectures. SRCARCH holds the arch/ subdirec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_menuconfig_nodes 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 print_menuconfig_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Prints a tree with all the menu entries rooted at 'node'. Child menu
entries are indented. | "Prints a tree with all the menu entries rooted at 'node'. Child menu\n entries are indented." | 139 | false | ulfalizer/Kconfiglib | print_menuconfig_nodes | 13,153 | |
LDU_FT/keunwoochoi/kapre/get_stft_kernels | LDU_FT | [
"<BEGIN>\n## `_spectrogram_mono`",
"x.shape : (None, 1, len_src),\n returns 2D batch of a mono power-spectrogram\n<END>",
"<BEGIN>\n## `mel`",
"[np] create a filterbank matrix to combine stft bins into mel-frequency bins\n use Slaney (said Librosa)",
" n_mels: numbre of mel bands\n fmin : lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stft_kernels API.
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_stft_kernels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | [np] Return dft kernels for real/imagnary parts assuming
the input . is real.
An asymmetric hann window is used (scipy.signal.hann).
Parameters
----------
n_dft : int > 0 and power of 2 [scalar]
Number of dft components.
Returns
-------
| dft_real_kernels : np.ndarray ... | "[np] Return dft kernels for real/imagnary parts assuming\n the input . is real.\n An asymmetric hann window is used (scipy.signal.hann).\n\n Parameters\n ----------\n n_dft : int > 0 and power of 2 [scalar]\n Number of dft components.\n\n Returns\n -------\n | dft_real_kernels :... | 26 | false | keunwoochoi/kapre | get_stft_kernels | 13,154 | |
LDU_FT/roamanalytics/mittens/randmatrix | LDU_FT | [
"<BEGIN>\n## `_apply_updates`",
"Apply AdaGrad update to parameters.",
" Parameters\n ----------\n gradients",
" Returns\n -------\n<END>",
"<BEGIN>\n## `get_step`",
"Computes the 'step' to take for the next gradient descent update.",
" Returns the step rather t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randmatrix API.
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 randmatrix API.
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... | Creates an m x n matrix of random values drawn using
the Xavier Glorot method. | "Creates an m x n matrix of random values drawn using\n the Xavier Glorot method." | 47 | false | roamanalytics/mittens | randmatrix | 13,155 | |
LDU_FT/pavoni/pyvera/get_devices | LDU_FT | [
"<BEGIN>\n## `init_controller`",
"Initialize a controller.",
" Provides a single global controller for applications that can't do this\n themselves\n<END>",
"<BEGIN>\n## `data_request`",
"Perform a data_request and return the result.\n<END>",
"<BEGIN>\n## `get_device_by_name`",
"Search the list of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_devices API.
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_devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get list of connected devices.
category_filter param is an array of strings | "Get list of connected devices.\n\n category_filter param is an array of strings" | 94 | false | pavoni/pyvera | get_devices | 13,156 | |
LDU_FT/adammhaile/gitdata/clone_data | LDU_FT | [
"<BEGIN>\n## `isdir`",
"Raise an exception if the given directory does not exist.",
" :param path: The path to a directory to be tested\n :param message: A custom message to report in the exception",
" :raises: FileNotFoundError\n<END>",
"<BEGIN>\n## `getcwd`",
"Provide a context dependent curren... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Clones data for given data_path:
:param str data_path: Git url (git/http/https) or local directory path | "Clones data for given data_path:\n :param str data_path: Git url (git/http/https) or local directory path" | 20 | false | adammhaile/gitdata | clone_data | 13,157 | |
LDU_FT/persandstrom/python-verisure/login | LDU_FT | [
"<BEGIN>\n## `login`",
"Login to verisure app api",
" Login before calling any read or write commands\n<END>",
"<BEGIN>\n## `set_smartplug_state`",
"Turn on or off smartplug",
" Args:\n device_label (str): Smartplug device label\n state (boolean): new status, 'True' or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Login to verisure app api
Login before calling any read or write commands | "Login to verisure app api\n\n Login before calling any read or write commands" | 36 | false | persandstrom/python-verisure | login | 13,158 | |
LDU_FT/JnyJny/Geometry/_binary_ | LDU_FT | [
"<BEGIN>\n## `nearly_eq`",
"implementation based on:",
" http://floating-point-gui.de/errors/comparison/\n<END>",
"<BEGIN>\n## `_convert`",
":other: Point or point equivalent\n :ignorescalars: optional boolean\n :return: Point",
" Class private method for converting 'other' into a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _binary_ API.
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 _binary_ API.
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... | :other: Point or point equivalent
:func: binary function to apply
:inplace: optional boolean
:return: Point
Implementation private method.
All of the binary operations funnel thru this method to
reduce cut-and-paste code and enforce consistent behavior
of ... | ":other: Point or point equivalent\n :func: binary function to apply\n :inplace: optional boolean\n :return: Point\n\n Implementation private method.\n\n All of the binary operations funnel thru this method to\n reduce cut-and-paste code and enforce consistent behavior\n ... | 184 | false | JnyJny/Geometry | _binary_ | 13,159 | |
LDU_FT/notifiers/notifiers/_resource | LDU_FT | [
"<BEGIN>\n## `handle_oneof`",
"Custom handle of `oneOf` JSON schema validator. Tried to match primitive type and see if it should be allowed\n to be passed multiple timns into a command",
" :param oneof_schema: `oneOf` JSON schema\n :return: Tuple of :class:`click.ParamType`, ``multiple`` flag and ``d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resource API.
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 _resource API.
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... | The callback func that will be hooked to the generic resource commands | "The callback func that will be hooked to the generic resource commands" | 95 | false | notifiers/notifiers | _resource | 13,160 | |
LDU_FT/UCSBarchlab/PyRTL/generalized_fma | LDU_FT | [
"<BEGIN>\n## `_initialize`",
"Sets the wire, register, and memory values to default or as specified.",
" :param register_value_map: is a map of {Register: value}.\n :param memory_value_map: is a map of maps {Memory: {address: Value}}.\n :param default_value: is the value that all unspecifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generalized_fma API.
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 generalized_fma API.
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... | Generated an opimitized fused multiply adder.
A generalized FMA unit that multiplies each pair of numbers in mult_pairs,
then adds the resulting numbers and and the values of the add wires all
together to form an answer. This is faster than separate adders and
multipliers because you avoid unnecessary ... | "Generated an opimitized fused multiply adder.\n\n A generalized FMA unit that multiplies each pair of numbers in mult_pairs,\n then adds the resulting numbers and and the values of the add wires all\n together to form an answer. This is faster than separate adders and\n multipliers because you avoid unnece... | 416 | false | UCSBarchlab/PyRTL | generalized_fma | 13,161 | |
LDU_FT/olucurious/PyFCM/json_dumps | LDU_FT | [
"<BEGIN>\n## `registration_id_chunks`",
"Splits registration ids in several lists of max 1000 registration ids per list",
" Args:\n registration_ids (list): FCM device registration ID",
" Yields:\n generator: list including lists with registration ids\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_dumps API.
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 json_dumps API.
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... | Standardized json.dumps function with separators and sorted keys set
Args:
data (dict or list): data to be dumped
Returns:
string: json | "Standardized json.dumps function with separators and sorted keys set\n\n Args:\n data (dict or list): data to be dumped\n\n Returns:\n string: json" | 71 | false | olucurious/PyFCM | json_dumps | 13,162 | |
LDU_FT/Grunny/zap-cli/get_context_info | LDU_FT | [
"<BEGIN>\n## `list_scanners`",
"Get a list of scanners and whether or not they are enabled.\n<END>",
"<BEGIN>\n## `list_policies`",
"Get a list of policies and whether or not they are enabled.\n<END>",
"<BEGIN>\n## `enable_policies`",
"Set the enabled policies to use in a scan.",
" When you enable a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the context ID for a given context name. | "Get the context ID for a given context name." | 63 | false | Grunny/zap-cli | get_context_info | 13,163 | |
LDU_FT/ShadowBlip/Neteria/register | LDU_FT | [
"<BEGIN>\n## `listen`",
"Starts the client listener to listen for server responses.",
" Args:\n None",
" Returns:\n None\n<END>",
"<BEGIN>\n## `retransmit`",
"Processes messages that have been delivered from the transport\n protocol.",
" Args:\n dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | This function will register a particular client in the server's
registry dictionary.
Any clients that are registered will be able to send and recieve events
to and from the server.
Args:
message (dict): The client message from the client who wants to
register.
... | "This function will register a particular client in the server's\n registry dictionary.\n\n Any clients that are registered will be able to send and recieve events\n to and from the server.\n\n Args:\n message (dict): The client message from the client who wants to\n regi... | 122 | false | ShadowBlip/Neteria | register | 13,164 | |
LDU_FT/mardix/Mocha/accepts_contributor_roles | LDU_FT | [
"<BEGIN>\n## `_normalize_response_tuple`",
"Helper function to normalize view return values .\n It always returns (dict, status, headers). Missing values will be None.\n For example in such cases when tuple_ is\n (dict, status), (dict, headers), (dict, status, headers),\n (dict, headers, status)",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accepts_contributor_roles 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 accepts_contributor_roles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Decorator that accepts only contributor roles
:param func:
:return: | "Decorator that accepts only contributor roles\n :param func:\n :return:" | 276 | false | mardix/Mocha | accepts_contributor_roles | 13,165 | |
LDU_FT/rduplain/jeni-python/lookup | LDU_FT | [
"<BEGIN>\n## `see_doc`",
"Copy docstring from existing object to the decorated callable.\n<END>",
"<BEGIN>\n## `class_in_progress`",
"True if currently inside a class definition, else False.\n<END>",
"<BEGIN>\n## `get`",
"Get initial yield value, or result of send(name) if name given.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API.
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 lookup API.
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 ... | Look up note in registered annotations, walking class tree. | "Look up note in registered annotations, walking class tree." | 91 | false | rduplain/jeni-python | lookup | 13,166 | |
LDU_FT/cga-harvard/Hypermap-Registry/parse_datetime_range | LDU_FT | [
"<BEGIN>\n## `update_schema`",
"set the mapping in solr.\n :param catalog: core\n :return:\n<END>",
"<BEGIN>\n## `create_layer_from_metadata_xml`",
"Create a layer / keyword list from a metadata record if it does not already exist.\n<END>",
"<BEGIN>\n## `create_service_from_endpoint`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_datetime_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_datetime_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parse the url param to python objects.
From what time range to divide by a.time.gap into intervals.
Defaults to q.time and otherwise 90 days.
Validate in API: re.search("\\[(.*) TO (.*)\\]", value)
:param time_filter: [2013-03-01 TO 2013-05-01T00:00:00]
:return: datetime.datetime(2013, 3, 1, 0, 0), ... | "Parse the url param to python objects.\n From what time range to divide by a.time.gap into intervals.\n Defaults to q.time and otherwise 90 days.\n Validate in API: re.search(\"\\\\[(.*) TO (.*)\\\\]\", value)\n :param time_filter: [2013-03-01 TO 2013-05-01T00:00:00]\n :return: datetime.datetime(2013, 3... | 132 | false | cga-harvard/Hypermap-Registry | parse_datetime_range | 13,167 | |
LDU_FT/monarch-initiative/dipper/main | LDU_FT | [
"<BEGIN>\n## `_process_phenotype_hpoa`",
"see info on format here:\n http://www.human-phenotype-ontology.org/contao/index.php/annotation-guide.html",
" :param raw:\n :param limit:\n :return:\n<END>",
"<BEGIN>\n## `get_common_files`",
"Fetch the hpo-annotation-data\n [repos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Collapse results of scrape-impc.py and manual mappings from impc_procedures.yaml
Note the manual map exists due to some procedures being served as pdf and not
parsable by our web scraper. There are also duplicate pages for certain iDs,
for example:
{"JAX_LDT_001": "https://www.mousephenotype.org/impres... | "Collapse results of scrape-impc.py and manual mappings from impc_procedures.yaml\n Note the manual map exists due to some procedures being served as pdf and not\n parsable by our web scraper. There are also duplicate pages for certain iDs,\n for example:\n {\"JAX_LDT_001\": \"https://www.mousephenotype.or... | 848 | false | monarch-initiative/dipper | main | 13,168 | |
LDU_FT/holtjma/msbwt/mergeNewSeqs | LDU_FT | [
"<BEGIN>\n## `extendSeed`",
"This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mergeNewSeqs API.
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 mergeNewSeqs API.
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... | This function takes a series of sequences and creates a big BWT by merging the smaller ones
Mostly a test function, no real purpose to the tool as of now
@param seqArray - a list of '$'-terminated strings to be placed into the array
@param mergedFN - the final destination filename for the merged BWT
@p... | "This function takes a series of sequences and creates a big BWT by merging the smaller ones \n Mostly a test function, no real purpose to the tool as of now\n @param seqArray - a list of '$'-terminated strings to be placed into the array\n @param mergedFN - the final destination filename for the merged BWT\n ... | 84 | false | holtjma/msbwt | mergeNewSeqs | 13,169 | |
LDU_FT/juanifioren/django-oidc-provider/protected_resource_view | LDU_FT | [
"<BEGIN>\n## `userinfo`",
"Create a dictionary with all the requested claims about the End-User.\n See: http://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse",
" Return a dictionary.\n<END>",
"<BEGIN>\n## `create_response_dic`",
"Generate the dic that will be jsonify. Checking scopes g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the protected_resource_view 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 protected_resource_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | View decorator. The client accesses protected resources by presenting the
access token to the resource server.
https://tools.ietf.org/html/rfc6749#section-7 | "View decorator. The client accesses protected resources by presenting the\n access token to the resource server.\n https://tools.ietf.org/html/rfc6749#section-7" | 60 | false | juanifioren/django-oidc-provider | protected_resource_view | 13,170 | |
LDU_FT/drericstrong/pyedna/HistAppendValues | LDU_FT | [
"<BEGIN>\n## `write_relationships`",
"This module will output the eDNA tags which are used inside each\n calculation.",
" If flat=True, data will be written flat, like:\n ADE1CA01, ADE1PI01, ADE1PI02",
" If flat=False, data will be written in the non-flat way, like:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HistAppendValues API.
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 HistAppendValues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Appends a value to an eDNA history service. Take very careful note of the
following required parameters. Any deviation from this exact format WILL
cause the function to fail.
This function will append values to history, only if they are LATER than
the current time of the last written data point. I... | "Appends a value to an eDNA history service. Take very careful note of the\r\n following required parameters. Any deviation from this exact format WILL\r\n cause the function to fail.\r\n\r\n This function will append values to history, only if they are LATER than\r\n the current time of the last written da... | 70 | false | drericstrong/pyedna | HistAppendValues | 13,171 | |
LDU_FT/MoseleyBioinformaticsLab/ctfile/default | LDU_FT | [
"<BEGIN>\n## `tokenizer`",
"A lexical analyzer for the `CTfile` formatted files.",
" :param str text: `CTfile` formatted text.\n :return: Tuples of data.\n :rtype: py:class:`~collections.namedtuple`\n<END>",
"<BEGIN>\n## `_molfile`",
"Process ``Molfile``.",
" :param stream: Queue containing li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Default encoder.
:param o: Atom or Bond instance.
:type o: :class:`~ctfile.ctfile.Atom` or :class:`~ctfile.ctfile.Bond`.
:return: Dictionary that contains information required for atom and bond block of ``Ctab``.
:rtype: :py:class:`collections.OrderedDict` | "Default encoder.\n\n :param o: Atom or Bond instance.\n :type o: :class:`~ctfile.ctfile.Atom` or :class:`~ctfile.ctfile.Bond`.\n :return: Dictionary that contains information required for atom and bond block of ``Ctab``.\n :rtype: :py:class:`collections.OrderedDict`" | 93 | false | MoseleyBioinformaticsLab/ctfile | default | 13,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.