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/TkTech/Jawa/find_and_remove | LDU_FT | [
"<BEGIN>\n## `_walk`",
"A modified os.walk with support for maximum traversal depth.\n<END>",
"<BEGIN>\n## `update`",
"Add one or more ClassFile sources to the class loader.",
" If a given source is a directory path, it is traversed up to the\n maximum set depth and all files under it are adde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_and_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_and_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 e... | Removes any and all fields for which `f(field)` returns `True`. | "Removes any and all fields for which `f(field)` returns `True`." | 226 | false | TkTech/Jawa | find_and_remove | 14,073 | |
LDU_FT/frawau/aiolifx/get_hostinfo | LDU_FT | [
"<BEGIN>\n## `mac_to_ipv6_linklocal`",
"Translate a MAC address into an IPv6 address in the prefixed network.",
" This function calculates the EUI (Extended Unique Identifier) from the given\n MAC address and prepend the needed prefix to come up with a valid IPv6 address.\n The default prefix is the li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hostinfo API.
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_hostinfo API.
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... | Convenience method to request the device info from the device
This will request the information from the device and request that callb be executed
when a response is received. The is no default callback
:param callb: Callable to be used when the response is received. If not set,
... | "Convenience method to request the device info from the device\n\n This will request the information from the device and request that callb be executed\n when a response is received. The is no default callback\n\n :param callb: Callable to be used when the response is received. If not set,\n ... | 134 | false | frawau/aiolifx | get_hostinfo | 14,074 | |
LDU_FT/usc-isi-i2/etk/load_ems | LDU_FT | [
"<BEGIN>\n## `decode_unicode`",
"Process of parsing:\n -> Convert unicode into standard form\n -> Convert each character of the unicode symbol to its numerical equivalent\n -> Mapping Process:\n - First check in pattern dictionary to map suffix/prefix\n - Check Emoticon Dictionary \n - Replace valu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ems API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ems API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Load all extraction modules from the path
Args:
modules_path: str
Returns: | "Load all extraction modules from the path\n\n Args:\n modules_path: str\n\n Returns:" | 427 | false | usc-isi-i2/etk | load_ems | 14,075 | |
LDU_FT/scikit-tda/kepler-mapper/data_from_cluster_id | LDU_FT | [
"<BEGIN>\n## `project`",
"Creates the projection/lens from a dataset. Input the data set. Specify a projection/lens type. Output the projected data/lens.",
" Parameters\n ----------",
" X : Numpy Array\n The data to fit a projection/lens to.",
" projection :\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_from_cluster_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_from_cluster_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the original data of each cluster member for a given cluster ID
Parameters
----------
cluster_id : String
ID of the cluster.
graph : dict
The resulting dictionary after applying map()
data : Numpy Array
Original dataset. Accepts both 1... | "Returns the original data of each cluster member for a given cluster ID\n\n Parameters\n ----------\n cluster_id : String\n ID of the cluster.\n graph : dict\n The resulting dictionary after applying map()\n data : Numpy Array\n Original dataset. Acce... | 169 | false | scikit-tda/kepler-mapper | data_from_cluster_id | 14,076 | |
LDU_FT/Synerty/pytmpdir/scan | LDU_FT | [
"<BEGIN>\n## `pathNames`",
"Path Names",
" @return: A list of path + name of each file, relative to the root\n directory.\n<END>",
"<BEGIN>\n## `paths`",
"Paths",
" @return: A list of the paths, effectively a list of relative\n directory names.\n<END>",
"<BEGIN>\n## `getFile`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan API.
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 scan API.
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... | Scan
Scan the directory for files and folders and update the file dictionary.
@return: List of files | "Scan\n\n Scan the directory for files and folders and update the file dictionary.\n\n @return: List of files" | 76 | false | Synerty/pytmpdir | scan | 14,077 | |
LDU_FT/TissueMAPS/TmClient/download_jterator_project_files | LDU_FT | [
"<BEGIN>\n## `map_logging_verbosity`",
"Parameters\n ----------\n verbosity: int\n logging verbosity level (0-4)",
" Returns\n -------\n A logging level as exported by `logging` module.\n By default returns logging.NOTSET",
" Raises\n ------\n TypeError\n when `verbosi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_jterator_project_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_jterator_project_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Downloads the *jterator* project and stores it
on disk in YAML format. The pipeline description will be stored
in a ``pipeline.yaml`` file in `directory` and each handle description
will be stored in a ``*handles.yaml`` file and placed into a ``handles``
subfolder of `directory`.
... | "Downloads the *jterator* project and stores it\n on disk in YAML format. The pipeline description will be stored\n in a ``pipeline.yaml`` file in `directory` and each handle description\n will be stored in a ``*handles.yaml`` file and placed into a ``handles``\n subfolder of `directory`.\n\... | 203 | false | TissueMAPS/TmClient | download_jterator_project_files | 14,078 | |
LDU_FT/radujica/baloo/agg | LDU_FT | [
"<BEGIN>\n## `evaluate`",
"Evaluates by creating an Index containing evaluated data.",
" See `LazyResult`",
" Returns\n -------\n Index\n Index with evaluated data.\n<END>",
"<BEGIN>\n## `raw`",
"Decorator for eager functions checking input array\n and stripping a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the agg API.
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 agg API.
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... | Multiple aggregations optimized.
Parameters
----------
aggregations : list of str
Which aggregations to perform.
Returns
-------
DataFrame
DataFrame with the aggregations per column. | "Multiple aggregations optimized.\n\n Parameters\n ----------\n aggregations : list of str\n Which aggregations to perform.\n\n Returns\n -------\n DataFrame\n DataFrame with the aggregations per column." | 478 | false | radujica/baloo | agg | 14,079 | |
LDU_FT/DenisCarriere/geocoder/get | LDU_FT | [
"<BEGIN>\n## `_sign_url`",
"Sign a request URL with a Crypto Key.\n Usage:\n from urlsigner import sign_url\n signed_url = sign_url(base_url=my_url,\n params=url_params,\n client_secret=CLIENT_SECRET)\n Args:\n base_url -... | 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... | Get Geocode
:param ``location``: Your search location you want geocoded.
:param ``provider``: The geocoding engine you want to use.
:param ``method``: Define the method (geocode, method). | "Get Geocode\n\n :param ``location``: Your search location you want geocoded.\n :param ``provider``: The geocoding engine you want to use.\n\n :param ``method``: Define the method (geocode, method)." | 32 | false | DenisCarriere/geocoder | get | 14,080 | |
LDU_FT/toumorokoshi/transmute-core/swagger_definition | LDU_FT | [
"<BEGIN>\n## `from_argspec`",
"retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>",
"<BEGIN>\n## `split_args`",
"given a dictionary of arguments, split them into\n args and kwargs",
" note: this destroys the arg_dict passed. if you need it,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the swagger_definition 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 swagger_definition 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 valid swagger spec, with the values passed. | "return a valid swagger spec, with the values passed." | 100 | false | toumorokoshi/transmute-core | swagger_definition | 14,081 | |
LDU_FT/6809/MC6809/instruction_BLS | LDU_FT | [
"<BEGIN>\n## `instruction_RTS`",
"Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.",
" source code forms: RTS",
" CC bits \"HNZVC\": -----\n<END>",
"<BEGIN>\n## `instruction_BSR_JSR`",
"Program control is transferre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instruction_BLS API.
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 instruction_BLS API.
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... | Causes a branch if the previous operation caused either a carry or a
zero result. When used after a subtract or compare operation on unsigned
binary values, this instruction will branch if the register was lower
than or the same as the memory register.
Generally not useful after INC/DEC... | "Causes a branch if the previous operation caused either a carry or a\n zero result. When used after a subtract or compare operation on unsigned\n binary values, this instruction will branch if the register was lower\n than or the same as the memory register.\n\n Generally not useful after I... | 224 | false | 6809/MC6809 | instruction_BLS | 14,082 | |
LDU_FT/markfinger/assembla/user | LDU_FT | [
"<BEGIN>\n## `_get_json`",
"Base level method for fetching data from the API\n<END>",
"<BEGIN>\n## `_post_json`",
"Base level method for updating data via the API\n<END>",
"<BEGIN>\n## `_put_json`",
"Base level method for adding new data to the API\n<END>",
"<BEGIN>\n## `_delete_json`",
"Base level me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | The User currently assigned to the Ticket | "The User currently assigned to the Ticket" | 25 | false | markfinger/assembla | user | 14,083 | |
LDU_FT/exa-analytics/exa/memory_usage | LDU_FT | [
"<BEGIN>\n## `_create`",
"Globally called function for creating the isotope/element API.\n<END>",
"<BEGIN>\n## `read_tarball`",
"Read a (possibly compressed) tarball archive and return a dictionary of\n editors.",
" .. code-block:: python",
" eds = read_tarball(path, classes=MyEditor) # Al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the memory_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the memory_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 extr... | Get the combined memory usage of the field data and field values. | "Get the combined memory usage of the field data and field values." | 194 | false | exa-analytics/exa | memory_usage | 14,084 | |
LDU_FT/UDST/orca/get_broadcast | LDU_FT | [
"<BEGIN>\n## `import_file`",
"Import a file that will trigger the population of Orca.",
" Parameters\n ----------\n filename : str\n<END>",
"<BEGIN>\n## `check_is_table`",
"Decorator that will check whether the \"table_name\" keyword argument\n to the wrapped function matches a registered Orca t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_broadcast API.
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_broadcast API.
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... | Get a single broadcast.
Broadcasts are stored data about how to do a Pandas join.
A Broadcast object is a namedtuple with these attributes:
- cast: the name of the table being broadcast
- onto: the name of the table onto which "cast" is broadcast
- cast_on: The optional name of a colum... | "Get a single broadcast.\n\n Broadcasts are stored data about how to do a Pandas join.\n A Broadcast object is a namedtuple with these attributes:\n\n - cast: the name of the table being broadcast\n - onto: the name of the table onto which \"cast\" is broadcast\n - cast_on: The optional name ... | 223 | false | UDST/orca | get_broadcast | 14,085 | |
LDU_FT/onecodex/onecodex/pretty_print_error | LDU_FT | [
"<BEGIN>\n## `plot_heatmap`",
"Plot heatmap of taxa abundance/count data for several samples.",
" Parameters\n ----------\n rank : {'auto', 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species'}, optional\n Analysis will be restricted to abundances of taxa at the sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_print_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_print_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Pretty print Flask-Potion error messages for the user. | "Pretty print Flask-Potion error messages for the user." | 304 | false | onecodex/onecodex | pretty_print_error | 14,086 | |
LDU_FT/proteanhq/protean/get_many | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Initialize a ListRequestObject object from a dictionary.\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to its string representation\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to an int and raise error on failures\n<END>",
"<BEGIN>\n## `_cast_to_ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Fetch a bunch of keys from the cache. For certain backends (memcached,
pgsql) this can be *much* faster when fetching multiple values.
Return a dict mapping each key in keys to its value. If the given
key is missing, it will be missing from the response dict. | "Fetch a bunch of keys from the cache. For certain backends (memcached,\n pgsql) this can be *much* faster when fetching multiple values.\n Return a dict mapping each key in keys to its value. If the given\n key is missing, it will be missing from the response dict." | 214 | false | proteanhq/protean | get_many | 14,087 | |
LDU_FT/jjjake/iamine/search | LDU_FT | [
"<BEGIN>\n## `get_global_rate_limit`",
"Get the global rate limit per client.",
" :rtype: int\n :returns: The global rate limit for each client.\n<END>",
"<BEGIN>\n## `_rate_limited`",
"A rate limit decorator for limiting the number of times the\n decorated :class:`Miner` method can be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Mine Archive.org search results.
:param query: (optional) The Archive.org search query to yield
results for. Refer to https://archive.org/advancedsearch.php#raw
for help formatting your query. If no query is given,
all indexed items will be mined!
:type que... | "Mine Archive.org search results.\n\n :param query: (optional) The Archive.org search query to yield\n results for. Refer to https://archive.org/advancedsearch.php#raw\n for help formatting your query. If no query is given,\n all indexed items will be mined!\n :t... | 48 | false | jjjake/iamine | search | 14,088 | |
LDU_FT/classam/silly/a_thing | LDU_FT | [
"<BEGIN>\n## `_slugify`",
"This is not as good as a proper slugification function, but the input space is limited",
" >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'",
" Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the a_thing API.
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 a_thing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a ... thing.
>>> mock_random.seed(0)
>>> a_thing(random=mock_random)
'two secrets'
>>> mock_random.seed(1)
>>> a_thing(random=mock_random, capitalize=True)
'A Mighty Poop'
>>> mock_random.seed(2)
>>> a_thing(random=mock_random, slugify=True)
'a-poop'
>>> mock_random.seed(... | "Return a ... thing.\n\n >>> mock_random.seed(0)\n >>> a_thing(random=mock_random)\n 'two secrets'\n >>> mock_random.seed(1)\n >>> a_thing(random=mock_random, capitalize=True)\n 'A Mighty Poop'\n >>> mock_random.seed(2)\n >>> a_thing(random=mock_random, slugify=True)\n 'a-poop'\n >>> mock_... | 80 | false | classam/silly | a_thing | 14,089 | |
LDU_FT/ouroboroscoding/format-oc-python/clean | LDU_FT | [
"<BEGIN>\n## `default`",
"Default",
"\t\tCalled when the regular Encoder can't figure out what to do with the type",
"\t\tArgs:\n\t\t\tself (CEncoder): A pointer to the current instance\n\t\t\tobj (mixed): An unknown object that needs to be encoded",
"\t\tReturns:\n\t\t\tstr: A valid JSON string representin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API.
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 clean API.
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... | Clean
Makes sure both the key and value are properly stored in their correct
representation
Arguments:
value {mixed} -- The value to clean
Raises:
ValueError
Returns:
mixed | "Clean\n\n\t\tMakes sure both the key and value are properly stored in their correct\n\t\trepresentation\n\n\t\tArguments:\n\t\t\tvalue {mixed} -- The value to clean\n\n\t\tRaises:\n\t\t\tValueError\n\n\t\tReturns:\n\t\t\tmixed" | 155 | false | ouroboroscoding/format-oc-python | clean | 14,090 | |
LDU_FT/kiwiz/gkeepapi/from_json | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate to Google with the provided credentials.",
" Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.",
" Raises:\n LoginException: If there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Helper to construct a node from a dict.
Args:
raw (dict): Raw node representation.
Returns:
Node: A Node object or None. | "Helper to construct a node from a dict.\n\n Args:\n raw (dict): Raw node representation.\n\n Returns:\n Node: A Node object or None." | 164 | false | kiwiz/gkeepapi | from_json | 14,091 | |
LDU_FT/VasilyStepanov/pywidl/p_DictionaryMember | LDU_FT | [
"<BEGIN>\n## `p_Interface`",
"Interface : interface IDENTIFIER Inheritance \"{\" InterfaceMembers \"}\" \";\"\n<END>",
"<BEGIN>\n## `p_Dictionary`",
"Dictionary : dictionary IDENTIFIER Inheritance \"{\" DictionaryMembers \"}\" \";\"\n<END>",
"<BEGIN>\n## `p_DictionaryMember`",
"DictionaryMember : Type IDE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_DictionaryMember 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 p_DictionaryMember 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... | DictionaryMember : Type IDENTIFIER Default ";" | "DictionaryMember : Type IDENTIFIER Default \";\"" | 34 | false | VasilyStepanov/pywidl | p_DictionaryMember | 14,092 | |
LDU_FT/mapbox/cligj/iter_query | LDU_FT | [
"<BEGIN>\n## `normalize_feature_inputs`",
"Click callback that normalizes feature input values.",
" Returns a generator over features from the input value.",
" Parameters\n ----------\n ctx: a Click context\n param: the name of the argument or option\n value: object\n The value argume... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_query API.
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 iter_query API.
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... | Accept a filename, stream, or string.
Returns an iterator over lines of the query. | "Accept a filename, stream, or string.\n Returns an iterator over lines of the query." | 16 | false | mapbox/cligj | iter_query | 14,093 | |
LDU_FT/ribozz/sphinx-argparse/ensureUniqueIDs | LDU_FT | [
"<BEGIN>\n## `customWalker`",
"A convenience function to ease debugging. It will print the node structure that's returned from CommonMark",
" The usage would be something like:",
" >>> content = Parser().parse('Some big text block\\n===================\\n\\nwith content\\n')\n >>> customWalker(conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensureUniqueIDs API.
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 ensureUniqueIDs API.
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... | If action groups are repeated, then links in the table of contents will
just go to the first of the repeats. This may not be desirable, particularly
in the case of subcommands where the option groups have different members.
This function updates the title IDs by adding _repeatX, where X is a number
so t... | "If action groups are repeated, then links in the table of contents will\n just go to the first of the repeats. This may not be desirable, particularly\n in the case of subcommands where the option groups have different members.\n This function updates the title IDs by adding _repeatX, where X is a number\n ... | 37 | false | ribozz/sphinx-argparse | ensureUniqueIDs | 14,094 | |
LDU_FT/totalgood/nlpia/tag_lines | LDU_FT | [
"<BEGIN>\n## `main`",
"Train an LSTM encoder-decoder squence-to-sequence model on Anki flashcards for international translation",
" >>> model = main('spa', n=400, epochs=3, batch_size=128, num_neurons=32)\n Train on 360 samples, validate on 40 samples\n Epoch 1/3\n ...\n >>> len(model.get_weights... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_lines API.
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 tag_lines API.
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... | r""" Naively tags lines from manuscript with: code, natural, heading, etc.
Returns:
list of tuples [(tag, line), ...]
>>> ' '.join(sorted(VALID_TAGS))
'anchor attribute blank_line block_header caption code code_end code_header code_start
comment comment_end comment_start image_link latexmath... | "r\"\"\" Naively tags lines from manuscript with: code, natural, heading, etc.\n\n Returns:\n list of tuples [(tag, line), ...]\n\n >>> ' '.join(sorted(VALID_TAGS))\n 'anchor attribute blank_line block_header caption code code_end code_header code_start\n comment comment_end comment_start image_lin... | 471 | false | totalgood/nlpia | tag_lines | 14,095 | |
LDU_FT/bennylope/smartystreets.py/get_index | LDU_FT | [
"<BEGIN>\n## `chunker`",
"Generates n-sized chunks from the list l\n<END>",
"<BEGIN>\n## `post`",
"Executes most of the request.",
" The parallelism parameter is useful to avoid swamping the API service with calls. Thus\n the entire set of requests won't be all made at once, but in chunked gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | Returns an address by input index, a value that matches the list index of the provided
lookup value, not necessarily the result.
:param key: an input_index matching the index of the provided address
:return: a matching Address | "Returns an address by input index, a value that matches the list index of the provided\n lookup value, not necessarily the result.\n\n :param key: an input_index matching the index of the provided address\n :return: a matching Address" | 35 | false | bennylope/smartystreets.py | get_index | 14,096 | |
LDU_FT/brutasse/graphite-api/dashed | LDU_FT | [
"<BEGIN>\n## `_find_paths`",
"Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns\n<END>",
"<BEGIN>\n## `union_overlapping`",
"Union any overlapping intervals in the given set.\n<END>",
"<BEGIN>\n## `recurse`",
"Recursi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dashed API.
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 dashed API.
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 ... | Takes one metric or a wildcard seriesList, followed by a float F.
Draw the selected metrics with a dotted line with segments of length F
If omitted, the default length of the segments is 5.0
Example::
&target=dashed(server01.instance01.memory.free,2.5) | "Takes one metric or a wildcard seriesList, followed by a float F.\n\n Draw the selected metrics with a dotted line with segments of length F\n If omitted, the default length of the segments is 5.0\n\n Example::\n\n &target=dashed(server01.instance01.memory.free,2.5)" | 519 | false | brutasse/graphite-api | dashed | 14,097 | |
LDU_FT/shi-cong/PYSTUDY/set_env | LDU_FT | [
"<BEGIN>\n## `add_view`",
"增加handler\n :param view_name: 路由\n :param handler: 处理类\n :return:\n<END>",
"<BEGIN>\n## `start`",
"启动服务器\n :param port: 端口号\n :return:\n<END>",
"<BEGIN>\n## `create_process`",
"创建进程\n :param daemon: True主进程关闭而关闭, False主进程必须等待子进程结束\n :para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_env API.
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 set_env API.
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... | 设置环境变量
:params envName: env名字
:params envValue: 值 | "设置环境变量\n :params envName: env名字\n :params envValue: 值" | 91 | false | shi-cong/PYSTUDY | set_env | 14,098 | |
LDU_FT/rbccps-iisc/ideam-python-sdk/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers a new device with the name entity_id. This device has permissions for services like subscribe,\n publish and access historical data.\n<END>",
"<BEGIN>\n## `no_ssl_verification`",
"Requests module fails due to lets encrypt ssl encryption. Will be fixed in the future ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Registers a new device with the name entity_id. This device has permissions for services like subscribe,
publish and access historical data. | "Registers a new device with the name entity_id. This device has permissions for services like subscribe,\n publish and access historical data." | 26 | false | rbccps-iisc/ideam-python-sdk | register | 14,099 | |
LDU_FT/scieloorg/processing/_commit | LDU_FT | [
"<BEGIN>\n## `slugify`",
"Convert to ASCII if 'allow_unicode' is False. Convert spaces to hyphens.\n Remove characters that aren't alphanumerics, underscores, or hyphens.\n Convert to lowercase. Also strip leading and trailing whitespace.\n<END>",
"<BEGIN>\n## `split_date`",
"This method splits a date i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _commit API.
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 _commit API.
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... | Envia requisição de commit do indice através da API. | "Envia requisição de commit do indice através da API." | 23 | false | scieloorg/processing | _commit | 14,100 | |
LDU_FT/Chyroc/WechatSogou/gen_search_article_url | LDU_FT | [
"<BEGIN>\n## `__hosting_wechat_img`",
"将微信明细中图片托管到云端,同时将html页面中的对应图片替换",
" Parameters\n ----------\n content_info : dict 微信文章明细字典\n {\n 'content_img_list': [], # 从微信文章解析出的原始图片列表\n 'content_html': '', # 从微信文章解析出文章的内容\n }\n hosting_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_search_article_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_search_article_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.... | 拼接搜索 文章 URL
Parameters
----------
keyword : str or unicode
搜索文字
page : int, optional
页数 the default is 1
timesn : WechatSogouConst.search_article_time
时间 anytime 没有限制 / day 一天 / week 一周 / month 一月 / year 一年 / specific 自定
默认是 anytim... | "拼接搜索 文章 URL\n\n Parameters\n ----------\n keyword : str or unicode\n 搜索文字\n page : int, optional\n 页数 the default is 1\n timesn : WechatSogouConst.search_article_time\n 时间 anytime 没有限制 / day 一天 / week 一周 / month 一月 / year 一年 / specific 自定\n ... | 99 | false | Chyroc/WechatSogou | gen_search_article_url | 14,101 | |
LDU_FT/square/connect-python-sdk/page_index | LDU_FT | [
"<BEGIN>\n## `attribute_name`",
"Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.",
" :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>",
"<BEGIN>\n## `idempotency_key`",
"Sets the idempotency_key of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_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 extrac... | Sets the page_index of this V1Page.
The page's position in the merchant's list of pages. Always an integer between 0 and 6, inclusive.
:param page_index: The page_index of this V1Page.
:type: int | "Sets the page_index of this V1Page.\n The page's position in the merchant's list of pages. Always an integer between 0 and 6, inclusive.\n\n :param page_index: The page_index of this V1Page.\n :type: int" | 148 | false | square/connect-python-sdk | page_index | 14,102 | |
LDU_FT/sethmlarson/virtualbox-python/on_dn_d_mode_change | LDU_FT | [
"<BEGIN>\n## `register_on_network_adapter_changed`",
"Set the callback function to consume on network adapter changed\n events.",
" Callback receives a INetworkAdapterChangedEvent object.",
" Returns the callback_id\n<END>",
"<BEGIN>\n## `register_on_serial_port_changed`",
"Set the ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_dn_d_mode_change 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 on_dn_d_mode_change 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... | Notification when the drag'n drop mode changes.
in dnd_mode of type :class:`DnDMode`
The new mode for drag'n drop. | "Notification when the drag'n drop mode changes.\n\n in dnd_mode of type :class:`DnDMode`\n The new mode for drag'n drop." | 2,484 | true | sethmlarson/virtualbox-python | on_dn_d_mode_change | 14,103 | |
LDU_FT/deshima-dev/decode/pca | LDU_FT | [
"<BEGIN>\n## `xarrayfunc`",
"Make a function compatible with xarray.DataArray.",
" This function is intended to be used as a decorator like::",
" >>> @dc.xarrayfunc\n >>> def func(array):\n ... # do something\n ... return newarray\n >>>\n >>> result = func(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pca API.
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 pca API.
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... | Apply Principal Component Analysis (PCA) method to estimate baselines at each time.
Args:
onarray (decode.array): Decode array of on-point observations.
offarray (decode.array): Decode array of off-point observations.
n (int): The number of pricipal components.
pc (bool): When True,... | "Apply Principal Component Analysis (PCA) method to estimate baselines at each time.\n\n Args:\n onarray (decode.array): Decode array of on-point observations.\n offarray (decode.array): Decode array of off-point observations.\n n (int): The number of pricipal components.\n pc (bool): Whe... | 137 | false | deshima-dev/decode | pca | 14,104 | |
LDU_FT/hfaran/Tornado-JSON/_cleandoc | LDU_FT | [
"<BEGIN>\n## `_validate_example`",
"Validates example against schema",
" :returns: Formatted example if example exists and validates, otherwise None\n :raises ValidationError: If example does not validate against the schema\n<END>",
"<BEGIN>\n## `_get_rh_methods`",
"Yield all HTTP methods in ``rh`` th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cleandoc API.
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 _cleandoc API.
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... | Remove uniform indents from ``doc`` lines that are not empty
:returns: Cleaned ``doc`` | "Remove uniform indents from ``doc`` lines that are not empty\n\n :returns: Cleaned ``doc``" | 61 | false | hfaran/Tornado-JSON | _cleandoc | 14,105 | |
LDU_FT/wuher/devil/_decode_data | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Decode string data.
:returns: unicode string | "Decode string data.\n\n :returns: unicode string" | 193 | false | wuher/devil | _decode_data | 14,106 | |
LDU_FT/petebachant/PXL/calc_multi_exp_unc | LDU_FT | [
"<BEGIN>\n## `sigmafilter`",
"Remove datapoints outside of a specified standard deviation range.\n<END>",
"<BEGIN>\n## `psd`",
"Compute one-sided power spectral density, subtracting mean automatically.\r",
" Parameters\r\n ----------\r\n t : Time array\r\n data : Time series data\r\n window :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_multi_exp_unc 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 calc_multi_exp_unc 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... | Calculate expanded uncertainty using values from multiple runs.
Note that this function assumes the statistic is a mean value, therefore
the combined standard deviation is divided by `sqrt(N)`.
Parameters
----------
sys_unc : numpy array of systematic uncertainties
n : numpy array of n... | "Calculate expanded uncertainty using values from multiple runs.\r\n\r\n Note that this function assumes the statistic is a mean value, therefore\r\n the combined standard deviation is divided by `sqrt(N)`.\r\n\r\n Parameters\r\n ----------\r\n sys_unc : numpy array of systematic uncertainties\r\n n :... | 65 | false | petebachant/PXL | calc_multi_exp_unc | 14,107 | |
LDU_FT/zeehio/parmap/starmap | LDU_FT | [
"<BEGIN>\n## `_deprecated_kwargs`",
"arg_newarg is a list of tuples, where each tuple has a pair of strings.\n ('old_arg', 'new_arg')\n A DeprecationWarning is raised for the arguments that need to be\n replaced.\n<END>",
"<BEGIN>\n## `_map_or_starmap`",
"Shared function between parmap.ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starmap API.
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 starmap API.
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... | Equivalent to:
>>> return ([function(x1,x2,x3,..., args[0], args[1],...) for
>>> (x1,x2,x3...) in iterable])
:param pm_parallel: Force parallelization on/off
:type pm_parallel: bool
:param pm_chunksize: see :py:class:`multiprocessing.pool.Pool`
:type pm_chun... | "Equivalent to:\n >>> return ([function(x1,x2,x3,..., args[0], args[1],...) for\n >>> (x1,x2,x3...) in iterable])\n\n :param pm_parallel: Force parallelization on/off\n :type pm_parallel: bool\n :param pm_chunksize: see :py:class:`multiprocessing.pool.Pool`\n :type... | 20 | false | zeehio/parmap | starmap | 14,108 | |
LDU_FT/Ouranosinc/xclim/tg_max | LDU_FT | [
"<BEGIN>\n## `build_module`",
"Create a module from imported objects.",
" Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tg_max API.
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 tg_max API.
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"""Highest mean temperature.
The maximum of daily mean temperature.
Parameters
----------
tas : xarray.DataArray
Mean daily temperature [℃] or [K]
freq : str, optional
Resampling frequency
Returns
-------
xarray.DataArray
Maximum of daily minimum temperature.
N... | "r\"\"\"Highest mean temperature.\n\n The maximum of daily mean temperature.\n\n Parameters\n ----------\n tas : xarray.DataArray\n Mean daily temperature [℃] or [K]\n freq : str, optional\n Resampling frequency\n\n Returns\n -------\n xarray.DataArray\n Maximum of daily minimum t... | 578 | false | Ouranosinc/xclim | tg_max | 14,109 | |
LDU_FT/peterbrittain/asciimatics/play | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset the scene ready for playing.",
" :param old_scene: The previous version of this Scene that was running before the\n application reset - e.g. due to a screen resize.\n :param screen: New screen to use if old_scene is not None.\n<END>",
"<BEGIN>\n## `add_ef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the play API.
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 play API.
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... | Play a set of scenes.
This is effectively a helper function to wrap :py:meth:`.set_scenes` and
:py:meth:`.draw_next_frame` to simplify animation for most applications.
:param scenes: a list of :py:obj:`.Scene` objects to play.
:param stop_on_resize: Whether to stop when the screen is r... | "Play a set of scenes.\n\n This is effectively a helper function to wrap :py:meth:`.set_scenes` and\n :py:meth:`.draw_next_frame` to simplify animation for most applications.\n\n :param scenes: a list of :py:obj:`.Scene` objects to play.\n :param stop_on_resize: Whether to stop when the scre... | 355 | false | peterbrittain/asciimatics | play | 14,110 | |
LDU_FT/burnash/gspread/insert_permission | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.",
" :returns: :class:`gspread.Client` instance.\n<END>",
"<BEGIN>\n## `batch_update`",
"Lower-level method ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_permission API.
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 insert_permission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Creates a new permission for a file.
:param file_id: a spreadsheet ID (aka file ID.)
:type file_id: str
:param value: user or group e-mail address, domain name
or None for 'default' type.
:type value: str, None
:param perm_type: (optional) The account type.... | "Creates a new permission for a file.\n\n :param file_id: a spreadsheet ID (aka file ID.)\n :type file_id: str\n :param value: user or group e-mail address, domain name\n or None for 'default' type.\n :type value: str, None\n :param perm_type: (optional) The accou... | 226 | false | burnash/gspread | insert_permission | 14,111 | |
LDU_FT/alpha-xone/xone/inst_repr | LDU_FT | [
"<BEGIN>\n## `trade_day`",
"Latest trading day w.r.t given dt",
" Args:\n dt: date of reference\n cal: trading calendar",
" Returns:\n pd.Timestamp: last trading day",
" Examples:\n >>> trade_day('2018-12-25').strftime('%Y-%m-%d')\n '2018-12-24'\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inst_repr API.
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 inst_repr API.
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... | Generate class instance signature from its __dict__
From python 3.6 dict is ordered and order of attributes will be preserved automatically
Args:
instance: class instance
fmt: ['json', 'str']
public_only: if display public members only
Returns:
str: string or json represent... | "Generate class instance signature from its __dict__\n From python 3.6 dict is ordered and order of attributes will be preserved automatically\n\n Args:\n instance: class instance\n fmt: ['json', 'str']\n public_only: if display public members only\n\n Returns:\n str: string or json... | 89 | false | alpha-xone/xone | inst_repr | 14,112 | |
LDU_FT/rm-hull/luma.core/calc_bounds | LDU_FT | [
"<BEGIN>\n## `animate`",
"Returns a generator which \"executes\" an animation sequence for the given\n ``seq_name``, inasmuch as the next frame for the given animation is\n yielded when requested.",
" :param seq_name: The name of a previously defined animation sequence.\n :type seq_n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_bounds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_bounds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | For an entity with width and height attributes, determine
the bounding box if were positioned at ``(x, y)``. | "For an entity with width and height attributes, determine\n the bounding box if were positioned at ``(x, y)``." | 126 | false | rm-hull/luma.core | calc_bounds | 14,113 | |
LDU_FT/Miserlou/Zappa/unschedule_events | LDU_FT | [
"<BEGIN>\n## `route_sns_task`",
"Gets SNS Message, deserialises the message,\n imports the function, calls the function with args\n<END>",
"<BEGIN>\n## `run_message`",
"Runs a function defined by a message object with keys:\n 'task_path', 'args', and 'kwargs' used by lambda routing\n and a 'command' ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unschedule_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unschedule_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Given a list of events, unschedule these CloudWatch Events.
'events' is a list of dictionaries, where the dict must contains the string
of a 'function' and the string of the event 'expression', and an optional 'name' and 'description'. | "Given a list of events, unschedule these CloudWatch Events.\n\n 'events' is a list of dictionaries, where the dict must contains the string\n of a 'function' and the string of the event 'expression', and an optional 'name' and 'description'." | 312 | false | Miserlou/Zappa | unschedule_events | 14,114 | |
LDU_FT/UMIACS/qav/validate | LDU_FT | [
"<BEGIN>\n## `validate`",
"Attempts a forward lookup via the socket library and if\n successful will try to do a reverse lookup to verify DNS\n is returning both lookups.\n<END>",
"<BEGIN>\n## `validate`",
"Return a boolean if the value is a valid netmask.\n<END>",
"<BEGIN>\n## `validate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a boolean indicating if the value is a valid URI | "Return a boolean indicating if the value is a valid URI" | 29 | false | UMIACS/qav | validate | 14,115 | |
LDU_FT/netmarkjp/pybacklog/user_stars_count | LDU_FT | [
"<BEGIN>\n## `do`",
"- Method: method\n - URL: url.format(**url_params)\n - Parameter: query_params & apiKey=api_key\n - Request Body(data): request_params\n<END>",
"<BEGIN>\n## `project_activities`",
"client = BacklogClient(\"your_space_name\", \"your_api_key\")\n client.project_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_stars_count API.
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 user_stars_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | client = BacklogClient("your_space_name", "your_api_key")
client.user_stars_count(5)
client.user_stars_count(5, {"since": "2017-05-01", "until": "2017-05-31"}) | "client = BacklogClient(\"your_space_name\", \"your_api_key\")\n client.user_stars_count(5)\n client.user_stars_count(5, {\"since\": \"2017-05-01\", \"until\": \"2017-05-31\"})" | 25 | false | netmarkjp/pybacklog | user_stars_count | 14,116 | |
LDU_FT/lorien/grab/process_service_result | LDU_FT | [
"<BEGIN>\n## `get_item`",
"Returned item should have specific interface. See module docstring.\n<END>",
"<BEGIN>\n## `has_item`",
"Test if required item exists in the cache.\n<END>",
"<BEGIN>\n## `build_grab_exception`",
"Build Grab exception from the pycurl exception",
" Args:\n ex - the orig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_service_result 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 process_service_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Process result submitted from any service to task dispatcher service.
Result could be:
* Task
* None
* Task instance
* ResponseNotValid-based exception
* Arbitrary exception
* Network response:
{ok, ecode, emsg, error_abbr, exc, grab, grab_config_back... | "Process result submitted from any service to task dispatcher service.\n\n Result could be:\n * Task\n * None\n * Task instance\n * ResponseNotValid-based exception\n * Arbitrary exception\n * Network response:\n {ok, ecode, emsg, error_abbr, exc, grab, grab_c... | 188 | false | lorien/grab | process_service_result | 14,117 | |
LDU_FT/QualiSystems/cloudshell-networking-devices/load_firmware | LDU_FT | [
"<BEGIN>\n## `create_networking_resource_from_context`",
"Creates an instance of Networking Resource by given context\n :param shell_name: Shell Name\n :type shell_name: str\n :param supported_os: list of supported OS\n :type supported_os: list\n :param context: cloudshell.shell.core.driver_context... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_firmware API.
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 load_firmware API.
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... | Update firmware version on device by loading provided image, performs following steps:
1. Copy bin file from remote tftp server.
2. Clear in run config boot system section.
3. Set downloaded bin file as boot file and then reboot device.
4. Check if firmware was successfu... | "Update firmware version on device by loading provided image, performs following steps:\n\n 1. Copy bin file from remote tftp server.\n 2. Clear in run config boot system section.\n 3. Set downloaded bin file as boot file and then reboot device.\n 4. Check if firmware was suc... | 87 | false | QualiSystems/cloudshell-networking-devices | load_firmware | 14,118 | |
LDU_FT/mickybart/python-atlasbroker/create | LDU_FT | [
"<BEGIN>\n## `provision`",
"Provision the new instance",
" see openbrokerapi documentation",
" Returns:\n ProvisionedServiceSpec\n<END>",
"<BEGIN>\n## `unbind`",
"Unbinding the instance",
" see openbrokerapi documentation",
" Raises:\n ErrBindingDoesNo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create the instance
Args:
instance (AtlasServiceInstance.Instance): Existing or New instance
parameters (dict): Parameters for the instance
existing (bool): Create an instance on an existing Atlas cluster
Returns:
ProvisionedServiceSpec: ... | "Create the instance\n \n Args:\n instance (AtlasServiceInstance.Instance): Existing or New instance\n parameters (dict): Parameters for the instance\n existing (bool): Create an instance on an existing Atlas cluster\n \n Returns:\n ProvisionedServ... | 93 | false | mickybart/python-atlasbroker | create | 14,119 | |
LDU_FT/vecnet/vecnet.openmalaria/tag_value_setter | LDU_FT | [
"<BEGIN>\n## `get_percentage_from_prob`",
"Converted probability of being treated to total percentage of clinical cases treated\n<END>",
"<BEGIN>\n## `get_schema_version_from_xml`",
"Get schemaVersion attribute from OpenMalaria scenario file\n xml - open file or content of xml document to be processed\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_value_setter API.
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 tag_value_setter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Decorator used to declare that the setter function is an attribute of embedded tag | "Decorator used to declare that the setter function is an attribute of embedded tag" | 42 | false | vecnet/vecnet.openmalaria | tag_value_setter | 14,120 | |
LDU_FT/common-workflow-language/cwltool/find_deps | LDU_FT | [
"<BEGIN>\n## `add_volumes`",
"Append volume mappings to the runtime option list.\n<END>",
"<BEGIN>\n## `docker_monitor`",
"Record memory usage of the running Docker container.\n<END>",
"<BEGIN>\n## `adjustFiles`",
"Apply a mapping function to each File path in the object `rec`.\n<END>",
"<BEGIN>\n## `ch... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_deps API.
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 find_deps API.
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... | Find the dependencies of the CWL document. | "Find the dependencies of the CWL document." | 161 | false | common-workflow-language/cwltool | find_deps | 14,121 | |
LDU_FT/liminspace/dju-image/image_get_format | LDU_FT | [
"<BEGIN>\n## `image_get_format`",
"Return image format for file-object f. (jpeg, png, gif etc.)\n All formats: http://pillow.readthedocs.org/en/latest/handbook/image-file-formats.html\n Example:\n if image_get_format(request.FILES['image']) == 'jpeg':\n print 'Image is JPEG'",
" i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_get_format API.
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 image_get_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return image format for file-object f. (jpeg, png, gif etc.)
All formats: http://pillow.readthedocs.org/en/latest/handbook/image-file-formats.html
Example:
if image_get_format(request.FILES['image']) == 'jpeg':
print 'Image is JPEG'
if image_get_format(open('/tmp/image.png', 'rb')) ... | "Return image format for file-object f. (jpeg, png, gif etc.)\n All formats: http://pillow.readthedocs.org/en/latest/handbook/image-file-formats.html\n Example:\n if image_get_format(request.FILES['image']) == 'jpeg':\n print 'Image is JPEG'\n\n if image_get_format(open('/tmp/image.png', ... | 36 | false | liminspace/dju-image | image_get_format | 14,122 | |
LDU_FT/innogames/polysh/change_state | LDU_FT | [
"<BEGIN>\n## `process_input_buffer`",
"Send the content of the input buffer to all remote processes, this must\n be called in the main thread\n<END>",
"<BEGIN>\n## `write_main_socket`",
"Synchronous write to the main socket, wait for ACK\n<END>",
"<BEGIN>\n## `get_stdin_pid`",
"Try to get the PID of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_state API.
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 change_state API.
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... | Change the state of the remote process, logging the change | "Change the state of the remote process, logging the change" | 66 | false | innogames/polysh | change_state | 14,123 | |
LDU_FT/brandonxiang/geojson-python-utils/geocode | LDU_FT | [
"<BEGIN>\n## `linestrings_intersect`",
"To valid whether linestrings from geojson are intersected with each other.\n reference: http://www.kevlindev.com/gui/math/intersection/Intersection.js",
" Keyword arguments:\n line1 -- first line geojson object\n line2 -- second line geojson object",
" if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API.
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 geocode API.
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... | 利用百度geocoding服务解析地址获取位置坐标
:param address:需要解析的地址
:return: | "利用百度geocoding服务解析地址获取位置坐标\n :param address:需要解析的地址\n :return:" | 70 | false | brandonxiang/geojson-python-utils | geocode | 14,124 | |
LDU_FT/campaignmonitor/createsend-python/make_request | LDU_FT | [
"<BEGIN>\n## `authorize_url`",
"Get the authorization URL for your application, given the application's\n client_id, redirect_uri, scope, and optional state data.\n<END>",
"<BEGIN>\n## `exchange_token`",
"Exchange a provided OAuth code for an OAuth access token, 'expires in'\n value and refresh ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | username and password should only be set when it is intended that
the default basic authentication mechanism using the API key be
overridden (e.g. when using the apikey route with username and password). | "username and password should only be set when it is intended that\n the default basic authentication mechanism using the API key be\n overridden (e.g. when using the apikey route with username and password)." | 73 | false | campaignmonitor/createsend-python | make_request | 14,125 | |
LDU_FT/Schwanksta/python-arcgis-rest-query/get | LDU_FT | [
"<BEGIN>\n## `get_descriptor_for_layer`",
"Returns the standard JSON descriptor for the layer. There is a lot of\n usefule information in there.\n<END>",
"<BEGIN>\n## `enumerate_layer_fields`",
"Pulls out all of the field names for a layer.\n<END>",
"<BEGIN>\n## `get`",
"Gets a layer and returns it... | 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... | Gets a layer and returns it as honest to God GeoJSON.
WHERE 1 = 1 causes us to get everything. We use OBJECTID in the WHERE clause
to paginate, so don't use OBJECTID in your WHERE clause unless you're going to
query under 1000 objects. | "Gets a layer and returns it as honest to God GeoJSON.\n\n WHERE 1 = 1 causes us to get everything. We use OBJECTID in the WHERE clause\n to paginate, so don't use OBJECTID in your WHERE clause unless you're going to\n query under 1000 objects." | 13 | false | Schwanksta/python-arcgis-rest-query | get | 14,126 | |
LDU_FT/pilliq/scratchpy/_pack | LDU_FT | [
"<BEGIN>\n## `_pack`",
"Packages msg according to Scratch message specification (encodes and \n appends length prefix to msg). Credit to chalkmarrow from the \n scratch.mit.edu forums for the prefix encoding code.\n<END>",
"<BEGIN>\n## `_get_type`",
"Converts a string from Scratch to its proper ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pack API.
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 _pack API.
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... | Packages msg according to Scratch message specification (encodes and
appends length prefix to msg). Credit to chalkmarrow from the
scratch.mit.edu forums for the prefix encoding code. | "Packages msg according to Scratch message specification (encodes and \n appends length prefix to msg). Credit to chalkmarrow from the \n scratch.mit.edu forums for the prefix encoding code." | 24 | false | pilliq/scratchpy | _pack | 14,127 | |
LDU_FT/wonambi-python/wonambi/add_bookmark | LDU_FT | [
"<BEGIN>\n## `write_mnefiff`",
"Export data to MNE using FIFF format.",
" Parameters\n ----------\n data : instance of ChanTime\n data with only one trial\n filename : path to file\n file to export to (include '.mat')",
" Notes\n -----\n It cannot store data larger than 2 GB... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_bookmark API.
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 add_bookmark API.
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... | Add a new bookmark
Parameters
----------
name : str
name of the bookmark
time : (float, float)
float with start and end time in s
Raises
------
IndexError
When there is no selected rater | "Add a new bookmark\n\n Parameters\n ----------\n name : str\n name of the bookmark\n time : (float, float)\n float with start and end time in s\n\n Raises\n ------\n IndexError\n When there is no selected rater" | 1,345 | true | wonambi-python/wonambi | add_bookmark | 14,128 | |
LDU_FT/mulkieran/justbases/getString | LDU_FT | [
"<BEGIN>\n## `xform`",
"Get a number as a string.",
" :param number: a number\n :type number: list of int\n :param int base: the base in which this number is being represented\n :raises BasesValueError: if config is unsuitable for number\n<END>",
"<BEGIN>\n## `_strip_trailing_zeros... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getString API.
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 getString API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return a representation of a Radix according to config.
:param DisplayConfig config: configuration
:param int relation: the relation of this value to actual value | "Return a representation of a Radix according to config.\n\n :param DisplayConfig config: configuration\n :param int relation: the relation of this value to actual value" | 127 | false | mulkieran/justbases | getString | 14,129 | |
LDU_FT/treycucco/bidon/resolve_path | LDU_FT | [
"<BEGIN>\n## `_normalize_name`",
"Returns a normalized element tag or attribute name. A tag name or attribute name can be given\n either as a string, or as a 2-tuple. If a 2-tuple, it is interpreted as (namespace, name) and is\n returned joined by a colon \":\"",
" :name: a string or a 2-tuple of strings\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Resolve a rfc 6901 path, returning the parent and the last path part. | "Resolve a rfc 6901 path, returning the parent and the last path part." | 436 | false | treycucco/bidon | resolve_path | 14,130 | |
LDU_FT/Stewori/pytypes/typechecked | LDU_FT | [
"<BEGIN>\n## `_outter_split`",
"Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the typechecked API.
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 typechecked API.
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... | Decorator applicable to functions, methods, properties,
classes or modules (by explicit call).
If applied on a module, memb must be a module or a module name contained in sys.modules.
See pytypes.set_global_typechecked_decorator to apply this on all modules.
Asserts compatibility of runtime argument and... | "Decorator applicable to functions, methods, properties,\n classes or modules (by explicit call).\n If applied on a module, memb must be a module or a module name contained in sys.modules.\n See pytypes.set_global_typechecked_decorator to apply this on all modules.\n Asserts compatibility of runtime argumen... | 187 | false | Stewori/pytypes | typechecked | 14,131 | |
LDU_FT/kamikaze/webdav/execute_request | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Returns list of nested files and directories for local directory by path",
" :param directory: absolute or relative path to local directory\n :return: list nested of file or directory names\n<END>",
"<BEGIN>\n## `get_options`",
"Extract options for specified option type from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generate request to WebDAV server for specified action and path and execute it.
:param action: the action for WebDAV server which should be executed.
:param path: the path to resource for action
:param data: (optional) Dictionary or list of tuples ``[(key, value)]`` (will be form-encoded), byte... | "Generate request to WebDAV server for specified action and path and execute it.\n\n :param action: the action for WebDAV server which should be executed.\n :param path: the path to resource for action\n :param data: (optional) Dictionary or list of tuples ``[(key, value)]`` (will be form-encoded),... | 120 | false | kamikaze/webdav | execute_request | 14,132 | |
LDU_FT/coded-by-hand/mass/untar_file | LDU_FT | [
"<BEGIN>\n## `get_requirement_from_url`",
"Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>",
"<BEGIN>\n## `package_to_requirement`",
"Translate a name like Foo-1.2 to Foo==1.3\n<END>",
"<BEGIN>\n## `get_mirrors`",
"Return the list of mirrors from the last record fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the untar_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 untar_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... | Untar the file (tar file located at filename) to the destination location | "Untar the file (tar file located at filename) to the destination location" | 105 | false | coded-by-hand/mass | untar_file | 14,133 | |
LDU_FT/d0ugal/python-rfxcom/validate_packet | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse a 9 bytes packet in the Temperature format and return a\n dictionary containing the data extracted. An example of a return value\n would be:",
" .. code-block:: python",
" {\n 'id': \"0x2EB2\",\n 'packet_length': 8,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_packet API.
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 validate_packet API.
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... | Validate a packet against this packet handler and determine if it
meets the requirements. This is done by checking the following
conditions are true.
- The length of the packet is equal to the first byte.
- The second byte is in the set of defined PACKET_TYPES for this class.
- ... | "Validate a packet against this packet handler and determine if it\n meets the requirements. This is done by checking the following\n conditions are true.\n\n - The length of the packet is equal to the first byte.\n - The second byte is in the set of defined PACKET_TYPES for this class.\n ... | 74 | false | d0ugal/python-rfxcom | validate_packet | 14,134 | |
LDU_FT/olitheolix/qtmacs/cursorPositionChangedEvent | LDU_FT | [
"<BEGIN>\n## `qteSaveMacroData`",
"Associate arbitrary ``data`` with ``widgetObj``.",
" This is a convenience method to easily store applet/widget\n specific information in between calls.",
" If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cursorPositionChangedEvent 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 cursorPositionChangedEvent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Update the highlighting.
This is an overloaded version of the native Qt slot of
``QTextEdit``.
In this class, the purpose of this slot is to check if the
character to the right of the cursor needs highlighting,
assuming there is a second character to pair with it.
|Arg... | "Update the highlighting.\n\n This is an overloaded version of the native Qt slot of\n ``QTextEdit``.\n\n In this class, the purpose of this slot is to check if the\n character to the right of the cursor needs highlighting,\n assuming there is a second character to pair with it.\n\n ... | 1,108 | true | olitheolix/qtmacs | cursorPositionChangedEvent | 14,135 | |
LDU_FT/vtraag/leidenalg/find_partition | LDU_FT | [
"<BEGIN>\n## `find_partition`",
"Detect communities using the default settings.",
" This function detects communities given the specified method in the\n ``partition_type``. This should be type derived from\n :class:`VertexPartition.MutableVertexPartition`, e.g.\n :class:`ModularityVertexPartition` or :clas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_partition API.
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 find_partition API.
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... | Detect communities using the default settings.
This function detects communities given the specified method in the
``partition_type``. This should be type derived from
:class:`VertexPartition.MutableVertexPartition`, e.g.
:class:`ModularityVertexPartition` or :class:`CPMVertexPartition`. Optionally
an initia... | "Detect communities using the default settings.\n\n This function detects communities given the specified method in the\n ``partition_type``. This should be type derived from\n :class:`VertexPartition.MutableVertexPartition`, e.g.\n :class:`ModularityVertexPartition` or :class:`CPMVertexPartition`. Optionally\n an... | 202 | false | vtraag/leidenalg | find_partition | 14,136 | |
LDU_FT/thespacedoctor/transientNamer/csv | LDU_FT | [
"<BEGIN>\n## `sources`",
"*The results of the search returned as a python list of dictionaries*",
" **Usage:**",
" .. code-block:: python",
" sources = tns.sources\n<END>",
"<BEGIN>\n## `spectra`",
"*The associated source spectral data*",
" **Usage:**",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | *Render the results in csv format*
**Key Arguments:**
- ``dirPath`` -- the path to the directory to save the rendered results to. Default *None*
**Return:**
- `csvSources` -- the top-level transient data
- `csvPhot` -- all photometry associated with the transients
... | "*Render the results in csv format*\n\n **Key Arguments:**\n - ``dirPath`` -- the path to the directory to save the rendered results to. Default *None*\n\n **Return:**\n - `csvSources` -- the top-level transient data\n - `csvPhot` -- all photometry associated with the tran... | 132 | false | thespacedoctor/transientNamer | csv | 14,137 | |
LDU_FT/datosgobar/pydatajson/main | LDU_FT | [
"<BEGIN>\n## `get_datasets`",
"Devuelve una lista de datasets del catálogo o de uno de sus metadatos.",
" Args:\n catalog (dict, str or DataJson): Representación externa/interna de un\n catálogo. Una representación _externa_ es un path local o una\n URL remota a un archivo con la... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Permite validar un catálogo por línea de comandos.
Args:
catalog (str): Path local o URL a un catálogo. | "Permite validar un catálogo por línea de comandos.\n\n Args:\n catalog (str): Path local o URL a un catálogo." | 337 | false | datosgobar/pydatajson | main | 14,138 | |
LDU_FT/box/rotunicode/parse_escape_sequences | LDU_FT | [
"<BEGIN>\n## `encode`",
"Return the encoded version of a string.",
" :param string:\n The input string to encode.\n :type string:\n `basestring`",
" :param errors:\n The error handling scheme. Only 'strict' is supported.\n :type errors:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_escape_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_escape_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Parse a string for possible escape sequences.
Sample usage:
>>> parse_escape_sequences('foo\\nbar')
'foo\nbar'
>>> parse_escape_sequences('foo\\\\u0256')
'foo\\u0256'
:param string:
Any string.
:type string:
`basestring`
:raises:
:class:`ValueError` if a backsla... | "Parse a string for possible escape sequences.\n\n Sample usage:\n >>> parse_escape_sequences('foo\\\\nbar')\n 'foo\\nbar'\n >>> parse_escape_sequences('foo\\\\\\\\u0256')\n 'foo\\\\u0256'\n\n :param string:\n Any string.\n :type string:\n `basestring`\n :raises:\n :class:`V... | 28 | false | box/rotunicode | parse_escape_sequences | 14,139 | |
LDU_FT/farzadghanei/distutilazy/_clean_file | LDU_FT | [
"<BEGIN>\n## `_find_files`",
"Find files recursively in the root path\n using provided extensions.",
" :return: list of absolute file paths\n<END>",
"<BEGIN>\n## `_clean_file`",
"Clean a file if exists and not in dry run\n<END>",
"<BEGIN>\n## `_clean_directory`",
"Clean a directory if exis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_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 extra... | Clean a file if exists and not in dry run | "Clean a file if exists and not in dry run" | 21 | false | farzadghanei/distutilazy | _clean_file | 14,140 | |
LDU_FT/psd-tools/psd-tools/draw_pattern_fill | LDU_FT | [
"<BEGIN>\n## `open`",
"Open the smart object as binary IO.",
" :param external_dir: Path to the directory of the external file.",
" Example::",
" with layer.smart_object.open() as f:\n data = f.read()\n<END>",
"<BEGIN>\n## `data`",
"Embedded file content, or empty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_pattern_fill API.
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 draw_pattern_fill API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Draw pattern fill on the image.
:param image: Image to be filled.
:param psd: :py:class:`PSDImage`.
:param setting: Descriptor containing pattern fill.
:param blend: Blend the fill or ignore. Effects blend. | "Draw pattern fill on the image.\n\n :param image: Image to be filled.\n :param psd: :py:class:`PSDImage`.\n :param setting: Descriptor containing pattern fill.\n :param blend: Blend the fill or ignore. Effects blend." | 173 | false | psd-tools/psd-tools | draw_pattern_fill | 14,141 | |
LDU_FT/SmartTeleMax/iktomi/slice | LDU_FT | [
"<BEGIN>\n## `pare`",
"Pare text to have maximum size and add etc to the end if it's\n changed\n<END>",
"<BEGIN>\n## `quoteattrs`",
"Takes dict of attributes and returns their HTML representation\n<END>",
"<BEGIN>\n## `quote_js`",
"Quotes text to be used as JavaScript string in HTML templates. The\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slice API.
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 slice API.
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... | Slice the sequence of all items to obtain them for current page. | "Slice the sequence of all items to obtain them for current page." | 196 | false | SmartTeleMax/iktomi | slice | 14,142 | |
LDU_FT/readbeyond/aeneas/_synthesize_multiple_python | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Return a Unicode string pretty print of the log entries.",
" :param bool as_list: if ``True``, return a list of Unicode strings,\n one for each entry, instead of a Unicode string\n :param bool show_datetime: if ``True``, show the date and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _synthesize_multiple_python 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 _synthesize_multiple_python API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Synthesize multiple fragments via a Python call.
:rtype: tuple (result, (anchors, current_time, num_chars)) | "Synthesize multiple fragments via a Python call.\n\n :rtype: tuple (result, (anchors, current_time, num_chars))" | 1,097 | true | readbeyond/aeneas | _synthesize_multiple_python | 14,143 | |
LDU_FT/joeferraro/mm/invalidateSessions | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Parse a JSON file\n First remove comments and then use the json module package\n Comments look like :\n // ...\n or\n /*\n ...\n */\n<END>",
"<BEGIN>\n## `get_meta_type_by_dir`",
"> quick and dirty fix for users expe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invalidateSessions 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 invalidateSessions 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... | Invalidate a Salesforce session
This should be used with extreme caution, for the following (undocumented) reason:
All API connections for a given user share a single session ID
This will call logout() WHICH LOGS OUT THAT USER FROM EVERY CONCURRENT SESSION
return invalidateSessionsResult | "Invalidate a Salesforce session\n\n This should be used with extreme caution, for the following (undocumented) reason:\n All API connections for a given user share a single session ID\n This will call logout() WHICH LOGS OUT THAT USER FROM EVERY CONCURRENT SESSION\n\n return invalidateSessionsResult" | 71 | false | joeferraro/mm | invalidateSessions | 14,144 | |
LDU_FT/n1analytics/python-paillier/encrypt_encoded | LDU_FT | [
"<BEGIN>\n## `generate_keypair`",
"Generate a paillier private key.",
" Output as JWK to given output file. Use \"-\" to output the private key to\n stdout. See the extract command to extract the public component of the\n private key.",
" Note:\n The default ID text includes the current tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_encoded API.
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 encrypt_encoded API.
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... | Paillier encrypt an encoded value.
Args:
encoding: The EncodedNumber instance.
r_value (int): obfuscator for the ciphertext; by default (i.e.
if *r_value* is None), a random value is used.
Returns:
EncryptedNumber: An encryption of *value*. | "Paillier encrypt an encoded value.\n\n Args:\n encoding: The EncodedNumber instance.\n r_value (int): obfuscator for the ciphertext; by default (i.e.\n if *r_value* is None), a random value is used.\n\n Returns:\n EncryptedNumber: An encryption of *value*." | 169 | false | n1analytics/python-paillier | encrypt_encoded | 14,145 | |
LDU_FT/bniemczyk/automata/_add_epsilon_states | LDU_FT | [
"<BEGIN>\n## `transitions_to`",
"returns enumerable of (prevstate, t) tuples\n this is super slow and needs to be sped up\n<END>",
"<BEGIN>\n## `reltags`",
"returns all the tags that are relevant at this state\n cache should be a dictionary and it is updated\n by the function\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_epsilon_states 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 _add_epsilon_states 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... | stateset is the list of initial states
gathered_epsilons is a dictionary of (dst: src) epsilon dictionaries | "stateset is the list of initial states\n gathered_epsilons is a dictionary of (dst: src) epsilon dictionaries" | 13 | false | bniemczyk/automata | _add_epsilon_states | 14,146 | |
LDU_FT/priestc/moneywagon/uncompress | LDU_FT | [
"<BEGIN>\n## `supported_currencies`",
"Returns a list of all currencies that are supported by the passed in project.\n and support level. Support level can be: \"block\", \"transaction\", \"address\"\n or \"full\".\n<END>",
"<BEGIN>\n## `not_supported_currencies`",
"Returns a list of all currenc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uncompress API.
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 uncompress API.
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... | Given a compressed ec key in bytes, uncompress it using math and return (x, y) | "Given a compressed ec key in bytes, uncompress it using math and return (x, y)" | 135 | false | priestc/moneywagon | uncompress | 14,147 | |
LDU_FT/peeringdb/peeringdb-py/get | LDU_FT | [
"<BEGIN>\n## `_config_logs`",
"Set up or change logging configuration.",
" _config_logs() => idempotent setup;\n _config_logs(L) => change log level\n<END>",
"<BEGIN>\n## `_get_name`",
"get display name for a key, or mangle for display\n<END>",
"<BEGIN>\n## `reftag_to_cls`",
"decorator that checks... | 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... | Get a resource instance by primary key (id) | "Get a resource instance by primary key (id)" | 42 | false | peeringdb/peeringdb-py | get | 14,148 | |
LDU_FT/pnpnpn/timeout-decorator/ready | LDU_FT | [
"<BEGIN>\n## `timeout`",
"Add a timeout parameter to a function and return it.",
" :param seconds: optional time limit in seconds or fractions of a second. If None is passed, no timeout is applied.\n This adds some flexibility to the usage: you can disable timing out depending on the settings.\n :t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ready API.
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 ready API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Read-only property indicating status of "value" property. | "Read-only property indicating status of \"value\" property." | 14 | false | pnpnpn/timeout-decorator | ready | 14,149 | |
LDU_FT/heitzmann/gdspy/grating | LDU_FT | [
"<BEGIN>\n## `_eight_byte_real`",
"Convert a number into the GDSII 8 byte real format.",
" Parameters\n ----------\n value : number\n The number to be converted.",
" Returns\n -------\n out : string\n The GDSII binary string that represents ``value``.\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grating API.
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 grating API.
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... | Straight or focusing grating.
period : grating period
number_of_teeth : number of teeth in the grating
fill_frac : filling fraction of the teeth (w.r.t. the period)
width : width of the grating
position : grating position (feed point)
direction : one of {'+... | "Straight or focusing grating.\n\n period : grating period\n number_of_teeth : number of teeth in the grating\n fill_frac : filling fraction of the teeth (w.r.t. the period)\n width : width of the grating\n position : grating position (feed point)\n direction : on... | 254 | false | heitzmann/gdspy | grating | 14,150 | |
LDU_FT/Galarzaa90/tibia.py/_parse_other_characters | LDU_FT | [
"<BEGIN>\n## `ranks`",
":class:`list` of :class:`str`: Ranks in their hierarchical order.\n<END>",
"<BEGIN>\n## `from_content`",
"Creates an instance of the class from the HTML content of the guild's page.",
" Parameters\n -----------\n content: :class:`str`\n The HTML conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_other_characters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_other_characters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Parses the character's other visible characters.
Parameters
----------
rows: :class:`list` of :class:`bs4.Tag`
A list of all rows contained in the table. | "Parses the character's other visible characters.\n\n Parameters\n ----------\n rows: :class:`list` of :class:`bs4.Tag`\n A list of all rows contained in the table." | 254 | false | Galarzaa90/tibia.py | _parse_other_characters | 14,151 | |
LDU_FT/romanz/trezor-agent/serve | LDU_FT | [
"<BEGIN>\n## `create_default_options_getter`",
"Return current TTY and DISPLAY settings for GnuPG pinentry.\n<END>",
"<BEGIN>\n## `write`",
"Send and flush a single line to the subprocess' stdin.\n<END>",
"<BEGIN>\n## `expect`",
"Read a line and return it without required prefix.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serve API.
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 serve API.
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... | Start the ssh-agent server on a UNIX-domain socket.
If no connection is made during the specified timeout,
retry until the context is over. | "Start the ssh-agent server on a UNIX-domain socket.\n\n If no connection is made during the specified timeout,\n retry until the context is over." | 235 | false | romanz/trezor-agent | serve | 14,152 | |
LDU_FT/bede/tictax/kmer_lca_records | LDU_FT | [
"<BEGIN>\n## `kmer_lca_records`",
"Parallel lowest common ancestor sequence classification of fasta/q using the One Codex API.\n Returns Biopython SeqRecords with tictax annotations as the `description` attribute.\n LCAs are assigned using an LCA index of 31mers from the One Codex database.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kmer_lca_records API.
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 kmer_lca_records API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parallel lowest common ancestor sequence classification of fasta/q using the One Codex API.
Returns Biopython SeqRecords with tictax annotations as the `description` attribute.
LCAs are assigned using an LCA index of 31mers from the One Codex database. | "Parallel lowest common ancestor sequence classification of fasta/q using the One Codex API.\n Returns Biopython SeqRecords with tictax annotations as the `description` attribute.\n LCAs are assigned using an LCA index of 31mers from the One Codex database." | 16 | false | bede/tictax | kmer_lca_records | 14,153 | |
LDU_FT/juiceinc/recipe/from_config | LDU_FT | [
"<BEGIN>\n## `cauldron_extras`",
"Yield extra tuples containing a field name and a callable that takes\n a row\n<END>",
"<BEGIN>\n## `make_column_suffixes`",
"Make sure we have the right column suffixes. These will be appended\n to `id` when generating the query.\n<END>",
"<BEGIN>\n## `parse_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 from_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... | Construct a Recipe from a plain Python dictionary.
Most of the directives only support named ingredients, specified as
strings, and looked up on the shelf. But filters can be specified as
objects.
Additionally, each RecipeExtension can extract and handle data from the
configura... | "Construct a Recipe from a plain Python dictionary.\n\n Most of the directives only support named ingredients, specified as\n strings, and looked up on the shelf. But filters can be specified as\n objects.\n\n Additionally, each RecipeExtension can extract and handle data from the\n c... | 129 | false | juiceinc/recipe | from_config | 14,154 | |
LDU_FT/openclimatedata/pyhector/read_hector_input | LDU_FT | [
"<BEGIN>\n## `read_hector_input`",
"Reads a Hector CSV file and returns it as a Pandas DataFrame.\n<END>",
"<BEGIN>\n## `write_hector_input`",
"Writes a scenario DataFrame to a CSV emissions file as used in Hector.",
" Parameters\n ----------\n scenario : DataFrame\n DataFrame with emissions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_hector_input API.
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_hector_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Reads a Hector CSV file and returns it as a Pandas DataFrame. | "Reads a Hector CSV file and returns it as a Pandas DataFrame." | 19 | false | openclimatedata/pyhector | read_hector_input | 14,155 | |
LDU_FT/TomasTomecek/sen/get_command | LDU_FT | [
"<BEGIN>\n## `quit`",
"This could be called from another thread, so let's do this via alarm\n<END>",
"<BEGIN>\n## `_set_main_widget`",
"add provided widget to widget list and display it",
" :param widget:\n :return:\n<END>",
"<BEGIN>\n## `display_buffer`",
"display provided buffer",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_command API.
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_command API.
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... | return command instance which is the actual command to be executed
:param command_input: str, command name and its args: "command arg arg2=val opt"
:param docker_object:
:param buffer:
:param size: tuple, so we can call urwid.keypress(size, ...)
:return: instance of Command | "return command instance which is the actual command to be executed\n\n :param command_input: str, command name and its args: \"command arg arg2=val opt\"\n :param docker_object:\n :param buffer:\n :param size: tuple, so we can call urwid.keypress(size, ...)\n :return: instance of Com... | 85 | false | TomasTomecek/sen | get_command | 14,156 | |
LDU_FT/xflr6/bitsets/frombools | LDU_FT | [
"<BEGIN>\n## `chunkreverse`",
"Yield integers of dtype bit-length reverting their bit-order.",
" >>> list(chunkreverse([0b10000000, 0b11000000, 0b00000001], 'B'))\n [1, 3, 128]",
" >>> list(chunkreverse([0x8000, 0xC000, 0x0001], 'H'))\n [1, 3, 32768]\n<END>",
"<BEGIN>\n## `pack`",
"Return inte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frombools API.
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 frombools API.
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... | Series from iterable of boolean evaluable iterables. | "Series from iterable of boolean evaluable iterables." | 66 | false | xflr6/bitsets | frombools | 14,157 | |
LDU_FT/alpacahq/pipeline-live/compute_chunk | LDU_FT | [
"<BEGIN>\n## `get_stockprices`",
"This is a proxy to the main fetch function to cache\n the result based on the chart range parameter.\n<END>",
"<BEGIN>\n## `_get_stockprices`",
"Get stock data (key stats and previous) from IEX.\n Just deal with IEX's 100 stocks limit per request.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_chunk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_chunk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Compute the Pipeline terms in the graph for the requested start and end
dates.
Parameters
----------
graph : zipline.pipeline.graph.TermGraph
dates : pd.DatetimeIndex
Row labels for our root mask.
symbols : list
Column labels for our root mask.
... | "Compute the Pipeline terms in the graph for the requested start and end\n dates.\n\n Parameters\n ----------\n graph : zipline.pipeline.graph.TermGraph\n dates : pd.DatetimeIndex\n Row labels for our root mask.\n symbols : list\n Column labels for our roo... | 23 | false | alpacahq/pipeline-live | compute_chunk | 14,158 | |
LDU_FT/ShenggaoZhu/midict/mget_list | LDU_FT | [
"<BEGIN>\n## `cvt_iter`",
"Convert an iterator/generator to a tuple so that it can be iterated again.",
" E.g., convert zip in PY3.\n<END>",
"<BEGIN>\n## `convert_dict`",
"recursively convert a normal Mapping `d` and it's values to a specified type\n (defaults to AttrDict)\n<END>",
"<BEGIN>\n## `_ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mget_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mget_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 extract... | get mulitple items via index of int, slice or list | "get mulitple items via index of int, slice or list" | 66 | false | ShenggaoZhu/midict | mget_list | 14,159 | |
LDU_FT/CybOXProject/mixbox/is_sequence | LDU_FT | [
"<BEGIN>\n## `__make_id`",
"Generate an identifier for a callable signal receiver.",
" This is used when disconnecting receivers, where we need to correctly\n establish equivalence between the input receiver and the receivers assigned\n to a signal.",
" Args:\n receiver: A callable object."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_sequence API.
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 is_sequence API.
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... | Determine if a value is a sequence type.
Returns:
``True`` if `value` is a sequence type (e.g., ``list``, or ``tuple``).
String types will return ``False``.
NOTE: On Python 3, strings have the __iter__ defined, so a simple hasattr
check is insufficient. | "Determine if a value is a sequence type.\n\n Returns:\n ``True`` if `value` is a sequence type (e.g., ``list``, or ``tuple``).\n String types will return ``False``.\n\n NOTE: On Python 3, strings have the __iter__ defined, so a simple hasattr\n check is insufficient." | 249 | false | CybOXProject/mixbox | is_sequence | 14,160 | |
LDU_FT/astropy/astropy-helpers/update_package_files | LDU_FT | [
"<BEGIN>\n## `get_dummy_distribution`",
"Returns a distutils Distribution object used to instrument the setup\n environment before calling the actual setup() function.\n<END>",
"<BEGIN>\n## `get_distutils_option`",
"Returns the value of the given distutils option.",
" Parameters\n ----------\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_package_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_package_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.
... | This function is deprecated and maintained for backward compatibility
with affiliated packages. Affiliated packages should update their
setup.py to use `get_package_info` instead. | "This function is deprecated and maintained for backward compatibility\n with affiliated packages. Affiliated packages should update their\n setup.py to use `get_package_info` instead." | 135 | false | astropy/astropy-helpers | update_package_files | 14,161 | |
LDU_FT/openpermissions/perch/view | LDU_FT | [
"<BEGIN>\n## `collect`",
"Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>",
"<BEGIN>\n## `run_migrations`",
"Run migrations for a resource type",
" :param: a dicitionary of migrations\n<END>",
"<BEGIN>\n## `_migrate_resource`",
"Migrate a resour... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted do... | Register a map function as a view
Currently, only a single map function can be created for each view
NOTE: the map function source is saved in CouchDB, so it cannot depend on
anything outside the function's scope.
:param db_name: the database name | "Register a map function as a view\n\n Currently, only a single map function can be created for each view\n\n NOTE: the map function source is saved in CouchDB, so it cannot depend on\n anything outside the function's scope.\n\n :param db_name: the database name" | 177 | false | openpermissions/perch | view | 14,162 | |
LDU_FT/brandonxiang/geojson-python-utils/convertor | LDU_FT | [
"<BEGIN>\n## `linestrings_intersect`",
"To valid whether linestrings from geojson are intersected with each other.\n reference: http://www.kevlindev.com/gui/math/intersection/Intersection.js",
" Keyword arguments:\n line1 -- first line geojson object\n line2 -- second line geojson object",
" if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convertor API.
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 convertor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | convert wgs84 to gcj
referencing by https://github.com/wandergis/coordTransform_py | "convert wgs84 to gcj\n referencing by https://github.com/wandergis/coordTransform_py" | 70 | false | brandonxiang/geojson-python-utils | convertor | 14,163 | |
LDU_FT/cmap/cmapPy/write_version_and_dims | LDU_FT | [
"<BEGIN>\n## `subset_main`",
"Separate method from main() in order to make testing easier and to\n enable command-line access.\n<END>",
"<BEGIN>\n## `_read_arg`",
"If arg is a list with 1 element that corresponds to a valid file path, use\n set_io.grp to read the grp file. Otherwise, check that arg is a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_version_and_dims API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_version_and_dims API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Write first two lines of gct file.
Args:
version (string): 1.3 by default
dims (list of strings): length = 4
f (file handle): handle of output file
Returns:
nothing | "Write first two lines of gct file.\n\n Args:\n version (string): 1.3 by default\n dims (list of strings): length = 4\n f (file handle): handle of output file\n Returns:\n nothing" | 210 | false | cmap/cmapPy | write_version_and_dims | 14,164 | |
LDU_FT/maxalbert/tohu/generate | LDU_FT | [
"<BEGIN>\n## `augment_init_method`",
"Replace the existing cls.__init__() method with a new one which\n also initialises the field generators and similar bookkeeping.\n<END>",
"<BEGIN>\n## `find_field_generators`",
"Return dictionary with the names and instances of\n all tohu.BaseGenerator occurring in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return sequence of `N` elements.
If `seed` is not None, the generator is reset
using this seed before generating the elements. | "Return sequence of `N` elements.\n\n If `seed` is not None, the generator is reset\n using this seed before generating the elements." | 142 | false | maxalbert/tohu | generate | 14,165 | |
LDU_FT/webrecorder/warcio/percent_encode_non_ascii_headers | LDU_FT | [
"<BEGIN>\n## `_raise_invalid_gzip_err`",
"A gzip file with multiple ARC/WARC records, non-chunked\n has been detected. This is not valid for replay, so notify user\n<END>",
"<BEGIN>\n## `_consume_blanklines`",
"Consume blank lines that are between records\n - For warcs, there are usually 2\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the percent_encode_non_ascii_headers 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 percent_encode_non_ascii_headers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Encode any headers that are not plain ascii
as UTF-8 as per:
https://tools.ietf.org/html/rfc8187#section-3.2.3
https://tools.ietf.org/html/rfc5987#section-3.2.2 | "Encode any headers that are not plain ascii\n as UTF-8 as per:\n https://tools.ietf.org/html/rfc8187#section-3.2.3\n https://tools.ietf.org/html/rfc5987#section-3.2.2" | 91 | false | webrecorder/warcio | percent_encode_non_ascii_headers | 14,166 | |
LDU_FT/tjvr/kurt/decode_obj_table | LDU_FT | [
"<BEGIN>\n## `_workaround_no_stage_specific_variables`",
"Make Stage-specific variables global (move them to Project).\n<END>",
"<BEGIN>\n## `register`",
"Register a new :class:`KurtPlugin`.",
" Once registered, the plugin can be used by :class:`Project`, when:",
" * :attr:`Project.load` see... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_obj_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_obj_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return root of obj table. Converts user-class objects | "Return root of obj table. Converts user-class objects" | 171 | false | tjvr/kurt | decode_obj_table | 14,167 | |
LDU_FT/blackecho/Deep-Learning-TensorFlow/_create_layers | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model to the given data.",
" :param train_set: training data\n :param test_set: test data\n<END>",
"<BEGIN>\n## `_run_train_step`",
"Run a single training step.",
" :param data: input data\n :param mode: 'train' or 'test'.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_layers API.
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_layers API.
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 the layers of the model from self.layers.
:param n_classes: number of classes
:return: self | "Create the layers of the model from self.layers.\n\n :param n_classes: number of classes\n :return: self" | 284 | false | blackecho/Deep-Learning-TensorFlow | _create_layers | 14,168 | |
LDU_FT/hbldh/pybankid/sign | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Request an authentication order. The :py:meth:`collect` method\n is used to query the status of the order.",
" Note that personal number is not needed when authentication is to\n be done on the same device, provided that the returned\n ``autoStartToken`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
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 sign API.
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... | Request an signing order. The :py:meth:`collect` method
is used to query the status of the order.
Note that personal number is not needed when signing is to be done
on the same device, provided that the returned ``autoStartToken``
is used to open the BankID Client.
Example data... | "Request an signing order. The :py:meth:`collect` method\n is used to query the status of the order.\n\n Note that personal number is not needed when signing is to be done\n on the same device, provided that the returned ``autoStartToken``\n is used to open the BankID Client.\n\n Exam... | 49 | false | hbldh/pybankid | sign | 14,169 | |
LDU_FT/wdecoster/NanoPlot/flag_length_outliers | LDU_FT | [
"<BEGIN>\n## `main`",
"Organization function\n -setups logging\n -gets inputdata\n -calls plotting function\n<END>",
"<BEGIN>\n## `make_plots`",
"Call plotting functions from nanoplotter\n settings[\"lengths_pointer\"] is a column in the DataFrame specifying which lengths to use\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flag_length_outliers 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 flag_length_outliers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return index of records with length-outliers above 3 standard deviations from the median. | "Return index of records with length-outliers above 3 standard deviations from the median." | 12 | false | wdecoster/NanoPlot | flag_length_outliers | 14,170 | |
LDU_FT/yamins81/tabular/colstack | LDU_FT | [
"<BEGIN>\n## `arrayuniqify`",
"Very fast uniqify routine for numpy arrays.",
" **Parameters**",
" **X** : numpy array",
" Determine the unique elements of this numpy array.",
" **retainorder** : Boolean, optional",
" Whether or not to retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colstack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colstack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Horizontally stack a sequence of numpy ndarrays with structured dtypes
Analog of numpy.hstack for recarrays.
Implemented by the tabarray method
:func:`tabular.tab.tabarray.colstack` which uses
:func:`tabular.tabarray.tab_colstack`.
**Parameters**
**seq** : sequence of numpy ndarra... | "Horizontally stack a sequence of numpy ndarrays with structured dtypes\n\n Analog of numpy.hstack for recarrays.\n\n Implemented by the tabarray method \n :func:`tabular.tab.tabarray.colstack` which uses \n :func:`tabular.tabarray.tab_colstack`.\n\n **Parameters**\n\n **seq** : sequence of n... | 928 | false | yamins81/tabular | colstack | 14,171 | |
LDU_FT/Xion/taipan/override | LDU_FT | [
"<BEGIN>\n## `decorator`",
"Decorator for decorators (sic), written either as classes or functions.",
" In either case, the decorator ``decor`` must be \"doubly-callable\":",
" * for classes, this means implementing ``__call__`` method\n in addition to possible ``__init__``\n * for f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the override API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the override API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Mark a method as overriding a corresponding method from superclass.
:param base:
Optional base class from which this method is being overridden.
If provided, it can be a class itself, or its (qualified) name.
.. note::
When overriding a :class:`classmethod`, remember to place ``@over... | "Mark a method as overriding a corresponding method from superclass.\n\n :param base:\n\n Optional base class from which this method is being overridden.\n If provided, it can be a class itself, or its (qualified) name.\n\n .. note::\n\n When overriding a :class:`classmethod`, remember to pla... | 396 | false | Xion/taipan | override | 14,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.