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/alexhayes/django-toolkit/expire_cache | LDU_FT | [
"<BEGIN>\n## `get_anchor_href`",
"Given HTML markup, return a list of hrefs for each anchor tag.\n<END>",
"<BEGIN>\n## `get_anchor_contents`",
"Given HTML markup, return a list of href inner html for each anchor tag.\n<END>",
"<BEGIN>\n## `expire_cache`",
"Expire a cache item.",
" @param url: The url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expire_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expire_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Expire a cache item.
@param url: The url object
@param product_names: A list of product names
@param start: The date from which the reporting should start.
@param stop: The date at which the reporting should stop. | "Expire a cache item.\n \n @param url: The url object\n @param product_names: A list of product names\n @param start: The date from which the reporting should start.\n @param stop: The date at which the reporting should stop." | 155 | false | alexhayes/django-toolkit | expire_cache | 24,073 | |
LDU_FT/kavdev/ldap-groups/_get_group_dn | LDU_FT | [
"<BEGIN>\n## `_get_valididty`",
"Determines whether this AD Group is valid.\r",
" :returns: True and \"\" if this group is valid or False and a string description\r\n with the reason why it isn't valid otherwise.\n<END>",
"<BEGIN>\n## `get_attribute`",
"Gets the passed attribute of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_group_dn API.
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_group_dn API.
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... | Searches for a group and retrieves its distinguished name.
:param group_lookup_attribute_value: The value for the LDAP_GROUPS_GROUP_LOOKUP_ATTRIBUTE
:type group_lookup_attribute_value: str
:raises: **GroupDoesNotExist** if the group doesn't exist in the active directory. | "Searches for a group and retrieves its distinguished name.\r\n\r\n :param group_lookup_attribute_value: The value for the LDAP_GROUPS_GROUP_LOOKUP_ATTRIBUTE\r\n :type group_lookup_attribute_value: str\r\n\r\n :raises: **GroupDoesNotExist** if the group doesn't exist in the active directory." | 59 | false | kavdev/ldap-groups | _get_group_dn | 24,074 | |
LDU_FT/systemd/python-systemd/messageid_match | LDU_FT | [
"<BEGIN>\n## `get_catalog`",
"Return catalog entry for the specified ID.",
" `mid` should be either a UUID or a 32 digit hex number.\n<END>",
"<BEGIN>\n## `stream`",
"r\"\"\"Return a file object wrapping a stream to journal.",
" Log messages written to this file as simple newline sepearted text stri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the messageid_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the messageid_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Add match for log entries with specified `messageid`.
`messageid` can be string of hexadicimal digits or a UUID
instance. Standard message IDs can be found in systemd.id128.
Equivalent to add_match(MESSAGE_ID=`messageid`). | "Add match for log entries with specified `messageid`.\n\n `messageid` can be string of hexadicimal digits or a UUID\n instance. Standard message IDs can be found in systemd.id128.\n\n Equivalent to add_match(MESSAGE_ID=`messageid`)." | 70 | false | systemd/python-systemd | messageid_match | 24,075 | |
LDU_FT/The-Politico/politico-civic-election-night/get_statepostal | LDU_FT | [
"<BEGIN>\n## `get_images`",
"Object of images serialized by tag name.\n<END>",
"<BEGIN>\n## `get_override_votes`",
"Votes entered into backend.\n Only used if ``override_ap_votes = True``.\n<END>",
"<BEGIN>\n## `get_queryset`",
"Returns a queryset of all executive offices holding an election on\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_statepostal API.
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_statepostal API.
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... | State postal abbreviation if county or state else ``None``. | "State postal abbreviation if county or state else ``None``." | 62 | false | The-Politico/politico-civic-election-night | get_statepostal | 24,076 | |
LDU_FT/watchforstock/evohome-client/_basic_login | LDU_FT | [
"<BEGIN>\n## `set_dhw_on`",
"Sets the DHW on until a given time, or permanently.\n<END>",
"<BEGIN>\n## `set_dhw_off`",
"Sets the DHW off until a given time, or permanently.\n<END>",
"<BEGIN>\n## `temperatures`",
"Retrieve the current details for each zone. Returns a generator.\n<END>",
"<BEGIN>\n## `get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _basic_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _basic_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Obtain a new access token from the vendor.
First, try using the refresh_token, if one is available, otherwise
authenticate using the user credentials. | "Obtain a new access token from the vendor.\n\n First, try using the refresh_token, if one is available, otherwise\n authenticate using the user credentials." | 26 | false | watchforstock/evohome-client | _basic_login | 24,077 | |
LDU_FT/mohamedattahri/PyXMLi/to_xml | LDU_FT | [
"<BEGIN>\n## `c14n`",
"Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>",
"<BEGIN>\n## `sign`",
"Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns a DOM representation of the line.
@return: Element | "Returns a DOM representation of the line.\n @return: Element" | 102 | false | mohamedattahri/PyXMLi | to_xml | 24,078 | |
LDU_FT/LLNL/certipy/remove_record | LDU_FT | [
"<BEGIN>\n## `open_tls_file`",
"Context to ensure correct file permissions for certs and directories",
" Ensures:\n - A containing directory with appropriate permissions\n - Correct file permissions based on what the file is (0o600 for keys\n and 0o644 for certs)\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Delete the record associated with this common name | "Delete the record associated with this common name" | 50 | false | LLNL/certipy | remove_record | 24,079 | |
LDU_FT/ipfs/py-ipfs-api/get | LDU_FT | [
"<BEGIN>\n## `parse`",
"Returns a Python object decoded from the bytes of this encoding.",
" Raises\n ------\n ~ipfsapi.exceptions.DecodingError",
" Parameters\n ----------\n raw : bytes\n Data to be parsed",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Downloads a file, or directory of files from IPFS.
Files are placed in the current working directory.
Parameters
----------
multihash : str
The path to the IPFS object(s) to be outputted | "Downloads a file, or directory of files from IPFS.\n\n Files are placed in the current working directory.\n\n Parameters\n ----------\n multihash : str\n The path to the IPFS object(s) to be outputted" | 499 | false | ipfs/py-ipfs-api | get | 24,080 | |
LDU_FT/lambdalisue/django-roughpages/prepare_filename_decorator | LDU_FT | [
"<BEGIN>\n## `prepare_filename_decorator`",
"A decorator of `prepare_filename` method",
" 1. It automatically assign `settings.ROUGHPAGES_INDEX_FILENAME` if the\n `normalized_url` is ''.\n 2. It automatically assign file extensions to the output list.\n<END>",
"<BEGIN>\n## `prepare_filenames`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_filename_decorator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_filename_decorator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | A decorator of `prepare_filename` method
1. It automatically assign `settings.ROUGHPAGES_INDEX_FILENAME` if the
`normalized_url` is ''.
2. It automatically assign file extensions to the output list. | "A decorator of `prepare_filename` method\n\n 1. It automatically assign `settings.ROUGHPAGES_INDEX_FILENAME` if the\n `normalized_url` is ''.\n 2. It automatically assign file extensions to the output list." | 29 | false | lambdalisue/django-roughpages | prepare_filename_decorator | 24,081 | |
LDU_FT/syrusakbary/promise/get_complete_version | LDU_FT | [
"<BEGIN>\n## `dispatch_queue`",
"Given the current state of a Loader instance, perform a batch load\n from its current queue.\n<END>",
"<BEGIN>\n## `failed_dispatch`",
"Do not cache individual loads if the entire batch dispatch fails,\n but still reject each request so they do not hang.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_complete_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_complete_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a tuple of the promise version. If version argument is non-empty,
then checks for correctness of the tuple provided. | "Returns a tuple of the promise version. If version argument is non-empty,\n then checks for correctness of the tuple provided." | 25 | false | syrusakbary/promise | get_complete_version | 24,082 | |
LDU_FT/ryukinix/decorating/write | LDU_FT | [
"<BEGIN>\n## `default_arguments`",
"Returns the available kwargs of the called class\n<END>",
"<BEGIN>\n## `recreate`",
"Recreate the class based in your args, multiple uses\n<END>",
"<BEGIN>\n## `check_arguments`",
"Put warnings of arguments whose can't be handle by the class\n<END>",
"<BEGIN>\n## `col... | 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... | Send something for stdout and erased after delay | "Send something for stdout and erased after delay" | 41 | false | ryukinix/decorating | write | 24,083 | |
LDU_FT/sci-bots/pygtkhelpers/get_fields_frame | LDU_FT | [
"<BEGIN>\n## `gcall`",
"Calls a function, with the given arguments inside Gtk's main loop.\n Example::\n gcall(lbl.set_text, \"foo\")",
" If this call would be made in a thread there could be problems, using\n it inside Gtk's main loop makes it thread safe.\n<END>",
"<BEGIN>\n## `invoke_in_mai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parameters
----------
schema : dict
`JSON schema <http://spacetelescope.github.io/understanding-json-schema/>`_ | "Parameters\n ----------\n schema : dict\n `JSON schema <http://spacetelescope.github.io/understanding-json-schema/>`_" | 240 | false | sci-bots/pygtkhelpers | get_fields_frame | 24,084 | |
LDU_FT/ricequant/rqalpha/order_value | LDU_FT | [
"<BEGIN>\n## `buy_open`",
"买入开仓。",
" :param id_or_ins: 下单标的物\n :type id_or_ins: :class:`~Instrument` object | `str` | List[:class:`~Instrument`] | List[`str`]",
" :param int amount: 下单手数",
" :param float price: 下单价格,默认为None,表示 :class:`~MarketOrder`, 此参数主要用于简化 `style` 参数。",
" :param style: 下... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_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 extra... | 使用想要花费的金钱买入/卖出股票,而不是买入/卖出想要的股数,正数代表买入,负数代表卖出。股票的股数总是会被调整成对应的100的倍数(在A中国A股市场1手是100股)。如果资金不足,该API将不会创建发送订单。
需要注意:
当您提交一个买单时,cash_amount 代表的含义是您希望买入股票消耗的金额(包含税费),最终买入的股数不仅和发单的价格有关,还和税费相关的参数设置有关。
当您提交一个卖单时,cash_amount 代表的意义是您希望卖出股票的总价值。如果金额超出了您所持有股票的价值,那么您将卖出所有股票。
:param id_or_ins: 下单标的物
:type id_or_i... | "使用想要花费的金钱买入/卖出股票,而不是买入/卖出想要的股数,正数代表买入,负数代表卖出。股票的股数总是会被调整成对应的100的倍数(在A中国A股市场1手是100股)。如果资金不足,该API将不会创建发送订单。\n\n 需要注意:\n 当您提交一个买单时,cash_amount 代表的含义是您希望买入股票消耗的金额(包含税费),最终买入的股数不仅和发单的价格有关,还和税费相关的参数设置有关。\n 当您提交一个卖单时,cash_amount 代表的意义是您希望卖出股票的总价值。如果金额超出了您所持有股票的价值,那么您将卖出所有股票。\n\n :param id_or_ins: 下单标的物\n :type... | 254 | false | ricequant/rqalpha | order_value | 24,085 | |
LDU_FT/canonical-ols/acceptable/bind | LDU_FT | [
"<BEGIN>\n## `metadata_lint`",
"Run the linter over the new metadata, comparing to the old.\n<END>",
"<BEGIN>\n## `bind`",
"Bind the service API urls to a flask app.\n<END>",
"<BEGIN>\n## `serialize`",
"Serialize into JSONable dict, and associated locations data.\n<END>",
"<BEGIN>\n## `api`",
"Add an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Bind the service API urls to a flask app. | "Bind the service API urls to a flask app." | 61 | false | canonical-ols/acceptable | bind | 24,086 | |
LDU_FT/bkeating/python-payflowpro/parse_parameters | LDU_FT | [
"<BEGIN>\n## `find_class_in_list`",
"Returns the first occurrence of an instance of type `klass` in \n the given list, or None if no such instance is present.\n<END>",
"<BEGIN>\n## `find_classes_in_list`",
"Returns a tuple containing an entry corresponding to each of\n the requested class types, where t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_parameters API.
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_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parses a set of Payflow Pro response parameter name and value pairs into
a list of PayflowProObjects, and returns a tuple containing the object
list and a dictionary containing any unconsumed data.
The first item in the object list will always be the Response object, and
the RecurringPayments obj... | "Parses a set of Payflow Pro response parameter name and value pairs into \n a list of PayflowProObjects, and returns a tuple containing the object\n list and a dictionary containing any unconsumed data. \n \n The first item in the object list will always be the Response object, and\n the RecurringPaymen... | 18 | false | bkeating/python-payflowpro | parse_parameters | 24,087 | |
LDU_FT/meowklaski/custom_inherit/merge_rest_docs | LDU_FT | [
"<BEGIN>\n## `parse_napoleon_doc`",
"Extract the text from the various sections of a numpy-formatted docstring.",
" Parameters\n ----------\n doc: Union[str, None]\n The docstring to parse.",
" style: str\n 'google' or 'numpy'",
" Returns\n ---... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_rest_docs API.
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 merge_rest_docs API.
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... | See custom_inherit.style_store.reST for details. | "See custom_inherit.style_store.reST for details." | 54 | false | meowklaski/custom_inherit | merge_rest_docs | 24,088 | |
LDU_FT/elastic/elasticsearch-dsl-py/configure | LDU_FT | [
"<BEGIN>\n## `scan_aggs`",
"Helper function used to iterate over all possible bucket combinations of\n ``source_aggs``, returning results of ``inner_aggs`` for each. Uses the\n ``composite`` aggregation under the hood to perform this.\n<END>",
"<BEGIN>\n## `clean`",
"Automatically construct the suggesti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Configure multiple connections at once, useful for passing in config
dictionaries obtained from other sources, like Django's settings or a
configuration management tool.
Example::
connections.configure(
default={'hosts': 'localhost'},
dev={'hosts': [... | "Configure multiple connections at once, useful for passing in config\n dictionaries obtained from other sources, like Django's settings or a\n configuration management tool.\n\n Example::\n\n connections.configure(\n default={'hosts': 'localhost'},\n dev={'... | 257 | false | elastic/elasticsearch-dsl-py | configure | 24,089 | |
LDU_FT/vecnet/vecnet.openmalaria/detectionLimit | LDU_FT | [
"<BEGIN>\n## `get_percentage_from_prob`",
"Converted probability of being treated to total percentage of clinical cases treated\n<END>",
"<BEGIN>\n## `get_schema_version_from_xml`",
"Get schemaVersion attribute from OpenMalaria scenario file\n xml - open file or content of xml document to be processed\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detectionLimit API.
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 detectionLimit API.
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... | Detection limit for parasitaemia
Limit above which a human's infection is reported as patent
https://github.com/SwissTPH/openmalaria/wiki/GeneratedSchema32Doc#detection-limit-for-parasitaemia | "Detection limit for parasitaemia\n Limit above which a human's infection is reported as patent\n https://github.com/SwissTPH/openmalaria/wiki/GeneratedSchema32Doc#detection-limit-for-parasitaemia" | 42 | false | vecnet/vecnet.openmalaria | detectionLimit | 24,090 | |
LDU_FT/celiao/rtsimple/dvds_upcoming | LDU_FT | [
"<BEGIN>\n## `search`",
"Get movies that match the search query string from the API.",
" Args:\n q (optional): plain text search query; remember to URI encode\n page_limit (optional): number of search results to show per page, \n default=30\n pag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dvds_upcoming API.
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 dvds_upcoming API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Gets the upcoming movies from the API.
Args:
page_limit (optional): number of movies to show per page, default=16
page (optional): results page number, default=1
country (optional): localized data for selected country, default="us"
Returns:
A dict respresentatio... | "Gets the upcoming movies from the API.\n\n Args:\n page_limit (optional): number of movies to show per page, default=16\n page (optional): results page number, default=1\n country (optional): localized data for selected country, default=\"us\"\n\n Returns:\n A dict res... | 51 | false | celiao/rtsimple | dvds_upcoming | 24,091 | |
LDU_FT/CLARIAH/grlc/getProjectionForQueryName | LDU_FT | [
"<BEGIN>\n## `project`",
"Programs may make use of data in the `dataIn` variable and should\n produce data on the `dataOut` variable.\n<END>",
"<BEGIN>\n## `init_prov_graph`",
"Initialize PROV graph with all we know at the start of the recording\n<END>",
"<BEGIN>\n## `add_used_entity`",
"Add the provid... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getProjectionForQueryName 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 getProjectionForQueryName API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | TODO: DOCUMENT !!
Returns None if no such projection exists | "TODO: DOCUMENT !!\n Returns None if no such projection exists" | 37 | false | CLARIAH/grlc | getProjectionForQueryName | 24,092 | |
LDU_FT/python-escpos/python-escpos/center | LDU_FT | [
"<BEGIN>\n## `get_profile`",
"Get the profile by name; if no name is given, return the\n default profile.\n<END>",
"<BEGIN>\n## `get_profile_class`",
"For the given profile name, load the data from the external\n database, then generate dynamically a class.\n<END>",
"<BEGIN>\n## `get_font`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the center API.
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 center API.
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 ... | In-place image centering
:param: Maximum width in order to deduce x offset for centering
:return: None | "In-place image centering\n\n :param: Maximum width in order to deduce x offset for centering\n :return: None" | 74 | false | python-escpos/python-escpos | center | 24,093 | |
LDU_FT/i3visio/entify/entify_main | LDU_FT | [
"<BEGIN>\n## `getResults`",
"Function to obtain the Dictionarythat represents this object.",
" :param parFound: values to return.",
" :return: The output format will be like:\n [{\"type\" : \"i3visio.email\", \"value\": \"foo@bar.com\", \"attributes\": [] }, {\"type\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entify_main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entify_main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Main function. This function is created in this way so as to let other applications make use of the full configuration capabilities of the application. | "Main function. This function is created in this way so as to let other applications make use of the full configuration capabilities of the application." | 33 | false | i3visio/entify | entify_main | 24,094 | |
LDU_FT/cebel/pyctd/_limit_and_df | LDU_FT | [
"<BEGIN>\n## `set_mysql`",
"Set the SQLAlchemy connection string with MySQL settings\n<END>",
"<BEGIN>\n## `_limit_and_df`",
"adds a limit (limit==None := no limit) to any query and allow a return as pandas.DataFrame",
" :param bool as_df: if is set to True results return as pandas.DataFrame\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _limit_and_df API.
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 _limit_and_df API.
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... | adds a limit (limit==None := no limit) to any query and allow a return as pandas.DataFrame
:param bool as_df: if is set to True results return as pandas.DataFrame
:param `sqlalchemy.orm.query.Query` query: SQL Alchemy query
:param int limit: maximum number of results
:return: query res... | "adds a limit (limit==None := no limit) to any query and allow a return as pandas.DataFrame\n\n :param bool as_df: if is set to True results return as pandas.DataFrame\n :param `sqlalchemy.orm.query.Query` query: SQL Alchemy query \n :param int limit: maximum number of results\n :return: que... | 126 | false | cebel/pyctd | _limit_and_df | 24,095 | |
LDU_FT/DataMedSci/mcpartools/_parse_geo_file | LDU_FT | [
"<BEGIN>\n## `pip_command_output`",
"Get output (as a string) from pip command\n :param pip_args: list o pip switches to pass\n :return: string with results\n<END>",
"<BEGIN>\n## `setup_versioneer`",
"Generate (temporarily) versioneer.py file in project root directory\n :return:\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_geo_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_geo_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 e... | Scan SH12A GEO file for references to external files (like voxelised geometry) and return them | "Scan SH12A GEO file for references to external files (like voxelised geometry) and return them" | 24 | false | DataMedSci/mcpartools | _parse_geo_file | 24,096 | |
LDU_FT/jpvanhal/inflection/singularize | LDU_FT | [
"<BEGIN>\n## `_irregular`",
"A convenience function to add appropriate rules to plurals and singular\n for irregular words.",
" :param singular: irregular word in singular form\n :param plural: irregular word in plural form\n<END>",
"<BEGIN>\n## `camelize`",
"Convert strings to CamelCase.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the singularize API.
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 singularize API.
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 the singular form of a word, the reverse of :func:`pluralize`.
Examples::
>>> singularize("posts")
"post"
>>> singularize("octopi")
"octopus"
>>> singularize("sheep")
"sheep"
>>> singularize("word")
"word"
>>> singularize("CamelOctopi"... | "Return the singular form of a word, the reverse of :func:`pluralize`.\n\n Examples::\n\n >>> singularize(\"posts\")\n \"post\"\n >>> singularize(\"octopi\")\n \"octopus\"\n >>> singularize(\"sheep\")\n \"sheep\"\n >>> singularize(\"word\")\n \"word\"\n ... | 36 | false | jpvanhal/inflection | singularize | 24,097 | |
LDU_FT/ehansis/ozelot/get | LDU_FT | [
"<BEGIN>\n## `_query`",
"Base query for an url and xpath",
" Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>",
"<BEGIN>\n## `get`",
"Get a URL via the cache.",
" If the URL exists in the cache, return the cached value. Otherwise ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a URL via the cache.
If the URL exists in the cache, return the cached value. Otherwise perform the request,
store the resulting content in the cache and return it.
Throws a :class:`RuntimeError` if the request results in an error.
Args:
url (str): URL to request
... | "Get a URL via the cache.\n\n If the URL exists in the cache, return the cached value. Otherwise perform the request,\n store the resulting content in the cache and return it.\n\n Throws a :class:`RuntimeError` if the request results in an error.\n\n Args:\n url (str): URL to requ... | 203 | false | ehansis/ozelot | get | 24,098 | |
LDU_FT/B2W-BIT/aiologger/_log | LDU_FT | [
"<BEGIN>\n## `format`",
"Formats a record and serializes it as a JSON str. If record message isnt\n already a dict, initializes a new dict and uses `default_msg_fieldname`\n as a key as the record msg as the value.\n<END>",
"<BEGIN>\n## `formatter_fields_for_record`",
":type record: aiologger.lo... | 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 do... | 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 do... | Low-level logging routine which creates a LogRecord and then calls
all the handlers of this logger to handle the record.
Overwritten to properly handle log methods kwargs | "Low-level logging routine which creates a LogRecord and then calls\n all the handlers of this logger to handle the record.\n\n Overwritten to properly handle log methods kwargs" | 69 | false | B2W-BIT/aiologger | _log | 24,099 | |
LDU_FT/jameslyons/pycipher/encipher | LDU_FT | [
"<BEGIN>\n## `encipher`",
"Encipher string using Atbash cipher.",
" Example::",
" ciphertext = Atbash().encipher(plaintext) ",
" :param string: The string to encipher.\n :param keep_punct: if true, punctuation and spacing are retained. If false, it is all removed. Default... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encipher API.
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 encipher API.
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... | Encipher string using Delastelle cipher according to initialised key.
Example::
ciphertext = Delastelle('APCZ WRLFBDKOTYUQGENHXMIVS').encipher(plaintext)
:param string: The string to encipher.
:returns: The enciphered string. The ciphertext will be 3 times the length of the p... | "Encipher string using Delastelle cipher according to initialised key.\n\n Example::\n\n ciphertext = Delastelle('APCZ WRLFBDKOTYUQGENHXMIVS').encipher(plaintext) \n\n :param string: The string to encipher.\n :returns: The enciphered string. The ciphertext will be 3 times the length ... | 135 | false | jameslyons/pycipher | encipher | 24,100 | |
LDU_FT/bwesterb/py-seccure/serialize_number | LDU_FT | [
"<BEGIN>\n## `serialize_number`",
"Serializes `x' to a string of length `outlen' in format `fmt'\n<END>",
"<BEGIN>\n## `deserialize_number`",
"Deserializes a number from a string `s' in format `fmt'\n<END>",
"<BEGIN>\n## `mod_issquare`",
"Returns whether `a' is a square modulo p\n<END>",
"<BEGIN>\n## `d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Serializes `x' to a string of length `outlen' in format `fmt' | "Serializes `x' to a string of length `outlen' in format `fmt'" | 22 | false | bwesterb/py-seccure | serialize_number | 24,101 | |
LDU_FT/klen/pylama/run | LDU_FT | [
"<BEGIN>\n## `run`",
"MCCabe code checking.",
" :return list: List of errors.\n<END>",
"<BEGIN>\n## `split_csp_str`",
"Split comma separated string into unique values, keeping their order.",
" :returns: list of splitted values\n<END>",
"<BEGIN>\n## `parse_linters`",
"Initialize choosen linte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Check code with pyflakes.
:return list: List of errors. | "Check code with pyflakes.\n\n :return list: List of errors." | 81 | false | klen/pylama | run | 24,102 | |
LDU_FT/core/uricore/read | LDU_FT | [
"<BEGIN>\n## `iteritems`",
"Like :meth:`items` but returns an iterator.\n<END>",
"<BEGIN>\n## `iterlists`",
"Like :meth:`items` but returns an iterator.\n<END>",
"<BEGIN>\n## `to_dict`",
"Return the contents as regular dict. If `flat` is `True` the\n returned dict will only have the first item pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
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 read API.
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... | Read `size` bytes or if size is not provided everything is read.
:param size: the number of bytes read. | "Read `size` bytes or if size is not provided everything is read.\n\n :param size: the number of bytes read." | 85 | false | core/uricore | read | 24,103 | |
LDU_FT/Capitains/Nautilus/_get_passage | LDU_FT | [
"<BEGIN>\n## `r_cts`",
"Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route",
" :return: Response\n<END>",
"<BEGIN>\n## `cts_error`",
"Create a CTS Error reply",
" :param error_name: Name of the error\n :param message: Message of the Error\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_passage API.
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_passage API.
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... | Provisional route for GetPassage request
:param urn: URN to filter the resource
:return: GetPassage response | "Provisional route for GetPassage request\n\n :param urn: URN to filter the resource\n :return: GetPassage response" | 110 | false | Capitains/Nautilus | _get_passage | 24,104 | |
LDU_FT/vaab/colour/RGB_color_picker | LDU_FT | [
"<BEGIN>\n## `hsl2rgb`",
"Convert HSL representation towards RGB",
" :param h: Hue, position around the chromatic circle (h=1 equiv h=0)\n :param s: Saturation, color saturation (0=full gray, 1=full color)\n :param l: Ligthness, Overhaul lightness (0=full black, 1=full white)\n :rtype: 3-uple for RG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RGB_color_picker API.
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 RGB_color_picker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Build a color representation from the string representation of an object
This allows to quickly get a color from some data, with the
additional benefit that the color will be the same as long as the
(string representation of the) data is the same::
>>> from colour import RGB_color_picker, Color
... | "Build a color representation from the string representation of an object\n\n This allows to quickly get a color from some data, with the\n additional benefit that the color will be the same as long as the\n (string representation of the) data is the same::\n\n >>> from colour import RGB_color_picker, C... | 99 | false | vaab/colour | RGB_color_picker | 24,105 | |
LDU_FT/craffel/mir_eval/overall_accuracy | LDU_FT | [
"<BEGIN>\n## `_open`",
"Either open a file handle, or use an existing file-like object.",
" This will behave as the `open` function if `file_or_str` is a string.",
" If `file_or_str` has the `read` attribute, it will return `file_or_str`.",
" Otherwise, an `IOError` is raised.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overall_accuracy API.
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 overall_accuracy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Compute the overall accuracy given two pitch (frequency) sequences in cents
and matching voicing indicator sequences. The first pitch and voicing
arrays are treated as the reference (truth), and the second two as the
estimate (prediction). All 4 sequences must be of the same length.
Examples
-----... | "Compute the overall accuracy given two pitch (frequency) sequences in cents\n and matching voicing indicator sequences. The first pitch and voicing\n arrays are treated as the reference (truth), and the second two as the\n estimate (prediction). All 4 sequences must be of the same length.\n\n Examples\n ... | 1,001 | false | craffel/mir_eval | overall_accuracy | 24,106 | |
LDU_FT/srevenant/dictlib/_dig_get | LDU_FT | [
"<BEGIN>\n## `_splice_index`",
"Utility for key management in dig/dug",
" If first elem of key list contains an index[], spread it out as a second\n numeric index.",
" >>> _splice_index('abc[0]', 'def')\n ('abc', 0, 'def')\n >>> _splice_index('abc[a]', 'def')\n ('abc[a]', 'def')\n >>> _sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dig_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dig_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Recursively lookup an item in a nested dictionary,
using an array of indexes
>>> _dig_get({"a":{"b":{"c":1}}}, 2, "a", "b", "d")
2 | "Recursively lookup an item in a nested dictionary,\n using an array of indexes\n\n >>> _dig_get({\"a\":{\"b\":{\"c\":1}}}, 2, \"a\", \"b\", \"d\")\n 2" | 28 | false | srevenant/dictlib | _dig_get | 24,107 | |
LDU_FT/msfrank/cifparser/print_ast | LDU_FT | [
"<BEGIN>\n## `make_path`",
":param path_or_str_or_segments:\n :return:\n :rtype: cifparser.path.Path\n<END>",
"<BEGIN>\n## `print_ast`",
":param f:\n :type f: file\n :return:\n<END>",
"<BEGIN>\n## `pop_frame`",
"Remove and return the frame at the top of the stack.",
" :returns: The to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ast API.
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 print_ast API.
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... | :param f:
:type f: file
:return: | ":param f:\n :type f: file\n :return:" | 67 | false | msfrank/cifparser | print_ast | 24,108 | |
LDU_FT/kylejusticemagnuson/pyti/lower_band | LDU_FT | [
"<BEGIN>\n## `band_width`",
"Bandwidth.",
" Formula:\n BW = SMA(H - L)\n<END>",
"<BEGIN>\n## `center_band`",
"Center Band.",
" Formula:\n CB = SMA(TP)\n<END>",
"<BEGIN>\n## `upper_band`",
"Upper Band.",
" Formula:\n UB = CB + BW\n<END>",
"<BEGIN>\n## `lower_band`",
"Lower Band.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lower_band API.
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 lower_band API.
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... | Lower Band.
Formula:
LB = CB - BW | "Lower Band.\n\n Formula:\n LB = CB - BW" | 204 | false | kylejusticemagnuson/pyti | lower_band | 24,109 | |
LDU_FT/semiversus/python-broqer/notify | LDU_FT | [
"<BEGIN>\n## `build_sink`",
"Decorator to wrap a function to return a Sink subscriber.",
" :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>",
"<BEGIN>\n## `build_map`",
"Decorator to wrap a function to return a Map operator.",
" :param fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Calling .emit(value) on all subscribers. A synchronouse subscriber
will just return None, a asynchronous one may returns a future. Futures
will be collected. If no future was returned None will be returned by
this method. If one futrue was returned that future will be returned.
When mult... | "Calling .emit(value) on all subscribers. A synchronouse subscriber\n will just return None, a asynchronous one may returns a future. Futures\n will be collected. If no future was returned None will be returned by\n this method. If one futrue was returned that future will be returned.\n When... | 65 | false | semiversus/python-broqer | notify | 24,110 | |
LDU_FT/JukeboxPipeline/jukeboxmaya/set_typ | LDU_FT | [
"<BEGIN>\n## `main_func`",
"Main funcion when executing this module as script",
" :param args: commandline arguments\n :type args: list\n :returns: None\n :rtype: None\n :raises: None\n<END>",
"<BEGIN>\n## `setup_launch_parser`",
"Setup the given parser for the launch command",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_typ API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_typ API.
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... | Set the type of the given refobj
:param refobj: the reftrack node to edit
:type refobj: refobj
:param typ: the entity type
:type typ: str
:returns: None
:rtype: None
:raises: ValueError | "Set the type of the given refobj\n\n :param refobj: the reftrack node to edit\n :type refobj: refobj\n :param typ: the entity type\n :type typ: str\n :returns: None\n :rtype: None\n :raises: ValueError" | 241 | false | JukeboxPipeline/jukeboxmaya | set_typ | 24,111 | |
LDU_FT/raiden-network/raiden/dependencies_order_of_build | LDU_FT | [
"<BEGIN>\n## `events_for_onchain_secretreveal`",
"Emits the event for revealing the secret on-chain if the transfer\n can not be settled off-chain.\n<END>",
"<BEGIN>\n## `handle_inittarget`",
"Handles an ActionInitTarget state change.\n<END>",
"<BEGIN>\n## `handle_offchain_secretreveal`",
"Validates an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependencies_order_of_build 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 dependencies_order_of_build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return an ordered list of contracts that is sufficient to successfully
deploy the target contract.
Note:
This function assumes that the `dependencies_map` is an acyclic graph. | "Return an ordered list of contracts that is sufficient to successfully\n deploy the target contract.\n\n Note:\n This function assumes that the `dependencies_map` is an acyclic graph." | 1,120 | true | raiden-network/raiden | dependencies_order_of_build | 24,112 | |
LDU_FT/Kopachris/seshet/get_unique_users | LDU_FT | [
"<BEGIN>\n## `_add_channel_names`",
"Add a new channel to self.channels and initialize its user list.",
" Called as event handler for RPL_NAMES events. Do not call directly.\n<END>",
"<BEGIN>\n## `join`",
"Add this user to the channel's user list and add the channel to this\n user's list of jo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_unique_users API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_unique_users API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the set of users that are unique to the given channel (i.e. not
present in any other channel the bot is in). | "Get the set of users that are unique to the given channel (i.e. not\n present in any other channel the bot is in)." | 49 | false | Kopachris/seshet | get_unique_users | 24,113 | |
LDU_FT/rjw57/starman/slh_associate | LDU_FT | [
"<BEGIN>\n## `as_square_array`",
"Return arr massaged into a square array. Raises ValueError if arr cannot be\n so massaged.\n<END>",
"<BEGIN>\n## `clone`",
"Return a new :py:class:`.KalmanFilter` instance which is a shallow\n clone of this one. By \"shallow\", although the lists of measurements,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slh_associate API.
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 slh_associate API.
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... | An implementation of the Scott and Longuet-Higgins algorithm for feature
association.
This function takes two lists of features. Each feature is a
:py:class:`MultivariateNormal` instance representing a feature
location and its associated uncertainty.
Args:
a_features (list of MultivariateN... | "An implementation of the Scott and Longuet-Higgins algorithm for feature\n association.\n\n This function takes two lists of features. Each feature is a\n :py:class:`MultivariateNormal` instance representing a feature\n location and its associated uncertainty.\n\n Args:\n a_features (list of Mult... | 36 | false | rjw57/starman | slh_associate | 24,114 | |
LDU_FT/sprockets/sprockets-dynamodb/execute | LDU_FT | [
"<BEGIN>\n## `_on_dynamodb_exception`",
"Dynamically handle DynamoDB exceptions, returning HTTP error\n responses.",
" :param exceptions.DynamoDBException error:\n<END>",
"<BEGIN>\n## `marshall`",
"Marshall a `dict` into something DynamoDB likes.",
" :param dict values: The values to mars... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Execute a DynamoDB action with the given parameters. The method will
retry requests that failed due to OS level errors or when being
throttled by DynamoDB.
:param str action: DynamoDB action to invoke
:param dict parameters: parameters to send into the action
:rtype: tornado.con... | "Execute a DynamoDB action with the given parameters. The method will\n retry requests that failed due to OS level errors or when being\n throttled by DynamoDB.\n\n :param str action: DynamoDB action to invoke\n :param dict parameters: parameters to send into the action\n :rtype: torn... | 86 | false | sprockets/sprockets-dynamodb | execute | 24,115 | |
LDU_FT/raff/dynash/do_create | LDU_FT | [
"<BEGIN>\n## `do_schema`",
"schema",
" schema --clear",
" schema filed_name field_type\n<END>",
"<BEGIN>\n## `do_create`",
"create {tablename} [-c rc,wc] {hkey}[:{type} {rkey}:{type}]\n<END>",
"<BEGIN>\n## `do_capacity`",
"capacity {tablename} {read_units} {write_units}\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_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 extract... | create {tablename} [-c rc,wc] {hkey}[:{type} {rkey}:{type}] | "create {tablename} [-c rc,wc] {hkey}[:{type} {rkey}:{type}]" | 32 | false | raff/dynash | do_create | 24,116 | |
LDU_FT/intake/intake/expand_defaults | LDU_FT | [
"<BEGIN>\n## `expand_defaults`",
"Compile env, client_env, shell and client_shell commands\n<END>",
"<BEGIN>\n## `get`",
"Instantiate the DataSource for the given parameters\n<END>",
"<BEGIN>\n## `_load`",
"Load text of fcatalog file and pass to parse",
" Will do nothing if autoreload is off and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_defaults API.
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 expand_defaults API.
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... | Compile env, client_env, shell and client_shell commands
Execution rules:
- env() and shell() execute where the cat is loaded, if getenv and getshell
are True, respectively
- client_env() and client_shell() execute only if client is True and
getenv/getshell are also True.
If both getenv an... | "Compile env, client_env, shell and client_shell commands\n\n Execution rules:\n - env() and shell() execute where the cat is loaded, if getenv and getshell\n are True, respectively\n - client_env() and client_shell() execute only if client is True and\n getenv/getshell are also True.\n\n If both ... | 280 | false | intake/intake | expand_defaults | 24,117 | |
LDU_FT/digidotcom/python-devicecloud/_consume_queue | LDU_FT | [
"<BEGIN>\n## `_parse_command_response`",
"Parse an SCI command response into ElementTree XML",
" This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.",
" :param response... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _consume_queue API.
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 _consume_queue API.
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... | Continually blocks until data is on the internal queue, then calls
the session's registered callback and sends a PublishMessageReceived
if callback returned True. | "Continually blocks until data is on the internal queue, then calls\n the session's registered callback and sends a PublishMessageReceived\n if callback returned True." | 366 | false | digidotcom/python-devicecloud | _consume_queue | 24,118 | |
LDU_FT/pandas-dev/pandas/pack | LDU_FT | [
"<BEGIN>\n## `to_offset`",
"Return DateOffset object from string or tuple representation\n or datetime.timedelta object",
" Parameters\n ----------\n freq : str, tuple, datetime.timedelta, DateOffset or None",
" Returns\n -------\n DateOffset\n None if freq is None.",
" Raises... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Pack an object and return the packed bytes. | "Pack an object and return the packed bytes." | 8,110 | true | pandas-dev/pandas | pack | 24,119 | |
LDU_FT/samfoo/vt102/attach | LDU_FT | [
"<BEGIN>\n## `_escape_sequence`",
"Handle characters seen when in an escape sequence. Most non-vt52\n commands start with a left-bracket after the escape and then a \n stream of parameters and a command.\n<END>",
"<BEGIN>\n## `_end_escape_sequence`",
"Handle the end of an escape sequence. The fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach API.
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 attach API.
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 ... | Attach this screen to a events that processes commands and dispatches
events. Sets up the appropriate event handlers so that the screen will
update itself automatically as the events processes data. | "Attach this screen to a events that processes commands and dispatches \n events. Sets up the appropriate event handlers so that the screen will\n update itself automatically as the events processes data." | 55 | false | samfoo/vt102 | attach | 24,120 | |
LDU_FT/senaite/senaite.api/get_object_by_uid | LDU_FT | [
"<BEGIN>\n## `get_object`",
"Get the full content object",
" :param brain_or_object: A single catalog brain or content object\n :type brain_or_object: PortalObject/ATContentType/DexterityContentType\n /CatalogBrain\n :returns: The full object\n<END>",
"<BEGIN>\n## `get_uid`",
"Get the Plone UID ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_uid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_uid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Find an object by a given UID
:param uid: The UID of the object to find
:type uid: string
:returns: Found Object or None | "Find an object by a given UID\n\n :param uid: The UID of the object to find\n :type uid: string\n :returns: Found Object or None" | 36 | false | senaite/senaite.api | get_object_by_uid | 24,121 | |
LDU_FT/graphql-python/graphql-core-next/collect_conflicts_between_fields_and_fragment | LDU_FT | [
"<BEGIN>\n## `uni_char_code`",
"Convert unicode characters to integers.",
" Converts four hexadecimal chars to the integer that the string represents.\n For example, uni_char_code('0','0','0','f') will return 15,\n and uni_char_code('0','0','f','f') returns 255.",
" Returns a negative number on er... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_conflicts_between_fields_and_fragment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_conflicts_between_fields_and_fragment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in... | Collect conflicts between fields and fragment.
Collect all conflicts found between a set of fields and a fragment reference
including via spreading in any nested fragments. | "Collect conflicts between fields and fragment.\n\n Collect all conflicts found between a set of fields and a fragment reference\n including via spreading in any nested fragments." | 470 | false | graphql-python/graphql-core-next | collect_conflicts_between_fields_and_fragment | 24,122 | |
LDU_FT/JNRowe/jnrbase/parse_requires | LDU_FT | [
"<BEGIN>\n## `parse_requires`",
"Parse ``pip``-style requirements files.",
" This is a *very* naïve parser, but very few packages make use of the more\n advanced features. Support for other features will be added only when\n packages in the wild depend on them.",
" Args:\n __fname: Base fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_requires API.
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 parse_requires API.
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... | Parse ``pip``-style requirements files.
This is a *very* naïve parser, but very few packages make use of the more
advanced features. Support for other features will be added only when
packages in the wild depend on them.
Args:
__fname: Base file to pass
Returns:
Parsed dependencie... | "Parse ``pip``-style requirements files.\n\n This is a *very* naïve parser, but very few packages make use of the more\n advanced features. Support for other features will be added only when\n packages in the wild depend on them.\n\n Args:\n __fname: Base file to pass\n Returns:\n Parsed d... | 112 | false | JNRowe/jnrbase | parse_requires | 24,123 | |
LDU_FT/tjcsl/ion/kinit_timeout_handle | LDU_FT | [
"<BEGIN>\n## `student_visible`",
"Return a list of groups that are student-visible.\n<END>",
"<BEGIN>\n## `stdev`",
"r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kinit_timeout_handle 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 kinit_timeout_handle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Check if the user exists before we throw an error. | "Check if the user exists before we throw an error." | 407 | false | tjcsl/ion | kinit_timeout_handle | 24,124 | |
LDU_FT/dougthor42/PyErf/_polevl | LDU_FT | [
"<BEGIN>\n## `_erf`",
"Port of cephes ``ndtr.c`` ``erf`` function.",
" See https://github.com/jeremybarnes/cephes/blob/master/cprob/ndtr.c\n<END>",
"<BEGIN>\n## `_erfc`",
"Port of cephes ``ndtr.c`` ``erfc`` function.",
" See https://github.com/jeremybarnes/cephes/blob/master/cprob/ndtr.c\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _polevl API.
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 _polevl API.
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... | Port of cephes ``polevl.c``: evaluate polynomial
See https://github.com/jeremybarnes/cephes/blob/master/cprob/polevl.c | "Port of cephes ``polevl.c``: evaluate polynomial\n\n See https://github.com/jeremybarnes/cephes/blob/master/cprob/polevl.c" | 19 | false | dougthor42/PyErf | _polevl | 24,125 | |
LDU_FT/ranaroussi/pywallet/sign | LDU_FT | [
"<BEGIN>\n## `create_new_address_for_user`",
"Create a new bitcoin address to accept payments for a User.",
" This is a convenience wrapper around `get_child` that helps you do\n the right thing. This method always creates a public, non-prime\n address that can be generated from a BIP32 pub... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Signs message using this private key.
Note:
This differs from `raw_sign()` since it returns a Signature object.
Args:
message (bytes or str): The message to be signed. If a
string is provided it is assumed the encoding is
'ascii' and converted to... | "Signs message using this private key.\n\n Note:\n This differs from `raw_sign()` since it returns a Signature object.\n\n Args:\n message (bytes or str): The message to be signed. If a\n string is provided it is assumed the encoding is\n 'ascii' and con... | 186 | false | ranaroussi/pywallet | sign | 24,126 | |
LDU_FT/lazygunner/xunleipy/coPrime | LDU_FT | [
"<BEGIN>\n## `euclid`",
"returns the Greatest Common Divisor of a and b\n<END>",
"<BEGIN>\n## `coPrime`",
"returns 'True' if the values in the list L are all co-prime\n otherwise, it returns 'False'.\n<END>",
"<BEGIN>\n## `extendedEuclid`",
"return a tuple of three values: x, y and z, such that x is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coPrime API.
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 coPrime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | returns 'True' if the values in the list L are all co-prime
otherwise, it returns 'False'. | "returns 'True' if the values in the list L are all co-prime\n otherwise, it returns 'False'." | 33 | false | lazygunner/xunleipy | coPrime | 24,127 | |
LDU_FT/rdo-management/python-rdomanager-oscplugin/_check_flavors_exist | LDU_FT | [
"<BEGIN>\n## `_csv_to_nodes_dict`",
"Convert CSV to a list of dicts formatted for os_cloud_config",
" Given a CSV file in the format below, convert it into the\n structure expected by os_could_config JSON files.",
" pm_type, pm_addr, pm_user, pm_password, mac\n<END>",
"<BEGIN>\n## `build_option_par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_flavors_exist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_flavors_exist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Ensure that selected flavors (--ROLE-flavor) exist in nova. | "Ensure that selected flavors (--ROLE-flavor) exist in nova." | 85 | false | rdo-management/python-rdomanager-oscplugin | _check_flavors_exist | 24,128 | |
LDU_FT/grundic/yagocd/get_descendants | LDU_FT | [
"<BEGIN>\n## `urljoin`",
"Joins given arguments into a url. Trailing but not leading slashes are\n stripped for each argument.\n<END>",
"<BEGIN>\n## `server_version`",
"Special method for getting server version.",
" Because of different behaviour on different versions of\n server, we ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_descendants API.
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_descendants API.
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... | Property for getting descendants (children) of current pipeline.
It's calculated by :meth:`yagocd.resources.pipeline.PipelineManager#tie_descendants` method during listing of
all pipelines.
:return: list of :class:`yagocd.resources.pipeline.PipelineEntity`.
:rtype: list of yagocd.resour... | "Property for getting descendants (children) of current pipeline.\n It's calculated by :meth:`yagocd.resources.pipeline.PipelineManager#tie_descendants` method during listing of\n all pipelines.\n\n :return: list of :class:`yagocd.resources.pipeline.PipelineEntity`.\n :rtype: list of yagocd.... | 164 | false | grundic/yagocd | get_descendants | 24,129 | |
LDU_FT/adafruit/Adafruit_Python_PN532/_read_frame | LDU_FT | [
"<BEGIN>\n## `create_block`",
"Build a block with the specified id and subtype under the player in the\n Minecraft world. Subtype is optional and can be specified as None to use\n the default subtype for the block.\n<END>",
"<BEGIN>\n## `_busy_wait_ms`",
"Busy wait for the specified number of milliseco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_frame API.
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 _read_frame API.
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... | Read a response frame from the PN532 of at most length bytes in size.
Returns the data inside the frame if found, otherwise raises an exception
if there is an error parsing the frame. Note that less than length bytes
might be returned! | "Read a response frame from the PN532 of at most length bytes in size.\n Returns the data inside the frame if found, otherwise raises an exception\n if there is an error parsing the frame. Note that less than length bytes\n might be returned!" | 26 | false | adafruit/Adafruit_Python_PN532 | _read_frame | 24,130 | |
LDU_FT/cdumay/kser/bulk_send | LDU_FT | [
"<BEGIN>\n## `check_required_params`",
"Check if all required parameters are set\n<END>",
"<BEGIN>\n## `_onsuccess`",
"To execute on execution success",
" :param kser.result.Result result: Execution result\n :return: Execution result\n :rtype: kser.result.Result\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_send API.
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 bulk_send API.
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... | Send a batch of messages
:param str topic: a kafka topic
:param ksr.transport.Message kmsgs: Messages to serialize
:return: Execution result
:rtype: kser.result.Result | "Send a batch of messages\n\n :param str topic: a kafka topic\n :param ksr.transport.Message kmsgs: Messages to serialize\n :return: Execution result\n :rtype: kser.result.Result" | 94 | false | cdumay/kser | bulk_send | 24,131 | |
LDU_FT/lvh/txeasymail/sendTemplate | LDU_FT | [
"<BEGIN>\n## `sendTemplate`",
"Simple case for sending some e-mail using a template.\n<END>",
"<BEGIN>\n## `buildMessage`",
"Builds a message from some headers and MIME parts.\n<END>",
"<BEGIN>\n## `_encodeHeader`",
"Encodes a header value.",
" Returns ASCII if possible, else returns an UTF-8 encoded... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendTemplate API.
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 sendTemplate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Simple case for sending some e-mail using a template. | "Simple case for sending some e-mail using a template." | 15 | false | lvh/txeasymail | sendTemplate | 24,132 | |
LDU_FT/Kortemme-Lab/pull_into_place/find_path | LDU_FT | [
"<BEGIN>\n## `make_command_table`",
"Return a nicely formatted table of all the PIP commands installed on this \n system to incorporate into the help text. The table will have two columns. \n The first will list the commands that comprise the main pipeline and the \n second will list all the other misc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Look in a few places for a file with the given name. If a custom
version of the file is found in the directory being managed by
this workspace, return it. Otherwise look in the custom and default
input directories in the root directory, and then finally in the root
directory itself.
... | "Look in a few places for a file with the given name. If a custom\n version of the file is found in the directory being managed by\n this workspace, return it. Otherwise look in the custom and default \n input directories in the root directory, and then finally in the root \n directory its... | 75 | false | Kortemme-Lab/pull_into_place | find_path | 24,133 | |
LDU_FT/tomturner/django-tenants/get_table_list | LDU_FT | [
"<BEGIN>\n## `get_table_list`",
"Returns a list of table names in the current database and schema.\n<END>",
"<BEGIN>\n## `get_table_description`",
"Returns a description of the table, with the DB-API cursor.description interface.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes this row. Drops the tenant's schem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a list of table names in the current database and schema. | "Returns a list of table names in the current database and schema." | 50 | false | tomturner/django-tenants | get_table_list | 24,134 | |
LDU_FT/aamalev/aiohttp_apiset/add_delete | LDU_FT | [
"<BEGIN>\n## `url_for`",
"Construct url for route with additional params.\n<END>",
"<BEGIN>\n## `deref`",
"Return dereference data\n :param data:\n :param spec:\n :return:\n<END>",
"<BEGIN>\n## `build_swagger_data`",
"Prepare data when schema loaded",
" :param swagger_schema: loaded sche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Shortcut for add_route with method DELETE | "Shortcut for add_route with method DELETE" | 48 | false | aamalev/aiohttp_apiset | add_delete | 24,135 | |
LDU_FT/squaresLab/BugZoo/from_unidiff | LDU_FT | [
"<BEGIN>\n## `is_installed`",
"Determines whether the Docker image for a given bug has been installed\n on the server.\n<END>",
"<BEGIN>\n## `register`",
"Dynamically registers a given bug with the server. Note that the\n registration will not persist beyond the lifetime of the server.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_unidiff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_unidiff API.
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... | Constructs a Patch from a provided unified format diff. | "Constructs a Patch from a provided unified format diff." | 247 | false | squaresLab/BugZoo | from_unidiff | 24,136 | |
LDU_FT/niolabs/python-xbee/_set_LED | LDU_FT | [
"<BEGIN>\n## `_write`",
"_write: binary data -> None",
" Packages the given binary data in an API frame and writes the\n result to the serial port\n<END>",
"<BEGIN>\n## `_build_command`",
"_build_command: string (binary data) ... -> binary data",
" _build_command will construct a comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_LED API.
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 _set_LED API.
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... | _set_LED: boolean -> None
Sets the status of the remote LED | "_set_LED: boolean -> None\n\n Sets the status of the remote LED" | 91 | false | niolabs/python-xbee | _set_LED | 24,137 | |
LDU_FT/calocan/rescape-python-helpers/pick_deep | LDU_FT | [
"<BEGIN>\n## `prop`",
"Implementation of prop (get_item) that also supports object attributes\n :param key:\n :param dct_or_obj:\n :return:\n<END>",
"<BEGIN>\n## `all_pass_dict`",
"Returns true if all dct values pass f\n :param f: binary lambda predicate\n :param dct:\n :return: True or fals... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pick_deep API.
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 pick_deep API.
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... | Implementation of pick that recurses. This tests the same keys at every level of dict and in lists
:param pick_dct: Deep dict matching some portion of dct.
:param dct: Dct to filter. Any key matching pick_dct pass through. It doesn't matter what the pick_dct value
is as long as the key exists. Arrays also p... | "Implementation of pick that recurses. This tests the same keys at every level of dict and in lists\n :param pick_dct: Deep dict matching some portion of dct.\n :param dct: Dct to filter. Any key matching pick_dct pass through. It doesn't matter what the pick_dct value\n is as long as the key exists. Arrays al... | 54 | false | calocan/rescape-python-helpers | pick_deep | 24,138 | |
LDU_FT/BenjaminSchubert/NitPycker/class_can_run_parallel | LDU_FT | [
"<BEGIN>\n## `add_result`",
"Adds the given result to the list",
" :param _type: type of the state of the test (TestState.failure, TestState.error, ...)\n :param test: the test\n :param exc_info: additional execution information\n<END>",
"<BEGIN>\n## `addSuccess`",
"Transforms the test ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the class_can_run_parallel 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 class_can_run_parallel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Checks if a given class of tests can be run in parallel or not
:param test_class: the class to run
:return: True if te class can be run in parallel, False otherwise | "Checks if a given class of tests can be run in parallel or not\n\n :param test_class: the class to run\n :return: True if te class can be run in parallel, False otherwise" | 53 | false | BenjaminSchubert/NitPycker | class_can_run_parallel | 24,139 | |
LDU_FT/clalancette/pycdlib/parse | 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 parse API.
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 parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | A method to parse a Volume Descriptor Set Terminator out of a string.
Parameters:
vd - The string to parse.
extent_loc - The extent this VDST is currently located at.
Returns:
Nothing. | "A method to parse a Volume Descriptor Set Terminator out of a string.\n\n Parameters:\n vd - The string to parse.\n extent_loc - The extent this VDST is currently located at.\n Returns:\n Nothing." | 1,112 | true | clalancette/pycdlib | parse | 24,140 | |
LDU_FT/IceflowRE/unidown/get_plugins | LDU_FT | [
"<BEGIN>\n## `from_protobuf`",
"Constructor from protobuf.",
" :param proto: protobuf structure\n :type proto: ~unidown.plugin.protobuf.link_item_pb2.LinkItemProto\n :return: the LinkItem\n :rtype: ~unidown.plugin.link_item.LinkItem\n :raises ValueError: name of LinkItem does ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugins API.
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_plugins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get all available plugins for unidown.
:return: plugin name list
:rtype: Dict[str, ~pkg_resources.EntryPoint] | "Get all available plugins for unidown.\n\n :return: plugin name list\n :rtype: Dict[str, ~pkg_resources.EntryPoint]" | 88 | false | IceflowRE/unidown | get_plugins | 24,141 | |
LDU_FT/TheHive-Project/TheHive4py/update | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an instance of the Case class.\n :param title: Case title.\n :param description: Case description.\n :param kwargs: Additional arguments.",
" :return: The created instance.\n<END>",
"<BEGIN>\n## `update`",
"Update a case. \n :param ca... | 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 a case.
:param case_id: The ID of the case to update
:param attributes: key=value pairs of case attributes to update (field=new_value)
:return: The created instance. | "Update a case. \n :param case_id: The ID of the case to update\n :param attributes: key=value pairs of case attributes to update (field=new_value)\n \n :return: The created instance." | 39 | false | TheHive-Project/TheHive4py | update | 24,142 | |
LDU_FT/edx/edx-val/create_video | LDU_FT | [
"<BEGIN>\n## `generate_sjson_from_srt`",
"Generate transcripts from sjson to SubRip (*.srt).",
" Arguments:\n srt_subs(SubRip): \"SRT\" subs object",
" Returns:\n Subs converted to \"SJSON\" format.\n<END>",
"<BEGIN>\n## `generate_srt_from_sjson`",
"Generate transcripts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_video API.
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 create_video API.
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... | Called on to create Video objects in the database
create_video is used to create Video objects whose children are EncodedVideo
objects which are linked to Profile objects. This is an alternative to the HTTP
requests so it can be used internally. The VideoSerializer is used to
deserialize this object. I... | "Called on to create Video objects in the database\n\n create_video is used to create Video objects whose children are EncodedVideo\n objects which are linked to Profile objects. This is an alternative to the HTTP\n requests so it can be used internally. The VideoSerializer is used to\n deserialize this obj... | 197 | false | edx/edx-val | create_video | 24,143 | |
LDU_FT/signetlabdei/sem/get_space | LDU_FT | [
"<BEGIN>\n## `configure_and_build`",
"Configure and build the ns-3 code.",
" Args:\n show_progress (bool): whether or not to display a progress bar\n during compilation.\n optimized (bool): whether to use an optimized build. If False, use\n a standard .... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_space API.
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_space API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Convert a parameter space specification to a nested array structure
representing the space. In other words, if the parameter space is::
param_space = {
'a': [1, 2],
'b': [3, 4]
}
the function will return a structure like the following::
... | "Convert a parameter space specification to a nested array structure\n representing the space. In other words, if the parameter space is::\n\n param_space = {\n 'a': [1, 2],\n 'b': [3, 4]\n }\n\n the function will return a structure like the following::\... | 148 | false | signetlabdei/sem | get_space | 24,144 | |
LDU_FT/LaoLiulaoliu/pgwrapper/insert_inexistence | LDU_FT | [
"<BEGIN>\n## `_create_connection`",
".. :py:method::",
" If we hava several hosts, we can random choice one to connect\n<END>",
"<BEGIN>\n## `execute`",
".. :py:method::",
" :param bool result: whether query return result\n :rtype: bool",
" .. note::\n True f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_inexistence 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 insert_inexistence 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... | .. :py:method::
Usage::
>>> insert('hospital', {'id': '12de3wrv', 'province': 'shanghai'}, {'id': '12de3wrv'})
insert into hospital (id, province) select '12de3wrv', 'shanghai' where not exists (select 1 from hospital where id='12de3wrv' limit 1); | ".. :py:method::\n\n Usage::\n\n >>> insert('hospital', {'id': '12de3wrv', 'province': 'shanghai'}, {'id': '12de3wrv'})\n insert into hospital (id, province) select '12de3wrv', 'shanghai' where not exists (select 1 from hospital where id='12de3wrv' limit 1);" | 48 | false | LaoLiulaoliu/pgwrapper | insert_inexistence | 24,145 | |
LDU_FT/kxgames/vecrec/get_projection | LDU_FT | [
"<BEGIN>\n## `random`",
"Create a unit vector pointing in a random direction.\n<END>",
"<BEGIN>\n## `from_rectangle`",
"Create a vector randomly within the given rectangle.\n<END>",
"<BEGIN>\n## `interpolate`",
"Move this vector towards the given towards the target by the given \n extent. The exte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_projection API.
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_projection API.
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 the projection of this vector onto the given axis. The
axis does not need to be normalized. | "Return the projection of this vector onto the given axis. The \n axis does not need to be normalized." | 49 | false | kxgames/vecrec | get_projection | 24,146 | |
LDU_FT/edx/bok-choy/fulfill | LDU_FT | [
"<BEGIN>\n## `wait_for_js`",
"Method decorator that waits for JavaScript dependencies before executing `function`.\n If the function is not a method, the decorator has no effect.",
" Args:\n function (callable): Method to decorate.",
" Returns:\n Decorated method\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fulfill API.
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 fulfill API.
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... | Evaluate the promise and return the result.
Returns:
The result of the `Promise` (second return value from the `check_func`)
Raises:
BrokenPromise: the `Promise` was not satisfied within the time or attempt limits. | "Evaluate the promise and return the result.\n\n Returns:\n The result of the `Promise` (second return value from the `check_func`)\n\n Raises:\n BrokenPromise: the `Promise` was not satisfied within the time or attempt limits." | 254 | false | edx/bok-choy | fulfill | 24,147 | |
LDU_FT/pinax/django-user-accounts/user_post_save | LDU_FT | [
"<BEGIN>\n## `user_post_save`",
"After User.save is called we check to see if it was a created user. If so,\n we check if the User object wants account creation. If all passes we\n create an Account object.",
" We only run on user creation to avoid having to check for existence on\n each call to Use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_post_save API.
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 user_post_save API.
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... | After User.save is called we check to see if it was a created user. If so,
we check if the User object wants account creation. If all passes we
create an Account object.
We only run on user creation to avoid having to check for existence on
each call to User.save. | "After User.save is called we check to see if it was a created user. If so,\n we check if the User object wants account creation. If all passes we\n create an Account object.\n\n We only run on user creation to avoid having to check for existence on\n each call to User.save." | 16 | false | pinax/django-user-accounts | user_post_save | 24,148 | |
LDU_FT/blockchain-certificates/cert-core/get_certificate | LDU_FT | [
"<BEGIN>\n## `chain_to_bitcoin_network`",
"Used or bitcoin.SelectParams\n :param chain:\n :return:\n<END>",
"<BEGIN>\n## `get_certificate`",
"Returns a certificate. Propagates KeyError if key isn't found\n :param certificate_uid:\n :return:\n<END>",
"<BEGIN>\n## `get_certificate_json`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_certificate API.
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_certificate API.
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... | Returns a certificate. Propagates KeyError if key isn't found
:param certificate_uid:
:return: | "Returns a certificate. Propagates KeyError if key isn't found\n :param certificate_uid:\n :return:" | 12 | false | blockchain-certificates/cert-core | get_certificate | 24,149 | |
LDU_FT/what-studio/profiling/make_frozen_stats_tree | LDU_FT | [
"<BEGIN>\n## `by_own_time_per_call`",
"Sorting by exclusive elapsed time per call in descending order.\n<END>",
"<BEGIN>\n## `result`",
"Gets the frozen statistics to serialize by Pickle.\n<END>",
"<BEGIN>\n## `dump`",
"Saves the profiling result to a file",
" :param dump_filename: path to a file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_frozen_stats_tree 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 make_frozen_stats_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Makes a flat members tree of the given statistics. The statistics can
be restored by :func:`frozen_stats_from_tree`. | "Makes a flat members tree of the given statistics. The statistics can\n be restored by :func:`frozen_stats_from_tree`." | 83 | false | what-studio/profiling | make_frozen_stats_tree | 24,150 | |
LDU_FT/pqn/neural/predict | LDU_FT | [
"<BEGIN>\n## `predict`",
"Returns predictions of input test cases.\n<END>",
"<BEGIN>\n## `__cost`",
"Computes activation, cost function, and derivative.\n<END>",
"<BEGIN>\n## `__roll`",
"Converts parameter array back into matrices.\n<END>",
"<BEGIN>\n## `__unroll`",
"Converts parameter matrices into a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns predictions of input test cases. | "Returns predictions of input test cases." | 10 | false | pqn/neural | predict | 24,151 | |
LDU_FT/hodgesds/elasticsearch_tornado/delete_template | LDU_FT | [
"<BEGIN>\n## `mk_req`",
"Helper function to create a tornado HTTPRequest object, kwargs get passed in to\n create the HTTPRequest object. See:\n http://tornado.readthedocs.org/en/latest/httpclient.html#request-objects\n<END>",
"<BEGIN>\n## `mk_url`",
"Args get parameterized into base url:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 e... | Delete a search template.
`<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-template.html>`_
:arg temp_id: Template ID | "Delete a search template.\n `<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-template.html>`_\n :arg temp_id: Template ID" | 31 | false | hodgesds/elasticsearch_tornado | delete_template | 24,152 | |
LDU_FT/codelv/enaml-native-cli/is_app_linked | LDU_FT | [
"<BEGIN>\n## `find_commands`",
"Finds commands by finding the subclasses of Command\n<END>",
"<BEGIN>\n## `link`",
"Link the package in the current directory.\n<END>",
"<BEGIN>\n## `is_settings_linked`",
"Returns true if the \"include ':<project>'\" line exists in the file\n<END>",
"<BEGIN>\n## `is_buil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_app_linked API.
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 is_app_linked API.
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 true if the compile project line exists exists in the file | "Returns true if the compile project line exists exists in the file" | 36 | false | codelv/enaml-native-cli | is_app_linked | 24,153 | |
LDU_FT/azogue/dataweb/merge_data | LDU_FT | [
"<BEGIN>\n## `request_data_url`",
"Realiza sucesivos intentos de request a una url dada, intentándolo hasta que recibe un status 200 (OK)\n y el texto recibido es mayor que MIN_LEN_REQUEST (=10).\n Resulta útil cuando se están realizando múltiples requests al mismo servidor (por velocidad), y no siempre\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Realiza y devuelve el merge de una lista de pandas DataFrame's (o bien de un diccionario de {key:pd.Dataframe}).
Coge la primera y en ella va añadiendo el resto, de una en una.
Seguramente no sea la mejor opción para realizar la fusión de los datos de distintos días, pero aguanta bien la
superposición de mu... | "Realiza y devuelve el merge de una lista de pandas DataFrame's (o bien de un diccionario de {key:pd.Dataframe}).\n Coge la primera y en ella va añadiendo el resto, de una en una.\n Seguramente no sea la mejor opción para realizar la fusión de los datos de distintos días, pero aguanta bien la\n superposición d... | 26 | false | azogue/dataweb | merge_data | 24,154 | |
LDU_FT/jeremymcrae/denovonear/get_genomic_seq_for_region | LDU_FT | [
"<BEGIN>\n## `get_cached_data`",
"get cached data for a url if stored in the cache and not outdated",
" Args:\n url: URL for the Ensembl REST service",
" Returns:\n data if data in cache, else None\n<END>",
"<BEGIN>\n## `cache_url_data`",
"cache the data retrieved from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_genomic_seq_for_region API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_genomic_seq_for_region API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | obtain the sequence for a genomic region | "obtain the sequence for a genomic region" | 112 | false | jeremymcrae/denovonear | get_genomic_seq_for_region | 24,155 | |
LDU_FT/BreakingBytes/simkit/reg_copy | LDU_FT | [
"<BEGIN>\n## `register`",
"Register outputs and metadata.",
" * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reg_copy API.
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 reg_copy API.
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... | Make a copy of a subset of a registry.
:param reg: source registry
:param keys: keys of registry items to copy
:return: copied registry subset | "Make a copy of a subset of a registry.\n\n :param reg: source registry\n :param keys: keys of registry items to copy\n :return: copied registry subset" | 227 | false | BreakingBytes/simkit | reg_copy | 24,156 | |
LDU_FT/reorx/torext/prepare | LDU_FT | [
"<BEGIN>\n## `format_request`",
"Override for better log format",
" Tornado format:\n [INFO 2015-03-24 11:29:57 app:521] 200 GET /static/css/lib/pure-min.css (127.0.0.1) 6.76ms\n Current format:\n [gevent.wsgi] INFO 127.0.0.1 - - [2015-03-24 11:18:45] \"GET /test HTTP/1.1\" 200 304 0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
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... | Behaves like a middleware between raw request and handling process,
If `PREPARES` is defined on handler class, which should be
a list, for example, ['auth', 'context'], method whose name
is constitute by prefix '_prepare_' and string in this list
will be executed by sequence. In this ex... | "Behaves like a middleware between raw request and handling process,\n\n If `PREPARES` is defined on handler class, which should be\n a list, for example, ['auth', 'context'], method whose name\n is constitute by prefix '_prepare_' and string in this list\n will be executed by sequence. In t... | 70 | false | reorx/torext | prepare | 24,157 | |
LDU_FT/gagneurlab/concise/get_gam_splines | LDU_FT | [
"<BEGIN>\n## `best_kmers`",
"Find best k-mers for CONCISE initialization.",
" Args:\n dt (pd.DataFrame): Table containing response variable and sequence.\n response (str): Name of the column used as the reponse variable.\n sequence (str): Name of the column storing the DNA/RNA sequences.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gam_splines API.
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_gam_splines API.
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... | Main function required by (TF)Concise class | "Main function required by (TF)Concise class" | 311 | false | gagneurlab/concise | get_gam_splines | 24,158 | |
LDU_FT/inveniosoftware-attic/invenio-knowledge/to_dict | LDU_FT | [
"<BEGIN>\n## `load`",
"Load given file into knowledge base.",
" Simply load data into an existing knowledge base:",
" .. code-block:: console",
" $ inveniomanage knowledge load mykb /path/to/file.kb",
" The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a dict representation of KnwKBRVAL. | "Return a dict representation of KnwKBRVAL." | 111 | false | inveniosoftware-attic/invenio-knowledge | to_dict | 24,159 | |
LDU_FT/linode/linode_api4-python/enable_backups | LDU_FT | [
"<BEGIN>\n## `nodes`",
"This is a special derived_class relationship because NodeBalancerNode is the\n only api object that requires two parent_ids\n<END>",
"<BEGIN>\n## `load_ssl_data`",
"A convenience method that loads a cert and a key from files and sets them\n on this object. This can make ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_backups API.
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 enable_backups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Enable Backups for this Instance. When enabled, we will automatically
backup your Instance's data so that it can be restored at a later date.
For more information on Instance's Backups service and pricing, see our
`Backups Page`_
.. _Backups Page: https://www.linode.com/backups | "Enable Backups for this Instance. When enabled, we will automatically\n backup your Instance's data so that it can be restored at a later date.\n For more information on Instance's Backups service and pricing, see our\n `Backups Page`_\n\n .. _Backups Page: https://www.linode.com/backups" | 232 | false | linode/linode_api4-python | enable_backups | 24,160 | |
LDU_FT/KnorrFG/pyparadigm/wait_for_keys_modified | LDU_FT | [
"<BEGIN>\n## `_normalize`",
"rescales a numpy array, so that min is 0 and max is 255\n<END>",
"<BEGIN>\n## `to_24bit_gray`",
"returns a matrix that contains RGB channels, and colors scaled\n from 0 to 255\n<END>",
"<BEGIN>\n## `apply_color_map`",
"returns an RGB matrix scaled by a matplotlib color map\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_keys_modified 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 wait_for_keys_modified API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | The same as wait_for_keys, but returns a frozen_set which contains
the pressed key, and the modifier keys.
:param modifiers_to_check: iterable of modifiers for which the function
will check whether they are pressed
:type modifiers: Iterable[int] | "The same as wait_for_keys, but returns a frozen_set which contains \n the pressed key, and the modifier keys.\n\n :param modifiers_to_check: iterable of modifiers for which the function\n will check whether they are pressed\n\n :type modifiers: Iterable[int]" | 86 | false | KnorrFG/pyparadigm | wait_for_keys_modified | 24,161 | |
LDU_FT/shapiromatron/bmds/plot | LDU_FT | [
"<BEGIN>\n## `as_dfile`",
"Return the dataset representation in BMDS .(d) file.",
" Example\n -------\n >>> print(dataset.as_dfile())\n Dose Incidence NEGATIVE_RESPONSE\n 0.000000 5 70\n 1.960000 1 48\n 5.690000 3 47\n 29.750000 14 35\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
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 plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return a matplotlib figure of the dose-response dataset.
Examples
--------
>>> fig = dataset.plot()
>>> fig.show()
.. image:: ../tests/resources/test_cdataset_plot.png
:align: center
:alt: Example generated BMD plot
Returns
-------
... | "Return a matplotlib figure of the dose-response dataset.\n\n Examples\n --------\n >>> fig = dataset.plot()\n >>> fig.show()\n\n .. image:: ../tests/resources/test_cdataset_plot.png\n :align: center\n :alt: Example generated BMD plot\n\n Returns\n --... | 113 | false | shapiromatron/bmds | plot | 24,162 | |
LDU_FT/botstory/botstory/scope_out | LDU_FT | [
"<BEGIN>\n## `desc`",
"Describe Class Dependency",
" :param reg: should we register this class as well\n :param t: custom type as well\n :return:\n<END>",
"<BEGIN>\n## `get_validator`",
"ask every matcher whether it can serve such filter data",
" :param filter_data:\n :return:\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scope_out API.
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 scope_out API.
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... | drop last stack item if:
- we have reach the end of stack
- and don't wait any input
:param ctx:
:return: | "drop last stack item if:\n - we have reach the end of stack\n - and don't wait any input\n\n :param ctx:\n :return:" | 72 | false | botstory/botstory | scope_out | 24,163 | |
LDU_FT/paylogic/pip-accel/install_prefix | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a distribution archive from any of the available caches.",
" :param requirement: A :class:`.Requirement` object.\n :returns: The absolute pathname of a local file or :data:`None` when the\n distribution archive is missing from all available caches.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_prefix API.
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 install_prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | The absolute pathname of the installation prefix to use (a string).
This property is based on :data:`sys.prefix` except that when
:data:`sys.prefix` is ``/usr`` and we're running on a Debian derived
system ``/usr/local`` is used instead.
The reason for this is that on Debian derived sy... | "The absolute pathname of the installation prefix to use (a string).\n\n This property is based on :data:`sys.prefix` except that when\n :data:`sys.prefix` is ``/usr`` and we're running on a Debian derived\n system ``/usr/local`` is used instead.\n\n The reason for this is that on Debian der... | 252 | false | paylogic/pip-accel | install_prefix | 24,164 | |
LDU_FT/vinci1it2000/schedula/add_from_lists | LDU_FT | [
"<BEGIN>\n## `register`",
"Creates a :class:`Blueprint.cls` and calls each deferred operation.",
" :param obj:\n The initialized object with which to call all deferred operations.\n :type obj: object",
" :param memo:\n A dictionary to cache registered Blueprints.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_from_lists API.
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 add_from_lists API.
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... | Add multiple function and data nodes to dispatcher.
:param data_list:
It is a list of data node kwargs to be loaded.
:type data_list: list[dict], optional
:param fun_list:
It is a list of function node kwargs to be loaded.
:type fun_list: list[dict], optional
... | "Add multiple function and data nodes to dispatcher.\n\n :param data_list:\n It is a list of data node kwargs to be loaded.\n :type data_list: list[dict], optional\n\n :param fun_list:\n It is a list of function node kwargs to be loaded.\n :type fun_list: list[dict], op... | 765 | false | vinci1it2000/schedula | add_from_lists | 24,165 | |
LDU_FT/iamaziz/PyDataset/element_style | LDU_FT | [
"<BEGIN>\n## `__datasets_desc`",
"return a df of the available datasets with description\n<END>",
"<BEGIN>\n## `dumb_css_parser`",
"returns a hash of css selectors, each of which contains a hash of css attributes\n<END>",
"<BEGIN>\n## `element_style`",
"returns a hash of the 'final' style attributes of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_style API.
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 element_style API.
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 a hash of the 'final' style attributes of the element | "returns a hash of the 'final' style attributes of the element" | 31 | false | iamaziz/PyDataset | element_style | 24,166 | |
LDU_FT/tammoippen/geohash-hilbert/_xy2hash | LDU_FT | [
"<BEGIN>\n## `encode_int`",
"Encode int into a string preserving order",
" It is using 2, 4 or 6 bits per coding character (default 6).",
" Parameters:\n code: int Positive integer.\n bits_per_char: int The number of bits per coding character.",
" Returns:\n str: the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _xy2hash API.
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 _xy2hash API.
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... | Convert (x, y) to hashcode.
Based on the implementation here:
https://en.wikipedia.org/w/index.php?title=Hilbert_curve&oldid=797332503
Pure python implementation.
Parameters:
x: int x value of point [0, dim) in dim x dim coord system
y: int y value of point [0, dim) ... | "Convert (x, y) to hashcode.\n\n Based on the implementation here:\n https://en.wikipedia.org/w/index.php?title=Hilbert_curve&oldid=797332503\n\n Pure python implementation.\n\n Parameters:\n x: int x value of point [0, dim) in dim x dim coord system\n y: int y value of point... | 63 | false | tammoippen/geohash-hilbert | _xy2hash | 24,167 | |
LDU_FT/goldsborough/ecstasy/close_phrase | LDU_FT | [
"<BEGIN>\n## `codify`",
"Gets escape-codes for flag combinations.",
"\tArguments:\n\t\tcombination (int): Either a single integer-convertible flag\n\t\t\t\t\t\t or an OR'd flag-combination.\n\tReturns:\n\t\tA semi-colon-delimited string of appropriate escape sequences.",
"\tRaises:\n\t\terrors.FlagError if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close_phrase API.
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 close_phrase API.
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 of self.parse() handling closing tags.
Arguments:
string (str): The string being parsed.
root (Phrase): The current root phrase.
pos (int): The index/position of the closing tag in the string.
Returns:
Always the (possibly) escaped string, then either the fully
formed phrase if the ... | "Helper function of self.parse() handling closing tags.\n\n\t\tArguments:\n\t\t\tstring (str): The string being parsed.\n\t\t\troot (Phrase): The current root phrase.\n\t\t\tpos (int): The index/position of the closing tag in the string.\n\n\t\tReturns:\n\t\t\tAlways the (possibly) escaped string, then either the fully... | 71 | false | goldsborough/ecstasy | close_phrase | 24,168 | |
LDU_FT/twisted/epsilon/parseJuiceHeaders | 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 parseJuiceHeaders API.
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 parseJuiceHeaders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create a JuiceBox from a list of header lines.
@param lines: a list of lines. | "Create a JuiceBox from a list of header lines.\n\n @param lines: a list of lines." | 217 | false | twisted/epsilon | parseJuiceHeaders | 24,169 | |
LDU_FT/ella/ella/ifposition | LDU_FT | [
"<BEGIN>\n## `thumb`",
"Generates html and thumbnails for admin site.\n<END>",
"<BEGIN>\n## `clean`",
"Validation function that checks the dimensions of the crop whether it fits into the original and the format.\n<END>",
"<BEGIN>\n## `clean`",
"Check format name uniqueness for sites",
" :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ifposition API.
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 ifposition API.
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... | Syntax::
{% ifposition POSITION_NAME ... for CATEGORY [nofallback] %}
{% else %}
{% endifposition %} | "Syntax::\n\n {% ifposition POSITION_NAME ... for CATEGORY [nofallback] %}\n {% else %}\n {% endifposition %}" | 180 | false | ella/ella | ifposition | 24,170 | |
LDU_FT/calmjs/calmjs/compile_bundle_entry | LDU_FT | [
"<BEGIN>\n## `make_choice_validator`",
"Returns a callable that accepts the choices provided.",
" Choices should be provided as a list of 2-tuples, where the first\n element is a string that should match user input (the key); the\n second being the value associated with the key.",
" The callable b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_bundle_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_bundle_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Handler for each entry for the bundle method of the compile
process. This copies the source file or directory into the
build directory. | "Handler for each entry for the bundle method of the compile\n process. This copies the source file or directory into the\n build directory." | 361 | false | calmjs/calmjs | compile_bundle_entry | 24,171 | |
LDU_FT/Alveo/pyalveo/download_items | LDU_FT | [
"<BEGIN>\n## `get_all`",
"Retrieve the metadata for all items in this list from the server,\n as Item objects",
" :rtype: List\n :returns: a List of the corresponding Item objects\n :type force_download: Boolean\n :param force_download: True to download from the server\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Retrieve a file from the server containing the metadata
and documents for the speficied items
:type items: List or ItemGroup
:param items: List of the the URLs of the items to download,
or an ItemGroup object
:type file_path: String
:param file_path: the path to whic... | "Retrieve a file from the server containing the metadata\n and documents for the speficied items\n\n :type items: List or ItemGroup\n :param items: List of the the URLs of the items to download,\n or an ItemGroup object\n :type file_path: String\n :param file_path: the path... | 268 | false | Alveo/pyalveo | download_items | 24,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.