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/omnisci/mapd-core/get_mem_usage | LDU_FT | [
"<BEGIN>\n## `get_connection`",
"Connects to the db using pymapd\n https://pymapd.readthedocs.io/en/latest/usage.html#connecting",
" Kwargs:\n db_user(str): DB username\n db_passwd(str): DB password\n db_server(str): DB host\n db_port(int): DB port\n db_name(str): DB... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mem_usage API.
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 get_mem_usage API.
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... | Calculates memory statistics from mapd_server _client.get_memory call
Kwargs:
con(class 'pymapd.connection.Connection'): Mapd connection
mem_type(str): [gpu, cpu] Type of memory to gather metrics for
Returns:
ramusage(dict):::
usedram(float): Amount of memory (in MB) used... | "Calculates memory statistics from mapd_server _client.get_memory call\n\n Kwargs:\n con(class 'pymapd.connection.Connection'): Mapd connection\n mem_type(str): [gpu, cpu] Type of memory to gather metrics for\n\n Returns:\n ramusage(dict):::\n usedram(float): Amount of memory (in... | 31 | false | omnisci/mapd-core | get_mem_usage | 26,873 | |
LDU_FT/marcomusy/vtkplotter/removeOutliers | LDU_FT | [
"<BEGIN>\n## `add_particle`",
"Adds a new particle with specified properties (in SI units)\n<END>",
"<BEGIN>\n## `simulate`",
"Runs the particle simulation. Simulates one time step, dt, of the particle motion.\n Calculates the force between each pair of particles and updates particles' motion accor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removeOutliers API.
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 removeOutliers API.
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... | Remove outliers from a cloud of points within the specified `radius` search.
.. hint:: |clustering| |clustering.py|_ | "Remove outliers from a cloud of points within the specified `radius` search.\n\n .. hint:: |clustering| |clustering.py|_" | 801 | false | marcomusy/vtkplotter | removeOutliers | 26,874 | |
LDU_FT/opencobra/memote/degrees_of_freedom | LDU_FT | [
"<BEGIN>\n## `validate`",
"Use a defined schema to validate the medium table format.\n<END>",
"<BEGIN>\n## `apply`",
"Set the defined medium on the given model.\n<END>",
"<BEGIN>\n## `find_transported_elements`",
"Return a dictionary showing the amount of transported elements of a rxn.",
" Collects t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the degrees_of_freedom 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 degrees_of_freedom 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 degrees of freedom, i.e., number of "free variables".
Parameters
----------
model : cobra.Model
The metabolic model under investigation.
Notes
-----
This specifically refers to the dimensionality of the (right) null space
of the stoichiometric matrix, as dim(Null(S)) cor... | "Return the degrees of freedom, i.e., number of \"free variables\".\n\n Parameters\n ----------\n model : cobra.Model\n The metabolic model under investigation.\n\n Notes\n -----\n This specifically refers to the dimensionality of the (right) null space\n of the stoichiometric matrix, as dim... | 508 | false | opencobra/memote | degrees_of_freedom | 26,875 | |
LDU_FT/cbrand/vpnchooser/id_from_url | LDU_FT | [
"<BEGIN>\n## `check`",
"Checks the given password with the one stored\n in the database\n<END>",
"<BEGIN>\n## `connect`",
"Connects the client to the server and\n returns it.\n<END>",
"<BEGIN>\n## `server_rules`",
"Reads the server rules from the client\n and returns it.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id_from_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id_from_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parses an object and tries to extract a url.
Tries to parse if a resource_url has been given
it as a url.
:raise ValueError: If no id could be extracted. | "Parses an object and tries to extract a url.\n Tries to parse if a resource_url has been given\n it as a url.\n :raise ValueError: If no id could be extracted." | 38 | false | cbrand/vpnchooser | id_from_url | 26,876 | |
LDU_FT/bloomberg/bqplot/scales | LDU_FT | [
"<BEGIN>\n## `register_mark`",
"Returns a decorator registering a mark class in the mark type registry.",
" If no key is provided, the class name is used as a key. A key is provided\n for each core bqplot mark so that the frontend can use\n this key regardless of the kernel language.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scales API.
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 scales API.
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 ... | Creates and switches between context scales.
If no key is provided, a new blank context is created.
If a key is provided for which a context already exists, the existing
context is set as the current context.
If a key is provided and no corresponding context exists, a new context is
created for t... | "Creates and switches between context scales.\n\n If no key is provided, a new blank context is created.\n\n If a key is provided for which a context already exists, the existing\n context is set as the current context.\n\n If a key is provided and no corresponding context exists, a new context is\n crea... | 142 | false | bloomberg/bqplot | scales | 26,877 | |
LDU_FT/farshidce/touchworks-python/save_note | LDU_FT | [
"<BEGIN>\n## `get_token`",
"get the security token by connecting to TouchWorks API\n<END>",
"<BEGIN>\n## `_token_valid`",
"checks if the token cached is valid or has expired by comparing\n the time token was created with current time\n :return: True if token has not expired yet and False is toke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_note API.
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 save_note API.
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... | invokes TouchWorksMagicConstants.ACTION_SAVE_NOTE action
:return: JSON response | "invokes TouchWorksMagicConstants.ACTION_SAVE_NOTE action\n :return: JSON response" | 72 | false | farshidce/touchworks-python | save_note | 26,878 | |
LDU_FT/eaton-lab/toytree/update_fixed_order | LDU_FT | [
"<BEGIN>\n## `_translate_nodes`",
"Convert node names into node instances...\n<END>",
"<BEGIN>\n## `add_child`",
"Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.",
" Parameters\n ----------",
" child: \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_fixed_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_fixed_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | after pruning fixed order needs update to match new nnodes/ntips. | "after pruning fixed order needs update to match new nnodes/ntips." | 332 | false | eaton-lab/toytree | update_fixed_order | 26,879 | |
LDU_FT/ooici/elasticpy/field | LDU_FT | [
"<BEGIN>\n## `ids`",
"http://www.elasticsearch.org/guide/reference/query-dsl/ids-filter.html\nFilters documents that only have the provided ids. Note, this filter does not require the _id field to be indexed since it works using the _uid field.\n<END>",
"<BEGIN>\n## `geo_bounding_box`",
"http://www.elasticsea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field API.
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 field API.
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... | A query that executes a query string against a specific field. It is a simplified version of query_string query (by setting the default_field to the field this query executed against). In its simplest form:
{
"field" : {
"name.first" : "+something -else"
}
}
... | "A query that executes a query string against a specific field. It is a simplified version of query_string query (by setting the default_field to the field this query executed against). In its simplest form:\n\n {\n \"field\" : {\n \"name.first\" : \"+something -else\"\n }\n ... | 89 | false | ooici/elasticpy | field | 26,880 | |
LDU_FT/wickerwaka/russound_rio/get_cached_source_variable | LDU_FT | [
"<BEGIN>\n## `_retrieve_cached_zone_variable`",
"Retrieves the cache state of the named variable for a particular\n zone. If the variable has not been cached then the UncachedVariable\n exception is raised.\n<END>",
"<BEGIN>\n## `_store_cached_zone_variable`",
"Stores the current known value of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cached_source_variable 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_cached_source_variable 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 cached value of a source variable. If the variable is not
cached return the default value. | "Get the cached value of a source variable. If the variable is not\n cached return the default value." | 24 | false | wickerwaka/russound_rio | get_cached_source_variable | 26,881 | |
LDU_FT/NLeSC/scriptcwl/add_inputs | LDU_FT | [
"<BEGIN>\n## `load_steps`",
"Return a dictionary containing Steps read from file.",
" Args:\n steps_dir (str, optional): path to directory containing CWL files.\n step_file (str, optional): path or http(s) url to a single CWL file.\n step_list (list, optional): a list of directories, url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_inputs API.
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 add_inputs API.
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... | Deprecated function, use add_input(self, **kwargs) instead.
Add workflow input.
Args:
kwargs (dict): A dict with a `name: type` item
and optionally a `default: value` item, where name is the
name (id) of the workflow input (e.g., `dir_in`) and type is
... | "Deprecated function, use add_input(self, **kwargs) instead.\n Add workflow input.\n\n Args:\n kwargs (dict): A dict with a `name: type` item\n and optionally a `default: value` item, where name is the\n name (id) of the workflow input (e.g., `dir_in`) and type is\... | 85 | false | NLeSC/scriptcwl | add_inputs | 26,882 | |
LDU_FT/bitcraft/PyTMX/parse_xml | LDU_FT | [
"<BEGIN>\n## `default_image_loader`",
"This default image loader just returns filename, rect, and any flags\n<END>",
"<BEGIN>\n## `decode_gid`",
"Decode a GID from TMX data",
" as of 0.7.0 it determines if the tile should be flipped when rendered\n as of 0.8.0 bit 30 determines if GID is rotated",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API.
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 parse_xml API.
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... | Parse a Tile Layer from ElementTree xml node
:param node: ElementTree xml node
:return: self | "Parse a Tile Layer from ElementTree xml node\n\n :param node: ElementTree xml node\n :return: self" | 134 | false | bitcraft/PyTMX | parse_xml | 26,883 | |
LDU_FT/stevearc/dql/create_keys_in | LDU_FT | [
"<BEGIN>\n## `field_or_value`",
"For a clause that could be a field or value,\n create the right one and return it\n<END>",
"<BEGIN>\n## `from_where`",
"Factory method for creating the top-level expression\n<END>",
"<BEGIN>\n## `_factory`",
"Factory for joining constraints with a single conjunction\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_keys_in API.
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 create_keys_in API.
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... | Create a grammer for the 'KEYS IN' clause used for queries | "Create a grammer for the 'KEYS IN' clause used for queries" | 157 | false | stevearc/dql | create_keys_in | 26,884 | |
LDU_FT/notifiers/notifiers/get | 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 get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Send a GET request. Returns a dict or :class:`requests.Response <Response>` | "Send a GET request. Returns a dict or :class:`requests.Response <Response>`" | 95 | false | notifiers/notifiers | get | 26,885 | |
LDU_FT/dpa-newslab/livebridge/filter_new_posts | LDU_FT | [
"<BEGIN>\n## `_db`",
"Database client for accessing storage.",
" :returns: :class:`livebridge.storages.base.BaseStorage`\n<END>",
"<BEGIN>\n## `filter_new_posts`",
"Filters ist of post_id for new ones.",
" :param source_id: id of the source\n :type string:\n :param post_ids:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_new_posts API.
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 filter_new_posts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Filters ist of post_id for new ones.
:param source_id: id of the source
:type string:
:param post_ids: list of post ids
:type list:
:returns: list of unknown post ids. | "Filters ist of post_id for new ones.\n\n :param source_id: id of the source\n :type string:\n :param post_ids: list of post ids\n :type list:\n :returns: list of unknown post ids." | 21 | false | dpa-newslab/livebridge | filter_new_posts | 26,886 | |
LDU_FT/smdabdoub/phylotoast/load_core_file | LDU_FT | [
"<BEGIN>\n## `sample_group`",
"Iterate through all categories in an OrderedDict and return category name if SampleID\n present in that category.",
" :type sid: str\n :param sid: SampleID from dataset.",
" :type groups: OrderedDict\n :param groups: Returned dict from phylotoast.util.gather_categ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_core_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_core_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | For core OTU data file, returns Genus-species identifier for each data
entry.
:type core_fp: str
:param core_fp: A file containing core OTU data.
:rtype: str
:return: Returns genus-species identifier based on identified taxonomical
level. | "For core OTU data file, returns Genus-species identifier for each data\n entry.\n :type core_fp: str\n :param core_fp: A file containing core OTU data.\n :rtype: str\n :return: Returns genus-species identifier based on identified taxonomical\n level." | 200 | false | smdabdoub/phylotoast | load_core_file | 26,887 | |
LDU_FT/lobocv/crashreporter/disable | LDU_FT | [
"<BEGIN>\n## `setup_smtp`",
"Set up the crash reporter to send reports via email using SMTP",
" :param host: SMTP host\n :param port: SMTP port\n :param user: sender email address\n :param passwd: sender email password\n :param recipients: list or comma separated string of rec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable API.
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 disable API.
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... | Disable the crash reporter. No reports will be sent or saved. | "Disable the crash reporter. No reports will be sent or saved." | 59 | false | lobocv/crashreporter | disable | 26,888 | |
LDU_FT/hootnot/postcode-api-wrapper/translate_addresstype | LDU_FT | [
"<BEGIN>\n## `translate_addresstype`",
"decorator to translate the addressType field.",
" translate the value of the addressType field of the API response into a\n translated type.\n<END>",
"<BEGIN>\n## `translate_purposes`",
"decorator to translate the purposes field.",
" translate the values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_addresstype 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 translate_addresstype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | decorator to translate the addressType field.
translate the value of the addressType field of the API response into a
translated type. | "decorator to translate the addressType field.\n\n translate the value of the addressType field of the API response into a\n translated type." | 20 | false | hootnot/postcode-api-wrapper | translate_addresstype | 26,889 | |
LDU_FT/ArabellaTech/django-basic-cms/import_po_files | LDU_FT | [
"<BEGIN>\n## `move_page`",
"Move the page to the requested target, at the given\n position.\n<END>",
"<BEGIN>\n## `sub_menu`",
"Render the children of the requested page with the sub_menu\n template.\n<END>",
"<BEGIN>\n## `parse_placeholder`",
"Parse the `PlaceholderNode` parameters.",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_po_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_po_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Import all the content updates from the po files into
the pages. | "Import all the content updates from the po files into\n the pages." | 91 | false | ArabellaTech/django-basic-cms | import_po_files | 26,890 | |
LDU_FT/PythonRails/rails/get_action_handler | LDU_FT | [
"<BEGIN>\n## `_load_controllers`",
"Load all controllers from folder 'controllers'.",
" Ignore files with leading underscore (for example: controllers/_blogs.py)\n<END>",
"<BEGIN>\n## `get_action_handler`",
"Return action of controller as callable.",
" If requested controller isn't found - r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_action_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_action_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.
Th... | Return action of controller as callable.
If requested controller isn't found - return 'not_found' action
of requested controller or Index controller. | "Return action of controller as callable.\n\n If requested controller isn't found - return 'not_found' action\n of requested controller or Index controller." | 21 | false | PythonRails/rails | get_action_handler | 26,891 | |
LDU_FT/daler/gffutils/from_seqfeature | LDU_FT | [
"<BEGIN>\n## `to_bedtool`",
"Convert any iterator into a pybedtools.BedTool object.",
" Note that the supplied iterator is not consumed by this function. To save\n to a temp file or to a known location, use the `.saveas()` method of the\n returned BedTool object.\n<END>",
"<BEGIN>\n## `tsses`",
"Cr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_seqfeature API.
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 from_seqfeature API.
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... | Converts a Bio.SeqFeature object to a gffutils.Feature object.
The GFF fields `source`, `score`, `seqid`, and `frame` are assumed to be
stored as qualifiers. Any other qualifiers will be assumed to be GFF
attributes. | "Converts a Bio.SeqFeature object to a gffutils.Feature object.\n\n The GFF fields `source`, `score`, `seqid`, and `frame` are assumed to be\n stored as qualifiers. Any other qualifiers will be assumed to be GFF\n attributes." | 366 | false | daler/gffutils | from_seqfeature | 26,892 | |
LDU_FT/rrwen/search_google/get_values | LDU_FT | [
"<BEGIN>\n## `run`",
"Runs the search_google command line tool.",
" This function runs the search_google command line tool \n in a terminal. It was intended for use inside a py file \n (.py) to be executed using python.",
" Notes:\n * ``[q]`` reflects key ``q`` in the ``cseargs`` parameter for :class:`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get a list of values from the key value metadata attribute.
Args:
k (str):
Key in :class:`api.results`.metadata
v (str):
Values from each item in the key of :class:`api.results`.metadata
Returns:
A list containing all the ``v`` values in the ``k`` key for the :class:... | "Get a list of values from the key value metadata attribute.\n \n Args:\n k (str):\n Key in :class:`api.results`.metadata\n v (str):\n Values from each item in the key of :class:`api.results`.metadata\n \n Returns:\n A list containing all the ``v`` values in the ``k`` key for th... | 31 | false | rrwen/search_google | get_values | 26,893 | |
LDU_FT/andychase/reparse/check_expression | LDU_FT | [
"<BEGIN>\n## `separate_string`",
">>> separate_string(\"test <2>\")\n (['test ', ''], ['2'])\n<END>",
"<BEGIN>\n## `overlapping`",
">>> overlapping(0, 5, 6, 7)\n False\n >>> overlapping(1, 2, 0, 4)\n True\n >>> overlapping(5,6,0,5)\n False\n<END>",
"<BEGIN>\n## `remove_lower_overlapping`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_expression API.
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 check_expression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | >>> class mock_framework:
... def assertIn(self, item, list, msg="Failed asserting item is in list"):
... if item not in list: raise Exception(msg)
... def assertTrue(self, value, msg="Failed asserting true"):
... if not value: raise Exception(msg)
... def assertFalse(self, value, msg)... | ">>> class mock_framework:\n ... def assertIn(self, item, list, msg=\"Failed asserting item is in list\"):\n ... if item not in list: raise Exception(msg)\n ... def assertTrue(self, value, msg=\"Failed asserting true\"):\n ... if not value: raise Exception(msg)\n ... def assertFalse(self, v... | 23 | false | andychase/reparse | check_expression | 26,894 | |
LDU_FT/kyper-data/python-highcharts/is_js_date_utc | LDU_FT | [
"<BEGIN>\n## `jsonp_loader`",
"jsonp_loader is to request (JSON) data from a server in a different domain (JSONP) \n and covert to python readable data. \n 1. url is the url (https) where data is located\n 2. \"prefix_regex\" and \"suffix_regex\" are regex patterns used to \n remove JSONP specific... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_js_date_utc API.
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 is_js_date_utc API.
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... | Check if the string contains Date.UTC function
and return match group(s) if there is | "Check if the string contains Date.UTC function \n and return match group(s) if there is" | 34 | false | kyper-data/python-highcharts | is_js_date_utc | 26,895 | |
LDU_FT/SoCo/SoCo/night_mode | LDU_FT | [
"<BEGIN>\n## `_post`",
"Try 3 times to request the content.",
" :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the night_mode API.
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 night_mode API.
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... | bool: The speaker's night mode.
True if on, False if off, None if not supported. | "bool: The speaker's night mode.\n\n True if on, False if off, None if not supported." | 663 | false | SoCo/SoCo | night_mode | 26,896 | |
LDU_FT/mozillazg/python-pinyin/get_initials | LDU_FT | [
"<BEGIN>\n## `convert_zero_consonant`",
"零声母转换,还原原始的韵母",
" i行的韵母,前面没有声母的时候,写成yi(衣),ya(呀),ye(耶),yao(腰),\n you(忧),yan(烟),yin(因),yang(央),ying(英),yong(雍)。",
" u行的韵母,前面没有声母的时候,写成wu(乌),wa(蛙),wo(窝),wai(歪),\n wei(威),wan(弯),wen(温),wang(汪),weng(翁)。",
" ü行的韵母,前面没有声母的时候,写成yu(迂),yue(约),yuan(冤),\n yun(晕... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_initials API.
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_initials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | 获取单个拼音中的声母.
:param pinyin: 单个拼音
:type pinyin: unicode
:param strict: 是否严格遵照《汉语拼音方案》来处理声母和韵母
:return: 声母
:rtype: unicode | "获取单个拼音中的声母.\n\n :param pinyin: 单个拼音\n :type pinyin: unicode\n :param strict: 是否严格遵照《汉语拼音方案》来处理声母和韵母\n :return: 声母\n :rtype: unicode" | 75 | false | mozillazg/python-pinyin | get_initials | 26,897 | |
LDU_FT/danielfrg/datasciencebox/to_list | LDU_FT | [
"<BEGIN>\n## `managed`",
"Create and install python requirements in a conda enviroment\n pip is installed by default in the new enviroment",
" name : path to the enviroment to be created\n packages : None\n single package or list of packages to install i.e. numpy, scipy=0.13.3, pandas\n requi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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... | To a list of dicts (each dict is an instances) | "To a list of dicts (each dict is an instances)" | 45 | false | danielfrg/datasciencebox | to_list | 26,898 | |
LDU_FT/sorgerlab/indra/_assemble_modification | LDU_FT | [
"<BEGIN>\n## `group_and_sort_statements`",
"Group statements by type and arguments, and sort by prevalence.",
" Parameters\n ----------\n stmt_list : list[Statement]\n A list of INDRA statements.\n ev_totals : dict{int: int}\n A dictionary, keyed by statement hash (shallow) with counts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _assemble_modification 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 _assemble_modification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Assemble Modification statements into text. | "Assemble Modification statements into text." | 2,493 | true | sorgerlab/indra | _assemble_modification | 26,899 | |
LDU_FT/yamcs/yamcs-python/list_services | LDU_FT | [
"<BEGIN>\n## `verification_events`",
"Events related to command verification.",
" :type: List[:class:`.CommandHistoryEvent`]\n<END>",
"<BEGIN>\n## `events`",
"All events.",
" :type: List[:class:`.CommandHistoryEvent`]\n<END>",
"<BEGIN>\n## `generation_time`",
"The generation time as set ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_services API.
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 list_services API.
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... | List the services for an instance.
:param str instance: A Yamcs instance name.
:rtype: ~collections.Iterable[.Service] | "List the services for an instance.\n\n :param str instance: A Yamcs instance name.\n :rtype: ~collections.Iterable[.Service]" | 402 | false | yamcs/yamcs-python | list_services | 26,900 | |
LDU_FT/kmike/port-for/_write_unassigned_ranges | LDU_FT | [
"<BEGIN>\n## `_write_unassigned_ranges`",
"Downloads ports data from IANA & Wikipedia and converts\n it to a python module. This function is used to generate _ranges.py.\n<END>",
"<BEGIN>\n## `_unassigned_ports`",
"Returns a set of all unassigned ports (according to IANA and Wikipedia)\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_unassigned_ranges 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 _write_unassigned_ranges API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Downloads ports data from IANA & Wikipedia and converts
it to a python module. This function is used to generate _ranges.py. | "Downloads ports data from IANA & Wikipedia and converts\n it to a python module. This function is used to generate _ranges.py." | 31 | false | kmike/port-for | _write_unassigned_ranges | 26,901 | |
LDU_FT/Microsoft/azure-devops-python-api/restore_scoped_package_version_from_recycle_bin | LDU_FT | [
"<BEGIN>\n## `create_attachment`",
"CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore_scoped_package_version_from_recycle_bin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore_scoped_package_version_from_recycle_bin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ... | RestoreScopedPackageVersionFromRecycleBin.
[Preview API] Restore a package version with an npm scope from the recycle bin to its feed.
:param :class:`<NpmRecycleBinPackageVersionDetails> <azure.devops.v5_0.npm.models.NpmRecycleBinPackageVersionDetails>` package_version_details:
:param str feed_i... | "RestoreScopedPackageVersionFromRecycleBin.\n [Preview API] Restore a package version with an npm scope from the recycle bin to its feed.\n :param :class:`<NpmRecycleBinPackageVersionDetails> <azure.devops.v5_0.npm.models.NpmRecycleBinPackageVersionDetails>` package_version_details:\n :param str fe... | 1,304 | true | Microsoft/azure-devops-python-api | restore_scoped_package_version_from_recycle_bin | 26,902 | |
LDU_FT/aktaylor08/RosbagPandas/get_bag_info | LDU_FT | [
"<BEGIN>\n## `buildParser`",
"Builds the parser for reading the command line arguments\n<END>",
"<BEGIN>\n## `parse_series_args`",
"Return which topics and which field keys need to be examined\n for plotting\n<END>",
"<BEGIN>\n## `bag_to_dataframe`",
"Read in a rosbag file and create a pandas data fram... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bag_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bag_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get uamle dict of the bag information
by calling the subprocess -- used to create correct sized
arrays | "Get uamle dict of the bag information\n by calling the subprocess -- used to create correct sized\n arrays" | 28 | false | aktaylor08/RosbagPandas | get_bag_info | 26,903 | |
LDU_FT/milesrichardson/ParsePy/master_key_required | LDU_FT | [
"<BEGIN>\n## `master_key_required`",
"decorator describing methods that require the master key\n<END>",
"<BEGIN>\n## `execute`",
"if batch == False, execute a command with the given parameters and\n return the response JSON.\n If batch == True, return the dictionary that would be used in a batch... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the master_key_required API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the master_key_required API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | decorator describing methods that require the master key | "decorator describing methods that require the master key" | 22 | false | milesrichardson/ParsePy | master_key_required | 26,904 | |
LDU_FT/mkouhei/tonicdnscli/parse_delete | LDU_FT | [
"<BEGIN>\n## `check_infile`",
"Check text file exisitense.",
" Argument:",
" filename: text file of bulk updating\n<END>",
"<BEGIN>\n## `set_json`",
"Convert text file to JSON.",
" Arguments:",
" domain: domain name of updating target\n action: True ; for PUT/POST HTTP m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Delete record.
Arguments:
prs: parser object of argparse
conn: dictionary of connection information | "Delete record.\n\n Arguments:\n\n prs: parser object of argparse\n conn: dictionary of connection information" | 192 | false | mkouhei/tonicdnscli | parse_delete | 26,905 | |
LDU_FT/pinterest/pymemcache/get | LDU_FT | [
"<BEGIN>\n## `murmur3_32`",
"MurmurHash3 was written by Austin Appleby, and is placed in the\n public domain. The author hereby disclaims copyright to this source\n code.\n<END>",
"<BEGIN>\n## `_readline`",
"Read line of text from the socket.",
" Read a line of text (delimited by \"\\r\\n\") ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | The memcached "get" command, but only for one key, as a convenience.
Args:
key: str, see class docs for details.
default: value that will be returned if the key was not found.
Returns:
The value for the key, or default if the key wasn't found. | "The memcached \"get\" command, but only for one key, as a convenience.\n\n Args:\n key: str, see class docs for details.\n default: value that will be returned if the key was not found.\n\n Returns:\n The value for the key, or default if the key wasn't found." | 89 | false | pinterest/pymemcache | get | 26,906 | |
LDU_FT/empymod/empymod/get_layer_nr | LDU_FT | [
"<BEGIN>\n## `check_ab`",
"r\"\"\"Check source-receiver configuration.",
" This check-function is called from one of the modelling routines in\n :mod:`model`. Consult these modelling routines for a detailed description\n of the input parameters.",
" Parameters\n ----------\n ab : int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_layer_nr API.
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_layer_nr API.
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... | r"""Get number of layer in which inp resides.
Note:
If zinp is on a layer interface, the layer above the interface is chosen.
This check-function is called from one of the modelling routines in
:mod:`model`. Consult these modelling routines for a detailed description
of the input parameters.
... | "r\"\"\"Get number of layer in which inp resides.\n\n Note:\n If zinp is on a layer interface, the layer above the interface is chosen.\n\n This check-function is called from one of the modelling routines in\n :mod:`model`. Consult these modelling routines for a detailed description\n of the input param... | 570 | false | empymod/empymod | get_layer_nr | 26,907 | |
LDU_FT/danpaquin/coinbasepro-python/close_position | LDU_FT | [
"<BEGIN>\n## `get_account_history`",
"List account activity. Account activity either increases or\n decreases your account balance.",
" Entry type indicates the reason for the account change.\n * transfer:\tFunds moved to/from Coinbase to cbpro\n * match:\tFunds moved as a result of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close_position API.
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 close_position API.
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... | Close position.
Args:
repay_only (bool): Undocumented by cbpro.
Returns:
Undocumented | "Close position.\n\n Args:\n repay_only (bool): Undocumented by cbpro.\n\n Returns:\n Undocumented" | 127 | false | danpaquin/coinbasepro-python | close_position | 26,908 | |
LDU_FT/jaraco/hgtools/as_number | LDU_FT | [
"<BEGIN>\n## `file_finder`",
"Find the files in ``dirname`` under Mercurial version control\n\taccording to the setuptools spec (see\n\thttp://peak.telecommunity.com/DevCenter/setuptools#adding-support-for-other-revision-control-systems\n\t).\n<END>",
"<BEGIN>\n## `patch_egg_info`",
"A hack to replace egg_inf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_number API.
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 as_number API.
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... | >>> round(SummableVersion('1.9.3').as_number(), 12)
1.93 | ">>> round(SummableVersion('1.9.3').as_number(), 12)\n\t\t1.93" | 50 | false | jaraco/hgtools | as_number | 26,909 | |
LDU_FT/GibbsConsulting/django-plotly-dash/dash_example_1_view | LDU_FT | [
"<BEGIN>\n## `find_stateless_by_name`",
"Find stateless app given its name",
" First search the Django ORM, and if not found then look the app up in a local registry.\n If the app does not have an ORM entry then a StatelessApp model instance is created.\n<END>",
"<BEGIN>\n## `as_dash_app`",
"Return a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dash_example_1_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dash_example_1_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.
T... | Example view that inserts content into the dash context passed to the dash application | "Example view that inserts content into the dash context passed to the dash application" | 96 | false | GibbsConsulting/django-plotly-dash | dash_example_1_view | 26,910 | |
LDU_FT/audreyr/cookiecutter/read_user_yes_no | LDU_FT | [
"<BEGIN>\n## `expand_abbreviations`",
"Expand abbreviations in a template name.",
" :param template: The project template name.\n :param abbreviations: Abbreviation definitions.\n<END>",
"<BEGIN>\n## `repository_has_cookiecutter_json`",
"Determine if `repo_directory` contains a `cookiecutter.json` fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_user_yes_no API.
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 read_user_yes_no API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Prompt the user to reply with 'yes' or 'no' (or equivalent values).
Note:
Possible choices are 'true', '1', 'yes', 'y' or 'false', '0', 'no', 'n'
:param str question: Question to the user
:param default_value: Value that will be returned if no input happens | "Prompt the user to reply with 'yes' or 'no' (or equivalent values).\n\n Note:\n Possible choices are 'true', '1', 'yes', 'y' or 'false', '0', 'no', 'n'\n\n :param str question: Question to the user\n :param default_value: Value that will be returned if no input happens" | 129 | false | audreyr/cookiecutter | read_user_yes_no | 26,911 | |
LDU_FT/flaviogrossi/sockjs-cyclone/send_jsonified | LDU_FT | [
"<BEGIN>\n## `enable_cache`",
"Enable client-side caching for the current request\n<END>",
"<BEGIN>\n## `flush`",
"Add accumulator to the moving average queue and reset it. For\n example, called by the StatsCollector once per second to calculate\n per-second average.\n<END>",
"<BEGIN>\n## `cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_jsonified API.
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 send_jsonified API.
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... | Send JSON-encoded message
@param msg: JSON encoded string to send
@param stats: If set to True, will update statistics after operation
completes | "Send JSON-encoded message\n\n @param msg: JSON encoded string to send\n @param stats: If set to True, will update statistics after operation\n completes" | 56 | false | flaviogrossi/sockjs-cyclone | send_jsonified | 26,912 | |
LDU_FT/apache/incubator-superset/send_email_smtp | LDU_FT | [
"<BEGIN>\n## `new`",
"Creates a new, blank dashboard and redirects to it in edit mode\n<END>",
"<BEGIN>\n## `import_datasource`",
"Imports the datasource from the object to the database.",
" Metrics and columns and datasource will be overrided if exists.\n This function can be used to import/export ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_email_smtp API.
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 send_email_smtp API.
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... | Send an email with html content, eg:
send_email_smtp(
'test@example.com', 'foo', '<b>Foo</b> bar',['/dev/null'], dryrun=True) | "Send an email with html content, eg:\n send_email_smtp(\n 'test@example.com', 'foo', '<b>Foo</b> bar',['/dev/null'], dryrun=True)" | 411 | false | apache/incubator-superset | send_email_smtp | 26,913 | |
LDU_FT/boriel/zxbasic/_jzerostr | LDU_FT | [
"<BEGIN>\n## `reset`",
"This is called when we need to reinitialize the instance state\n<END>",
"<BEGIN>\n## `make_node`",
"This will return a node with the symbol as a function.\n<END>",
"<BEGIN>\n## `add_string_label`",
"Maps (\"folds\") the given string, returning an unique label ID.\n This allo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _jzerostr API.
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 _jzerostr API.
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... | Jumps if top of the stack contains a NULL pointer
or its len is Zero | "Jumps if top of the stack contains a NULL pointer\n or its len is Zero" | 974 | false | boriel/zxbasic | _jzerostr | 26,914 | |
LDU_FT/mcuadros/pynats/connect | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect will attempt to connect to the NATS server. The url can\n contain username/password semantics.\n<END>",
"<BEGIN>\n## `subscribe`",
"Subscribe will express interest in the given subject. The subject can\n have wildcards (partial:*, full:>). Messages will be deliv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Connect will attempt to connect to the NATS server. The url can
contain username/password semantics. | "Connect will attempt to connect to the NATS server. The url can\n contain username/password semantics." | 17 | false | mcuadros/pynats | connect | 26,915 | |
LDU_FT/miguelgrinberg/python-socketio/_handle_eio_disconnect | LDU_FT | [
"<BEGIN>\n## `get_participants`",
"Return an iterable with the active participants in a room.\n<END>",
"<BEGIN>\n## `connect`",
"Register a client connection to a namespace.\n<END>",
"<BEGIN>\n## `pre_disconnect`",
"Put the client in the to-be-disconnected list.",
" This allows the client data st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_eio_disconnect 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 _handle_eio_disconnect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Handle the Engine.IO disconnection event. | "Handle the Engine.IO disconnection event." | 172 | false | miguelgrinberg/python-socketio | _handle_eio_disconnect | 26,916 | |
LDU_FT/xflr6/gsheets/find | LDU_FT | [
"<BEGIN>\n## `write_csv`",
"Dump rows to ``fileobj`` with the given ``encoding`` and CSV ``dialect``.\n<END>",
"<BEGIN>\n## `write_dataframe`",
"Dump ``rows`` to string buffer and load with ``pandas.read_csv()`` using ``kwargs``.\n<END>",
"<BEGIN>\n## `from_string`",
"Return a new SheetUrl instance from p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
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 find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return the first worksheet with the given title.
Args:
title(str): title/name of the worksheet to return
Returns:
WorkSheet: contained worksheet object
Raises:
KeyError: if the spreadsheet has no no worksheet with the given ``title`` | "Return the first worksheet with the given title.\n\n Args:\n title(str): title/name of the worksheet to return\n Returns:\n WorkSheet: contained worksheet object\n Raises:\n KeyError: if the spreadsheet has no no worksheet with the given ``title``" | 93 | false | xflr6/gsheets | find | 26,917 | |
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/remove | LDU_FT | [
"<BEGIN>\n## `find_location`",
"find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>",
"<BEGIN>\n## `json_2_location`",
"transform JSON obj coming f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
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 remove API.
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 ... | remove the entity from the Ariane server
:return: | "remove the entity from the Ariane server\n :return:" | 303 | false | echinopsii/net.echinopsii.ariane.community.cli.python3 | remove | 26,918 | |
LDU_FT/ryan-roemer/django-cloud-browser/is_key | LDU_FT | [
"<BEGIN>\n## `is_key`",
"Return ``True`` if result is a key object.\n<END>",
"<BEGIN>\n## `parse_bool`",
"Convert ``string`` or ``bool`` to ``bool``.\n<END>",
"<BEGIN>\n## `container_permitted`",
"Return whether or not a container is permitted.",
" :param name: Container name.\n :return: `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return ``True`` if result is a key object. | "Return ``True`` if result is a key object." | 96 | false | ryan-roemer/django-cloud-browser | is_key | 26,919 | |
LDU_FT/inveniosoftware/invenio-rest/init_config | LDU_FT | [
"<BEGIN>\n## `init_app`",
"Flask application initialization.",
" Initialize the Rate-Limiter, CORS and error handlers.",
" :param app: An instance of :class:`flask.Flask`.\n<END>",
"<BEGIN>\n## `init_config`",
"Initialize configuration.",
" .. note:: Change Flask-CORS and Flask-Limi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Initialize configuration.
.. note:: Change Flask-CORS and Flask-Limiter defaults.
:param app: An instance of :class:`flask.Flask`. | "Initialize configuration.\n\n .. note:: Change Flask-CORS and Flask-Limiter defaults.\n\n :param app: An instance of :class:`flask.Flask`." | 41 | false | inveniosoftware/invenio-rest | init_config | 26,920 | |
LDU_FT/redhat-cip/python-dciclient/file_delete | LDU_FT | [
"<BEGIN>\n## `list`",
"list(context, verbose)",
" List all tags.",
" >>> dcictl tag-list",
" :param boolean verbose: Display verbose output\n<END>",
"<BEGIN>\n## `create`",
"create(context, name)",
" Create a tag.",
" >>> dcictl tag-create [OPTIONS]",
" :param string name: Name o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | file_delete(context, id, path)
Delete a component file
>>> dcictl component-file-delete [OPTIONS]
:param string id: ID of the component to delete file [required]
:param string file_id: ID for the file to delete [required] | "file_delete(context, id, path)\n\n Delete a component file\n\n >>> dcictl component-file-delete [OPTIONS]\n\n :param string id: ID of the component to delete file [required]\n :param string file_id: ID for the file to delete [required]" | 310 | false | redhat-cip/python-dciclient | file_delete | 26,921 | |
LDU_FT/jsoa/django-formfield/decompress | LDU_FT | [
"<BEGIN>\n## `compress`",
"Return the cleaned_data of the form, everything should already be valid\n<END>",
"<BEGIN>\n## `clean`",
"Call the form is_valid to ensure every value supplied is valid\n<END>",
"<BEGIN>\n## `value_from_datadict`",
"Ensure the payload is a list of values. In the case of a sub\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress API.
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 decompress API.
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... | Retreieve each field value or provide the initial values | "Retreieve each field value or provide the initial values" | 11 | false | jsoa/django-formfield | decompress | 26,922 | |
LDU_FT/ladybug-tools/uwg/procMat | LDU_FT | [
"<BEGIN>\n## `solarcalcs`",
"Solar Calculation\n Mutates RSM, BEM, and UCM objects based on following parameters:\n UCM # Urban Canopy - Building Energy Model object\n BEM # Building Energy Model object\n simTime # Simulation time bbject\n RSM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the procMat API.
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 procMat API.
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... | Processes material layer so that a material with single
layer thickness is divided into two and material layer that is too
thick is subdivided | "Processes material layer so that a material with single\r\n layer thickness is divided into two and material layer that is too\r\n thick is subdivided" | 53 | false | ladybug-tools/uwg | procMat | 26,923 | |
LDU_FT/NickMonzillo/SmartCloud/smart_cloud | LDU_FT | [
"<BEGIN>\n## `separate`",
"Takes text and separates it into a list of words\n<END>",
"<BEGIN>\n## `eliminate_repeats`",
"Returns a list of words that occur in the text. Eliminates stopwords.\n<END>",
"<BEGIN>\n## `wordcount`",
"Returns the count of the words in a file.\n<END>",
"<BEGIN>\n## `tuplecount`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_cloud API.
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 smart_cloud API.
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... | Creates a word cloud using the input.
Input can be a file, directory, or text.
Set exclude_words to true if you want to eliminate words that only occur once. | "Creates a word cloud using the input.\n Input can be a file, directory, or text.\n Set exclude_words to true if you want to eliminate words that only occur once." | 28 | false | NickMonzillo/SmartCloud | smart_cloud | 26,924 | |
LDU_FT/molmod/molmod/quaternion_rotation | LDU_FT | [
"<BEGIN>\n## `atom_criteria`",
"An auxiliary function to construct a dictionary of Criteria\n<END>",
"<BEGIN>\n## `_check_symbols`",
"the size must be the same as the length of the array numbers and all elements must be strings\n<END>",
"<BEGIN>\n## `from_geometry`",
"Construct a MolecularGraph object bas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quaternion_rotation 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 quaternion_rotation 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... | Apply the rotation represented by the quaternion to the vector
Warning: This only works correctly for normalized quaternions. | "Apply the rotation represented by the quaternion to the vector\n\n Warning: This only works correctly for normalized quaternions." | 657 | false | molmod/molmod | quaternion_rotation | 26,925 | |
LDU_FT/HdrHistogram/HdrHistogram_py/get_value_at_percentile | LDU_FT | [
"<BEGIN>\n## `init_counts`",
"Called after instantiating with a compressed payload\n Params:\n counts_len counts size to use based on decoded settings in the header\n<END>",
"<BEGIN>\n## `_decompress`",
"Decompress a compressed payload into this payload wrapper.\n Note that the decomp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_value_at_percentile 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_value_at_percentile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Get the value for a given percentile
Args:
percentile: a float in [0.0..100.0]
Returns:
the value for the given percentile | "Get the value for a given percentile\n\n Args:\n percentile: a float in [0.0..100.0]\n Returns:\n the value for the given percentile" | 71 | false | HdrHistogram/HdrHistogram_py | get_value_at_percentile | 26,926 | |
LDU_FT/zyga/python-glibc/get | LDU_FT | [
"<BEGIN>\n## `_get_fd`",
"Get a descriptor out of a file object.",
" :param fileobj:\n An integer (existing descriptor) or any object having the `fileno()`\n method.\n :raises ValueError:\n if the descriptor cannot be obtained or if the descriptor is invalid\n :returns:\n fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Use the masking function (``sigprocmask(2)`` or ``pthread_sigmask(3)``)
to obtain the mask of blocked signals
:returns:
A fresh :class:`sigprocmask` object.
The returned object behaves as it was constructed with the list of
currently blocked signals, ``setmask=False`` and a... | "Use the masking function (``sigprocmask(2)`` or ``pthread_sigmask(3)``)\n to obtain the mask of blocked signals\n\n :returns:\n A fresh :class:`sigprocmask` object.\n\n The returned object behaves as it was constructed with the list of\n currently blocked signals, ``setmask=False... | 106 | false | zyga/python-glibc | get | 26,927 | |
LDU_FT/django-crispy-forms/django-crispy-forms/render_field | LDU_FT | [
"<BEGIN>\n## `do_uni_form`",
"You need to pass in at least the form/formset object, and can also pass in the\n optional `crispy_forms.helpers.FormHelper` object.",
" helper (optional): A `crispy_forms.helper.FormHelper` object.",
" Usage::",
" {% load crispy_tags %}\n {% crispy form f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_field API.
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 render_field API.
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... | Renders a django-crispy-forms field
:param field: Can be a string or a Layout object like `Row`. If it's a layout
object, we call its render method, otherwise we instantiate a BoundField
and render it using default template 'CRISPY_TEMPLATE_PACK/field.html'
The field is added to a list that... | "Renders a django-crispy-forms field\n\n :param field: Can be a string or a Layout object like `Row`. If it's a layout\n object, we call its render method, otherwise we instantiate a BoundField\n and render it using default template 'CRISPY_TEMPLATE_PACK/field.html'\n The field is added to a lis... | 89 | false | django-crispy-forms/django-crispy-forms | render_field | 26,928 | |
LDU_FT/astrocatalogs/astrocats/get_aliases | LDU_FT | [
"<BEGIN>\n## `main`",
"Primary entry point for all AstroCats catalogs.",
" From this entry point, all internal catalogs can be accessed and their\n public methods executed (for example: import scripts).\n<END>",
"<BEGIN>\n## `setup_user_config`",
"Setup a configuration file in the user's home director... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_aliases API.
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_aliases API.
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... | Retrieve the aliases of this object as a list of strings.
Arguments
---------
includename : bool
Include the 'name' parameter in the list of aliases. | "Retrieve the aliases of this object as a list of strings.\n\n Arguments\n ---------\n includename : bool\n Include the 'name' parameter in the list of aliases." | 243 | false | astrocatalogs/astrocats | get_aliases | 26,929 | |
LDU_FT/digidotcom/python-wvalib/enable | LDU_FT | [
"<BEGIN>\n## `emit_event`",
"Emit the specified event (notify listeners)\n<END>",
"<BEGIN>\n## `enable`",
"Enable the stream thread",
" This operation will ensure that the thread that is responsible\n for connecting to the WVA and triggering event callbacks is started.\n This thread wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable API.
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 enable API.
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 ... | Enable the stream thread
This operation will ensure that the thread that is responsible
for connecting to the WVA and triggering event callbacks is started.
This thread will continue to run and do what it needs to do to
maintain a connection to the WVA.
The status of the thread... | "Enable the stream thread\n\n This operation will ensure that the thread that is responsible\n for connecting to the WVA and triggering event callbacks is started.\n This thread will continue to run and do what it needs to do to\n maintain a connection to the WVA.\n\n The status of th... | 103 | false | digidotcom/python-wvalib | enable | 26,930 | |
LDU_FT/DeepHorizons/iarm/BGT | LDU_FT | [
"<BEGIN>\n## `ADR`",
"ADR Ra, [PC, #imm10_4]\n ADR Ra, label",
" Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>",
"<BEGIN>\n## `LDR`",
"LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the BGT API.
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 BGT API.
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... | BGT label
Branch to the instruction at label if the N flag is the same as the V flag and the Z flag is not set | "BGT label\n\n Branch to the instruction at label if the N flag is the same as the V flag and the Z flag is not set" | 253 | false | DeepHorizons/iarm | BGT | 26,931 | |
LDU_FT/LeKono/pyhgnc/rgd | LDU_FT | [
"<BEGIN>\n## `get_many2many_table`",
"Creates a many-to-many table that links the given tables table1 and table2.",
" :param str table1: Tablename of left hand table without TABLE_PREFIX.\n :param str table2: Tablename of right hand table without TABLE_PREFIX.\n :return:\n<END>",
"<BEGIN>\n## `_limit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgd API.
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 rgd API.
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... | Method to query :class:`.models.RGD` objects in database
:param rgdid: Rat genome database gene ID(s)
:type rgdid: str or tuple(str) or None
:param hgnc_symbol: HGNC symbol(s)
:type hgnc_symbol: str or tuple(str) or None
:param hgnc_identifier: identifiers(s) in :class:`.model... | "Method to query :class:`.models.RGD` objects in database\n\n :param rgdid: Rat genome database gene ID(s)\n :type rgdid: str or tuple(str) or None\n\n :param hgnc_symbol: HGNC symbol(s)\n :type hgnc_symbol: str or tuple(str) or None\n\n :param hgnc_identifier: identifiers(s) in :clas... | 248 | false | LeKono/pyhgnc | rgd | 26,932 | |
LDU_FT/numirias/firefed/csv_from_items | LDU_FT | [
"<BEGIN>\n## `profile_dir`",
"Return path to FF profile for a given profile name or path.\n<END>",
"<BEGIN>\n## `arg`",
"Return an attrib() that can be fed as a command-line argument.",
" This function is a wrapper for an attr.attrib to create a corresponding\n command line argument for it. Use it wit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv_from_items API.
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 csv_from_items API.
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... | Write a list of items to stream in CSV format.
The items need to be attrs-decorated. | "Write a list of items to stream in CSV format.\n\n The items need to be attrs-decorated." | 22 | false | numirias/firefed | csv_from_items | 26,933 | |
LDU_FT/python-visualization/folium/render | LDU_FT | [
"<BEGIN>\n## `_get_self_bounds`",
"Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]].\n<END>",
"<BEGIN>\n## `path_options`",
"Contains options and constants shared between vector overlays\n (Polygon, Polyline, Circle, Circle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
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 ... | Renders the HTML representation of the element. | "Renders the HTML representation of the element." | 111 | false | python-visualization/folium | render | 26,934 | |
LDU_FT/nocarryr/python-dispatch/get_dispatcher_event | LDU_FT | [
"<BEGIN>\n## `register_event`",
"Registers new events after instance creation",
" Args:\n *names (str): Name or names of the events to register\n<END>",
"<BEGIN>\n## `bind`",
"Subscribes to events or to :class:`~pydispatch.properties.Property` updates",
" Keyword arguments are use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dispatcher_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dispatcher_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Retrieves an Event object by name
Args:
name (str): The name of the :class:`Event` or
:class:`~pydispatch.properties.Property` object to retrieve
Returns:
The :class:`Event` instance for the event or property definition
.. versionadded:: 0.1.0 | "Retrieves an Event object by name\n\n Args:\n name (str): The name of the :class:`Event` or\n :class:`~pydispatch.properties.Property` object to retrieve\n\n Returns:\n The :class:`Event` instance for the event or property definition\n\n .. versionadded:: 0.1.0... | 89 | false | nocarryr/python-dispatch | get_dispatcher_event | 26,935 | |
LDU_FT/has2k1/plydata/regular_index | LDU_FT | [
"<BEGIN>\n## `set_option`",
"Set plydata option",
" Parameters\n ----------\n name : str\n Name of the option\n value : object\n New value of the option",
" Returns\n -------\n old : object\n Old value of the option",
" See also\n --------\n :class:`options... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regular_index API.
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 regular_index API.
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... | Change & restore the indices of dataframes
Dataframe with duplicate values can be hard to work with.
When split and recombined, you cannot restore the row order.
This can be the case even if the index has unique but
irregular/unordered. This contextmanager resets the unordered
indices of any datafr... | "Change & restore the indices of dataframes\n\n Dataframe with duplicate values can be hard to work with.\n When split and recombined, you cannot restore the row order.\n This can be the case even if the index has unique but\n irregular/unordered. This contextmanager resets the unordered\n indices of any... | 119 | false | has2k1/plydata | regular_index | 26,936 | |
LDU_FT/adamrothman/ftl/default_ssl_context | LDU_FT | [
"<BEGIN>\n## `read_frame`",
"Read a single frame from the local buffer.",
" If no frames are available but the stream is still open, waits until\n more frames arrive. Otherwise, raises StreamConsumedError.",
" When a stream is closed, a single `None` is added to the data frame\n Qu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_ssl_context 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 default_ssl_context 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... | Creates an SSL context suitable for use with HTTP/2. See
https://tools.ietf.org/html/rfc7540#section-9.2 for what this entails.
Specifically, we are interested in these points:
§ 9.2: Implementations of HTTP/2 MUST use TLS version 1.2 or higher.
§ 9.2.1: A deployment of HTTP/2 over TLS 1.2 MUST... | "Creates an SSL context suitable for use with HTTP/2. See\n https://tools.ietf.org/html/rfc7540#section-9.2 for what this entails.\n Specifically, we are interested in these points:\n\n § 9.2: Implementations of HTTP/2 MUST use TLS version 1.2 or higher.\n § 9.2.1: A deployment of HTTP/2 over TLS 1.... | 23 | false | adamrothman/ftl | default_ssl_context | 26,937 | |
LDU_FT/cuihantao/andes/_compile_int | LDU_FT | [
"<BEGIN>\n## `check`",
"Check config data consistency",
" Returns\n -------\n<END>",
"<BEGIN>\n## `read`",
"Read a dm format file and elem_add to system\n<END>",
"<BEGIN>\n## `register_element`",
"Register a device element to the group list",
" Parameters\n ----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compile_int API.
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 _compile_int API.
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... | Time Domain Simulation routine execution | "Time Domain Simulation routine execution" | 614 | false | cuihantao/andes | _compile_int | 26,938 | |
LDU_FT/pgxcentre/geneparse/iter_genotypes | LDU_FT | [
"<BEGIN>\n## `get_variant_genotypes`",
"Get the genotypes from a well formed variant instance.",
" Args:\n marker (Variant): A Variant instance.",
" Returns:\n A list of Genotypes instance containing a pointer to the variant as\n well as a vector of encoded genot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_genotypes API.
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 iter_genotypes API.
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... | Iterates on available markers.
Returns:
Genotypes instances. | "Iterates on available markers.\n\n Returns:\n Genotypes instances." | 120 | false | pgxcentre/geneparse | iter_genotypes | 26,939 | |
LDU_FT/lmjohns3/downhill/iterate | LDU_FT | [
"<BEGIN>\n## `build`",
"Build and return an optimizer for the rosenbrock function.",
" In downhill, an optimizer can be constructed using the build() top-level\n function. This function requires several Theano quantities such as the loss\n being optimized and the parameters to update during optimizatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API.
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 iterate API.
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... | r'''Optimize a loss iteratively using a training and validation dataset.
This method yields a series of monitor values to the caller. After every
optimization epoch, a pair of monitor dictionaries is generated: one
evaluated on the training dataset during the epoch, and another
evaluate... | "r'''Optimize a loss iteratively using a training and validation dataset.\n\n This method yields a series of monitor values to the caller. After every\n optimization epoch, a pair of monitor dictionaries is generated: one\n evaluated on the training dataset during the epoch, and another\n ev... | 79 | false | lmjohns3/downhill | iterate | 26,940 | |
LDU_FT/amueller/word_cloud/process_text | LDU_FT | [
"<BEGIN>\n## `process_tokens`",
"Normalize cases and remove plurals.",
" Each word is represented by the most common case.\n If a word appears with an \"s\" on the end and without an \"s\" on the end,\n the version with \"s\" is assumed to be a plural and merged with the\n version without \"s\" (exc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_text API.
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 process_text API.
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... | Splits a long text into words, eliminates the stopwords.
Parameters
----------
text : string
The text to be processed.
Returns
-------
words : dict (string, int)
Word tokens with associated frequency.
..versionchanged:: 1.2.2
... | "Splits a long text into words, eliminates the stopwords.\n\n Parameters\n ----------\n text : string\n The text to be processed.\n\n Returns\n -------\n words : dict (string, int)\n Word tokens with associated frequency.\n\n ..versionchanged:: 1.2.... | 45 | false | amueller/word_cloud | process_text | 26,941 | |
LDU_FT/foliant-docs/foliantcontrib.includes/_find_file | LDU_FT | [
"<BEGIN>\n## `_find_file`",
"Find a file in a directory by name. Check subdirectories recursively.",
" :param file_name: Name of the file\n :lookup_dir: Starting directory",
" :returns: Path to the found file or None if the file was not found\n :raises: FileNotFoundError\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Find a file in a directory by name. Check subdirectories recursively.
:param file_name: Name of the file
:lookup_dir: Starting directory
:returns: Path to the found file or None if the file was not found
:raises: FileNotFoundError | "Find a file in a directory by name. Check subdirectories recursively.\n\n :param file_name: Name of the file\n :lookup_dir: Starting directory\n\n :returns: Path to the found file or None if the file was not found\n :raises: FileNotFoundError" | 49 | false | foliant-docs/foliantcontrib.includes | _find_file | 26,942 | |
LDU_FT/dahlia/sqlalchemy-imageattach/wsgi_middleware | LDU_FT | [
"<BEGIN>\n## `readlines`",
"Reads until EOF using :meth:`readline()`.",
" :param sizehint: if it's present, instead of reading up to EOF,\n whole lines totalling approximately ``sizehint``\n bytes (or more to accommodate a final whole line)\n :type s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wsgi_middleware API.
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 wsgi_middleware API.
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... | WSGI middlewares that wraps the given ``app`` and serves
actual image files. ::
fs_store = HttpExposedFileSystemStore('userimages', 'images/')
app = fs_store.wsgi_middleware(app)
:param app: the wsgi app to wrap
:type app: :class:`~typing.Callable`\ [[],
:cl... | "WSGI middlewares that wraps the given ``app`` and serves\n actual image files. ::\n\n fs_store = HttpExposedFileSystemStore('userimages', 'images/')\n app = fs_store.wsgi_middleware(app)\n\n :param app: the wsgi app to wrap\n :type app: :class:`~typing.Callable`\\ [[],\n ... | 145 | false | dahlia/sqlalchemy-imageattach | wsgi_middleware | 26,943 | |
LDU_FT/iamaziz/PyDataset/google_fixed_width_font | LDU_FT | [
"<BEGIN>\n## `__datasets_desc`",
"return a df of the available datasets with description\n<END>",
"<BEGIN>\n## `dumb_css_parser`",
"returns a hash of css selectors, each of which contains a hash of css attributes\n<END>",
"<BEGIN>\n## `element_style`",
"returns a hash of the 'final' style attributes of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the google_fixed_width_font 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 google_fixed_width_font API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | check if the css of the current element defines a fixed width font | "check if the css of the current element defines a fixed width font" | 31 | false | iamaziz/PyDataset | google_fixed_width_font | 26,944 | |
LDU_FT/KrzyHonk/bpmn-python/import_parallel_gateway_to_graph | LDU_FT | [
"<BEGIN>\n## `load_diagram_from_csv`",
"Reads an CSV file from given filepath and maps it into inner representation of BPMN diagram.\n Returns an instance of BPMNDiagramGraph class.",
" :param filepath: string with output filepath,\n :param bpmn_diagram: an instance of BpmnDiagramGraph clas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_parallel_gateway_to_graph 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 import_parallel_gateway_to_graph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Adds to graph the new element that represents BPMN parallel gateway.
Parallel gateway doesn't have additional attributes. Separate method is used to improve code readability.
:param diagram_graph: NetworkX graph representing a BPMN process diagram,
:param process_id: string object, representing... | "Adds to graph the new element that represents BPMN parallel gateway.\n Parallel gateway doesn't have additional attributes. Separate method is used to improve code readability.\n\n :param diagram_graph: NetworkX graph representing a BPMN process diagram,\n :param process_id: string object, represe... | 368 | false | KrzyHonk/bpmn-python | import_parallel_gateway_to_graph | 26,945 | |
LDU_FT/nlsdfnbch/Pysher/unsubscribe | LDU_FT | [
"<BEGIN>\n## `bind`",
"Bind an event to a callback",
" :param event_name: The name of the event to bind to.\n :type event_name: str",
" :param callback: The callback to notify of this event.\n<END>",
"<BEGIN>\n## `send_event`",
"Send an event to the Pusher server.",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unsubscribe API.
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 unsubscribe API.
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... | Unsubscribe from a channel
:param str channel_name: The name of the channel to unsubscribe from. | "Unsubscribe from a channel\n\n :param str channel_name: The name of the channel to unsubscribe from." | 26 | false | nlsdfnbch/Pysher | unsubscribe | 26,946 | |
LDU_FT/frostming/marko/render_children | LDU_FT | [
"<BEGIN>\n## `camel_to_snake_case`",
"Takes a camelCased string and converts to snake_case.\n<END>",
"<BEGIN>\n## `is_paired`",
"Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>",
"<BEGIN>\n## `match_prefix`",
"Check if the line starts with giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_children API.
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 render_children API.
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... | Recursively renders child elements. Joins the rendered
strings with no space in between.
If newlines / spaces are needed between elements, add them
in their respective templates, or override this function
in the renderer subclass, so that whitespace won't seem to
appear magicall... | "Recursively renders child elements. Joins the rendered\n strings with no space in between.\n\n If newlines / spaces are needed between elements, add them\n in their respective templates, or override this function\n in the renderer subclass, so that whitespace won't seem to\n appear m... | 49 | false | frostming/marko | render_children | 26,947 | |
LDU_FT/Microsoft/knack/prompt_choice_list | LDU_FT | [
"<BEGIN>\n## `ensure_new_style_deprecation`",
"Helper method to make the previous string-based deprecate_info kwarg\n work with the new style.\n<END>",
"<BEGIN>\n## `prompt_choice_list`",
"Prompt user to select from a list of possible choices.",
" :param msg:A message displayed to the user bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prompt_choice_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prompt_choice_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.
Th... | Prompt user to select from a list of possible choices.
:param msg:A message displayed to the user before the choice list
:type msg: str
:param a_list:The list of choices (list of strings or list of dicts with 'name' & 'desc')
"type a_list: list
:param default:The default option that should be chose... | "Prompt user to select from a list of possible choices.\n\n :param msg:A message displayed to the user before the choice list\n :type msg: str\n :param a_list:The list of choices (list of strings or list of dicts with 'name' & 'desc')\n \"type a_list: list\n :param default:The default option that should ... | 88 | false | Microsoft/knack | prompt_choice_list | 26,948 | |
LDU_FT/Hackerfleet/hfos/userlogin | LDU_FT | [
"<BEGIN>\n## `_augment_book`",
"Checks if the newly created object is a book and only has an ISBN.\n If so, tries to fetch the book data off the internet.",
" :param uuid: uuid of book to augment\n :param client: requesting client\n<END>",
"<BEGIN>\n## `serial_ports`",
"Lists serial por... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the userlogin API.
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 userlogin API.
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... | Provides the newly authenticated user with a backlog and general
channel status information | "Provides the newly authenticated user with a backlog and general\n channel status information" | 344 | false | Hackerfleet/hfos | userlogin | 26,949 | |
LDU_FT/shaypal5/utilitime/timestamp_to_local_time_str | LDU_FT | [
"<BEGIN>\n## `utc_offset_by_timezone`",
"Returns the UTC offset of the given timezone in hours.",
" Arguments\n ---------\n timezone_name: str\n A string with a name of a timezone.",
" Returns\n -------\n int\n The UTC offset of the given timezone, in hours.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp_to_local_time_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp_to_local_time_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Convert epoch timestamp to a localized datetime string.
Arguments
---------
timestamp : int
The timestamp to convert.
timezone_name : datetime.timezone
The timezone of the desired local time.
fmt : str
The format of the output string.
Returns
-------
str
... | "Convert epoch timestamp to a localized datetime string.\n\n Arguments\n ---------\n timestamp : int\n The timestamp to convert.\n timezone_name : datetime.timezone\n The timezone of the desired local time.\n fmt : str\n The format of the output string.\n\n Returns\n -------\n ... | 75 | false | shaypal5/utilitime | timestamp_to_local_time_str | 26,950 | |
LDU_FT/fermiPy/fermipy/set_edisp_flag | LDU_FT | [
"<BEGIN>\n## `build_srcdict`",
"Build a dictionary that maps from source name to the value of a source property",
" Parameters\n ----------",
" gta : `fermipy.GTAnalysis`\n The analysis object",
" prop : str\n The name of the property we are mapping",
" Returns\n -------",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_edisp_flag API.
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 set_edisp_flag API.
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... | Enable/Disable the energy dispersion correction for a
source. | "Enable/Disable the energy dispersion correction for a\n source." | 2,597 | true | fermiPy/fermipy | set_edisp_flag | 26,951 | |
LDU_FT/adubkov/py-zabbix/_login | LDU_FT | [
"<BEGIN>\n## `_load_from_config`",
"Load zabbix server IP address and port from zabbix agent config\n file.",
" If ServerActive variable is not found in the file, it will\n use the default: 127.0.0.1:10051",
" :type config_file: str\n :param use_config: Path to zabbix_agentd... | 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 ... | 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 ... | Do login to zabbix server.
:type user: str
:param user: Zabbix user
:type password: str
:param password: Zabbix user password | "Do login to zabbix server.\n\n :type user: str\n :param user: Zabbix user\n\n :type password: str\n :param password: Zabbix user password" | 51 | false | adubkov/py-zabbix | _login | 26,952 | |
LDU_FT/mehmetg/streak_client/get_box_files | LDU_FT | [
"<BEGIN>\n## `_get_req_fp`",
"Decisions on what verb to use and content headers happen here\n\t\tArgs:\n\t\t\top \t\t\ta string specifying a http verb\n<END>",
"<BEGIN>\n## `_req`",
"HTTP reequest wrapper with data packaging fucntionality\n\t\tArgs:\n\t\t\top \t\t\thttp verb in str\n\t\t\turi \t\taddress of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_box_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_box_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Gets to file infos in a single box.
Args:
box_key key for the file
return (status code, list of file info dicts) | "Gets to file infos in a single box.\n\t\tArgs:\n\t\t\tbox_key\t\tkey for the file \n\t\t\treturn\t\t(status code, list of file info dicts)" | 90 | false | mehmetg/streak_client | get_box_files | 26,953 | |
LDU_FT/ANTsX/ANTsPy/make_points_image | LDU_FT | [
"<BEGIN>\n## `smooth_image`",
"Smooth an image",
" ANTsR function: `smoothImage`",
" Arguments\n ---------\n image \n Image to smooth",
" sigma \n Smoothing factor. Can be scalar, in which case the same sigma is applied to each dimension, or a vector of length dim(inimage) t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_points_image API.
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 make_points_image API.
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 label image from physical space points
Creates spherical points in the coordinate space of the target image based
on the n-dimensional matrix of points that the user supplies. The image
defines the dimensionality of the data so if the input image is 3D then
the input points should be 2D or 3D.
... | "Create label image from physical space points\n\n Creates spherical points in the coordinate space of the target image based\n on the n-dimensional matrix of points that the user supplies. The image\n defines the dimensionality of the data so if the input image is 3D then\n the input points should be 2D or... | 1,176 | true | ANTsX/ANTsPy | make_points_image | 26,954 | |
LDU_FT/nirum/tableprint/banner | LDU_FT | [
"<BEGIN>\n## `humantime`",
"Converts a time in seconds to a reasonable human readable time",
" Parameters\n ----------\n t : float\n The number of seconds",
" Returns\n -------\n time : string\n The human readable formatted value of the given time\n<END>",
"<BEGIN>\n## `ansi_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the banner API.
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 banner API.
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 ... | Prints a banner message
Parameters
----------
message : string
The message to print in the banner
width : int
The minimum width of the banner (Default: 30)
style : string
A line formatting style (Default: 'banner')
out : writer
An object that has write() and f... | "Prints a banner message\n\n Parameters\n ----------\n message : string\n The message to print in the banner\n\n width : int\n The minimum width of the banner (Default: 30)\n\n style : string\n A line formatting style (Default: 'banner')\n\n out : writer\n An object that ha... | 49 | false | nirum/tableprint | banner | 26,955 | |
LDU_FT/facetoe/zenpy/show | LDU_FT | [
"<BEGIN>\n## `agents`",
"| Description: IDs of agents involved in the chat\n<END>",
"<BEGIN>\n## `department`",
"| Description: The ID of the department to which the chat is directed\n<END>",
"<BEGIN>\n## `zendesk_ticket`",
"| Description: The ID of the Zendesk Support ticket created from this chat. Av... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
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 show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return CustomFieldOption
:param ticket_field: TicketFieldOption or id
:param custom_field_option: CustomFieldOption or id | "Return CustomFieldOption\n\n :param ticket_field: TicketFieldOption or id\n :param custom_field_option: CustomFieldOption or id" | 321 | false | facetoe/zenpy | show | 26,956 | |
LDU_FT/rdireen/spherepy/vspht | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vspht API.
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 vspht API.
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... | Returns a VectorCoefs object containt the vector spherical harmonic
coefficients of the VectorPatternUniform object | "Returns a VectorCoefs object containt the vector spherical harmonic\r\n coefficients of the VectorPatternUniform object" | 194 | false | rdireen/spherepy | vspht | 26,957 | |
LDU_FT/bids-standard/pybids/_hrf_kernel | LDU_FT | [
"<BEGIN>\n## `apply_transformations`",
"Apply all transformations to the variables in the collection.",
" Args:\n transformations (list): List of transformations to apply.\n select (list): Optional list of names of variables to retain after all\n transformations are applied.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hrf_kernel API.
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 _hrf_kernel API.
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... | Given the specification of the hemodynamic model and time parameters,
return the list of matching kernels
Parameters
----------
hrf_model : string or None,
identifier of the hrf model
tr : float
the repetition time in seconds
oversampling : int, optional
temporal overs... | "Given the specification of the hemodynamic model and time parameters,\n return the list of matching kernels\n\n Parameters\n ----------\n hrf_model : string or None,\n identifier of the hrf model\n\n tr : float\n the repetition time in seconds\n\n oversampling : int, optional\n t... | 372 | false | bids-standard/pybids | _hrf_kernel | 26,958 | |
LDU_FT/aburrell/apexpy/apex2qd | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apex2qd API.
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 apex2qd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Converts modified apex to quasi-dipole coordinates.
Parameters
==========
alat : array_like
Modified apex latitude
alon : array_like
Modified apex longitude
height : array_like
Altitude in km
Returns
=======
qlat : nda... | "Converts modified apex to quasi-dipole coordinates.\n\n Parameters\n ==========\n alat : array_like\n Modified apex latitude\n alon : array_like\n Modified apex longitude\n height : array_like\n Altitude in km\n\n Returns\n =======\n ... | 120 | false | aburrell/apexpy | apex2qd | 26,959 | |
LDU_FT/mozilla/elasticutils/boost | LDU_FT | [
"<BEGIN>\n## `chunked`",
"Returns chunks of n length of iterable",
" If len(iterable) % n != 0, then the last chunk will have length\n less than n.",
" Example:",
" >>> chunked([1, 2, 3, 4, 5], 2)\n [(1, 2), (3, 4), (5,)]\n<END>",
"<BEGIN>\n## `format_explanation`",
"Return explanation in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the boost API.
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 boost API.
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... | Return a new S instance with field boosts.
ElasticUtils allows you to specify query-time field boosts
with ``.boost()``. It takes a set of arguments where the keys
are either field names or field name + ``__`` + field action.
Examples::
q = (S().query(title='taco trucks',
... | "Return a new S instance with field boosts.\n\n ElasticUtils allows you to specify query-time field boosts\n with ``.boost()``. It takes a set of arguments where the keys\n are either field names or field name + ``__`` + field action.\n\n Examples::\n\n q = (S().query(title='taco ... | 208 | false | mozilla/elasticutils | boost | 26,960 | |
LDU_FT/costastf/emaillib/connect | LDU_FT | [
"<BEGIN>\n## `connect`",
"Initializes a connection to the smtp server",
" :return: True on success, False otherwise\n<END>",
"<BEGIN>\n## `send`",
"Sends the email",
" :param sender: The server of the message\n :param recipients: The recipients (To:) of the message\n :param cc:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Initializes a connection to the smtp server
:return: True on success, False otherwise | "Initializes a connection to the smtp server\n\n :return: True on success, False otherwise" | 20 | false | costastf/emaillib | connect | 26,961 | |
LDU_FT/dossier/dossier.label/directly_connected | LDU_FT | [
"<BEGIN>\n## `get_related_coref_relationships`",
"Follow coreference relationships to get full related graph.",
" :rtype: dict mapping related identifier to list of documents\n coref to that identifier.\n<END>",
"<BEGIN>\n## `get_related_flat`",
"Follow coreference relationships to get full re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directly_connected 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 directly_connected 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 a generator of labels connected to ``ident``.
``ident`` may be a ``content_id`` or a ``(content_id,
subtopic_id)``.
If no labels are defined for ``ident``, then the generator
will yield no labels.
Note that this only returns *directly* connected labels. It
will ... | "Return a generator of labels connected to ``ident``.\n\n ``ident`` may be a ``content_id`` or a ``(content_id,\n subtopic_id)``.\n\n If no labels are defined for ``ident``, then the generator\n will yield no labels.\n\n Note that this only returns *directly* connected labels. It\n ... | 88 | false | dossier/dossier.label | directly_connected | 26,962 | |
LDU_FT/ninuxorg/nodeshot/allow_migrate | LDU_FT | [
"<BEGIN>\n## `get_formset`",
"Load Synchronizer schema to display specific fields in admin\n<END>",
"<BEGIN>\n## `public_broadcaster`",
"Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_migrate API.
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 allow_migrate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Make sure the old_nodeshot app only appears in the 'old_nodeshot' database | "Make sure the old_nodeshot app only appears in the 'old_nodeshot' database" | 261 | false | ninuxorg/nodeshot | allow_migrate | 26,963 | |
LDU_FT/vmalloc/dessert/_diff_text | LDU_FT | [
"<BEGIN>\n## `_read_pyc`",
"Possibly read a pytest pyc containing rewritten code.",
" Return rewritten code if successful or None if not.\n<END>",
"<BEGIN>\n## `_saferepr`",
"Get a safe repr of an object for assertion error messages.",
" The assertion formatting (util.format_explanation()) requires\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _diff_text API.
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 _diff_text API.
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 the explanation for the diff between text or bytes
Unless --verbose is used this will skip leading and trailing
characters which are identical to keep the diff minimal.
If the input are bytes they will be safely converted to text. | "Return the explanation for the diff between text or bytes\n\n Unless --verbose is used this will skip leading and trailing\n characters which are identical to keep the diff minimal.\n\n If the input are bytes they will be safely converted to text." | 41 | false | vmalloc/dessert | _diff_text | 26,964 | |
LDU_FT/mila/pyoo/__get_formulas | LDU_FT | [
"<BEGIN>\n## `str_repr`",
"Implements string conversion methods for the given class.",
" The given class must implement the __str__ method. This decorat\n will add __repr__ and __unicode__ (for Python 2).\n<END>",
"<BEGIN>\n## `_clean_slice`",
"Validates and normalizes a cell range slice.",
" >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_formulas API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_formulas API.
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... | Gets formulas in this cell range as a tuple.
If cells contain actual formulas then the returned values start
with an equal sign but all values are returned. | "Gets formulas in this cell range as a tuple.\n\n If cells contain actual formulas then the returned values start\n with an equal sign but all values are returned." | 70 | false | mila/pyoo | __get_formulas | 26,965 | |
LDU_FT/micropython/micropython/list_dfu_devices | LDU_FT | [
"<BEGIN>\n## `ptr`",
"Returns the numbered function (i.e. USART6) for this AF.\n<END>",
"<BEGIN>\n## `run_loop`",
"Start the loop.",
" :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>",
"<BEGIN>\n## `find_c_file`",
"Search vpaths for the c fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_dfu_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_dfu_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 ... | Prints a lits of devices detected in DFU mode. | "Prints a lits of devices detected in DFU mode." | 54 | false | micropython/micropython | list_dfu_devices | 26,966 | |
LDU_FT/globality-corp/microcosm-flask/configure_audit_decorator | LDU_FT | [
"<BEGIN>\n## `_serialize`",
"Serialize value as a timestamp, either as a Unix timestamp (in float second) or a UTC isoformat string.\n<END>",
"<BEGIN>\n## `_deserialize`",
"Deserialize value as a Unix timestamp (in float seconds).",
" Handle both numeric and UTC isoformat strings.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_audit_decorator 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 configure_audit_decorator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Configure the audit decorator.
Example Usage:
@graph.audit
def login(username, password):
... | "Configure the audit decorator.\n\n Example Usage:\n\n @graph.audit\n def login(username, password):\n ..." | 309 | false | globality-corp/microcosm-flask | configure_audit_decorator | 26,967 | |
LDU_FT/GoogleCloudPlatform/cloud-debug-python/_InvokeImportCallbackBySuffix | LDU_FT | [
"<BEGIN>\n## `InitializeDebuggeeLabels`",
"Initialize debuggee labels from environment variables and flags.",
" The caller passes all the flags that the the debuglet got. This function\n will only use the flags used to label the debuggee. Flags take precedence\n over environment variables.",
" Deb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _InvokeImportCallbackBySuffix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _InvokeImportCallbackBySuffix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Invokes import callbacks for newly loaded modules.
Uses a path suffix match to identify whether a loaded module matches the
file path provided by the user.
Args:
names: A set of names for modules that are loaded by the current import.
The set may contain some superfluous entries that were already... | "Invokes import callbacks for newly loaded modules.\n\n Uses a path suffix match to identify whether a loaded module matches the\n file path provided by the user.\n\n Args:\n names: A set of names for modules that are loaded by the current import.\n The set may contain some superfluous entries that were... | 276 | false | GoogleCloudPlatform/cloud-debug-python | _InvokeImportCallbackBySuffix | 26,968 | |
LDU_FT/justanr/Flask-Transfer/avoid_name_collisions | LDU_FT | [
"<BEGIN>\n## `pdftojpg`",
"Converts a PDF to a JPG and places it back onto the FileStorage instance\n passed to it as a BytesIO object.",
" Optional meta arguments are:\n * resolution: int or (int, int) used for wand to determine resolution,\n defaults to 300.\n * width: new width of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the avoid_name_collisions 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 avoid_name_collisions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Manipulates a filename until it's unique. This can be disabled by
setting meta['avoid_name_collision'] to any falsey value. | "Manipulates a filename until it's unique. This can be disabled by\n setting meta['avoid_name_collision'] to any falsey value." | 25 | false | justanr/Flask-Transfer | avoid_name_collisions | 26,969 | |
LDU_FT/sashahart/vex/make_arg_parser | LDU_FT | [
"<BEGIN>\n## `make_arg_parser`",
"Return a standard ArgumentParser object.\n<END>",
"<BEGIN>\n## `get_options`",
"Called to parse the given list as command-line arguments.",
" :returns:\n an options object as returned by argparse.\n<END>",
"<BEGIN>\n## `get_vexrc`",
"Get a representation of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_arg_parser API.
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 make_arg_parser API.
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 standard ArgumentParser object. | "Return a standard ArgumentParser object." | 38 | false | sashahart/vex | make_arg_parser | 26,970 | |
LDU_FT/aboSamoor/polyglot/iter_delimiter | LDU_FT | [
"<BEGIN>\n## `most_frequent`",
"Only most frequent k words to be included in the embeddings.\n<END>",
"<BEGIN>\n## `normalize_words`",
"Normalize embeddings matrix row-wise.",
" Args:\n ord: normalization order. Possible values {1, 2, 'inf', '-inf'}\n<END>",
"<BEGIN>\n## `nearest_neighbors`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_delimiter API.
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 iter_delimiter API.
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... | Generalization of the default iter file delimited by '\n'.
Note:
The newline string can be arbitrarily long; it need not be restricted to a
single character. You can also set the read size and control whether or not
the newline string is left on the end of the iterated lines. Setting
newlin... | "Generalization of the default iter file delimited by '\\n'.\n Note:\n The newline string can be arbitrarily long; it need not be restricted to a\n single character. You can also set the read size and control whether or not\n the newline string is left on the end of the iterated lines. Setting\n ... | 189 | false | aboSamoor/polyglot | iter_delimiter | 26,971 | |
LDU_FT/bmcfee/pumpp/empty | LDU_FT | [
"<BEGIN>\n## `sample`",
"Sample a patch from the data object",
" Parameters\n ----------\n data : dict\n A data dict as produced by pumpp.Pump.transform",
" interval : slice\n The time interval to sample",
" Returns\n -------\n data_slic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the empty API.
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 empty API.
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... | Empty chord annotations
Parameters
----------
duration : number
The length (in seconds) of the empty annotation
Returns
-------
ann : jams.Annotation
A chord annotation consisting of a single `no-chord` observation. | "Empty chord annotations\n\n Parameters\n ----------\n duration : number\n The length (in seconds) of the empty annotation\n\n Returns\n -------\n ann : jams.Annotation\n A chord annotation consisting of a single `no-chord` observation." | 291 | false | bmcfee/pumpp | empty | 26,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.