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/twisted/epsilon/preauthChild | LDU_FT | [
"<BEGIN>\n## `main`",
"Create a private key and a certificate and write them to a file.\n<END>",
"<BEGIN>\n## `setTimeout`",
"Change the timeout period",
" @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preauthChild API.
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 preauthChild API.
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... | Use me if `path' might have slashes in it, but you know they're safe.
(NOT slashes at the beginning. It still needs to be a _child_). | "Use me if `path' might have slashes in it, but you know they're safe.\n\n (NOT slashes at the beginning. It still needs to be a _child_)." | 217 | false | twisted/epsilon | preauthChild | 5,773 | |
LDU_FT/allenai/allennlp/update_grammar_to_be_variable_free | LDU_FT | [
"<BEGIN>\n## `forward`",
"Parameters\n ----------\n inputs : ``PackedSequence``, required.\n A batch first ``PackedSequence`` to run the stacked LSTM over.\n initial_state : Tuple[torch.Tensor, torch.Tensor], optional, (default = None)\n A tuple (state, memory) represent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_grammar_to_be_variable_free API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_grammar_to_be_variable_free API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | SQL is a predominately variable free language in terms of simple usage, in the
sense that most queries do not create references to variables which are not
already static tables in a dataset. However, it is possible to do this via
derived tables. If we don't require this functionality, we can tighten the
... | "SQL is a predominately variable free language in terms of simple usage, in the\n sense that most queries do not create references to variables which are not\n already static tables in a dataset. However, it is possible to do this via\n derived tables. If we don't require this functionality, we can tighten the... | 1,296 | true | allenai/allennlp | update_grammar_to_be_variable_free | 5,774 | |
LDU_FT/9b/frisbee/_format | LDU_FT | [
"<BEGIN>\n## `_format`",
"Format search queries to perform in bulk.",
" Build up the URLs to call for the search engine. These will be ran\n through a bulk processor and returned to a detailer.\n<END>",
"<BEGIN>\n## `_process`",
"Process search engine results for detailed analysis.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted... | Format search queries to perform in bulk.
Build up the URLs to call for the search engine. These will be ran
through a bulk processor and returned to a detailer. | "Format search queries to perform in bulk.\n\n Build up the URLs to call for the search engine. These will be ran\n through a bulk processor and returned to a detailer." | 29 | false | 9b/frisbee | _format | 5,775 | |
LDU_FT/joke2k/faker/paragraphs | LDU_FT | [
"<BEGIN>\n## `checksum`",
"Calculates the checksum char used for the 16th char.\n Author: Vincenzo Palazzo\n<END>",
"<BEGIN>\n## `binary`",
"Returns random binary blob.",
" Default blob size is 1 Mb.\n<END>",
"<BEGIN>\n## `md5`",
"Calculates the md5 hash of a given string\n :example 'cf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paragraphs API.
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 paragraphs API.
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... | Generate an array of paragraphs
:example [paragraph1, paragraph2, paragraph3]
:param nb: how many paragraphs to return
:param ext_word_list: a list of words you would like to have instead of
'Lorem ipsum'.
:rtype: list | "Generate an array of paragraphs\n :example [paragraph1, paragraph2, paragraph3]\n :param nb: how many paragraphs to return\n :param ext_word_list: a list of words you would like to have instead of\n 'Lorem ipsum'.\n\n :rtype: list" | 334 | false | joke2k/faker | paragraphs | 5,776 | |
LDU_FT/awslabs/sockeye/initialize_optimizer | LDU_FT | [
"<BEGIN>\n## `check_arg_compatibility`",
"Check if some arguments are incompatible with each other.",
" :param args: Arguments as returned by argparse.\n<END>",
"<BEGIN>\n## `check_resume`",
"Check if we should resume a broken training run.",
" :param args: Arguments as returned by argparse.\n :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_optimizer 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 initialize_optimizer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Initializes the optimizer of the underlying module with an optimizer config. | "Initializes the optimizer of the underlying module with an optimizer config." | 1,056 | true | awslabs/sockeye | initialize_optimizer | 5,777 | |
LDU_FT/RIPE-NCC/ripe.atlas.sagan/_set_medians_and_extremes | LDU_FT | [
"<BEGIN>\n## `_get_buf`",
"Lazy read-only accessor for the (a|q)buf.\n The qbuf Message object is cached for subsequent requests.\n<END>",
"<BEGIN>\n## `build_responses`",
"DNS measurement results are a little wacky. Sometimes you get a single\n response, other times you get a set of responses ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_medians_and_extremes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_medians_and_extremes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Sets median values for rtt and the offset of result packets. | "Sets median values for rtt and the offset of result packets." | 27 | false | RIPE-NCC/ripe.atlas.sagan | _set_medians_and_extremes | 5,778 | |
LDU_FT/twidi/django-adv-cache-tag/register | LDU_FT | [
"<BEGIN>\n## `prepare_params`",
"Prepare the parameters passed to the templatetag\n<END>",
"<BEGIN>\n## `get_expire_time`",
"Return the expire time passed to the templatetag.\n Must be None or an integer.\n<END>",
"<BEGIN>\n## `get_version`",
"Return the stringified version passed to the templateta... | 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... | Register all needed templatetags, with these parameters :
* library_register : the `register` object (result of
`template.Library()`) in your templatetag module
* nodename : the node to use for the cache templatetag (the default
is "cache")
* nocache_n... | "Register all needed templatetags, with these parameters :\n * library_register : the `register` object (result of\n `template.Library()`) in your templatetag module\n * nodename : the node to use for the cache templatetag (the default\n is \"cache\")\n * n... | 34 | false | twidi/django-adv-cache-tag | register | 5,779 | |
LDU_FT/apriha/lineage/_read_generic_csv | LDU_FT | [
"<BEGIN>\n## `detect_build`",
"Detect build of SNPs.",
" Use the coordinates of common SNPs to identify the build / assembly of a genotype file\n that is being loaded.",
" Notes\n -----\n rs3094315 : plus strand in 36, 37, and 38\n rs11928389 : plus strand in 36, minus strand in 37 and 38\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_generic_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_generic_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... | Read and parse generic CSV file.
Notes
-----
Assumes columns are 'rsid', 'chrom' / 'chromosome', 'pos' / 'position', and 'genotype';
values are comma separated; unreported genotypes are indicated by '--'; and one header row
precedes data. For example:
rsid,chromosom... | "Read and parse generic CSV file.\n\n Notes\n -----\n Assumes columns are 'rsid', 'chrom' / 'chromosome', 'pos' / 'position', and 'genotype';\n values are comma separated; unreported genotypes are indicated by '--'; and one header row\n precedes data. For example:\n\n rsid,... | 183 | false | apriha/lineage | _read_generic_csv | 5,780 | |
LDU_FT/RaRe-Technologies/gensim-simserver/terminate | LDU_FT | [
"<BEGIN>\n## `merge_sims`",
"Merge two precomputed similarity lists, truncating the result to `clip` most similar items.\n<END>",
"<BEGIN>\n## `terminate`",
"Delete all files created by this index, invalidating `self`. Use with care.\n<END>",
"<BEGIN>\n## `index_documents`",
"Update fresh index with new d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the terminate API.
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 terminate API.
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... | Delete all files created by this index, invalidating `self`. Use with care. | "Delete all files created by this index, invalidating `self`. Use with care." | 74 | false | RaRe-Technologies/gensim-simserver | terminate | 5,781 | |
LDU_FT/jgillick/LendingClub/search_my_notes | LDU_FT | [
"<BEGIN>\n## `set_logger`",
"Set a logger to send debug messages to",
" Parameters\n ----------\n logger : `Logger <http://docs.python.org/2/library/logging.html>`_\n A python logger used to get debugging output from this module.\n<END>",
"<BEGIN>\n## `version`",
"Return the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_my_notes API.
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 search_my_notes API.
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... | Search for notes you are invested in. Use the parameters to define how to search.
Passing no parameters is the same as calling `my_notes(get_all=True)`
Parameters
----------
loan_id : int, optional
Search for notes for a specific loan. Since a loan is broken up into a pool o... | "Search for notes you are invested in. Use the parameters to define how to search.\n Passing no parameters is the same as calling `my_notes(get_all=True)`\n\n Parameters\n ----------\n loan_id : int, optional\n Search for notes for a specific loan. Since a loan is broken up into a... | 133 | false | jgillick/LendingClub | search_my_notes | 5,782 | |
LDU_FT/ergoithz/browsepy/get_mimetype | LDU_FT | [
"<BEGIN>\n## `defaultsnamedtuple`",
"Generate namedtuple with default values.",
" :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mimetype API.
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_mimetype API.
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 mimetype of given path calling all registered mime functions (and
default ones).
:param path: filesystem path of file
:type path: str
:returns: mimetype
:rtype: str | "Get mimetype of given path calling all registered mime functions (and\n default ones).\n\n :param path: filesystem path of file\n :type path: str\n :returns: mimetype\n :rtype: str" | 207 | false | ergoithz/browsepy | get_mimetype | 5,783 | |
LDU_FT/gusutabopb/aioinflux/ping | LDU_FT | [
"<BEGIN>\n## `lineprotocol`",
"Adds ``to_lineprotocol`` method to arbitrary user-defined classes",
" :param cls: Class to monkey-patch\n :param schema: Schema dictionary (attr/type pairs).\n :param rm_none: Whether apply a regex to remove ``None`` values.\n If ``False``, passing ``None`` values ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Pings InfluxDB
Returns a dictionary containing the headers of the response from ``influxd``. | "Pings InfluxDB\n\n Returns a dictionary containing the headers of the response from ``influxd``." | 41 | false | gusutabopb/aioinflux | ping | 5,784 | |
LDU_FT/NikolayDachev/jadm/global_request | LDU_FT | [
"<BEGIN>\n## `recv`",
"Read from the standard output of the forked program.",
" :param int size: how many chars should be read",
" :return: the length of the read content, as an `int`\n<END>",
"<BEGIN>\n## `generate`",
"Generate a new private DSS key. This factory function can be used to\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the global_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the global_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 ex... | Make a global request to the remote host. These are normally
extensions to the SSH2 protocol.
:param str kind: name of the request.
:param tuple data:
an optional tuple containing additional data to attach to the
request.
:param bool wait:
``True`` i... | "Make a global request to the remote host. These are normally\n extensions to the SSH2 protocol.\n\n :param str kind: name of the request.\n :param tuple data:\n an optional tuple containing additional data to attach to the\n request.\n :param bool wait:\n `... | 141 | false | NikolayDachev/jadm | global_request | 5,785 | |
LDU_FT/wavefrontHQ/python-client/enable_cloud_integration | LDU_FT | [
"<BEGIN>\n## `display`",
"Sets the display of this Message.",
" The form of display for this message # noqa: E501",
" :param display: The display of this Message. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `scope`",
"Sets the scope of this Message.",
" The audience sco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_cloud_integration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_cloud_integration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Enable a specific cloud integration # noqa: E501
# noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.enable_cloud_integration(id, async_req=True)
>>> result = thread.get()
... | "Enable a specific cloud integration # noqa: E501\n\n # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.enable_cloud_integration(id, async_req=True)\n >>> result = thread.get... | 954 | false | wavefrontHQ/python-client | enable_cloud_integration | 5,786 | |
LDU_FT/dsoprea/PySchedules/_endProductionCrewNode | LDU_FT | [
"<BEGIN>\n## `_startXTVDNode`",
"Process the start of the top-level xtvd node\n<END>",
"<BEGIN>\n## `_startStationsNode`",
"Process the start of a node under xtvd/stations\n<END>",
"<BEGIN>\n## `_endStationsNode`",
"Process the end of a node under xtvd/stations\n<END>",
"<BEGIN>\n## `_startLineupsNode`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _endProductionCrewNode 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 _endProductionCrewNode 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 the end of a node under xtvd/productionCrew | "Process the end of a node under xtvd/productionCrew" | 50 | false | dsoprea/PySchedules | _endProductionCrewNode | 5,787 | |
LDU_FT/openatx/facebook-wda/screenshot | LDU_FT | [
"<BEGIN>\n## `urljoin`",
"The default urlparse.urljoin behavior look strange\n Standard urlparse.urljoin('http://a.com/foo', '/bar')\n Expect: http://a.com/foo/bar\n Actually: http://a.com/bar",
" This function fix that.\n<END>",
"<BEGIN>\n## `wait_ready`",
"wait until WDA back to normal",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the screenshot API.
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 screenshot API.
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... | Screenshot with PNG format
Args:
png_filename(string): optional, save file name
format(string): return format, pillow or raw(default)
Returns:
raw data or PIL.Image
Raises:
WDAError | "Screenshot with PNG format\n\n Args:\n png_filename(string): optional, save file name\n format(string): return format, pillow or raw(default)\n Returns:\n raw data or PIL.Image\n \n Raises:\n WDAError" | 68 | false | openatx/facebook-wda | screenshot | 5,788 | |
LDU_FT/globocom/GloboNetworkAPI-client-python/get_option_pool | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy network in equipments and set column 'active = 1' in tables redeipv4",
" :param id_networkv4: ID for NetworkIPv4",
" :return: Equipments configuration output\n<END>",
"<BEGIN>\n## `get_by_id`",
"Get IPv4 network",
" :param id_networkv4: ID for Network... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_option_pool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_option_pool API.
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... | Search Option Pool by id.
:param id_option_pool: Identifier of the Option Pool. Integer value and greater than zero.
:return: Following dictionary:
::
{‘id’: < id_option_pool >,
‘type’: < tipo_opcao >,
‘name’: < nome_opcao_txt >}
:raise InvalidPar... | "Search Option Pool by id.\n\n :param id_option_pool: Identifier of the Option Pool. Integer value and greater than zero.\n\n :return: Following dictionary:\n\n ::\n\n {‘id’: < id_option_pool >,\n ‘type’: < tipo_opcao >,\n ‘name’: < nome_opcao_txt >}\n\n :rai... | 1,966 | true | globocom/GloboNetworkAPI-client-python | get_option_pool | 5,789 | |
LDU_FT/limpyd/redis-limpyd-jobs/job_delayed_message | LDU_FT | [
"<BEGIN>\n## `_parse_queues`",
"Parse the given parameter and return a list of queues.\n The parameter must be a list/tuple of strings, or a string with queues\n separated by a comma.\n<END>",
"<BEGIN>\n## `_assert_correct_model`",
"Helper that asserts the model_to_check is the model_reference o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the job_delayed_message 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 job_delayed_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return the message to log when a job was delayed just before or during
its execution | "Return the message to log when a job was delayed just before or during\n its execution" | 122 | false | limpyd/redis-limpyd-jobs | job_delayed_message | 5,790 | |
LDU_FT/joowani/binarytree/properties | LDU_FT | [
"<BEGIN>\n## `_is_balanced`",
"Return the height if the binary tree is balanced, -1 otherwise.",
" :param root: Root node of the binary tree.\n :type root: binarytree.Node | None\n :return: Height if the binary tree is balanced, -1 otherwise.\n :rtype: int\n<END>",
"<BEGIN>\n## `_is_bst`",
"Chec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the properties API.
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 properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return various properties of the binary tree.
:return: Binary tree properties.
:rtype: dict
**Example**:
.. doctest::
>>> from binarytree import Node
>>>
>>> root = Node(1)
>>> root.left = Node(2)
>>> root.right = Node(3)
... | "Return various properties of the binary tree.\n\n :return: Binary tree properties.\n :rtype: dict\n\n **Example**:\n\n .. doctest::\n\n >>> from binarytree import Node\n >>>\n >>> root = Node(1)\n >>> root.left = Node(2)\n >>> root.righ... | 132 | false | joowani/binarytree | properties | 5,791 | |
LDU_FT/emencia/emencia_paste_djangocms_3/get_site_metas | LDU_FT | [
"<BEGIN>\n## `locale_title`",
"Giving a locale name return its title, taken from the settings.EXTRA_COUNTRY_LOCALES",
" If the locale is not in the settings.EXTRA_COUNTRY_LOCALES, return it unchanged\n<END>",
"<BEGIN>\n## `content_file_name`",
"Méthode à utiliser pour l'attribut \"upload_to\" d'un FileFi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_site_metas API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_site_metas API.
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... | Return metas from the current *Site* and settings
Added Site metas will be callable in templates like this
``SITE.themetaname``
This can be used in code out of a Django requests (like in management
commands) or in a context processor to get the *Site* urls.
Default metas returned :
* SITE.na... | "Return metas from the current *Site* and settings\n\n Added Site metas will be callable in templates like this\n ``SITE.themetaname``\n\n This can be used in code out of a Django requests (like in management\n commands) or in a context processor to get the *Site* urls.\n\n Default metas returned :\n\n ... | 44 | false | emencia/emencia_paste_djangocms_3 | get_site_metas | 5,792 | |
LDU_FT/ramses-tech/ramses/parse_permissions | LDU_FT | [
"<BEGIN>\n## `get_existing_model`",
"Try to find existing model class named `model_name`.",
" :param model_name: String name of the model class.\n<END>",
"<BEGIN>\n## `prepare_relationship`",
"Create referenced model if it doesn't exist.",
" When preparing a relationship, we check to see if the mode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_permissions API.
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 parse_permissions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parse permissions ("perms") which are either exact permission
names or the keyword 'all'.
:param perms: List or comma-separated string of nefertari permission
names, or 'all' | "Parse permissions (\"perms\") which are either exact permission\n names or the keyword 'all'.\n\n :param perms: List or comma-separated string of nefertari permission\n names, or 'all'" | 180 | false | ramses-tech/ramses | parse_permissions | 5,793 | |
LDU_FT/RedFantom/ttkthemes/cget | LDU_FT | [
"<BEGIN>\n## `screenshot_themes`",
"Take a screenshot for all themes available\n<END>",
"<BEGIN>\n## `_load_themes`",
"Load the themes into the Tkinter interpreter\n<END>",
"<BEGIN>\n## `_append_theme_dir`",
"Append a theme dir to the Tk interpreter auto_path\n<END>",
"<BEGIN>\n## `set_theme`",
"Set n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cget API.
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 cget API.
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... | cget redirect to support additional options | "cget redirect to support additional options" | 54 | false | RedFantom/ttkthemes | cget | 5,794 | |
LDU_FT/vxgmichel/aiostream/item | LDU_FT | [
"<BEGIN>\n## `base_combine`",
"Base operator for managing an asynchronous sequence of sequences.",
" The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.",
" The ``switch`` argument enables the switch mecanism, whic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the item API.
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 item API.
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... | Forward the ``n``th element of an asynchronous sequence.
The index can be negative and works like regular indexing.
If the index is out of range, and ``IndexError`` is raised. | "Forward the ``n``th element of an asynchronous sequence.\n\n The index can be negative and works like regular indexing.\n If the index is out of range, and ``IndexError`` is raised." | 154 | false | vxgmichel/aiostream | item | 5,795 | |
LDU_FT/ryanvarley/ExoData/_createAbsMagEstimationDict | LDU_FT | [
"<BEGIN>\n## `load_db_from_url`",
"Loads the database from a gzipped version of the system folder, by default the one located in the oec_gzip repo\n in the OpenExoplanetCatalogue GitHub group.",
" The database is loaded from the url in memory",
" :param url: url to load (must be gzipped version of sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _createAbsMagEstimationDict 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 _createAbsMagEstimationDict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | loads magnitude_estimation.dat which is from
http://xoomer.virgilio.it/hrtrace/Sk.htm on 24/01/2014 and based on
Schmid-Kaler (1982)
creates a dict in the form [Classletter][ClassNumber][List of values for
each L Class] | "loads magnitude_estimation.dat which is from\n http://xoomer.virgilio.it/hrtrace/Sk.htm on 24/01/2014 and based on\n Schmid-Kaler (1982)\n\n creates a dict in the form [Classletter][ClassNumber][List of values for\n each L Class]" | 133 | false | ryanvarley/ExoData | _createAbsMagEstimationDict | 5,796 | |
LDU_FT/StorjOld/file-encryptor/inline_transform | LDU_FT | [
"<BEGIN>\n## `encrypt_file_inline`",
"Encrypt file inline, with an optional passphrase.",
" If you set the passphrase to None, a default is used.\n This will make you vulnerable to confirmation attacks\n and learn-partial-information attacks.",
" :param filename: The name of the file to encrypt.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inline_transform API.
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 inline_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Encrypt file inline.
Encrypts a given file with the given key,
and replaces it directly without any extra
space requirement.
:param filename: The name of the file to encrypt.
:type filename: str
:param key: The key used to encrypt the file.
:type key: str | "Encrypt file inline.\n\n Encrypts a given file with the given key,\n and replaces it directly without any extra\n space requirement.\n\n :param filename: The name of the file to encrypt.\n :type filename: str\n :param key: The key used to encrypt the file.\n :type key: str" | 22 | false | StorjOld/file-encryptor | inline_transform | 5,797 | |
LDU_FT/libtcod/python-tcod/get_pixel | LDU_FT | [
"<BEGIN>\n## `_int`",
"return an integer where a single character string may be expected\n<END>",
"<BEGIN>\n## `_describe_bitmask`",
"Returns a bitmask in human readable form.",
" This is a private function, used internally.",
" Args:\n bits (int): The bitmask to be represented.\n tabl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pixel API.
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_pixel API.
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 the color of a pixel in this Image.
Args:
x (int): X pixel of the Image. Starting from the left at 0.
y (int): Y pixel of the Image. Starting from the top at 0.
Returns:
Tuple[int, int, int]:
An (r, g, b) tuple containing the pixels color value... | "Get the color of a pixel in this Image.\n\n Args:\n x (int): X pixel of the Image. Starting from the left at 0.\n y (int): Y pixel of the Image. Starting from the top at 0.\n\n Returns:\n Tuple[int, int, int]:\n An (r, g, b) tuple containing the pixels co... | 1,050 | true | libtcod/python-tcod | get_pixel | 5,798 | |
LDU_FT/pndurette/gTTS/period_comma | LDU_FT | [
"<BEGIN>\n## `tts_langs`",
"Languages Google Text-to-Speech supports.",
" Returns:\n dict: A dictionnary of the type `{ '<lang>': '<name>'}`",
" Where `<lang>` is an IETF language tag such as `en` or `pt-br`,\n and `<name>` is the full English name of the language, such as\n `En... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the period_comma API.
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 period_comma API.
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... | Period and comma case.
Match if not preceded by ".<letter>" and only if followed by space.
Won't cut in the middle/after dotted abbreviations; won't cut numbers.
Note:
Won't match if a dotted abbreviation ends a sentence.
Note:
Won't match the end of a sentence if not followed by a sp... | "Period and comma case.\n\n Match if not preceded by \".<letter>\" and only if followed by space.\n Won't cut in the middle/after dotted abbreviations; won't cut numbers.\n\n Note:\n Won't match if a dotted abbreviation ends a sentence.\n\n Note:\n Won't match the end of a sentence if not foll... | 68 | false | pndurette/gTTS | period_comma | 5,799 | |
LDU_FT/fchorney/rpI2C/read_raw_byte | LDU_FT | [
"<BEGIN>\n## `write_byte`",
"Writes an 8-bit byte to the specified command register\n<END>",
"<BEGIN>\n## `write_word`",
"Writes a 16-bit word to the specified command register\n<END>",
"<BEGIN>\n## `write_raw_byte`",
"Writes an 8-bit byte directly to the bus\n<END>",
"<BEGIN>\n## `write_block_data`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_raw_byte API.
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 read_raw_byte API.
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... | Read an 8-bit byte directly from the bus | "Read an 8-bit byte directly from the bus" | 16 | false | fchorney/rpI2C | read_raw_byte | 5,800 | |
LDU_FT/flowroute/txjason/add | LDU_FT | [
"<BEGIN>\n## `addToService`",
"Add this Handler's exported methods to an RPC Service instance.\n<END>",
"<BEGIN>\n## `add`",
"Adds a new method to the jsonrpc service.",
" Arguments:\n f -- the remote function\n name -- name of the method in the jsonrpc service\n types -- list or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Adds a new method to the jsonrpc service.
Arguments:
f -- the remote function
name -- name of the method in the jsonrpc service
types -- list or dictionary of the types of accepted arguments
required -- list of required keyword arguments
If name argument is not given, f... | "Adds a new method to the jsonrpc service.\n\n Arguments:\n f -- the remote function\n name -- name of the method in the jsonrpc service\n types -- list or dictionary of the types of accepted arguments\n required -- list of required keyword arguments\n\n If name argument is not... | 40 | false | flowroute/txjason | add | 5,801 | |
LDU_FT/camptocamp/anthem/log | LDU_FT | [
"<BEGIN>\n## `define_settings`",
"Define settings like being in the interface\n Example :\n - model = 'sale.config.settings' or ctx.env['sale.config.settings']\n - values = {'default_invoice_policy': 'delivery'}\n Be careful, settings onchange are not triggered with this function.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Decorator to show a description of the running function
By default, it outputs the first line of the docstring.
If the docstring is empty, it displays the name of the function.
Alternatively, if a ``name`` is specified, it will display that only.
It can be called as ``@log`` or as
``@log(name='abc... | "Decorator to show a description of the running function\n\n By default, it outputs the first line of the docstring.\n If the docstring is empty, it displays the name of the function.\n Alternatively, if a ``name`` is specified, it will display that only.\n\n It can be called as ``@log`` or as\n ``@log(n... | 28 | false | camptocamp/anthem | log | 5,802 | |
LDU_FT/bunq/sdk_python/create | LDU_FT | [
"<BEGIN>\n## `post`",
":type uri_relative: str\n :type request_bytes: bytes\n :type custom_headers: dict[str, str]",
" :return: BunqResponseRaw\n<END>",
"<BEGIN>\n## `_request`",
":type method: str\n :type uri_relative: str\n :type request_bytes: bytes\n :type param... | 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 ... | :param attachment_public_uuid: The public UUID of the public attachment
from which an avatar image must be created.
:type attachment_public_uuid: str
:type custom_headers: dict[str, str]|None
:rtype: BunqResponseStr | ":param attachment_public_uuid: The public UUID of the public attachment\n from which an avatar image must be created.\n :type attachment_public_uuid: str\n :type custom_headers: dict[str, str]|None\n\n :rtype: BunqResponseStr" | 458 | false | bunq/sdk_python | create | 5,803 | |
LDU_FT/ipazc/mtcnn/__nms | LDU_FT | [
"<BEGIN>\n## `__scale_image`",
"Scales the image to a given scale.\n :param image:\n :param scale:\n :return:\n<END>",
"<BEGIN>\n## `__nms`",
"Non Maximum Suppression.",
" :param boxes: np array with bounding boxes.\n :param threshold:\n :param method: NMS method to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __nms API.
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 __nms API.
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... | Non Maximum Suppression.
:param boxes: np array with bounding boxes.
:param threshold:
:param method: NMS method to apply. Available values ('Min', 'Union')
:return: | "Non Maximum Suppression.\n\n :param boxes: np array with bounding boxes.\n :param threshold:\n :param method: NMS method to apply. Available values ('Min', 'Union')\n :return:" | 38 | false | ipazc/mtcnn | __nms | 5,804 | |
LDU_FT/bspaans/python-mingus/from_Track | LDU_FT | [
"<BEGIN>\n## `valid_beat_duration`",
"Return True when log2(duration) is an integer.\n<END>",
"<BEGIN>\n## `add_notes`",
"Add a Note, note as string or NoteContainer to the last Bar.",
" If the Bar is full, a new one will automatically be created.",
" If the Bar is not full but the note can'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_Track API.
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 from_Track API.
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... | Convert a mingus.containers.Track object to an ASCII tablature string.
'tuning' should be set to a StringTuning object or to None to use the
Track's tuning (or alternatively the default if the Track hasn't got its
own tuning).
'string' and 'fret' attributes on Notes are taken into account. | "Convert a mingus.containers.Track object to an ASCII tablature string.\n\n 'tuning' should be set to a StringTuning object or to None to use the\n Track's tuning (or alternatively the default if the Track hasn't got its\n own tuning).\n\n 'string' and 'fret' attributes on Notes are taken into account." | 535 | false | bspaans/python-mingus | from_Track | 5,805 | |
LDU_FT/phodge/homely/clonetopath | LDU_FT | [
"<BEGIN>\n## `clonetopath`",
"Clone the repo at <self.pushablepath> into <dest>\n Note that if self.pushablepath is None, then self.path will be used\n instead.\n<END>",
"<BEGIN>\n## `_removecleaner`",
"Remove the cleaner from the list if it already exists. Returns True if\n the cleaner w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clonetopath API.
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 clonetopath API.
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... | Clone the repo at <self.pushablepath> into <dest>
Note that if self.pushablepath is None, then self.path will be used
instead. | "Clone the repo at <self.pushablepath> into <dest>\n Note that if self.pushablepath is None, then self.path will be used\n instead." | 49 | false | phodge/homely | clonetopath | 5,806 | |
LDU_FT/yougov/pmxbot/initialize | LDU_FT | [
"<BEGIN>\n## `attach`",
"Given a function and a namespace of possible parameters,\n\tbind any params matching the signature of the function\n\tto that function.\n<END>",
"<BEGIN>\n## `init_config`",
"Install the config dict as pmxbot.config, setting overrides,\n\tand return the result.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize API.
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 initialize API.
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... | Initialize the bot with a dictionary of config items | "Initialize the bot with a dictionary of config items" | 128 | false | yougov/pmxbot | initialize | 5,807 | |
LDU_FT/yvesalexandre/bandicoot/interevent_time | LDU_FT | [
"<BEGIN>\n## `filter_user`",
"Filter records of a User objects by interaction, part of week and day.",
" Parameters\n ----------\n user : User\n a bandicoot User object\n type : str, default 'records'\n 'records' or 'recharges'\n part_of_week : {'allweek', 'weekday', 'weekend'}, def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interevent_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interevent_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | The interevent time between two records of the user. | "The interevent time between two records of the user." | 318 | false | yvesalexandre/bandicoot | interevent_time | 5,808 | |
LDU_FT/davisd50/sparc.cache/import_source | LDU_FT | [
"<BEGIN>\n## `schema_map`",
"Return a valid ICachedItemMapper.map for schema\n<END>",
"<BEGIN>\n## `items`",
"Returns a generator of available ICachableItem in the ICachableSource\n<END>",
"<BEGIN>\n## `getById`",
"Returns ICachableItem that matches id",
" Args:\n id: String that ident... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_source API.
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 import_source API.
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... | Updates cache area and returns number of items updated with all
available entries in ICachableSource | "Updates cache area and returns number of items updated with all\n available entries in ICachableSource" | 37 | false | davisd50/sparc.cache | import_source | 5,809 | |
LDU_FT/paolodragone/pymzn/minizinc | LDU_FT | [
"<BEGIN>\n## `minizinc`",
"Coroutine version of the ``pymzn.minizinc`` function.",
" Parameters\n ----------\n max_queue_size : int\n Maximum number of solutions in the queue between the solution parser and\n the returned solution stream. When the queue is full, the solver\n execut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minizinc API.
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 minizinc API.
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... | Coroutine version of the ``pymzn.minizinc`` function.
Parameters
----------
max_queue_size : int
Maximum number of solutions in the queue between the solution parser and
the returned solution stream. When the queue is full, the solver
execution will halt untill an item of the queue ... | "Coroutine version of the ``pymzn.minizinc`` function.\n\n Parameters\n ----------\n max_queue_size : int\n Maximum number of solutions in the queue between the solution parser and\n the returned solution stream. When the queue is full, the solver\n execution will halt untill an item of th... | 102 | false | paolodragone/pymzn | minizinc | 5,810 | |
LDU_FT/PySimpleGUI/PySimpleGUI/PyplotArtistBoxPlots | LDU_FT | [
"<BEGIN>\n## `read_mail`",
"Reads late emails from IMAP server and displays them in the Window\n :param window: window to display emails in\n :return:\n<END>",
"<BEGIN>\n## `runCommand`",
"run shell command",
"\t@param cmd: command to execute\n\t@param timeout: timeout for command execution",
"\t@re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PyplotArtistBoxPlots 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 PyplotArtistBoxPlots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | =========================================
Demo of artist customization in box plots
=========================================
This example demonstrates how to use the various kwargs
to fully customize box plots. The first figure demonstrates
how to remove and add individual components (note that th... | "=========================================\n Demo of artist customization in box plots\n =========================================\n\n This example demonstrates how to use the various kwargs\n to fully customize box plots. The first figure demonstrates\n how to remove and add individual components (note ... | 110 | false | PySimpleGUI/PySimpleGUI | PyplotArtistBoxPlots | 5,811 | |
LDU_FT/palantir/typedjsonrpc/validate_params_match | LDU_FT | [
"<BEGIN>\n## `from_error`",
"Wraps another Exception in an InternalError.",
" :param exc_info: The exception info for the wrapped exception\n :type exc_info: (type, object, traceback)\n :type json_encoder: json.JSONEncoder\n :type debug_url: str | None\n :rtype: InternalError"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_params_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_params_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Validates that the given parameters are exactly the method's declared parameters.
:param method: The method to be called
:type method: function
:param parameters: The parameters to use in the call
:type parameters: dict[str, object] | list[object] | "Validates that the given parameters are exactly the method's declared parameters.\n\n :param method: The method to be called\n :type method: function\n :param parameters: The parameters to use in the call\n :type parameters: dict[str, object] | list[object]" | 73 | false | palantir/typedjsonrpc | validate_params_match | 5,812 | |
LDU_FT/NetEaseGame/ATX/current_app | LDU_FT | [
"<BEGIN>\n## `main`",
"Args:\n - forward(int): local forward port\n - host(string): local forward host\n - listen(int): listen port\n<END>",
"<BEGIN>\n## `_init_items`",
".---------------.\n | Ctrl | Screen |\n |------| |\n | Code | |\n | | ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return: dict(package, activity, pid?)
Raises:
RuntimeError | "Return: dict(package, activity, pid?)\n Raises:\n RuntimeError" | 230 | false | NetEaseGame/ATX | current_app | 5,813 | |
LDU_FT/alixnovosi/botskeleton/send_with_many_media | LDU_FT | [
"<BEGIN>\n## `cred_init`",
"Initialize what requires credentials/secret files.",
" :param secrets_dir: dir to expect credentials in and store logs/history in.\n :param log: logger to use for log output.\n :param bot_name: name of this bot,\n used for various kinds of labelling.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_with_many_media 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 send_with_many_media API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Post with several media.
Provide filenames so outputs can handle their own uploads.
:param args: positional arguments.
expected:
text to send as message in post.
files to be uploaded.
captions to be paired with files.
keyword argum... | "Post with several media.\n Provide filenames so outputs can handle their own uploads.\n\n :param args: positional arguments.\n expected:\n text to send as message in post.\n files to be uploaded.\n captions to be paired with files.\n keyw... | 69 | false | alixnovosi/botskeleton | send_with_many_media | 5,814 | |
LDU_FT/mardix/Juice/register_package | LDU_FT | [
"<BEGIN>\n## `get_env`",
"Return the Capitalize environment name\n It can be used to retrieve class base config\n Default: Development\n :returns: str\n<END>",
"<BEGIN>\n## `init_app`",
"To bind middlewares, plugins that needs the 'app' object to init\n Bound middlewares will be assigned on cls.in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Allow to register packages by loading and exposing: templates, static,
and exceptions for abort()
Structure of package
root
| $package_name
| __init__.py
|
| exceptions.py
|
| /templates
|
... | "Allow to register packages by loading and exposing: templates, static,\n and exceptions for abort()\n\n Structure of package\n root\n | $package_name\n | __init__.py\n |\n | exceptions.py\n |\n | /templates\n ... | 101 | false | mardix/Juice | register_package | 5,815 | |
LDU_FT/src-d/jgit-spark-connector/remote_references | LDU_FT | [
"<BEGIN>\n## `repositories`",
"Returns a DataFrame with the data about the repositories found at\n the specified repositories path in the form of siva files.",
" >>> repos_df = engine.repositories",
" :rtype: RepositoriesDataFrame\n<END>",
"<BEGIN>\n## `blobs`",
"Retrieves the blobs o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_references API.
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 remote_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns a new DataFrame with only the remote references of the
current repositories.
>>> remote_refs_df = repos_df.remote_references
:rtype: ReferencesDataFrame | "Returns a new DataFrame with only the remote references of the\n current repositories.\n\n >>> remote_refs_df = repos_df.remote_references\n\n :rtype: ReferencesDataFrame" | 76 | false | src-d/jgit-spark-connector | remote_references | 5,816 | |
LDU_FT/mlavin/argyle/sshagent_run | LDU_FT | [
"<BEGIN>\n## `upload_nginx_site_conf`",
"Upload Nginx site configuration from a template.\n<END>",
"<BEGIN>\n## `add_ppas_from_file`",
"Add personal package archive from a file list.\n<END>",
"<BEGIN>\n## `add_apt_source`",
"Adds source url to apt sources.list. Optional to pass the key url.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sshagent_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sshagent_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Helper function.
Runs a command with SSH agent forwarding enabled.
Note:: Fabric (and paramiko) can't forward your SSH agent.
This helper uses your system's ssh to do so. | "Helper function.\n Runs a command with SSH agent forwarding enabled.\n\n Note:: Fabric (and paramiko) can't forward your SSH agent.\n This helper uses your system's ssh to do so." | 30 | false | mlavin/argyle | sshagent_run | 5,817 | |
LDU_FT/MostAwesomeDude/gentleman/ExportInstance | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ExportInstance API.
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 ExportInstance API.
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... | Exports an instance.
@type instance: string
@param instance: Instance name
@type mode: string
@param mode: Export mode
@rtype: string
@return: Job ID | "Exports an instance.\n\n @type instance: string\n @param instance: Instance name\n @type mode: string\n @param mode: Export mode\n @rtype: string\n @return: Job ID" | 173 | false | MostAwesomeDude/gentleman | ExportInstance | 5,818 | |
LDU_FT/maxpumperla/elephas/fit | LDU_FT | [
"<BEGIN>\n## `add_params`",
"Add two lists of parameters one by one",
" :param param_list_left: list of numpy arrays\n :param param_list_right: list of numpy arrays\n :return: list of numpy arrays\n<END>",
"<BEGIN>\n## `subtract_params`",
"Subtract two lists of parameters",
" :param param_list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
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 fit API.
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... | Train an elephas model on an RDD. The Keras model configuration as specified
in the elephas model is sent to Spark workers, abd each worker will be trained
on their data partition.
:param rdd: RDD with features and labels
:param epochs: number of epochs used for training
:param ... | "Train an elephas model on an RDD. The Keras model configuration as specified\n in the elephas model is sent to Spark workers, abd each worker will be trained\n on their data partition.\n\n :param rdd: RDD with features and labels\n :param epochs: number of epochs used for training\n ... | 87 | false | maxpumperla/elephas | fit | 5,819 | |
LDU_FT/asmodehn/filefinder2/resolve_name | LDU_FT | [
"<BEGIN>\n## `strip_encoding_cookie`",
"Generator to pull lines from a text-mode file, skipping the encoding\n cookie if it is found in the first two lines.\n<END>",
"<BEGIN>\n## `source_to_unicode`",
"Converts a bytes string with python source code to unicode.\n Unicode strings are passed through uncha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Resolve a relative module name to an absolute one. | "Resolve a relative module name to an absolute one." | 64 | false | asmodehn/filefinder2 | resolve_name | 5,820 | |
LDU_FT/richardliaw/track/git_hash | LDU_FT | [
"<BEGIN>\n## `dfl_local_dir`",
"Infers a default local directory, which is DFL_DIR_PARENT/<project name>,\n where the project name is guessed according to the following rules.",
" If we detect we're in a repository, the project name is the repository name\n (git only for now).",
" If we're not in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the git_hash API.
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 git_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | returns the current git hash or unknown if not in git repo | "returns the current git hash or unknown if not in git repo" | 32 | false | richardliaw/track | git_hash | 5,821 | |
LDU_FT/rfk/django-supervisor/render_config | LDU_FT | [
"<BEGIN>\n## `_handle_shell`",
"Command 'supervisord shell' runs the interactive command shell.\n<END>",
"<BEGIN>\n## `_handle_getconfig`",
"Command 'supervisor getconfig' prints merged config to stdout.\n<END>",
"<BEGIN>\n## `_handle_autoreload`",
"Command 'supervisor autoreload' watches for code changes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_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 ext... | Render the given config data using Django's template system.
This function takes a config data string and a dict of context variables,
renders the data through Django's template system, and returns the result. | "Render the given config data using Django's template system.\n\n This function takes a config data string and a dict of context variables,\n renders the data through Django's template system, and returns the result." | 30 | false | rfk/django-supervisor | render_config | 5,822 | |
LDU_FT/julienc91/utools/sieve_of_eratosthenes | LDU_FT | [
"<BEGIN>\n## `is_prime`",
"Miller-Rabin primality test. Keep in mind that this is not a deterministic algorithm: if it return True,\n it means that n is probably a prime.",
" Args:\n n (int): the integer to check",
" Returns:\n True if n is probably a prime number, False if it is not",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sieve_of_eratosthenes 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 sieve_of_eratosthenes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generator of prime numbers using the sieve of Eratosthenes.
Note:
Adapted from http://code.activestate.com/recipes/117119/
Args:
p_min (int): prime numbers lower than p_min will not be in the resulting primes
p_max (int): the generator will stop when this value is reached, it means tha... | "Generator of prime numbers using the sieve of Eratosthenes.\n\n Note:\n Adapted from http://code.activestate.com/recipes/117119/\n\n Args:\n p_min (int): prime numbers lower than p_min will not be in the resulting primes\n p_max (int): the generator will stop when this value is reached, it m... | 52 | false | julienc91/utools | sieve_of_eratosthenes | 5,823 | |
LDU_FT/spatialaudio/python-pa-ringbuffer/write | LDU_FT | [
"<BEGIN>\n## `init`",
"Return RingBuffer class using the given CFFI instance.\n<END>",
"<BEGIN>\n## `write`",
"Write data to the ring buffer.",
" This advances the write index after writing;\n calling :meth:`advance_write_index` is *not* necessary.",
" :param data: Data to write to th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Write data to the ring buffer.
This advances the write index after writing;
calling :meth:`advance_write_index` is *not* necessary.
:param data: Data to write to the buffer.
:type data: CData pointer or buffer or bytes
:param size: The number of elements to be written.
... | "Write data to the ring buffer.\n\n This advances the write index after writing;\n calling :meth:`advance_write_index` is *not* necessary.\n\n :param data: Data to write to the buffer.\n :type data: CData pointer or buffer or bytes\n :param size: The number of elements to be written.\... | 27 | false | spatialaudio/python-pa-ringbuffer | write | 5,824 | |
LDU_FT/alfred82santa/dirty-models/get_field_value | LDU_FT | [
"<BEGIN>\n## `recover_model_from_data`",
"Function to reconstruct a model from DirtyModel basic information: original data, the modified and deleted\n fields.\n Necessary for pickle an object\n<END>",
"<BEGIN>\n## `recover_dynamic_model_from_data`",
"Function to reconstruct a model from DirtyModel basic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_value API.
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... | Get the field value from the modified data or the original one | "Get the field value from the modified data or the original one" | 86 | false | alfred82santa/dirty-models | get_field_value | 5,825 | |
LDU_FT/tweekmonster/moult/output | LDU_FT | [
"<BEGIN>\n## `load_stdlib`",
"Scans sys.path for standard library modules.\n<END>",
"<BEGIN>\n## `import_path_from_file`",
"Returns a tuple of the import path and root module directory for the\n supplied file.\n<END>",
"<BEGIN>\n## `file_containing_import`",
"Finds the file that might contain the impor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API.
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 output API.
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 ... | Analog of print() but with an indent option | "Analog of print() but with an indent option" | 34 | false | tweekmonster/moult | output | 5,826 | |
LDU_FT/jantman/pypi-download-stats/_generate_badge | LDU_FT | [
"<BEGIN>\n## `_path_for_file`",
"Generate the path on disk for a specified project and date.",
" :param project_name: the PyPI project name for the data\n :type project: str\n :param date: the date for the data\n :type date: datetime.datetime\n :return: path for where to store... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_badge API.
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 _generate_badge API.
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 SVG for one badge via shields.io.
:param subject: subject; left-hand side of badge
:type subject: str
:param status: status; right-hand side of badge
:type status: str
:return: badge SVG
:rtype: str | "Generate SVG for one badge via shields.io.\n\n :param subject: subject; left-hand side of badge\n :type subject: str\n :param status: status; right-hand side of badge\n :type status: str\n :return: badge SVG\n :rtype: str" | 135 | false | jantman/pypi-download-stats | _generate_badge | 5,827 | |
LDU_FT/HazyResearch/metal/lf_conflicts | LDU_FT | [
"<BEGIN>\n## `plot_probabilities_histogram`",
"Plot a histogram from a numpy array of probabilities",
" Args:\n Y_p: An [n] or [n, 1] np.ndarray of probabilities (floats in [0,1])\n<END>",
"<BEGIN>\n## `plot_predictions_histogram`",
"Plot a histogram comparing int predictions vs true labels by cla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lf_conflicts API.
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 lf_conflicts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the **fraction of items each LF labels that are also given a
different (non-abstain) label by at least one other LF.**
Note that the maximum possible conflict fraction for an LF is the LF's
overlaps fraction, unless `normalize_by_overlaps=True`, in which case it
is 1.
Args:
... | "Return the **fraction of items each LF labels that are also given a\n different (non-abstain) label by at least one other LF.**\n\n Note that the maximum possible conflict fraction for an LF is the LF's\n overlaps fraction, unless `normalize_by_overlaps=True`, in which case it\n is 1.\n\n Args:\... | 326 | false | HazyResearch/metal | lf_conflicts | 5,828 | |
LDU_FT/Microsoft/azure-devops-python-api/create_changeset | LDU_FT | [
"<BEGIN>\n## `create_attachment`",
"CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_changeset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_changeset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | CreateChangeset.
Create a new changeset.
:param :class:`<TfvcChangeset> <azure.devops.v5_0.tfvc.models.TfvcChangeset>` changeset:
:param str project: Project ID or project name
:rtype: :class:`<TfvcChangesetRef> <azure.devops.v5_0.tfvc.models.TfvcChangesetRef>` | "CreateChangeset.\n Create a new changeset.\n :param :class:`<TfvcChangeset> <azure.devops.v5_0.tfvc.models.TfvcChangeset>` changeset:\n :param str project: Project ID or project name\n :rtype: :class:`<TfvcChangesetRef> <azure.devops.v5_0.tfvc.models.TfvcChangesetRef>`" | 1,304 | true | Microsoft/azure-devops-python-api | create_changeset | 5,829 | |
LDU_FT/bryanwweber/thermohw/replace_variables | LDU_FT | [
"<BEGIN>\n## `process`",
"Process the homework problems in ``prefix`` folder.",
" Arguments\n ---------\n hw_num\n The number of this homework\n problems_to_do, optional\n A list of the problems to be processed\n prefix, optional\n A `~pathlib.Path` to this homework assignmen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_variables API.
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 replace_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Replace {{variable-name}} with stored value. | "Replace {{variable-name}} with stored value." | 33 | false | bryanwweber/thermohw | replace_variables | 5,830 | |
LDU_FT/huge-success/sanic/from_object | LDU_FT | [
"<BEGIN>\n## `group`",
"Create a list of blueprints, optionally grouping them under a\n general URL prefix.",
" :param blueprints: blueprints to be registered as a group\n :param url_prefix: URL route to be prepended to all sub-prefixes\n<END>",
"<BEGIN>\n## `register`",
"Register the b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_object API.
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_object API.
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... | Update the values from the given object.
Objects are usually either modules or classes.
Just the uppercase variables in that object are stored in the config.
Example usage::
from yourapplication import default_config
app.config.from_object(default_config)
You s... | "Update the values from the given object.\n Objects are usually either modules or classes.\n\n Just the uppercase variables in that object are stored in the config.\n Example usage::\n\n from yourapplication import default_config\n app.config.from_object(default_config)\n\n ... | 238 | false | huge-success/sanic | from_object | 5,831 | |
LDU_FT/jxtech/wechatpy/add_template | LDU_FT | [
"<BEGIN>\n## `add_articles`",
"新增永久图文素材\n 详情请参考\n https://mp.weixin.qq.com/wiki?id=mp1494572718_WzHIY",
" :param articles: 图文素材数组\n :type articles: list[dict]\n :return: 返回的 JSON 数据包\n<END>",
"<BEGIN>\n## `add`",
"新增其它类型永久素材\n 详情请参考\n http://mp.weixin.qq.com/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_template API.
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_template API.
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... | 组合模板,并将其添加至账号下的模板列表里
详情请参考
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&id=open1500465446_j4CgR
:param template_short_id: 模板标题ID
:param keyword_id_list: 按照顺序排列的模板关键词列表,最多10个
:type keyword_id_list: list[int]
:return: 模板ID | "组合模板,并将其添加至账号下的模板列表里\n 详情请参考\n https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&id=open1500465446_j4CgR\n\n :param template_short_id: 模板标题ID\n :param keyword_id_list: 按照顺序排列的模板关键词列表,最多10个\n :type keyword_id_list: list[int]\n :return: 模板ID" | 813 | false | jxtech/wechatpy | add_template | 5,832 | |
LDU_FT/collectiveacuity/jsonModel/tabulate | LDU_FT | [
"<BEGIN>\n## `tabulate`",
"a function to add the tabulate method to a jsonModel object",
" :param json_model: jsonModel object\n :return: jsonModel object\n<END>",
"<BEGIN>\n## `_evaluate_field`",
"a helper method for evaluating record values based upon query criteria",
" :param record_dict: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tabulate API.
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 tabulate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | a function to create a table from the class model keyMap
:param format: string with format for table output
:param syntax: [optional] string with linguistic syntax
:return: string with table | "a function to create a table from the class model keyMap\n\n :param format: string with format for table output\n :param syntax: [optional] string with linguistic syntax\n :return: string with table" | 65 | false | collectiveacuity/jsonModel | tabulate | 5,833 | |
LDU_FT/visualfabriq/bquery/cache_valid | LDU_FT | [
"<BEGIN>\n## `rm_file_or_dir`",
"Helper function to clean a certain filepath",
" Parameters\n ----------\n path",
" Returns\n -------\n<END>",
"<BEGIN>\n## `cache_valid`",
"Checks whether the column has a factorization that exists and is not older than the source",
" :param col:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_valid API.
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 cache_valid API.
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... | Checks whether the column has a factorization that exists and is not older than the source
:param col:
:return: | "Checks whether the column has a factorization that exists and is not older than the source\n\n :param col:\n :return:" | 60 | false | visualfabriq/bquery | cache_valid | 5,834 | |
LDU_FT/PmagPy/PmagPy/get_DRAT | LDU_FT | [
"<BEGIN>\n## `GetValue`",
"Find the matching value from pandas DataFrame,\n return it.\n<END>",
"<BEGIN>\n## `SetColumnValues`",
"Custom method to efficiently set all values\n in a column.",
" Parameters\n ----------\n col : str or int\n name or index position o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_DRAT API.
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_DRAT API.
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... | Input: TRM length of best fit line (delta_x_prime),
NRM length of best fit line,
max_ptrm_check
Output: DRAT (maximum difference produced by a ptrm check normed by best fit line),
length best fit line | "Input: TRM length of best fit line (delta_x_prime),\n NRM length of best fit line,\n max_ptrm_check\n Output: DRAT (maximum difference produced by a ptrm check normed by best fit line),\n length best fit line" | 3,302 | true | PmagPy/PmagPy | get_DRAT | 5,835 | |
LDU_FT/keenlabs/KeenClient-Python/add_event | LDU_FT | [
"<BEGIN>\n## `_initialize_client_from_environment`",
"Initialize a KeenClient instance using environment variables.\n<END>",
"<BEGIN>\n## `add_event`",
"Adds an event.",
" Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediatel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Adds an event.
Depending on the persistence strategy of the client,
this will either result in the event being uploaded to Keen
immediately or will result in saving the event to some local cache.
:param event_collection: the name of the collection to insert the
event to
:param body: dict, the ... | "Adds an event.\n\n Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediately or will result in saving the event to some local cache.\n\n :param event_collection: the name of the collection to insert the\n event to\n :param body: d... | 177 | false | keenlabs/KeenClient-Python | add_event | 5,836 | |
LDU_FT/bslatkin/dpxdt/query | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds a work item to a queue.",
" Args:\n queue_name: Name of the queue to add the work item to.\n payload: Optional. Payload that describes the work to do as a string.\n If not a string and content_type is not provided, then this\n function assumes th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | Queries for work items based on their criteria.
Args:
queue_name: Optional queue name to restrict to.
build_id: Optional build ID to restrict to.
release_id: Optional release ID to restrict to.
run_id: Optional run ID to restrict to.
count: How many tasks to fetch. Defaults ... | "Queries for work items based on their criteria.\n\n Args:\n queue_name: Optional queue name to restrict to.\n build_id: Optional build ID to restrict to.\n release_id: Optional release ID to restrict to.\n run_id: Optional run ID to restrict to.\n count: How many tasks to fetch. D... | 180 | false | bslatkin/dpxdt | query | 5,837 | |
LDU_FT/Genida/archan/matrices_compliance | LDU_FT | [
"<BEGIN>\n## `validate_rows_length`",
"Validate that all rows have the same length.\n<END>",
"<BEGIN>\n## `validate_square`",
"Validate that the matrix has equal number of rows and columns.\n<END>",
"<BEGIN>\n## `validate_categories_equal_entities`",
"Validate that the matrix has equal number of entities ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matrices_compliance 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 matrices_compliance 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... | Check if matrix and its mediation matrix are compliant.
Args:
dsm (:class:`DesignStructureMatrix`): the DSM to check.
complete_mediation_matrix (list of list of int): 2-dim array
Returns:
bool: True if compliant, else False | "Check if matrix and its mediation matrix are compliant.\n\n Args:\n dsm (:class:`DesignStructureMatrix`): the DSM to check.\n complete_mediation_matrix (list of list of int): 2-dim array\n\n Returns:\n bool: True if compliant, else False" | 127 | false | Genida/archan | matrices_compliance | 5,838 | |
LDU_FT/MozillaSecurity/laniakea/find | LDU_FT | [
"<BEGIN>\n## `list_tags`",
"List all used macros within a UserData script.",
" :param userdata: The UserData script.\n :type userdata: str\n<END>",
"<BEGIN>\n## `handle_tags`",
"Insert macro values or auto export variables in UserData scripts.",
" :param userdata: The UserData script.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Flatten list of reservations to a list of instances.
:param instance_ids: A list of instance ids to filter by
:type instance_ids: list
:param filters: A dict of Filter.N values defined in http://goo.gl/jYNej9
:type filters: dict
:return: A flattened list of filtered instances.
... | "Flatten list of reservations to a list of instances.\n\n :param instance_ids: A list of instance ids to filter by\n :type instance_ids: list\n :param filters: A dict of Filter.N values defined in http://goo.gl/jYNej9\n :type filters: dict\n :return: A flattened list of filtered insta... | 136 | false | MozillaSecurity/laniakea | find | 5,839 | |
LDU_FT/shazow/unstdlib.py/assert_hashable | LDU_FT | [
"<BEGIN>\n## `convert_exception`",
"Decorator: Catch exception ``from_exception`` and instead raise ``to_exception(*to_args, **to_kw)``.",
" Useful when modules you're using in a method throw their own errors that you want to\n convert to your own exceptions that you handle higher in the stack.",
" E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_hashable API.
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 assert_hashable API.
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... | Verify that each argument is hashable.
Passes silently if successful. Raises descriptive TypeError otherwise.
Example::
>>> assert_hashable(1, 'foo', bar='baz')
>>> assert_hashable(1, [], baz='baz')
Traceback (most recent call last):
...
TypeError: Argument in positi... | "Verify that each argument is hashable.\n\n Passes silently if successful. Raises descriptive TypeError otherwise.\n\n Example::\n\n >>> assert_hashable(1, 'foo', bar='baz')\n >>> assert_hashable(1, [], baz='baz')\n Traceback (most recent call last):\n ...\n TypeError: Argumen... | 187 | false | shazow/unstdlib.py | assert_hashable | 5,840 | |
LDU_FT/atmos-python/atmos/semilogy | LDU_FT | [
"<BEGIN>\n## `assumes`",
"Stores a function's assumptions as an attribute.\n<END>",
"<BEGIN>\n## `overridden_by_assumptions`",
"Stores what assumptions a function is overridden by as an attribute.\n<END>",
"<BEGIN>\n## `equation_docstring`",
"Creates a decorator that adds a docstring to an equation functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the semilogy API.
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 semilogy API.
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... | r'''Plot data.
Simple wrapper around plot so that pressure is the first (independent)
input. This is essentially a wrapper around `semilogy`.
Parameters
----------
p : array_like
pressure values
T : array_like
temperature values, can also be used... | "r'''Plot data.\n\n Simple wrapper around plot so that pressure is the first (independent)\n input. This is essentially a wrapper around `semilogy`.\n\n Parameters\n ----------\n p : array_like\n pressure values\n T : array_like\n temperature values, can a... | 126 | false | atmos-python/atmos | semilogy | 5,841 | |
LDU_FT/hotdoc/hotdoc/result_type | LDU_FT | [
"<BEGIN>\n## `connect`",
"@slot: The method to be called on signal emission",
" Connects to @slot\n<END>",
"<BEGIN>\n## `connect_after`",
"@slot: The method to be called at last stage of signal emission",
" Connects to the signal after the signals has been handled by other\n connect c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Retrieve the Type of the result for this Cursor. | "Retrieve the Type of the result for this Cursor." | 266 | false | hotdoc/hotdoc | result_type | 5,842 | |
LDU_FT/Yelp/threat_intel/_extract_all_responses | LDU_FT | [
"<BEGIN>\n## `init_poolmanager`",
"Called to initialize the HTTPAdapter when no proxy is used.\n<END>",
"<BEGIN>\n## `proxy_manager_for`",
"Called to initialize the HTTPAdapter when a proxy is used.\n<END>",
"<BEGIN>\n## `make_calls`",
"Adds appropriate sleep to avoid making too many calls.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_all_responses 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 _extract_all_responses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Aux function to extract all the API endpoint responses.
Args:
resources: list of string hashes.
api_endpoint: endpoint path
api_name: endpoint name
Returns:
A dict with the hash as key and the VT report as value. | "Aux function to extract all the API endpoint responses.\n\n Args:\n resources: list of string hashes.\n api_endpoint: endpoint path\n api_name: endpoint name\n Returns:\n A dict with the hash as key and the VT report as value." | 149 | false | Yelp/threat_intel | _extract_all_responses | 5,843 | |
LDU_FT/openstack/python-saharaclient/update | LDU_FT | [
"<BEGIN>\n## `update`",
"Update a Data Source.",
" :param dict update_data: dict that contains fields that should be\n updated with new values.",
" Fields that can be updated:",
" * name\n * description\n * type\n * url\n * is_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update Job Binary.
:param dict data: dict that contains fields that should be updated
with new values.
Fields that can be updated:
* name
* description
* url
* is_public
* is_protected
* extra - dict with the keys `user` and `passwo... | "Update Job Binary.\n\n :param dict data: dict that contains fields that should be updated\n with new values.\n\n Fields that can be updated:\n\n * name\n * description\n * url\n * is_public\n * is_protected\n * extra - dict with the keys `user... | 30 | false | openstack/python-saharaclient | update | 5,844 | |
LDU_FT/atarashansky/self-assembling-manifold/save_sparse_data | LDU_FT | [
"<BEGIN>\n## `preprocess_data`",
"Log-normalizes and filters the expression data.",
" Parameters\n ----------",
" div : float, optional, default 1\n The factor by which the gene expression will be divided prior to\n log normalization.",
" downsample : float,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_sparse_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_sparse_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 ... | Saves the tuple (raw_data,all_cell_names,all_gene_names) in a
Pickle file.
Parameters
----------
fname - string
The filename of the output file. | "Saves the tuple (raw_data,all_cell_names,all_gene_names) in a\n Pickle file.\n\n Parameters\n ----------\n fname - string\n The filename of the output file." | 125 | false | atarashansky/self-assembling-manifold | save_sparse_data | 5,845 | |
LDU_FT/Microsoft/nni/get_dict | LDU_FT | [
"<BEGIN>\n## `get_pre_compute`",
":param s: [src_sequence, batch_size, src_dim]\n :return: [src_sequence, batch_size. hidden_dim]\n<END>",
"<BEGIN>\n## `get_prob`",
":param s: [src_sequence_length, batch_size, src_dim]\n :param h: [batch_size, tgt_dim] or [tgt_sequence_length, batch_size, tgt_di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | A recursive function to return the content of the tree in a dict. | "A recursive function to return the content of the tree in a dict." | 587 | false | Microsoft/nni | get_dict | 5,846 | |
LDU_FT/santoshphilip/eppy/rvalue | LDU_FT | [
"<BEGIN>\n## `fan_bhp`",
"return the fan power in bhp given fan efficiency, Pressure rise (Pa) and flow (m3/s)\n<END>",
"<BEGIN>\n## `fan_watts`",
"return the fan power in watts given fan efficiency, Pressure rise (Pa) and flow (m3/s)\n<END>",
"<BEGIN>\n## `watts2pascal`",
"convert and return inputs for E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rvalue API.
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 rvalue API.
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 value (W/K) of a construction or material.
thickness (m) / conductivity (W/m-K) | "R value (W/K) of a construction or material.\n thickness (m) / conductivity (W/m-K)" | 332 | false | santoshphilip/eppy | rvalue | 5,847 | |
LDU_FT/frostming/marko/render | LDU_FT | [
"<BEGIN>\n## `camel_to_snake_case`",
"Takes a camelCased string and converts to snake_case.\n<END>",
"<BEGIN>\n## `is_paired`",
"Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>",
"<BEGIN>\n## `match_prefix`",
"Check if the line starts with giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Call ``self.renderer.render(text)``.
Override this to handle parsed result. | "Call ``self.renderer.render(text)``.\n\n Override this to handle parsed result." | 49 | false | frostming/marko | render | 5,848 | |
LDU_FT/GoogleCloudPlatform/compute-image-packages/RetryOnUnavailable | LDU_FT | [
"<BEGIN>\n## `EnableNetworkInterfaces`",
"Enable the list of network interfaces.",
" Args:\n interfaces: list of string, the output device names to enable.\n logger: logger object, used to write to SysLog and serial port.\n dhclient_script: string, the path to a dhclient script used by dhclien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RetryOnUnavailable 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 RetryOnUnavailable 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... | Function decorator to retry on a service unavailable exception. | "Function decorator to retry on a service unavailable exception." | 310 | false | GoogleCloudPlatform/compute-image-packages | RetryOnUnavailable | 5,849 | |
LDU_FT/chapel-lang/sphinxcontrib-chapeldomain/get_index_text | LDU_FT | [
"<BEGIN>\n## `make_field`",
"Copy+Paste of TypedField.make_field() from Sphinx version 1.2.3. The first\n and second nodes.Text() instance are changed in this implementation to\n be ' : ' and '' respectively (instead of ' (' and ')').",
" TODO: Ask sphinx devs if there is a better way to su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return text for index entry based on object type. | "Return text for index entry based on object type." | 60 | false | chapel-lang/sphinxcontrib-chapeldomain | get_index_text | 5,850 | |
LDU_FT/jaraco/jaraco.functools/method_caller | LDU_FT | [
"<BEGIN>\n## `compose`",
"Compose any number of unary functions into a single unary function.",
"\t>>> import textwrap\n\t>>> from six import text_type\n\t>>> stripped = text_type.strip(textwrap.dedent(compose.__doc__))\n\t>>> compose(text_type.strip, textwrap.dedent)(compose.__doc__) == stripped\n\tTrue",
"\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the method_caller API.
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 method_caller API.
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... | Return a function that will call a named method on the
target object with optional positional and keyword
arguments.
>>> lower = method_caller('lower')
>>> lower('MyString')
'mystring' | "Return a function that will call a named method on the\n\ttarget object with optional positional and keyword\n\targuments.\n\n\t>>> lower = method_caller('lower')\n\t>>> lower('MyString')\n\t'mystring'" | 65 | false | jaraco/jaraco.functools | method_caller | 5,851 | |
LDU_FT/Spirent/py-stcrestclient/connect | LDU_FT | [
"<BEGIN>\n## `url`",
"Construct a URL from the given components.\n<END>",
"<BEGIN>\n## `download_file`",
"Download a file.",
" If a timeout defined, it is not a time limit on the entire download;\n rather, an exception is raised if the server has not issued a response\n for timeout seco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Establish connection to one or more chassis.
Arguments:
chassis_list -- List of chassis (IP addresses or DNS names)
Return:
List of chassis addresses. | "Establish connection to one or more chassis.\n\n Arguments:\n chassis_list -- List of chassis (IP addresses or DNS names)\n\n Return:\n List of chassis addresses." | 102 | false | Spirent/py-stcrestclient | connect | 5,852 | |
LDU_FT/clalancette/pycdlib/change_existence | LDU_FT | [
"<BEGIN>\n## `parse`",
"A method to parse an ISO9660 Path Table Record out of a string.",
" Parameters:\n data - The string to parse.\n Returns:\n Nothing.\n<END>",
"<BEGIN>\n## `_record`",
"An internal method to generate a string representing this Path Table Record.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_existence API.
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 change_existence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Change the ISO9660 existence flag of this Directory Record.
Parameters:
is_hidden - True if this Directory Record should be hidden, False otherwise.
Returns:
Nothing. | "Change the ISO9660 existence flag of this Directory Record.\n\n Parameters:\n is_hidden - True if this Directory Record should be hidden, False otherwise.\n Returns:\n Nothing." | 1,112 | true | clalancette/pycdlib | change_existence | 5,853 | |
LDU_FT/CSchoel/nolds/hurst_rs | LDU_FT | [
"<BEGIN>\n## `weron_2002_figure2`",
"Recreates figure 2 of [w]_ comparing the reported values by Weron to the\n values obtained by the functions in this package.",
" The experiment consists of n iterations where the hurst exponent of randomly\n generated gaussian noise is calculated. This is done with differ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hurst_rs API.
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 hurst_rs API.
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... | Calculates the Hurst exponent by a standard rescaled range (R/S) approach.
Explanation of Hurst exponent:
The Hurst exponent is a measure for the "long-term memory" of a
time series, meaning the long statistical dependencies in the data that do
not originate from cycles.
It originates from H.E. Hurs... | "Calculates the Hurst exponent by a standard rescaled range (R/S) approach.\n\n Explanation of Hurst exponent:\n The Hurst exponent is a measure for the \"long-term memory\" of a\n time series, meaning the long statistical dependencies in the data that do\n not originate from cycles.\n\n It originates from... | 236 | false | CSchoel/nolds | hurst_rs | 5,854 | |
LDU_FT/chinapnr/fishbase/big_file | LDU_FT | [
"<BEGIN>\n## `string`",
"获取一个字符串的 MD5 值",
" :param:\n * s: (string) 需要进行 hash 的字符串\n * salt: (string) 随机字符串,默认为 None\n :return:\n * result: (string) 32 位小写 MD5 值\n<END>",
"<BEGIN>\n## `file`",
"获取一个文件的 MD5 值",
" :param:\n * filename: (string... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the big_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the big_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 extracte... | 获取一个大文件的 MD5 值
:param:
* filename: (string) 需要进行 hash 的大文件路径
:return:
* result: (string) 32位小写 MD5 值 | "获取一个大文件的 MD5 值\n\n :param:\n * filename: (string) 需要进行 hash 的大文件路径\n :return:\n * result: (string) 32位小写 MD5 值" | 448 | false | chinapnr/fishbase | big_file | 5,855 | |
LDU_FT/consbio/parserutils/to_ascii_equivalent | LDU_FT | [
"<BEGIN>\n## `create_element_tree`",
"Creates an ElementTree from elem_or_name, updated it with text and attributes.\n If elem_or_name is None, a permanently empty ElementTree is returned.\n :param elem_or_name: an Element or the name of the root element tag\n :param text: optional text with which to upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_ascii_equivalent 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 to_ascii_equivalent 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... | Converts any non-ASCII characters (accents, etc.) to their best-fit ASCII equivalents | "Converts any non-ASCII characters (accents, etc.) to their best-fit ASCII equivalents" | 127 | false | consbio/parserutils | to_ascii_equivalent | 5,856 | |
LDU_FT/inveniosoftware/invenio-oauth2server/init_app | LDU_FT | [
"<BEGIN>\n## `require_api_auth`",
"Decorator to require API authentication using OAuth token.",
" :param allow_anonymous: Allow access without OAuth token\n (default: ``False``).\n<END>",
"<BEGIN>\n## `require_oauth_scopes`",
"r\"\"\"Decorator to require a list of OAuth scopes.",
" Decorator ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Flask application initialization.
:param app: An instance of :class:`flask.Flask`.
:param entry_point_group: The entrypoint group name to load plugins.
(Default: ``'invenio_oauth2server.scopes'``) | "Flask application initialization.\n\n :param app: An instance of :class:`flask.Flask`.\n :param entry_point_group: The entrypoint group name to load plugins.\n (Default: ``'invenio_oauth2server.scopes'``)" | 92 | false | inveniosoftware/invenio-oauth2server | init_app | 5,857 | |
LDU_FT/quantopian/zipline/unwrap | LDU_FT | [
"<BEGIN>\n## `unwrap`",
"Get the cached value.",
" Returns\n -------\n value : object\n The cached value.",
" Raises\n ------\n Expired\n Raised when `dt` is greater than self.expires.\n<END>",
"<BEGIN>\n## `get`",
"Get the value of a cached ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unwrap API.
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 unwrap API.
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 ... | Get the cached value.
Returns
-------
value : object
The cached value.
Raises
------
Expired
Raised when `dt` is greater than self.expires. | "Get the cached value.\n\n Returns\n -------\n value : object\n The cached value.\n\n Raises\n ------\n Expired\n Raised when `dt` is greater than self.expires." | 2,011 | true | quantopian/zipline | unwrap | 5,858 | |
LDU_FT/Addvilz/hemp/repo_url_to_project_name | LDU_FT | [
"<BEGIN>\n## `release_local`",
"Tag given repository with a new semver tag (bump version),\n optionally merging a integration branch.",
" This will:\n - clone the repository to temporary directory\n - checkout branch indicated via base argument\n - retrieve all the tags, sort them in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repo_url_to_project_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repo_url_to_project_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Extract project title from GIT repository URL, either https or ssh.
Should work fine with github, bitbucket
:rtype: str
:param url: Url of the repository
:param normalize: Title-case the project name
:return: Project name | "Extract project title from GIT repository URL, either https or ssh.\n Should work fine with github, bitbucket\n :rtype: str\n :param url: Url of the repository\n :param normalize: Title-case the project name\n :return: Project name" | 13 | false | Addvilz/hemp | repo_url_to_project_name | 5,859 | |
LDU_FT/Syndace/python-omemo/serialize | LDU_FT | [
"<BEGIN>\n## `coroutine`",
"Implementation of a coroutine.",
" Use as a decorator:\n @coroutine\n def foo():\n result = yield somePromise",
" The function passed should be a generator yielding instances of the Promise class\n (or compatible).\n The coroutine waits for the Promise to r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
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 serialize API.
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... | Use this method to prepare the data to be uploaded directly to some PEP node. This
method applies an additional encoding step to the public keys in the bundle. The
result is a dictionary with the keys ik, spk, spk_signature and otpks. The values
are structured the same way as the inputs of the c... | "Use this method to prepare the data to be uploaded directly to some PEP node. This\n method applies an additional encoding step to the public keys in the bundle. The\n result is a dictionary with the keys ik, spk, spk_signature and otpks. The values\n are structured the same way as the inputs of t... | 45 | false | Syndace/python-omemo | serialize | 5,860 | |
LDU_FT/sjkingo/python-freshdesk/list_agents | LDU_FT | [
"<BEGIN>\n## `get_ticket`",
"Fetches the ticket for the given ticket ID\n<END>",
"<BEGIN>\n## `create_ticket`",
"Creates a ticket\n To create ticket with attachments,\n pass a key 'attachments' with value as list of fully qualified file paths in string format.\n ex: attachment... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_agents API.
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 list_agents API.
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... | List all agents, optionally filtered by a view. Specify filters as
keyword arguments, such as:
{
email='abc@xyz.com',
phone=873902,
mobile=56523,
state='fulltime'
}
Passing None means that no named filter will be passed to
Freshde... | "List all agents, optionally filtered by a view. Specify filters as\n keyword arguments, such as:\n\n {\n email='abc@xyz.com',\n phone=873902,\n mobile=56523,\n state='fulltime'\n }\n\n Passing None means that no named filter will be passed to\n ... | 57 | false | sjkingo/python-freshdesk | list_agents | 5,861 | |
LDU_FT/openstax/cnx-epub/adapt_package | LDU_FT | [
"<BEGIN>\n## `squash_xml_to_text`",
"Squash the given XML element (as `elm`) to a text containing XML.\n The outer most element/tag will be removed, but inner elements will\n remain. If `remove_namespaces` is specified, XML namespace declarations\n will be removed from the text.",
" :param elm: XML ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adapt_package API.
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 adapt_package API.
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... | Adapts ``.epub.Package`` to a ``BinderItem`` and cascades
the adaptation downward to ``DocumentItem``
and ``ResourceItem``.
The results of this process provide the same interface as
``.models.Binder``, ``.models.Document`` and ``.models.Resource``. | "Adapts ``.epub.Package`` to a ``BinderItem`` and cascades\n the adaptation downward to ``DocumentItem``\n and ``ResourceItem``.\n The results of this process provide the same interface as\n ``.models.Binder``, ``.models.Document`` and ``.models.Resource``." | 67 | false | openstax/cnx-epub | adapt_package | 5,862 | |
LDU_FT/GoogleCloudPlatform/datastore-ndb-python/fetch_async | LDU_FT | [
"<BEGIN>\n## `get_event_loop`",
"Return a EventLoop instance.",
" A new instance is created for each new HTTP request. We determine\n that we're in a new request by inspecting os.environ, which is reset\n at the start of each request. Also, each thread gets its own loop.\n<END>",
"<BEGIN>\n## `clear`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_async API.
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 fetch_async API.
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... | Fetch a list of query results, up to a limit.
This is the asynchronous version of Query.fetch(). | "Fetch a list of query results, up to a limit.\n\n This is the asynchronous version of Query.fetch()." | 569 | false | GoogleCloudPlatform/datastore-ndb-python | fetch_async | 5,863 | |
LDU_FT/pudo/jsonmapping/get_subject | LDU_FT | [
"<BEGIN>\n## `slugify`",
"Transform all values into URL-capable slugs.\n<END>",
"<BEGIN>\n## `latinize`",
"Transliterate a given string into the latin alphabet.\n<END>",
"<BEGIN>\n## `join`",
"Merge all the strings. Put space between them.\n<END>",
"<BEGIN>\n## `str_func`",
"Apply functions like upper... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subject API.
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_subject API.
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... | Try to get a unique ID from the object. By default, this will be
the 'id' field of any given object, or a field specified by the
'rdfSubject' property. If no other option is available, a UUID will be
generated. | "Try to get a unique ID from the object. By default, this will be\n the 'id' field of any given object, or a field specified by the\n 'rdfSubject' property. If no other option is available, a UUID will be\n generated." | 34 | false | pudo/jsonmapping | get_subject | 5,864 | |
LDU_FT/josiah-wolf-oberholtzer/uqbar/_collect_classes | LDU_FT | [
"<BEGIN>\n## `_build_mappings`",
"Collect all bases and organize into parent/child mappings.\n<END>",
"<BEGIN>\n## `_collect_classes`",
"Collect all classes defined in/under ``package_paths``.\n<END>",
"<BEGIN>\n## `find_common_prefix`",
"Find the common prefix of two or more paths.",
" ::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _collect_classes API.
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 _collect_classes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Collect all classes defined in/under ``package_paths``. | "Collect all classes defined in/under ``package_paths``." | 123 | false | josiah-wolf-oberholtzer/uqbar | _collect_classes | 5,865 | |
LDU_FT/SeanOC/sharpy/get_customers | LDU_FT | [
"<BEGIN>\n## `build_url`",
"Constructs the url for a cheddar API resource\n<END>",
"<BEGIN>\n## `make_request`",
"Makes a request to the cheddar api using the authentication and\n configuration settings available.\n<END>",
"<BEGIN>\n## `get_customers`",
"Returns all customers. Sometimes they are to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_customers API.
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_customers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns all customers. Sometimes they are too much and cause internal
server errors on CG. API call permits post parameters for filtering
which tends to fix this
https://cheddargetter.com/developers#all-customers
filter_data
Will be processed by urlencode and can be used f... | "Returns all customers. Sometimes they are too much and cause internal \n server errors on CG. API call permits post parameters for filtering \n which tends to fix this\n https://cheddargetter.com/developers#all-customers\n\n filter_data\n Will be processed by urlencode and can be... | 20 | false | SeanOC/sharpy | get_customers | 5,866 | |
LDU_FT/tariqdaouda/rabaDB/dropColumnsFromRabaObjTable | LDU_FT | [
"<BEGIN>\n## `removeFromRegistery`",
"Removes an object/rabalist from registery. This is useful if you want to allow the garbage collector to free the memory\n\ttaken by the objects you've already loaded. Be careful might cause some discrepenties in your scripts. For objects,\n\tcascades to free the registeries o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dropColumnsFromRabaObjTable 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 dropColumnsFromRabaObjTable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Removes columns from a RabaObj table. lstFieldsToKeep should not contain raba_id or json fileds | "Removes columns from a RabaObj table. lstFieldsToKeep should not contain raba_id or json fileds" | 55 | false | tariqdaouda/rabaDB | dropColumnsFromRabaObjTable | 5,867 | |
LDU_FT/Diaoul/subliminal/refine | LDU_FT | [
"<BEGIN>\n## `refine`",
"Refine a video by searching `OMDb API <http://omdbapi.com/>`_.",
" Several :class:`~subliminal.video.Episode` attributes can be found:",
" * :attr:`~subliminal.video.Episode.series`\n * :attr:`~subliminal.video.Episode.year`\n * :attr:`~subliminal.video.Episode.serie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refine API.
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 refine API.
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 ... | Refine a video by searching its metadata.
Several :class:`~subliminal.video.Video` attributes can be found:
* :attr:`~subliminal.video.Video.resolution`
* :attr:`~subliminal.video.Video.video_codec`
* :attr:`~subliminal.video.Video.audio_codec`
* :attr:`~subliminal.video.Video.subtitle_lan... | "Refine a video by searching its metadata.\n\n Several :class:`~subliminal.video.Video` attributes can be found:\n\n * :attr:`~subliminal.video.Video.resolution`\n * :attr:`~subliminal.video.Video.video_codec`\n * :attr:`~subliminal.video.Video.audio_codec`\n * :attr:`~subliminal.video.Video.subt... | 171 | false | Diaoul/subliminal | refine | 5,868 | |
LDU_FT/novopl/peltak/rename | LDU_FT | [
"<BEGIN>\n## `start`",
"Create a new release branch.",
" Args:\n component (str):\n Version component to bump when creating the release. Can be *major*,\n *minor* or *patch*.\n exact (str):\n The exact version to set for the release. Overrides the component\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API.
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 rename API.
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 ... | Give the currently developed hotfix a new name. | "Give the currently developed hotfix a new name." | 367 | false | novopl/peltak | rename | 5,869 | |
LDU_FT/zlobspb/txtarantool/pack_int_base128 | LDU_FT | [
"<BEGIN>\n## `pack_int_base128`",
"Pack integer value using LEB128 encoding\n :param value: integer value to encode\n :type value: int",
" :return: encoded value\n :rtype: bytes\n<END>",
"<BEGIN>\n## `pack_str`",
"Pack string field\n <field> ::= <int32_varint><data>",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_int_base128 API.
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 pack_int_base128 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Pack integer value using LEB128 encoding
:param value: integer value to encode
:type value: int
:return: encoded value
:rtype: bytes | "Pack integer value using LEB128 encoding\n :param value: integer value to encode\n :type value: int\n\n :return: encoded value\n :rtype: bytes" | 43 | false | zlobspb/txtarantool | pack_int_base128 | 5,870 | |
LDU_FT/redhat-openstack/python-tripleo-helper/enable_neutron_hack | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the ssh client and connect to the host.",
" It will wait until the ssh service is available during 90 seconds.\n If it doesn't succed to connect then the function will raise\n an SSHException.\n<END>",
"<BEGIN>\n## `run`",
"Run a command on the remote host.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_neutron_hack 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 enable_neutron_hack 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... | Enable the neutron hack on the undercloud.
This script will watch the undercloud and copy any relevant network
configuration in the host OpenStack. This is required to avoid the
firewall limitations (no-spoofing and DHCP restriction). | "Enable the neutron hack on the undercloud.\n\n This script will watch the undercloud and copy any relevant network\n configuration in the host OpenStack. This is required to avoid the\n firewall limitations (no-spoofing and DHCP restriction)." | 82 | false | redhat-openstack/python-tripleo-helper | enable_neutron_hack | 5,871 | |
LDU_FT/sammchardy/python-binance/withdraw | LDU_FT | [
"<BEGIN>\n## `add_bid`",
"Add a bid to the cache",
" :param bid:\n :return:\n<END>",
"<BEGIN>\n## `add_ask`",
"Add an ask to the cache",
" :param ask:\n :return:\n<END>",
"<BEGIN>\n## `_init_cache`",
"Initialise the depth cache calling REST endpoint",
" :return:\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the withdraw API.
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 withdraw API.
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... | Submit a withdraw request.
https://www.binance.com/restapipub.html
Assumptions:
- You must have Withdraw permissions enabled on your API key
- You must have withdrawn to the address specified through the website and approved the transaction via email
:param asset: required
... | "Submit a withdraw request.\n\n https://www.binance.com/restapipub.html\n\n Assumptions:\n\n - You must have Withdraw permissions enabled on your API key\n - You must have withdrawn to the address specified through the website and approved the transaction via email\n\n :param asset: r... | 233 | false | sammchardy/python-binance | withdraw | 5,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.