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/arista-eosplus/pyeapi/create_with_secret | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns the VRF configuration as a resource dict.",
" Args:\n value (string): The vrf name to retrieve from the\n running configuration.",
" Returns:\n A Python dict object containing the VRF attributes as\n key/value pair... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_with_secret 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 create_with_secret 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... | Creates a new user on the local node
Args:
name (str): The name of the user to craete
secret (str): The secret (password) to assign to this user
encryption (str): Specifies how the secret is encoded. Valid
values are "cleartext", "md5", "sha512". The defa... | "Creates a new user on the local node\n\n Args:\n name (str): The name of the user to craete\n\n secret (str): The secret (password) to assign to this user\n\n encryption (str): Specifies how the secret is encoded. Valid\n values are \"cleartext\", \"md5\", \"sha5... | 853 | false | arista-eosplus/pyeapi | create_with_secret | 36,473 | |
LDU_FT/ethereum/py-evm/fork_at | LDU_FT | [
"<BEGIN>\n## `new_transaction`",
"Create and return a transaction sending amount from <from_> to <to>.",
" The transaction will be signed with the given private key.\n<END>",
"<BEGIN>\n## `idfn`",
"Function for pytest to produce uniform names for fixtures.\n<END>",
"<BEGIN>\n## `get_fixtures_file_hash`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fork_at API.
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 fork_at API.
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... | Adds the ``vm_class`` to the chain's ``vm_configuration``.
.. code-block:: python
from eth.chains.base import MiningChain
from eth.tools.builder.chain import build, fork_at
FrontierOnlyChain = build(MiningChain, fork_at(FrontierVM, 0))
# these two classes are functionally equival... | "Adds the ``vm_class`` to the chain's ``vm_configuration``.\n\n .. code-block:: python\n\n from eth.chains.base import MiningChain\n from eth.tools.builder.chain import build, fork_at\n\n FrontierOnlyChain = build(MiningChain, fork_at(FrontierVM, 0))\n\n # these two classes are functional... | 422 | false | ethereum/py-evm | fork_at | 36,474 | |
LDU_FT/adaptive-learning/proso-apps/get_parents_graph | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parents_graph API.
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_parents_graph API.
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 a subgraph of items reachable from the given set of items through
the 'parent' relation.
Args:
item_ids (list): items which are taken as roots for the reachability
language (str): if specified, filter out items which are not
available in the given language
... | "Get a subgraph of items reachable from the given set of items through\n the 'parent' relation.\n\n Args:\n item_ids (list): items which are taken as roots for the reachability\n language (str): if specified, filter out items which are not\n available in the given lang... | 276 | false | adaptive-learning/proso-apps | get_parents_graph | 36,475 | |
LDU_FT/treyhunner/django-simple-history/bulk_history_create | LDU_FT | [
"<BEGIN>\n## `register`",
"Create historical model for `model` and attach history manager to `model`.",
" Keyword arguments:\n app -- App to install historical model into (defaults to model.__module__)\n manager_name -- class attribute name to use for historical manager\n records_class -- class to u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_history_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_history_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.
T... | Bulk create the history for the objects specified by objs | "Bulk create the history for the objects specified by objs" | 36 | false | treyhunner/django-simple-history | bulk_history_create | 36,476 | |
LDU_FT/ttinies/sc2ladderMgmt/update | LDU_FT | [
"<BEGIN>\n## `addLadder`",
"define a new Ladder setting and save to disk file\n<END>",
"<BEGIN>\n## `delLadder`",
"forget about a previously defined Ladder setting by deleting its disk file\n<END>",
"<BEGIN>\n## `getKnownLadders`",
"identify all of the currently defined ladders\n<END>",
"<BEGIN>\n## `_v... | 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 attributes initialized with the proper type | "update attributes initialized with the proper type" | 12 | false | ttinies/sc2ladderMgmt | update | 36,477 | |
LDU_FT/inveniosoftware/invenio-files-rest/copy | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Copy a tag to a given object version.
:param object_version: The object version instance to copy the tag to.
Default: current object version.
:param key: Key of destination tag.
Default: current tag key.
:return: The copied object version tag. | "Copy a tag to a given object version.\n\n :param object_version: The object version instance to copy the tag to.\n Default: current object version.\n :param key: Key of destination tag.\n Default: current tag key.\n :return: The copied object version tag." | 272 | false | inveniosoftware/invenio-files-rest | copy | 36,478 | |
LDU_FT/CMUSTRUDEL/strudel.utils/commercial_domains | LDU_FT | [
"<BEGIN>\n## `mkdir`",
"Create a directory specified by a sequence of subdirectories",
" >>> mkdir(\"/tmp\", \"foo\", \"bar\", \"baz\")\n '/tmp/foo/bar/baz'\n >>> os.path.isdir('/tmp/foo/bar/baz')\n True\n<END>",
"<BEGIN>\n## `shell`",
"Execute shell command and return output",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commercial_domains 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 commercial_domains API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return list of commercial email domains, which means:
- domain is not public
- domain is not university
- it is not personal (more than 1 person using this domain)
>>> "google.com" in commercial_domains()
True
>>> "microsoft.com" in commercial_domains()
True
>>> "isri.cs.cmu.edu" in comm... | "Return list of commercial email domains, which means:\n - domain is not public\n - domain is not university\n - it is not personal (more than 1 person using this domain)\n >>> \"google.com\" in commercial_domains()\n True\n >>> \"microsoft.com\" in commercial_domains()\n True\n >>> \"isri.cs.cm... | 61 | false | CMUSTRUDEL/strudel.utils | commercial_domains | 36,479 | |
LDU_FT/inveniosoftware/invenio-oauth2server/register_scope | LDU_FT | [
"<BEGIN>\n## `require_api_auth`",
"Decorator to require API authentication using OAuth token.",
" :param allow_anonymous: Allow access without OAuth token\n (default: ``False``).\n<END>",
"<BEGIN>\n## `require_oauth_scopes`",
"r\"\"\"Decorator to require a list of OAuth scopes.",
" Decorator ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_scope API.
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 register_scope API.
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... | Register a scope.
:param scope: A :class:`invenio_oauth2server.models.Scope` instance. | "Register a scope.\n\n :param scope: A :class:`invenio_oauth2server.models.Scope` instance." | 92 | false | inveniosoftware/invenio-oauth2server | register_scope | 36,480 | |
LDU_FT/awslabs/serverless-application-model/_get_retention_policy_value | LDU_FT | [
"<BEGIN>\n## `deaggregate_record`",
"Given a Kinesis record data that is decoded, deaggregate if it was packed using the\n Kinesis Producer Library into individual records. This method will be a no-op for any\n records that are not aggregated (but will still return them).",
" decoded_data - the base64... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_retention_policy_value 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 _get_retention_policy_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Sets the deletion policy on this resource. The default is 'Retain'.
:return: value for the DeletionPolicy attribute. | "Sets the deletion policy on this resource. The default is 'Retain'.\n\n :return: value for the DeletionPolicy attribute." | 672 | false | awslabs/serverless-application-model | _get_retention_policy_value | 36,481 | |
LDU_FT/stain/forgetSQL/_prepareSQL | LDU_FT | [
"<BEGIN>\n## `prepareClasses`",
"Fix _userClasses and some stuff in classes.",
" Traverses locals, which is a locals() dictionary from\n the namespace where Forgetter subclasses have been\n defined, and resolves names in _userClasses to real\n class-references.",
" Normally you would call forge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepareSQL API.
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 _prepareSQL API.
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 a sql for the given operation.
Possible operations:
SELECT read data for this id
SELECTALL read data for all ids
INSERT insert data, create new id
UPDATE update data for this id
DELETE remove data for this id
... | "Return a sql for the given operation.\n\n Possible operations:\n SELECT read data for this id\n SELECTALL read data for all ids\n INSERT insert data, create new id\n UPDATE update data for this id\n DELETE remove data for ... | 66 | false | stain/forgetSQL | _prepareSQL | 36,482 | |
LDU_FT/nephila/djangocms-blog/get_meta_attribute | LDU_FT | [
"<BEGIN>\n## `get_meta_attribute`",
"Retrieves django-meta attributes from apphook config instance\n :param param: django-meta attribute passed as key\n<END>",
"<BEGIN>\n## `make_published`",
"Bulk action to mark selected posts as published. If\n the date_published field is empty the current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta_attribute 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... | Retrieves django-meta attributes from apphook config instance
:param param: django-meta attribute passed as key | "Retrieves django-meta attributes from apphook config instance\n :param param: django-meta attribute passed as key" | 44 | false | nephila/djangocms-blog | get_meta_attribute | 36,483 | |
LDU_FT/aewallin/allantools/adev | LDU_FT | [
"<BEGIN>\n## `set_input`",
"Set inputs after initialization",
" Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adev API.
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 adev API.
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 predicted ADEV of noise-type at given tau | "return predicted ADEV of noise-type at given tau" | 273 | false | aewallin/allantools | adev | 36,484 | |
LDU_FT/hellosign/hellosign-python-sdk/format_file_url_params | LDU_FT | [
"<BEGIN>\n## `create_account`",
"Create a new account.",
" If the account is created via an app, then Account.oauth will contain the\n OAuth data that can be used to execute actions on behalf of the newly created account.",
" Args:\n email_address (str): Email addres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_file_url_params 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 format_file_url_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Utility method for formatting file URL parameters for transmission | "Utility method for formatting file URL parameters for transmission" | 416 | false | hellosign/hellosign-python-sdk | format_file_url_params | 36,485 | |
LDU_FT/crypto101/merlyn/solveAndNotify | LDU_FT | [
"<BEGIN>\n## `userForCert`",
"Gets the user for the given certificate.\n<END>",
"<BEGIN>\n## `user`",
"The current user.",
" This property is cached in the ``_user`` attribute.\n<END>",
"<BEGIN>\n## `getContext`",
"Creates a context.",
" This will make contexts using ``SSLv23_METHOD``. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solveAndNotify API.
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 solveAndNotify API.
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 user at the given AMP protocol has solved the given exercise.
This will log the solution and notify the user. | "The user at the given AMP protocol has solved the given exercise.\n\n This will log the solution and notify the user." | 29 | false | crypto101/merlyn | solveAndNotify | 36,486 | |
LDU_FT/zlobspb/txtarantool/ping | LDU_FT | [
"<BEGIN>\n## `pack_int_base128`",
"Pack integer value using LEB128 encoding\n :param value: integer value to encode\n :type value: int",
" :return: encoded value\n :rtype: bytes\n<END>",
"<BEGIN>\n## `pack_str`",
"Pack string field\n <field> ::= <int32_varint><data>",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | send ping packet to tarantool server and receive response with empty body | "send ping packet to tarantool server and receive response with empty body" | 43 | false | zlobspb/txtarantool | ping | 36,487 | |
LDU_FT/vimalloc/flask-jwt-extended/encode_access_token | LDU_FT | [
"<BEGIN>\n## `decode_token`",
"Returns the decoded token (python dict) from an encoded JWT. This does all\n the checks to insure that the decoded token is valid before returning it.",
" :param encoded_token: The encoded JWT to decode into a python dict.\n :param csrf_value: Expected CSRF double submit ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Creates a new encoded (utf-8) access token.
:param identity: Identifier for who this token is for (ex, username). This
data must be json serializable
:param secret: Secret key to encode the JWT with
:param algorithm: Which algorithm to encode this JWT with
:param expires_delta: How... | "Creates a new encoded (utf-8) access token.\n\n :param identity: Identifier for who this token is for (ex, username). This\n data must be json serializable\n :param secret: Secret key to encode the JWT with\n :param algorithm: Which algorithm to encode this JWT with\n :param expires_del... | 71 | false | vimalloc/flask-jwt-extended | encode_access_token | 36,488 | |
LDU_FT/kplindegaard/smbus2/process_call | LDU_FT | [
"<BEGIN>\n## `read`",
"Prepares an i2c read transaction.",
" :param address: Slave address.\n :type: address: int\n :param length: Number of bytes to read.\n :type: length: int\n :return: New :py:class:`i2c_msg` instance for read operation.\n :rtype: :py:class:`i2c_msg`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_call API.
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... | Executes a SMBus Process Call, sending a 16-bit value and receiving a 16-bit response
:param i2c_addr: i2c address
:type i2c_addr: int
:param register: Register to read/write to
:type register: int
:param value: Word value to transmit
:type value: int
:param forc... | "Executes a SMBus Process Call, sending a 16-bit value and receiving a 16-bit response\n\n :param i2c_addr: i2c address\n :type i2c_addr: int\n :param register: Register to read/write to\n :type register: int\n :param value: Word value to transmit\n :type value: int\n :p... | 51 | false | kplindegaard/smbus2 | process_call | 36,489 | |
LDU_FT/fracpete/python-weka-wrapper/check_actors | LDU_FT | [
"<BEGIN>\n## `next`",
"Reads the next dataset row.",
" :return: the next row\n :rtype: Instance\n<END>",
"<BEGIN>\n## `main`",
"Runs a associator from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>",
"<BEGIN>\n## `next`",
"Returns the next rule... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_actors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_actors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Checks the actors of the owner. Raises an exception if invalid. | "Checks the actors of the owner. Raises an exception if invalid." | 68 | false | fracpete/python-weka-wrapper | check_actors | 36,490 | |
LDU_FT/havardgulldahl/jottalib/iter_tree | LDU_FT | [
"<BEGIN>\n## `get_auth_info`",
"Get authentication details to jottacloud.",
" Will first check environment variables, then the .netrc file.\n<END>",
"<BEGIN>\n## `calculate_md5`",
"Utility function to calculate md5 hashes while being light on memory usage.",
" By reading the fileobject piece by piec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_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.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_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.
The extract... | Get a tree of of files and folders. use as an iterator, you get something like os.walk | "Get a tree of of files and folders. use as an iterator, you get something like os.walk" | 111 | false | havardgulldahl/jottalib | iter_tree | 36,491 | |
LDU_FT/Garee/pytodoist/query | LDU_FT | [
"<BEGIN>\n## `login`",
"Login to Todoist.",
" :param email: The user's email address.\n :type email: str\n :param password: The user's password.\n :type password: str\n :return: The HTTP response to the request.\n :rtype: :class:`requests.Response`",
" >>> from... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Search all of a user's tasks using date, priority and label queries.
:param api_token: The user's login api_token.
:type api_token: str
:param queries: A JSON list of queries to search. See examples
`here <https://todoist.com/Help/timeQuery>`_.
:type queries: list (str)
... | "Search all of a user's tasks using date, priority and label queries.\n\n :param api_token: The user's login api_token.\n :type api_token: str\n :param queries: A JSON list of queries to search. See examples\n `here <https://todoist.com/Help/timeQuery>`_.\n :type queries: list (st... | 237 | false | Garee/pytodoist | query | 36,492 | |
LDU_FT/Demonware/jose/spec_compliant_encrypt | LDU_FT | [
"<BEGIN>\n## `deserialize_compact`",
"Deserialization of a compact representation of a :class:`~jwt.JWE`",
" :param jwt: The serialized JWT to deserialize.\n :rtype: :class:`~jose.JWT`.\n :raises: :class:`~jose.Error` if the JWT is malformed\n<END>",
"<BEGIN>\n## `encrypt`",
"Encrypts the given cla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spec_compliant_encrypt 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 spec_compliant_encrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Encrypts the given claims and produces a :class:`~jose.JWE`
:param claims: A `dict` representing the claims for this
:class:`~jose.JWE`.
:param jwk: A `dict` representing the JWK to be used for encryption of
the CEK. This parameter is algorithm-specific.
:param add_header... | "Encrypts the given claims and produces a :class:`~jose.JWE`\n\n :param claims: A `dict` representing the claims for this\n :class:`~jose.JWE`.\n :param jwk: A `dict` representing the JWK to be used for encryption of\n the CEK. This parameter is algorithm-specific.\n :param add... | 32 | false | Demonware/jose | spec_compliant_encrypt | 36,493 | |
LDU_FT/noxdafox/vminspect/compare_registry | LDU_FT | [
"<BEGIN>\n## `keys`",
"Iterates over the hive's keys.",
" Yields WinRegKey namedtuples containing:",
" path: path of the key \"RootKey\\\\Key\\\\...\"\n timestamp: date and time of last modification\n values: list of values ((\"ValueKey\", \"ValueType\", ValueValue), ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_registry API.
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 compare_registry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Compares the Windows Registry contained within the two File Systems.
It parses all the registry hive files contained within the disks
and generates the following report.
{'created_keys': {'\\Reg\\Key': (('Key', 'Type', 'Value'))}
'deleted_keys': ['\\Reg\\Key', ...],
... | "Compares the Windows Registry contained within the two File Systems.\n\n It parses all the registry hive files contained within the disks\n and generates the following report.\n\n {'created_keys': {'\\\\Reg\\\\Key': (('Key', 'Type', 'Value'))}\n 'deleted_keys': ['\\\\Reg\\\\Key', .... | 123 | false | noxdafox/vminspect | compare_registry | 36,494 | |
LDU_FT/DocNow/twarc/hydrate | LDU_FT | [
"<BEGIN>\n## `rate_limit`",
"A decorator to handle rate limiting from the Twitter API. If\n a rate limit error is encountered we will sleep until we can\n issue the API call again.\n<END>",
"<BEGIN>\n## `catch_conn_reset`",
"A decorator to handle connection reset errors even ones from pyOpenSSL\n unt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hydrate API.
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 hydrate API.
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... | Pass in an iterator of tweet ids and get back an iterator for the
decoded JSON for each corresponding tweet. | "Pass in an iterator of tweet ids and get back an iterator for the\n decoded JSON for each corresponding tweet." | 58 | false | DocNow/twarc | hydrate | 36,495 | |
LDU_FT/slackapi/python-slackclient/team_integrationLogs | LDU_FT | [
"<BEGIN>\n## `run_on`",
"A decorator to store and link a callback to an event.\n<END>",
"<BEGIN>\n## `on`",
"Stores and links the callback(s) to the event.",
" Args:\n event (str): A string that specifies a Slack or websocket event.\n e.g. 'channel_joined' or 'open'\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the team_integrationLogs 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 team_integrationLogs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Gets the integration logs for the current team. | "Gets the integration logs for the current team." | 222 | false | slackapi/python-slackclient | team_integrationLogs | 36,496 | |
LDU_FT/iskandr/fancyimpute/estimate_row_means | LDU_FT | [
"<BEGIN>\n## `_svd_step`",
"Returns reconstructed X from low-rank thresholded SVD and\n the rank achieved.\n<END>",
"<BEGIN>\n## `fill`",
"Parameters\n ----------\n X : np.array\n Data array containing NaN entries",
" missing_mask : np.array\n Boolean array ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the estimate_row_means 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 estimate_row_means 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... | row_center[i] =
sum{j in observed[i, :]}{
(1 / column_scale[j]) * (X[i, j] - column_center[j])
}
------------------------------------------------------------
sum{j in observed[i, :]}{1 / column_scale[j]} | "row_center[i] =\n sum{j in observed[i, :]}{\n (1 / column_scale[j]) * (X[i, j] - column_center[j])\n }\n ------------------------------------------------------------\n sum{j in observed[i, :]}{1 / column_scale[j]}" | 137 | false | iskandr/fancyimpute | estimate_row_means | 36,497 | |
LDU_FT/fake-name/WebRequest/stepThroughJsWaf_bare_chromium | LDU_FT | [
"<BEGIN>\n## `getFileAndName`",
"Give a requested page (note: the arguments for this call are forwarded to getpage()),\n\t\treturn the content at the target URL and the filename for the target content as a\n\t\t2-tuple (pgctnt, hName) for the content at the target URL.",
"\t\tThe filename specified in the conte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stepThroughJsWaf_bare_chromium API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stepThroughJsWaf_bare_chromium API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Use Chromium to access a resource behind WAF protection.
Params:
``url`` - The URL to access that is protected by WAF
``titleContains`` - A string that is in the title of the protected page, and NOT the
WAF intermediate page. The presence of this string in the page title
is used to determine whether th... | "Use Chromium to access a resource behind WAF protection.\n\n\t\tParams:\n\t\t\t``url`` - The URL to access that is protected by WAF\n\t\t\t``titleContains`` - A string that is in the title of the protected page, and NOT the\n\t\t\t\tWAF intermediate page. The presence of this string in the page title\n\t\t\t\tis used ... | 66 | false | fake-name/WebRequest | stepThroughJsWaf_bare_chromium | 36,498 | |
LDU_FT/hellock/icrawler/get_next | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"convert detailed proxy info into a dict",
" Returns:\n dict: A dict with four keys: ``addr``, ``protocol``,\n ``weight`` and ``last_checked``\n<END>",
"<BEGIN>\n## `proxy_num`",
"Get the number of proxies in the pool",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next API.
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... | Get the next proxy
Args:
protocol (str): 'http' or 'https'. (default 'http')
format (bool): Whether to format the proxy. (default False)
policy (str): Either 'loop' or 'random', indicating the policy of
getting the next proxy. If set to 'loop', will return pr... | "Get the next proxy\n\n Args:\n protocol (str): 'http' or 'https'. (default 'http')\n format (bool): Whether to format the proxy. (default False)\n policy (str): Either 'loop' or 'random', indicating the policy of\n getting the next proxy. If set to 'loop', will re... | 105 | false | hellock/icrawler | get_next | 36,499 | |
LDU_FT/micropython/micropython/gen_table | LDU_FT | [
"<BEGIN>\n## `ptr`",
"Returns the numbered function (i.e. USART6) for this AF.\n<END>",
"<BEGIN>\n## `run_loop`",
"Start the loop.",
" :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>",
"<BEGIN>\n## `find_c_file`",
"Search vpaths for the c fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | creates a table given any set of columns | "creates a table given any set of columns" | 54 | false | micropython/micropython | gen_table | 36,500 | |
LDU_FT/elastic/apm-agent-python/_sanitize_string | LDU_FT | [
"<BEGIN>\n## `extract_signature`",
"Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature\n<END>",
"<BEGIN>\n## `_timed_queue_join`",
"implementation of Queue.join which takes a 'timeout' argument",
" returns True on s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sanitize_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sanitize_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | sanitizes a string that contains multiple key/value items
:param unsanitized: the unsanitized string
:param itemsep: string that separates items
:param kvsep: string that separates key from value
:return: a sanitized string | "sanitizes a string that contains multiple key/value items\n :param unsanitized: the unsanitized string\n :param itemsep: string that separates items\n :param kvsep: string that separates key from value\n :return: a sanitized string" | 163 | false | elastic/apm-agent-python | _sanitize_string | 36,501 | |
LDU_FT/cvxopt/chompack/frontal_get_update_factor | LDU_FT | [
"<BEGIN>\n## `symb_to_block`",
"Maps a symbolic factorization to a block-diagonal structure with\n coupling constraints.",
" :param symb: :py:class:`symbolic`\n :param coupling: optional \n :return dims: list of block dimensions\n :return sparse_to_block: di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frontal_get_update_factor 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 frontal_get_update_factor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Computes factorization Vi = Li'*Li, given F
F = [ S_{N_k,N_k} S_{Ak,Nk}' ]
[ S_{Ak,Nk}' Lk'*Lk ]
where Vk = Lk'*Lk. Note that the 2,2 block of the argument 'F'
stores Lk and not Lk'*Lk. The argument 'r' is a vector of relative
indices r = [ i1, i2, ..., iN ], and the arguments... | "Computes factorization Vi = Li'*Li, given F\n\n F = [ S_{N_k,N_k} S_{Ak,Nk}' ]\n [ S_{Ak,Nk}' Lk'*Lk ]\n\n where Vk = Lk'*Lk. Note that the 2,2 block of the argument 'F'\n stores Lk and not Lk'*Lk. The argument 'r' is a vector of relative\n indices r = [ i1, i2, ..., iN ], and the a... | 215 | false | cvxopt/chompack | frontal_get_update_factor | 36,502 | |
LDU_FT/ianclegg/ntlmlib/_expand_des_key | LDU_FT | [
"<BEGIN>\n## `wrap`",
"NTM GSSwrap()\n :param message: The message to be encrypted\n :return: The signed and encrypted message\n<END>",
"<BEGIN>\n## `unwrap`",
"NTLM GSSUnwrap()\n :param message: The message to be encrypted\n :return: The signed and encrypted message\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_des_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_des_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Expand the key from a 7-byte password key into a 8-byte DES key | "Expand the key from a 7-byte password key into a 8-byte DES key" | 43 | false | ianclegg/ntlmlib | _expand_des_key | 36,503 | |
LDU_FT/uogbuji/versa/values | LDU_FT | [
"<BEGIN>\n## `link`",
"Action function generator to create a link based on the context's current link, or on provided parameters",
" :param origin: IRI/string, or list of same; origins for the created relationships.\n If None, the action context provides the parameter.",
" :param rel: IRI/string, or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Action function generator to compute a set of relationships from criteria
:param rels: List of relationships to compute
:return: Versa action function to do the actual work | "Action function generator to compute a set of relationships from criteria\n\n :param rels: List of relationships to compute\n :return: Versa action function to do the actual work" | 146 | false | uogbuji/versa | values | 36,504 | |
LDU_FT/jmoiron/micromongo/connect | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the database. Passes arguments along to\n ``pymongo.connection.Connection`` unmodified.",
" The Connection returned by this proxy method will be used by micromongo\n for all of its queries. Micromongo will alter the behavior of this\n conneciton object in some ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connect to the database. Passes arguments along to
``pymongo.connection.Connection`` unmodified.
The Connection returned by this proxy method will be used by micromongo
for all of its queries. Micromongo will alter the behavior of this
conneciton object in some subtle ways; if you want a clean one, ... | "Connect to the database. Passes arguments along to\n ``pymongo.connection.Connection`` unmodified.\n\n The Connection returned by this proxy method will be used by micromongo\n for all of its queries. Micromongo will alter the behavior of this\n conneciton object in some subtle ways; if you want a clean... | 30 | false | jmoiron/micromongo | connect | 36,505 | |
LDU_FT/smartmob-project/strawboss/parse_scale | LDU_FT | [
"<BEGIN>\n## `now`",
"Returns the current time.",
" :param utc: If ``True``, returns a timezone-aware ``datetime`` object in\n UTC. When ``False`` (the default), returns a naive ``datetime`` object\n in local time.\n :return: A ``datetime`` object representing the current time at the time of\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_scale API.
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 parse_scale API.
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... | Splits a "%s:%d" string and returns the string and number.
:return: A ``(string, int)`` pair extracted from ``x``.
:raise ValueError: the string ``x`` does not respect the input format. | "Splits a \"%s:%d\" string and returns the string and number.\n\n :return: A ``(string, int)`` pair extracted from ``x``.\n\n :raise ValueError: the string ``x`` does not respect the input format." | 25 | false | smartmob-project/strawboss | parse_scale | 36,506 | |
LDU_FT/twisted/twistedchecker/_isSetter | LDU_FT | [
"<BEGIN>\n## `_isInner`",
"Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.",
" @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}",
" @return: a boolean indicating if the given node is defined as an inner\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _isSetter API.
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 _isSetter API.
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... | Determine whether the given node is a setter property.
@param node_type: The type of the node to inspect.
@param node: The L{logilab.astng.bases.NodeNG} to inspect.
@return: a boolean indicating if the given node is a setter. | "Determine whether the given node is a setter property.\n\n @param node_type: The type of the node to inspect.\n @param node: The L{logilab.astng.bases.NodeNG} to inspect.\n\n @return: a boolean indicating if the given node is a setter." | 146 | false | twisted/twistedchecker | _isSetter | 36,507 | |
LDU_FT/globocom/GloboNetworkAPI-client-python/save_blocks | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy network in equipments and set column 'active = 1' in tables redeipv4",
" :param id_networkv4: ID for NetworkIPv4",
" :return: Equipments configuration output\n<END>",
"<BEGIN>\n## `get_by_id`",
"Get IPv4 network",
" :param id_networkv4: ID for Network... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_blocks API.
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 save_blocks API.
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... | Save blocks from environment
:param id_env: Environment id
:param blocks: Lists of blocks in order. Ex: ['content one', 'content two', ...]
:return: None
:raise AmbienteNaoExisteError: Ambiente não cadastrado.
:raise InvalidValueError: Invalid parameter.
:raise UserNot... | "Save blocks from environment\n\n :param id_env: Environment id\n :param blocks: Lists of blocks in order. Ex: ['content one', 'content two', ...]\n\n :return: None\n\n :raise AmbienteNaoExisteError: Ambiente não cadastrado.\n :raise InvalidValueError: Invalid parameter.\n :rai... | 1,966 | true | globocom/GloboNetworkAPI-client-python | save_blocks | 36,508 | |
LDU_FT/OpenHydrology/floodestimation/get_datetime | LDU_FT | [
"<BEGIN>\n## `valid_flows_array`",
"Return array of valid flows (i.e. excluding rejected years etc)",
" :param catchment: gauged catchment with amax_records set\n :type catchment: :class:`floodestimation.entities.Catchment`\n :return: 1D array of flow values\n :rtype: :class:`numpy.ndarray`\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_datetime API.
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_datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return UTC datetime from timestamp in config file.
:param section: Config section
:param option: Config option
:param fallback: Fallback/default value
:return: Datetime in UTC
:rtype: :class:`datetime.datetime` | "Return UTC datetime from timestamp in config file.\n\n :param section: Config section\n :param option: Config option\n :param fallback: Fallback/default value\n :return: Datetime in UTC\n :rtype: :class:`datetime.datetime`" | 194 | false | OpenHydrology/floodestimation | get_datetime | 36,509 | |
LDU_FT/pyparsing/pyparsing/function_call_action | LDU_FT | [
"<BEGIN>\n## `parse`",
"Accepts an input string containing an LA equation, e.g.,\r\n \"M3_mymatrix = M3_anothermatrix^-1\" returns C code function\r\n calls that implement the expression.\n<END>",
"<BEGIN>\n## `fprocess`",
"Scans an input file for LA equations between double square brackets,\r\n e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the function_call_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the function_call_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Code executed after recognising the whole function call | "Code executed after recognising the whole function call" | 132 | false | pyparsing/pyparsing | function_call_action | 36,510 | |
LDU_FT/mcocdawc/chemcoord/minimize_dihedrals | LDU_FT | [
"<BEGIN>\n## `_check_construction_table`",
"Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>",
"<BEGIN>\n## `_get_frag_constr_table`",
"Create a construction table for a Zmatrix.",
" A construction table is basically a Zm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize_dihedrals 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 minimize_dihedrals 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... | r"""Give a representation of the dihedral with minimized absolute value.
Mathematically speaking the angles in a zmatrix are
representations of an equivalence class.
We will denote an equivalence relation with :math:`\sim`
and use :math:`\alpha` for an angle and :math:`\delta` for a dih... | "r\"\"\"Give a representation of the dihedral with minimized absolute value.\n\n Mathematically speaking the angles in a zmatrix are\n representations of an equivalence class.\n We will denote an equivalence relation with :math:`\\sim`\n and use :math:`\\alpha` for an angle and :math:`\\delt... | 503 | false | mcocdawc/chemcoord | minimize_dihedrals | 36,511 | |
LDU_FT/ttinies/sc2gameLobby/installedApp | LDU_FT | [
"<BEGIN>\n## `addNew`",
"Add a new version record to the database to be tracked\n VERSION RECORD EXAMPLE:\n \"base-version\": 55505, \n \"data-hash\": \"60718A7CA50D0DF42987A30CF87BCB80\", \n \"fixed-hash\": \"0189B2804E2F6BA4C4591222089E63B2\", \n \"label\": \"3.16\", \n \"r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the installedApp API.
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 installedApp API.
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... | identify the propery application to launch, given the configuration | "identify the propery application to launch, given the configuration" | 76 | false | ttinies/sc2gameLobby | installedApp | 36,512 | |
LDU_FT/mojaie/chorus/largest_graph | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draw molecule structure image.",
" Args:\n canvas: draw.drawable.Drawable\n mol: model.graphmol.Compound\n<END>",
"<BEGIN>\n## `smiles_to_compound`",
"Convert SMILES text to compound object",
" Raises:\n ValueError: SMILES with unsupported format\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the largest_graph API.
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 largest_graph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return a molecule which has largest graph in the compound
Passing single molecule object will results as same as molutil.clone | "Return a molecule which has largest graph in the compound\n Passing single molecule object will results as same as molutil.clone" | 158 | false | mojaie/chorus | largest_graph | 36,513 | |
LDU_FT/ricequant/rqalpha/history_bars | 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 history_bars API.
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 history_bars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | 获取历史数据
:param instrument: 合约对象
:type instrument: :class:`~Instrument`
:param int bar_count: 获取的历史数据数量
:param str frequency: 周期频率,`1d` 表示日周期, `1m` 表示分钟周期
:param str fields: 返回数据字段
========================= ===================================================
fi... | "获取历史数据\n\n :param instrument: 合约对象\n :type instrument: :class:`~Instrument`\n\n :param int bar_count: 获取的历史数据数量\n :param str frequency: 周期频率,`1d` 表示日周期, `1m` 表示分钟周期\n :param str fields: 返回数据字段\n\n ========================= ===================================================\... | 254 | false | ricequant/rqalpha | history_bars | 36,514 | |
LDU_FT/horazont/aioxmpp/gather_reraise_multi | LDU_FT | [
"<BEGIN>\n## `get_commands`",
"Return the list of commands offered by the peer.",
" :param peer_jid: JID of the peer to query\n :type peer_jid: :class:`~aioxmpp.JID`\n :rtype: :class:`list` of :class:`~.disco.xso.Item`\n :return: List of command items",
" In the returned lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gather_reraise_multi 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 gather_reraise_multi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Wrap all the arguments `fut_or_coros` in futures with
:func:`asyncio.ensure_future` and wait until all of them are finish or
fail.
:param fut_or_coros: the futures or coroutines to wait for
:type fut_or_coros: future or coroutine
:param message: the message included with the raised
:class:`... | "Wrap all the arguments `fut_or_coros` in futures with\n :func:`asyncio.ensure_future` and wait until all of them are finish or\n fail.\n\n :param fut_or_coros: the futures or coroutines to wait for\n :type fut_or_coros: future or coroutine\n :param message: the message included with the raised\n ... | 1,660 | true | horazont/aioxmpp | gather_reraise_multi | 36,515 | |
LDU_FT/stain/forgetSQL/load | LDU_FT | [
"<BEGIN>\n## `prepareClasses`",
"Fix _userClasses and some stuff in classes.",
" Traverses locals, which is a locals() dictionary from\n the namespace where Forgetter subclasses have been\n defined, and resolves names in _userClasses to real\n class-references.",
" Normally you would call forge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
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 load API.
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... | Load from database. Old values will be discarded. | "Load from database. Old values will be discarded." | 66 | false | stain/forgetSQL | load | 36,516 | |
LDU_FT/rasbt/markdown-toclify/remove_lines | LDU_FT | [
"<BEGIN>\n## `read_lines`",
"Returns a list of lines from a input markdown file.\n<END>",
"<BEGIN>\n## `remove_lines`",
"Removes existing [back to top] links and <a id> tags.\n<END>",
"<BEGIN>\n## `slugify_headline`",
"Takes a header line from a Markdown document and\n returns a tuple of the\n '... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Removes existing [back to top] links and <a id> tags. | "Removes existing [back to top] links and <a id> tags." | 35 | false | rasbt/markdown-toclify | remove_lines | 36,517 | |
LDU_FT/python-tap/tappy/_get_tap_file_path | LDU_FT | [
"<BEGIN>\n## `check`",
"Check the status of all provided data and update the suite.\n<END>",
"<BEGIN>\n## `handle_skipping_plan`",
"Handle a plan that contains a SKIP directive.\n<END>",
"<BEGIN>\n## `format_exception`",
"Format an exception as diagnostics output.",
" exception is the tuple as expect... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_tap_file_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_tap_file_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.
Th... | Get the TAP output file path for the test case. | "Get the TAP output file path for the test case." | 47 | false | python-tap/tappy | _get_tap_file_path | 36,518 | |
LDU_FT/slarse/clanimtk/_get_back_up_generator | LDU_FT | [
"<BEGIN>\n## `animate_cli`",
"Print out the animation cycle to stdout. This function is for use with\n synchronous functions and must be run in a thread.",
" Args:\n animation_ (generator): A generator that produces strings for the\n animation. Should be endless.\n step (float): Secon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_back_up_generator 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_back_up_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create a generator for the provided animation function that backs up
the cursor after a frame. Assumes that the animation function provides
a generator that yields strings of constant width and height.
Args:
frame_function: A function that returns a FrameGenerator.
args: Arguments for frame... | "Create a generator for the provided animation function that backs up\n the cursor after a frame. Assumes that the animation function provides\n a generator that yields strings of constant width and height.\n\n Args:\n frame_function: A function that returns a FrameGenerator.\n args: Arguments fo... | 48 | false | slarse/clanimtk | _get_back_up_generator | 36,519 | |
LDU_FT/tkem/uritools/urisplit | LDU_FT | [
"<BEGIN>\n## `urijoin`",
"Convert a URI reference relative to a base URI to its target URI\n string.\n<END>",
"<BEGIN>\n## `uridefrag`",
"Remove an existing fragment component from a URI reference string.\n<END>",
"<BEGIN>\n## `geturi`",
"Return the recombined version of the original URI as a string.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the urisplit API.
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 urisplit API.
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... | Split a well-formed URI reference string into a tuple with five
components corresponding to a URI's general structure::
<scheme>://<authority>/<path>?<query>#<fragment> | "Split a well-formed URI reference string into a tuple with five\n components corresponding to a URI's general structure::\n\n <scheme>://<authority>/<path>?<query>#<fragment>" | 45 | false | tkem/uritools | urisplit | 36,520 | |
LDU_FT/theno/fabsetup/pencil3 | LDU_FT | [
"<BEGIN>\n## `create_readme_with_long_description`",
"Try to convert content of README.md into rst format using pypandoc,\n write it into README and return it.",
" If pypandoc cannot be imported write content of README.md unchanged into\n README and return it.\n<END>",
"<BEGIN>\n## `openssl`",
"Ins... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pencil3 API.
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 pencil3 API.
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... | Install or update latest Pencil version 3, a GUI prototyping tool.
While it is the newer one and the GUI is more fancy, it is the "more beta"
version of pencil. For exmaple, to display a svg export may fail from
within a reveal.js presentation.
More info:
Homepage: http://pencil.evolus.vn/Nex... | "Install or update latest Pencil version 3, a GUI prototyping tool.\n\n While it is the newer one and the GUI is more fancy, it is the \"more beta\"\n version of pencil. For exmaple, to display a svg export may fail from\n within a reveal.js presentation.\n\n More info:\n Homepage: http://pencil.evo... | 226 | false | theno/fabsetup | pencil3 | 36,521 | |
LDU_FT/edx/edx-django-utils/set_custom_metrics_for_course_key | LDU_FT | [
"<BEGIN>\n## `accumulate_metric`",
"Accumulate a custom metric (name and value) in the metrics cache.\n<END>",
"<BEGIN>\n## `_batch_report`",
"Report the collected custom metrics to New Relic.\n<END>",
"<BEGIN>\n## `process_response`",
"Logs memory data after processing response.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_custom_metrics_for_course_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_custom_metrics_for_course_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Set monitoring custom metrics related to a course key.
This is not cached, and only support reporting to New Relic Insights. | "Set monitoring custom metrics related to a course key.\n\n This is not cached, and only support reporting to New Relic Insights." | 55 | false | edx/edx-django-utils | set_custom_metrics_for_course_key | 36,522 | |
LDU_FT/dirko/pyhacrf/_extract_features | LDU_FT | [
"<BEGIN>\n## `transform`",
"Transform sequence pairs to feature arrays that can be used as input to `Hacrf` models.",
" Parameters\n ----------\n raw_X : List of (sequence1_n, sequence2_n) pairs, one for each training example n.\n y : (ignored)",
" Returns\n -------\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_features API.
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 _extract_features API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Helper to extract features for one data point. | "Helper to extract features for one data point." | 46 | false | dirko/pyhacrf | _extract_features | 36,523 | |
LDU_FT/robinagist/ezo/open | LDU_FT | [
"<BEGIN>\n## `get_topic_sha3`",
"takes an event block and returns a signature for sha3 hashing\n :param event_block:\n :return:\n<END>",
"<BEGIN>\n## `info`",
"Since this will always respond with height=0, Tendermint\n will resync this app from the begining\n<END>",
"<BEGIN>\n## `check_tx`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
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 open API.
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... | attempts to open the database. if it gets a locked message, it will wait one second and try
again. if it is still locked, it will return an error
:return: None, None if successful
None, error if error | "attempts to open the database. if it gets a locked message, it will wait one second and try\n again. if it is still locked, it will return an error\n :return: None, None if successful\n None, error if error" | 45 | false | robinagist/ezo | open | 36,524 | |
LDU_FT/google/google-visualization-python/ToJSCode | LDU_FT | [
"<BEGIN>\n## `CoerceValue`",
"Coerces a single value into the type expected for its column.",
" Internal helper method.",
" Args:\n value: The value which should be converted\n value_type: One of \"string\", \"number\", \"boolean\", \"date\", \"datetime\" or\n \"timeofday\".",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ToJSCode API.
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 ToJSCode API.
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... | Writes the data table as a JS code string.
This method writes a string of JS code that can be run to
generate a DataTable with the specified data. Typically used for debugging
only.
Args:
name: The name of the table. The name would be used as the DataTable's
variable name in the crea... | "Writes the data table as a JS code string.\n\n This method writes a string of JS code that can be run to\n generate a DataTable with the specified data. Typically used for debugging\n only.\n\n Args:\n name: The name of the table. The name would be used as the DataTable's\n variable name in... | 87 | false | google/google-visualization-python | ToJSCode | 36,525 | |
LDU_FT/daler/metaseq/chunker | LDU_FT | [
"<BEGIN>\n## `requirements_check`",
"Ensure we have programs needed to download/manipulate the data\n<END>",
"<BEGIN>\n## `_up_to_date`",
"Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>",
"<BEGIN>\n## `logged_command`",
"helper function to log a command and then run it\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunker API.
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 chunker API.
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... | Utility function to split iterable `f` into `n` chunks | "Utility function to split iterable `f` into `n` chunks" | 400 | false | daler/metaseq | chunker | 36,526 | |
LDU_FT/raiden-network/raiden-contracts/public_key_to_address | LDU_FT | [
"<BEGIN>\n## `check_permission_safety`",
"Check if the file at the given path is safe to use as a state file.",
" This checks that group and others have no permissions on the file and that the current user is\n the owner.\n<END>",
"<BEGIN>\n## `get_private_key`",
"Open a JSON-encoded private key and r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the public_key_to_address 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 public_key_to_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Converts a public key to an Ethereum address. | "Converts a public key to an Ethereum address." | 76 | false | raiden-network/raiden-contracts | public_key_to_address | 36,527 | |
LDU_FT/JarryShaw/PyPCAPKit/_ip_frag_check | LDU_FT | [
"<BEGIN>\n## `_missing_`",
"Lookup function used when value is not found.\n<END>",
"<BEGIN>\n## `count`",
"S.count(value) -> integer -- return number of occurrences of value\n<END>",
"<BEGIN>\n## `index`",
"S.index(value, [start, [stop]]) -> integer -- return first index of value.\n Raises Value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ip_frag_check API.
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 _ip_frag_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Check if arguments are valid IP fragments. | "Check if arguments are valid IP fragments." | 733 | false | JarryShaw/PyPCAPKit | _ip_frag_check | 36,528 | |
LDU_FT/mweb/appconfig/get | LDU_FT | [
"<BEGIN>\n## `_get_type`",
"Get the python type for a given string describtion for a type.",
" @param stype: The string representing the type to return\n @return: The python type if available\n<END>",
"<BEGIN>\n## `_format_message`",
"Return a string with newlines so that the given string fits... | 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 the value of a key in the given section. It will automatically
translate the paramter type if the parameter has a type specified
with the description.
@param section: the section where the key can be found.
@param key: the key the value is stored under.
@... | "Get the value of a key in the given section. It will automatically\n translate the paramter type if the parameter has a type specified\n with the description.\n\n @param section: the section where the key can be found.\n @param key: the key the value is stored under.\n ... | 35 | false | mweb/appconfig | get | 36,529 | |
LDU_FT/raphaelm/python-sepaxml/make_msg_id | LDU_FT | [
"<BEGIN>\n## `check_payment`",
"Check the payment for required fields and validity.\n @param payment: The payment dict\n @return: True if valid, error string if invalid paramaters where\n encountered.\n<END>",
"<BEGIN>\n## `add_payment`",
"Function to add payments\n @param payment:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_msg_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_msg_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Create a semi random message id, by using 12 char random hex string and
a timestamp.
@return: string consisting of timestamp, -, random value | "Create a semi random message id, by using 12 char random hex string and\n a timestamp.\n @return: string consisting of timestamp, -, random value" | 45 | false | raphaelm/python-sepaxml | make_msg_id | 36,530 | |
LDU_FT/jciskey/pygraph/get_edge | LDU_FT | [
"<BEGIN>\n## `build_cycle_graph`",
"Builds a cycle graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/CycleGraph.html\n<END>",
"<BEGIN>\n## `build_wheel_graph`",
"Builds a wheel graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/WheelGraph.html... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_edge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_edge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the edge object identified by "edge_id". | "Returns the edge object identified by \"edge_id\"." | 189 | false | jciskey/pygraph | get_edge | 36,531 | |
LDU_FT/carpedm20/fbchat/forwardAttachment | LDU_FT | [
"<BEGIN>\n## `_generatePayload`",
"Adds the following defaults to the payload:\n __rev, __user, __a, ttstamp, fb_dtsg, __req\n<END>",
"<BEGIN>\n## `_fix_fb_errors`",
"This fixes \"Please try closing and re-opening your browser window\" errors (1357004)\n This error usually happens after 1-2 da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forwardAttachment API.
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 forwardAttachment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Forwards an attachment
:param attachment_id: Attachment ID to forward
:param thread_id: User/Group ID to send to. See :ref:`intro_threads`
:raises: FBchatException if request failed | "Forwards an attachment\n\n :param attachment_id: Attachment ID to forward\n :param thread_id: User/Group ID to send to. See :ref:`intro_threads`\n :raises: FBchatException if request failed" | 337 | false | carpedm20/fbchat | forwardAttachment | 36,532 | |
LDU_FT/openpermissions/perch/can_approve | LDU_FT | [
"<BEGIN>\n## `collect`",
"Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>",
"<BEGIN>\n## `run_migrations`",
"Run migrations for a resource type",
" :param: a dicitionary of migrations\n<END>",
"<BEGIN>\n## `_migrate_resource`",
"Migrate a resour... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_approve API.
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 can_approve API.
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... | Admins of repository service or sys admins can approve a repository
:param user: a User
:param data: data that the user wants to update | "Admins of repository service or sys admins can approve a repository\n :param user: a User\n :param data: data that the user wants to update" | 177 | false | openpermissions/perch | can_approve | 36,533 | |
LDU_FT/jtwhite79/pyemu/setup_gage_obs | LDU_FT | [
"<BEGIN>\n## `_calc_delta`",
"calc the scaled ensemble differences from the mean\n<END>",
"<BEGIN>\n## `_calc_obs_local`",
"propagate the ensemble forward using sweep.\n<END>",
"<BEGIN>\n## `save_coo`",
"write a PEST-compatible binary file. The data format is\n [int,int,float] for i,j,value. It is a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_gage_obs API.
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 setup_gage_obs API.
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... | writes an instruction file for a mt3d-usgs sft output file
Parameters
----------
gage_file : str
the gage output file (ASCII)
ins_file : str
the name of the instruction file to create. If None, the name
is <gage_file>.processed.ins. Default is None
... | "writes an instruction file for a mt3d-usgs sft output file\n\n Parameters\n ----------\n gage_file : str\n the gage output file (ASCII)\n ins_file : str\n the name of the instruction file to create. If None, the name\n is <gage_file>.processed.ins. Default is None... | 1,496 | true | jtwhite79/pyemu | setup_gage_obs | 36,534 | |
LDU_FT/ecederstrand/exchangelib/register | LDU_FT | [
"<BEGIN>\n## `wrap`",
"Generate the necessary boilerplate XML for a raw SOAP request. The XML is specific to the server version.\n ExchangeImpersonation allows to act as the user we want to impersonate.\n<END>",
"<BEGIN>\n## `get_auth_instance`",
"Returns an *Auth instance suitable for the requests package... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a custom extended property in this item class so they can be accessed just like any other attribute | "Register a custom extended property in this item class so they can be accessed just like any other attribute" | 83 | false | ecederstrand/exchangelib | register | 36,535 | |
LDU_FT/minorg/pastpy/write | LDU_FT | [
"<BEGIN>\n## `read`",
"Read a new object from the given input protocol and return the object.",
" :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.impl.dbf.objects_dbf_record.ObjectsDbfRecord\n<END>",
"<BEGIN>\n## `write`",
"Write this object to the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Write this object to the given output protocol and return self.
:type oprot: thryft.protocol._output_protocol._OutputProtocol
:rtype: pastpy.gen.database.impl.dummy.dummy_database_configuration.DummyDatabaseConfiguration | "Write this object to the given output protocol and return self.\n\n :type oprot: thryft.protocol._output_protocol._OutputProtocol\n :rtype: pastpy.gen.database.impl.dummy.dummy_database_configuration.DummyDatabaseConfiguration" | 42 | false | minorg/pastpy | write | 36,536 | |
LDU_FT/ghukill/pyfc4/create_version | LDU_FT | [
"<BEGIN>\n## `_post_create`",
"resource.create() hook",
"\t\tFor PCDM Collections, post creation, also create\n<END>",
"<BEGIN>\n## `get_related`",
"get ore:aggregates for this resource, optionally retrieving resource payload",
"\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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.
The ex... | method to create a new version of the resource as it currently stands
- Note: this will create a version based on the current live instance of the resource,
not the local version, which might require self.update() to update.
Args:
version_label (str): label to be used for version
Returns:
(ResourceVe... | "method to create a new version of the resource as it currently stands\n\n\t\t\t- Note: this will create a version based on the current live instance of the resource,\n\t\t\tnot the local version, which might require self.update() to update.\n\n\t\tArgs:\n\t\t\tversion_label (str): label to be used for version\n\n\t\tR... | 203 | false | ghukill/pyfc4 | create_version | 36,537 | |
LDU_FT/goldsborough/ecstasy/warn | 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 warn API.
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 warn API.
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... | Combines a warning with a call to errors.position().
Simple convenience function.
Arguments:
string (str): The string being parsed.
pos (int): The index of the character that caused trouble. | "Combines a warning with a call to errors.position().\n\n\tSimple convenience function.\n\n\tArguments:\n\t\tstring (str): The string being parsed.\n\t\tpos (int): The index of the character that caused trouble." | 71 | false | goldsborough/ecstasy | warn | 36,538 | |
LDU_FT/pri22296/beautifultable/max_table_width | LDU_FT | [
"<BEGIN>\n## `wrap`",
"Returns a partition of the string based on `width`\n<END>",
"<BEGIN>\n## `max_table_width`",
"get/set the maximum width of the table.",
" The width of the table is guaranteed to not exceed this value. If it\n is not possible to print a given table with the width provided... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max_table_width API.
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 max_table_width API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | get/set the maximum width of the table.
The width of the table is guaranteed to not exceed this value. If it
is not possible to print a given table with the width provided, this
value will automatically adjust. | "get/set the maximum width of the table.\n\n The width of the table is guaranteed to not exceed this value. If it\n is not possible to print a given table with the width provided, this\n value will automatically adjust." | 96 | false | pri22296/beautifultable | max_table_width | 36,539 | |
LDU_FT/astroduff/commah/cduffy | LDU_FT | [
"<BEGIN>\n## `plotcommand`",
"Example ways to interrogate the dataset and plot the commah output\n<END>",
"<BEGIN>\n## `_izip`",
"Iterate through multiple lists or arrays of equal size\n<END>",
"<BEGIN>\n## `_checkinput`",
"Check and convert any input scalar or array to numpy array\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cduffy API.
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 cduffy API.
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 ... | NFW conc from Duffy 08 Table 1 for halo mass and redshift | "NFW conc from Duffy 08 Table 1 for halo mass and redshift" | 81 | false | astroduff/commah | cduffy | 36,540 | |
LDU_FT/edublancas/sklearn-evaluation/block_parser | LDU_FT | [
"<BEGIN>\n## `feature_importances`",
"Get and order feature importances from a scikit-learn model\n or from an array-like structure.",
" If data is a scikit-learn model with sub-estimators (e.g. RandomForest,\n AdaBoost) the function will compute the standard deviation of each\n feature.",
" Pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | part is a string of ipython text, comprised of at most one
input, one output, comments, and blank lines. The block parser
parses the text into a list of::
blocks = [ (TOKEN0, data0), (TOKEN1, data1), ...]
where TOKEN is one of [COMMENT | INPUT | OUTPUT ] and
data is, depending on the type of to... | "part is a string of ipython text, comprised of at most one\n input, one output, comments, and blank lines. The block parser\n parses the text into a list of::\n\n blocks = [ (TOKEN0, data0), (TOKEN1, data1), ...]\n\n where TOKEN is one of [COMMENT | INPUT | OUTPUT ] and\n data is, depending on the ty... | 104 | false | edublancas/sklearn-evaluation | block_parser | 36,541 | |
LDU_FT/LudovicRousseau/pyscard/hasFeature | LDU_FT | [
"<BEGIN>\n## `translateprotocolmask`",
"Translate CardConnection protocol mask into PCSC protocol mask.\n<END>",
"<BEGIN>\n## `translateprotocolheader`",
"Translate protocol into PCSC protocol header.\n<END>",
"<BEGIN>\n## `connect`",
"Connect to the card.",
" If protocol is not specified, connec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hasFeature API.
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 hasFeature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | return the controlCode for a feature or None
@param feature: feature to look for
@param featureList: feature list as returned by L{getFeatureRequest()}
@return: feature value or None | "return the controlCode for a feature or None\n\n @param feature: feature to look for\n @param featureList: feature list as returned by L{getFeatureRequest()}\n\n @return: feature value or None" | 164 | false | LudovicRousseau/pyscard | hasFeature | 36,542 | |
LDU_FT/GeospatialPython/pyshp/pointz | LDU_FT | [
"<BEGIN>\n## `signed_area`",
"Return the signed area enclosed by a ring using the linear time\r\n algorithm. A value >= 0 indicates a counter-clockwise oriented ring.\n<END>",
"<BEGIN>\n## `as_dict`",
"Returns this Record as a dictionary using the field names as keys\r\n :return: dict\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pointz API.
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 pointz API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Creates a POINTZ shape.
If the z (elevation) value is not set, it defaults to 0.
If the m (measure) value is not set, it defaults to NoData. | "Creates a POINTZ shape.\r\n If the z (elevation) value is not set, it defaults to 0.\r\n If the m (measure) value is not set, it defaults to NoData." | 82 | false | GeospatialPython/pyshp | pointz | 36,543 | |
LDU_FT/mushkevych/scheduler/month_to_year | LDU_FT | [
"<BEGIN>\n## `_process_state_embryo`",
"method that takes care of processing job records in STATE_EMBRYO state\n<END>",
"<BEGIN>\n## `_process_state_in_progress`",
"method that takes care of processing job records in STATE_IN_PROGRESS state\n<END>",
"<BEGIN>\n## `__process_non_finalizable_job`",
"method h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the month_to_year API.
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 month_to_year API.
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... | :param timeperiod: as string in YYYYMM0000 format
:return string in YYYY000000 format | ":param timeperiod: as string in YYYYMM0000 format\n :return string in YYYY000000 format" | 335 | false | mushkevych/scheduler | month_to_year | 36,544 | |
LDU_FT/rjdkmr/do_x3dna/generate_smooth_axis | LDU_FT | [
"<BEGIN>\n## `checkParametersInputFile`",
"Check the do_x3dna output file and return list of parameters present in the file.\n<END>",
"<BEGIN>\n## `setParametersFromFile`",
"Read a specific parameter from the do_x3dna output file.\n It automatically load the input parameter from a file to dna object or HDF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_smooth_axis 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 generate_smooth_axis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | To determine the global helical axis by smoothing local axis using spline interpolation.
.. note::
A 3D curve is fitted on local helical axis that are calculated using
``do_x3dna`` tool. Sometimes in few frames, fitting **may not** be
accurate and produces artifact. To recor... | "To determine the global helical axis by smoothing local axis using spline interpolation.\n\n .. note::\n A 3D curve is fitted on local helical axis that are calculated using\n ``do_x3dna`` tool. Sometimes in few frames, fitting **may not** be\n accurate and produces artifact. To... | 391 | false | rjdkmr/do_x3dna | generate_smooth_axis | 36,545 | |
LDU_FT/mcieslik-mctp/papy/imports | LDU_FT | [
"<BEGIN>\n## `_inspect`",
"(internal) Determines the type of a given ``object``. Discriminates between \n ``Piper``, ``Worker``, ``FunctionType`` and ``Iterable`` instances. It \n returns a ``tuple`` of boolean variables i.e: (is_piper, is_worker, \n is_function, is_iterable_of_pipers, is_iterable_of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the imports API.
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 imports API.
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... | Should be used as a decorator to *attach* import statments to function
definitions. These imports are added to the global (i.e. module-level of
the decorated function) namespace.
Two forms of import statements are supported (in the following examples
``foo``, ``bar``, ``oof, and ``rab`` are mo... | "Should be used as a decorator to *attach* import statments to function\n definitions. These imports are added to the global (i.e. module-level of \n the decorated function) namespace.\n \n Two forms of import statements are supported (in the following examples\n ``foo``, ``bar``, ``oof, and ``rab`` ... | 323 | false | mcieslik-mctp/papy | imports | 36,546 | |
LDU_FT/paulovn/sparql-kernel/magic | LDU_FT | [
"<BEGIN>\n## `token_at_cursor`",
"Find the token present at the passed position in the code buffer\n :return (tuple): a pair (token, start_position)\n<END>",
"<BEGIN>\n## `_send`",
"Send a response to the frontend and return an execute message\n @param data: response to send\n @param msg_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the magic API.
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 magic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Read and process magics
@param line (str): the full line containing a magic
@return (list): a tuple (output-message,css-class), where
the output message can be a single string or a list (containing
a Python format string and its arguments) | "Read and process magics\n @param line (str): the full line containing a magic\n @return (list): a tuple (output-message,css-class), where\n the output message can be a single string or a list (containing\n a Python format string and its arguments)" | 55 | false | paulovn/sparql-kernel | magic | 36,547 | |
LDU_FT/apacha/OMR-Datasets/extract_symbols | LDU_FT | [
"<BEGIN>\n## `move_images`",
"Moves png-files one directory up from path/image/*.png -> path/*.png\n<END>",
"<BEGIN>\n## `create_images`",
"Creates a visual representation of the Homus Dataset by parsing all text-files and the symbols as specified\n by the parameters by drawing lines that connect the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_symbols API.
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 extract_symbols API.
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... | Extracts the symbols from the raw XML documents and matching images of the Audiveris OMR dataset into
individual symbols
:param raw_data_directory: The directory, that contains the xml-files and matching images
:param destination_directory: The directory, in which the symbols should be generate... | "Extracts the symbols from the raw XML documents and matching images of the Audiveris OMR dataset into\n individual symbols\n\n :param raw_data_directory: The directory, that contains the xml-files and matching images\n :param destination_directory: The directory, in which the symbols should be gen... | 53 | false | apacha/OMR-Datasets | extract_symbols | 36,548 | |
LDU_FT/dpgaspar/Flask-AppBuilder/get_tables_for_bind | LDU_FT | [
"<BEGIN>\n## `dict_to_json`",
"Converts a list of dicts from datamodel query results\n to google chart json data.",
" :param xcol:\n The name of a string column to be used has X axis on chart\n :param ycols:\n A list with the names of series cols, that can be used as n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tables_for_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tables_for_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.
T... | Returns a list of all tables relevant for a bind. | "Returns a list of all tables relevant for a bind." | 393 | false | dpgaspar/Flask-AppBuilder | get_tables_for_bind | 36,549 | |
LDU_FT/TUT-ARG/sed_eval/results_overall_metrics | LDU_FT | [
"<BEGIN>\n## `result_report_overall`",
"Report overall results",
" Returns\n -------\n str\n result report in string format\n<END>",
"<BEGIN>\n## `result_report_class_wise_average`",
"Report class-wise averages",
" Returns\n -------\n str\n r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results_overall_metrics 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 results_overall_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Overall metrics
Returns
-------
dict
results in a dictionary format | "Overall metrics\n\n Returns\n -------\n dict\n results in a dictionary format" | 268 | false | TUT-ARG/sed_eval | results_overall_metrics | 36,550 | |
LDU_FT/scivision/pymap3d/isometric | LDU_FT | [
"<BEGIN>\n## `anglesep_meeus`",
"Parameters\n ----------",
" lon0 : float or numpy.ndarray of float\n longitude of first point\n lat0 : float or numpy.ndarray of float\n latitude of first point\n lon1 : float or numpy.ndarray of float\n longitude of second point\n lat1 : floa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isometric API.
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 isometric API.
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... | computes isometric latitude of a point on an ellipsoid
Parameters
----------
lat : float or numpy.ndarray of float
geodetic latitude
ell : Ellipsoid, optional
reference ellipsoid (default WGS84)
deg : bool, optional
degrees input/output (False: radians in/out)
... | "computes isometric latitude of a point on an ellipsoid\n\n Parameters\n ----------\n\n lat : float or numpy.ndarray of float\n geodetic latitude\n ell : Ellipsoid, optional\n reference ellipsoid (default WGS84)\n deg : bool, optional\n degrees input/output (False: radians i... | 293 | false | scivision/pymap3d | isometric | 36,551 | |
LDU_FT/agile-geoscience/welly/hex_is_dark | LDU_FT | [
"<BEGIN>\n## `sharey`",
"Shared axes limits without shared locators, ticks, etc.",
" By Joe Kington\n<END>",
"<BEGIN>\n## `fix_ticks`",
"Center ticklabels and hide any outside axes limits.",
" By Joe Kington\n<END>",
"<BEGIN>\n## `flatten_list`",
"Unpacks lists in a list:",
" [1, 2, [3,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hex_is_dark API.
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 hex_is_dark API.
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... | Function to decide if a hex colour is dark.
Args:
hexx (str): A hexadecimal colour, starting with '#'.
Returns:
bool: The colour's brightness is less than the given percent. | "Function to decide if a hex colour is dark.\n\n Args:\n hexx (str): A hexadecimal colour, starting with '#'.\n\n Returns:\n bool: The colour's brightness is less than the given percent." | 325 | false | agile-geoscience/welly | hex_is_dark | 36,552 | |
LDU_FT/Chilipp/model-organization/remove | LDU_FT | [
"<BEGIN>\n## `dir_contains`",
"Check if a file of directory is contained in another.",
" Parameters\n ----------\n dirname: str\n The base directory that should contain `path`\n path: str\n The name of a directory or file that should be in `dirname`\n exists: bool\n If True, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove the configuration of an experiment | "Remove the configuration of an experiment" | 161 | false | Chilipp/model-organization | remove | 36,553 | |
LDU_FT/duniter/duniter-python-api/add | LDU_FT | [
"<BEGIN>\n## `from_signed_raw`",
"Return Certification instance from signed raw document",
" :param signed_raw: Signed raw document\n :return:\n<END>",
"<BEGIN>\n## `from_inline`",
"Return Certification instance from inline document",
" Only self.pubkey_to is populated.\n You m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | POST identity raw document
:param client: Client to connect to the api
:param identity_signed_raw: Identity raw document
:return: | "POST identity raw document\n\n :param client: Client to connect to the api\n :param identity_signed_raw: Identity raw document\n :return:" | 415 | false | duniter/duniter-python-api | add | 36,554 | |
LDU_FT/anteater/anteater/scan_file | LDU_FT | [
"<BEGIN>\n## `scan_file`",
"Sends a file to virus total for assessment\n<END>",
"<BEGIN>\n## `send_ip`",
"Send IP address for list of past malicous domain associations\n<END>",
"<BEGIN>\n## `url_report`",
"Send URLS for list of past malicous associations\n<END>",
"<BEGIN>\n## `prepare_patchset`",
"Cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_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 extract... | Sends a file to virus total for assessment | "Sends a file to virus total for assessment" | 16 | false | anteater/anteater | scan_file | 36,555 | |
LDU_FT/modin-project/modin/_map_across_full_axis_select_indices | LDU_FT | [
"<BEGIN>\n## `_read_sql_with_offset_pandas_on_ray`",
"Use a Ray task to read a chunk of SQL source.",
" Note: Ray functions are not detected by codecov (thus pragma: no cover)\n<END>",
"<BEGIN>\n## `read_sql`",
"Read SQL query or database table into a DataFrame.",
" Args:\n sql: strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _map_across_full_axis_select_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _map_across_full_axis_select_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Maps function to select indices along full axis.
Args:
axis: 0 for columns and 1 for rows.
func: Callable mapping function over the BlockParitions.
indices: indices along axis to map over.
keep_remaining: True if keep indices where function was not applied.
... | "Maps function to select indices along full axis.\n\n Args:\n axis: 0 for columns and 1 for rows.\n func: Callable mapping function over the BlockParitions.\n indices: indices along axis to map over.\n keep_remaining: True if keep indices where function was not applied... | 811 | false | modin-project/modin | _map_across_full_axis_select_indices | 36,556 | |
LDU_FT/rosenbrockc/ci/install | LDU_FT | [
"<BEGIN>\n## `_get_github`",
"Creates an instance of github.Github to interact with the repos via the \n API interface in pygithub.\n<END>",
"<BEGIN>\n## `_parse_repo`",
"Parses a <repo> tag to update settings on this Repository instance.",
" :arg xml: the <repo> tag XMLElement.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
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 install API.
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... | Installs the repository at the specified XML path as an additional
repo to monitor pull requests for. | "Installs the repository at the specified XML path as an additional\n repo to monitor pull requests for." | 123 | false | rosenbrockc/ci | install | 36,557 | |
LDU_FT/flyingfrog81/fixreal/stream2real | LDU_FT | [
"<BEGIN>\n## `get_conv`",
"Creates a I{conversion structure} implented as a dictionary containing all parameters\n needed to switch between number representations.\n @param bits: the number of bits\n @param bin_point: binary point position\n @param signed: True if Fix, False if UFix\n @param scalin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream2real API.
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 stream2real API.
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... | Converts a binary stream into a sequence of real numbers
@param binary_stream: a binary string representing a sequence of numbers
@param conv: conv structure containing conversion specs
@param endianness: optionally specify bytes endianness for unpacking
@return: the list of real data represented | "Converts a binary stream into a sequence of real numbers\n @param binary_stream: a binary string representing a sequence of numbers\n @param conv: conv structure containing conversion specs\n @param endianness: optionally specify bytes endianness for unpacking\n @return: the list of real data represented" | 16 | false | flyingfrog81/fixreal | stream2real | 36,558 | |
LDU_FT/wavefrontHQ/python-client/user_get_messages | LDU_FT | [
"<BEGIN>\n## `display`",
"Sets the display of this Message.",
" The form of display for this message # noqa: E501",
" :param display: The display of this Message. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `scope`",
"Sets the scope of this Message.",
" The audience sco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_get_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_get_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Gets messages applicable to the current user, i.e. within time range and distribution scope # noqa: E501
# noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_get_messages(async_req... | "Gets messages applicable to the current user, i.e. within time range and distribution scope # noqa: E501\n\n # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.user_get_messages(asy... | 954 | false | wavefrontHQ/python-client | user_get_messages | 36,559 | |
LDU_FT/nickpandolfi/Cyther/processFiles | LDU_FT | [
"<BEGIN>\n## `get_content`",
"Finds the 'content' tag from a 'pattern' in the provided 'string'\n<END>",
"<BEGIN>\n## `extract`",
"Used to extract a given regex pattern from a string, given several options\n<END>",
"<BEGIN>\n## `extractRuntime`",
"Used to find the correct static lib name to pass to gcc\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the processFiles API.
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 processFiles API.
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... | Generates and error checks each file's information before the compilation actually starts | "Generates and error checks each file's information before the compilation actually starts" | 131 | false | nickpandolfi/Cyther | processFiles | 36,560 | |
LDU_FT/MinchinWeb/minchin.releaser/read_requirements | LDU_FT | [
"<BEGIN>\n## `copytree`",
"Copy a tree of files over.",
" Ignores a file if it already exists at the destination.\n<END>",
"<BEGIN>\n## `read_requirements`",
"Given a requirements.txt (or similar style file), returns a list of requirements.",
" Assumes anything after a single '#' on a line is a comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Given a requirements.txt (or similar style file), returns a list of requirements.
Assumes anything after a single '#' on a line is a comment, and ignores
empty lines. | "Given a requirements.txt (or similar style file), returns a list of requirements.\n\n Assumes anything after a single '#' on a line is a comment, and ignores\n empty lines." | 21 | false | MinchinWeb/minchin.releaser | read_requirements | 36,561 | |
LDU_FT/rshk/python-libxdo/mouse_down | LDU_FT | [
"<BEGIN>\n## `_errcheck`",
"Error checker for functions returning an integer indicating\n success (0) / failure (1).",
" Raises a XdoException in case of error, otherwise just\n returns ``None`` (returning the original code, 0, would be\n useless anyways..)\n<END>",
"<BEGIN>\n## `move_mouse`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mouse_down API.
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 mouse_down API.
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... | Send a mouse press (aka mouse down) for a given button at
the current mouse location.
:param window:
The window you want to send the event to or CURRENTWINDOW
:param button:
The mouse button. Generally, 1 is left, 2 is middle, 3 is
right, 4 is wheel up, 5 is ... | "Send a mouse press (aka mouse down) for a given button at\n the current mouse location.\n\n :param window:\n The window you want to send the event to or CURRENTWINDOW\n :param button:\n The mouse button. Generally, 1 is left, 2 is middle, 3 is\n right, 4 is wheel u... | 125 | false | rshk/python-libxdo | mouse_down | 36,562 | |
LDU_FT/Jetsetter/graphyte/_thread_loop | LDU_FT | [
"<BEGIN>\n## `stop`",
"Tell the sender thread to finish and wait for it to stop sending\n (should be at most \"timeout\" seconds).\n<END>",
"<BEGIN>\n## `build_message`",
"Build a Graphite message to send and return it as a byte string.\n<END>",
"<BEGIN>\n## `send`",
"Send given metric and (int or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _thread_loop API.
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 _thread_loop API.
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... | Background thread used when Sender is in asynchronous/interval mode. | "Background thread used when Sender is in asynchronous/interval mode." | 11 | false | Jetsetter/graphyte | _thread_loop | 36,563 | |
LDU_FT/webrecorder/warcio/_next_record | LDU_FT | [
"<BEGIN>\n## `_raise_invalid_gzip_err`",
"A gzip file with multiple ARC/WARC records, non-chunked\n has been detected. This is not valid for replay, so notify user\n<END>",
"<BEGIN>\n## `_consume_blanklines`",
"Consume blank lines that are between records\n - For warcs, there are usually 2\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _next_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _next_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 extr... | Use loader to parse the record from the reader stream
Supporting warc and arc records | "Use loader to parse the record from the reader stream\n Supporting warc and arc records" | 91 | false | webrecorder/warcio | _next_record | 36,564 | |
LDU_FT/kaste/mockito-python/get_obj | LDU_FT | [
"<BEGIN>\n## `verify`",
"Central interface to verify interactions.",
" `verify` uses a fluent interface::",
" verify(<obj>, times=2).<method_name>(<args>)",
" `args` can be as concrete as necessary. Often a catch-all is enough,\n especially if you're working with strict mocks, bc they throw ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_obj API.
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 obj for given dotted path.
Typical inputs for `path` are 'os' or 'os.path' in which case you get a
module; or 'os.path.exists' in which case you get a function from that
module.
Just returns the given input in case it is not a str.
Note: Relative imports not supported.
Raises ImportErr... | "Return obj for given dotted path.\n\n Typical inputs for `path` are 'os' or 'os.path' in which case you get a\n module; or 'os.path.exists' in which case you get a function from that\n module.\n\n Just returns the given input in case it is not a str.\n\n Note: Relative imports not supported.\n Raises... | 106 | false | kaste/mockito-python | get_obj | 36,565 | |
LDU_FT/aboSamoor/polyglot/_indent_xml | LDU_FT | [
"<BEGIN>\n## `most_frequent`",
"Only most frequent k words to be included in the embeddings.\n<END>",
"<BEGIN>\n## `normalize_words`",
"Normalize embeddings matrix row-wise.",
" Args:\n ord: normalization order. Possible values {1, 2, 'inf', '-inf'}\n<END>",
"<BEGIN>\n## `nearest_neighbors`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _indent_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _indent_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 extra... | Helper for ``build_index()``: Given an XML ``ElementTree``, modify it
(and its descendents) ``text`` and ``tail`` attributes to generate
an indented tree, where each nested element is indented by 2
spaces with respect to its parent. | "Helper for ``build_index()``: Given an XML ``ElementTree``, modify it\n (and its descendents) ``text`` and ``tail`` attributes to generate\n an indented tree, where each nested element is indented by 2\n spaces with respect to its parent." | 189 | false | aboSamoor/polyglot | _indent_xml | 36,566 | |
LDU_FT/johnwmillr/LyricsGenius/save_lyrics | LDU_FT | [
"<BEGIN>\n## `get_artist_songs`",
"Documents (songs) for the artist specified.\n<END>",
"<BEGIN>\n## `_scrape_song_lyrics_from_url`",
"Use BeautifulSoup to scrape song info off of a Genius song URL\n :param url: URL for the web page to scrape lyrics from\n<END>",
"<BEGIN>\n## `_clean_str`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_lyrics API.
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 save_lyrics API.
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... | Allows user to save song lyrics from Song object to a .json or .txt file. | "Allows user to save song lyrics from Song object to a .json or .txt file." | 25 | false | johnwmillr/LyricsGenius | save_lyrics | 36,567 | |
LDU_FT/bfontaine/term2048/saveBestScore | LDU_FT | [
"<BEGIN>\n## `adjustColors`",
"Change a few colors depending on the mode to use. The default mode\n doesn't assume anything and avoid using white & black colors. The dark\n mode use white and avoid dark blue while the light mode use black and\n avoid yellow, to give a few examples.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the saveBestScore API.
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 saveBestScore API.
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... | save current best score in the default file | "save current best score in the default file" | 28 | false | bfontaine/term2048 | saveBestScore | 36,568 | |
LDU_FT/wiredrive/wtframework/create_page | LDU_FT | [
"<BEGIN>\n## `print_debug`",
"Print if and only if the debug flag is set true in the config.yaml file.",
" Args:\n args : var args of print arguments.\n<END>",
"<BEGIN>\n## `print_time`",
"Print the current elapsed time.",
" Kwargs:\n message (str) : Message to prefix the time ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_page API.
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 create_page API.
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... | Class method short cut to call PageFactory on itself. Use it to instantiate
this PageObject using a webdriver.
Args:
webdriver (Webdriver): Instance of Selenium Webdriver.
Returns:
PageObject
Raises:
InvalidPageError | "Class method short cut to call PageFactory on itself. Use it to instantiate \n this PageObject using a webdriver.\n\n Args:\n webdriver (Webdriver): Instance of Selenium Webdriver.\n\n Returns:\n PageObject\n\n Raises:\n InvalidPageError" | 236 | false | wiredrive/wtframework | create_page | 36,569 | |
LDU_FT/tlatsas/wigiki/cli | LDU_FT | [
"<BEGIN>\n## `cli`",
"Read program parameters from command line and configuration files",
" We support both command line arguments and configuration files.\n The command line arguments have always precedence over any\n configuration file parameters. This allows us to have most of\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Read program parameters from command line and configuration files
We support both command line arguments and configuration files.
The command line arguments have always precedence over any
configuration file parameters. This allows us to have most of
our options in files but override th... | "Read program parameters from command line and configuration files\n\n We support both command line arguments and configuration files.\n The command line arguments have always precedence over any\n configuration file parameters. This allows us to have most of\n our options in files but overr... | 11 | false | tlatsas/wigiki | cli | 36,570 | |
LDU_FT/ymoch/apyori/load_transactions | LDU_FT | [
"<BEGIN>\n## `create_next_candidates`",
"Returns the apriori candidates as a list.",
" Arguments:\n prev_candidates -- Previous candidates as a list.\n length -- The lengths of the next candidates.\n<END>",
"<BEGIN>\n## `gen_support_records`",
"Returns a generator of support records with gi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_transactions API.
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 load_transactions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load transactions and returns a generator for transactions.
Arguments:
input_file -- An input file.
Keyword arguments:
delimiter -- The delimiter of the transaction. | "Load transactions and returns a generator for transactions.\n\n Arguments:\n input_file -- An input file.\n\n Keyword arguments:\n delimiter -- The delimiter of the transaction." | 39 | false | ymoch/apyori | load_transactions | 36,571 | |
LDU_FT/jkitzes/macroeco/data_read_write | LDU_FT | [
"<BEGIN>\n## `get_theme_dir`",
"Returns path to directory containing this package's theme.",
" This is designed to be used when setting the ``html_theme_path``\n option within Sphinx's ``conf.py`` file.\n<END>",
"<BEGIN>\n## `_geom_solve_p_from_mu`",
"For the geom_uptrunc, given mu and b, return p.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_read_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_read_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 e... | General function to read, format, and write data.
Parameters
----------
data_path_in : str
Path to the file that will be read
data_path_out : str
Path of the file that will be output
format_type : str
Either 'dense', 'grid', 'columnar', or 'transect'
kwargs
Speci... | "General function to read, format, and write data.\n\n Parameters\n ----------\n data_path_in : str\n Path to the file that will be read\n data_path_out : str\n Path of the file that will be output\n format_type : str\n Either 'dense', 'grid', 'columnar', or 'transect'\n kwargs\n ... | 337 | false | jkitzes/macroeco | data_read_write | 36,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.