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/ricmoo/pyscrypt/pbkdf2_single | LDU_FT | [
"<BEGIN>\n## `pbkdf2_single`",
"Returns the result of the Password-Based Key Derivation Function 2 with\n a single iteration (i.e. count = 1).",
" prf - a psuedorandom function",
" See http://en.wikipedia.org/wiki/PBKDF2\n<END>",
"<BEGIN>\n## `salsa20_8`",
"Salsa 20/8 stream cypher; Used... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pbkdf2_single API.
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 pbkdf2_single API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns the result of the Password-Based Key Derivation Function 2 with
a single iteration (i.e. count = 1).
prf - a psuedorandom function
See http://en.wikipedia.org/wiki/PBKDF2 | "Returns the result of the Password-Based Key Derivation Function 2 with\n a single iteration (i.e. count = 1).\n\n prf - a psuedorandom function\n\n See http://en.wikipedia.org/wiki/PBKDF2" | 33 | false | ricmoo/pyscrypt | pbkdf2_single | 37,973 | |
LDU_FT/hannes-brt/cudnn-python-wrappers/cudnnSetTensor4dDescriptor | LDU_FT | [
"<BEGIN>\n## `cudnnCreate`",
"Initialize cuDNN.",
" Initializes cuDNN and returns a handle to the cuDNN context.",
" Returns\n -------",
" handle : cudnnHandle\n cuDNN context\n<END>",
"<BEGIN>\n## `cudnnDestroy`",
"Release cuDNN resources.",
" Release hardware resources used by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudnnSetTensor4dDescriptor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudnnSetTensor4dDescriptor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Initialize a previously created Tensor 4D object.
This function initializes a previously created Tensor4D descriptor object. The strides of
the four dimensions are inferred from the format parameter and set in such a way that
the data is contiguous in memory with no padding between dimensions.
Paramet... | "Initialize a previously created Tensor 4D object.\n\n This function initializes a previously created Tensor4D descriptor object. The strides of\n the four dimensions are inferred from the format parameter and set in such a way that\n the data is contiguous in memory with no padding between dimensions.\n\n ... | 108 | false | hannes-brt/cudnn-python-wrappers | cudnnSetTensor4dDescriptor | 37,974 | |
LDU_FT/CityOfZion/neo-python-rpc/get_balance | LDU_FT | [
"<BEGIN>\n## `get_account`",
"Look up an account on the blockchain. Sample output:",
" Args:\n address: (str) address to lookup ( in format 'AXjaFSP23Jkbe6Pk9pPGT6NBDs1HVdqaXK')\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) end... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_balance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_balance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get balance by asset hash
Args:
asset_hash: (str) asset to lookup, example would be 'c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b'
id: (int, optional) id to use for response tracking
endpoint: (RPCEndpoint, optional) endpoint to specify to use
Ret... | "Get balance by asset hash\n Args:\n asset_hash: (str) asset to lookup, example would be 'c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b'\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) endpoint to specify to use\n\n ... | 76 | false | CityOfZion/neo-python-rpc | get_balance | 37,975 | |
LDU_FT/vecnet/vecnet.openmalaria/continuous | LDU_FT | [
"<BEGIN>\n## `get_percentage_from_prob`",
"Converted probability of being treated to total percentage of clinical cases treated\n<END>",
"<BEGIN>\n## `get_schema_version_from_xml`",
"Get schemaVersion attribute from OpenMalaria scenario file\n xml - open file or content of xml document to be processed\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the continuous API.
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 continuous API.
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... | List of measures in <continuous> section
Example: ["simulated EIR", "GVI coverage"]
:rtype: list | "List of measures in <continuous> section\n Example: [\"simulated EIR\", \"GVI coverage\"]\n :rtype: list" | 42 | false | vecnet/vecnet.openmalaria | continuous | 37,976 | |
LDU_FT/wtolson/gnsq/publish_http | LDU_FT | [
"<BEGIN>\n## `read_response`",
"Read an individual response from nsqd.",
" :returns: tuple of the frame type and the processed data.\n<END>",
"<BEGIN>\n## `identify`",
"Update client metadata on the server and negotiate features.",
" :returns: nsqd response data if there was feature negotiat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_http API.
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 publish_http API.
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 :meth:`NsqdHTTPClient.publish` instead.
.. deprecated:: 1.0.0 | "Use :meth:`NsqdHTTPClient.publish` instead.\n\n .. deprecated:: 1.0.0" | 96 | false | wtolson/gnsq | publish_http | 37,977 | |
LDU_FT/sprockets/sprockets.mixins.http/_http_req_body_serialize | LDU_FT | [
"<BEGIN>\n## `append_response`",
"Append the response to the stack of responses.",
" :param tornado.httpclient.HTTPResponse response: The HTTP response\n<END>",
"<BEGIN>\n## `body`",
"Returns the HTTP response body, deserialized if possible.",
" :rtype: mixed\n<END>",
"<BEGIN>\n## `links`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _http_req_body_serialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _http_req_body_serialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Conditionally serialize the request body value if mime_type is set
and it's serializable.
:param mixed body: The request body
:param str content_type: The content type for the request body
:raises: ValueError | "Conditionally serialize the request body value if mime_type is set\n and it's serializable.\n\n :param mixed body: The request body\n :param str content_type: The content type for the request body\n :raises: ValueError" | 35 | false | sprockets/sprockets.mixins.http | _http_req_body_serialize | 37,978 | |
LDU_FT/gregmuellegger/django-superform/save | LDU_FT | [
"<BEGIN>\n## `add_composite_field`",
"Add a dynamic composite field to the already existing ones and\n initialize it appropriatly.\n<END>",
"<BEGIN>\n## `get_composite_field_value`",
"Return the form/formset instance for the given field name.\n<END>",
"<BEGIN>\n## `full_clean`",
"Clean the form, in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | When saving a super model form, the nested forms and formsets will be
saved as well.
The implementation of ``.save()`` looks like this:
.. code:: python
saved_obj = self.save_form()
self.save_forms()
self.save_formsets()
return saved_obj
... | "When saving a super model form, the nested forms and formsets will be\n saved as well.\n\n The implementation of ``.save()`` looks like this:\n\n .. code:: python\n\n saved_obj = self.save_form()\n self.save_forms()\n self.save_formsets()\n return saved_... | 37 | false | gregmuellegger/django-superform | save | 37,979 | |
LDU_FT/gtaylor/python-colormath/delta_e_cie1976 | LDU_FT | [
"<BEGIN>\n## `get_value_tuple`",
"Returns a tuple of the color's values (in order). For example,\n an LabColor object will return (lab_l, lab_a, lab_b), where each\n member of the tuple is the float value for said variable.\n<END>",
"<BEGIN>\n## `set_observer`",
"Validates and sets the color's o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delta_e_cie1976 API.
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 delta_e_cie1976 API.
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... | Calculates the Delta E (CIE1976) of two colors. | "Calculates the Delta E (CIE1976) of two colors." | 133 | false | gtaylor/python-colormath | delta_e_cie1976 | 37,980 | |
LDU_FT/vmware/pyvmomi/LookupWsdlType | LDU_FT | [
"<BEGIN>\n## `_AddType`",
"Note: Must be holding the _lazyLock, or in main init path\n<END>",
"<BEGIN>\n## `GetServiceVersions`",
"Get all the versions for the service with specified namespace (partially) ordered\n by compatibility (i.e. any version in the list that is compatible with some version\n v in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LookupWsdlType API.
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 LookupWsdlType API.
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... | Lookup wsdl type. Handle special case for some vmodl version | "Lookup wsdl type. Handle special case for some vmodl version" | 128 | false | vmware/pyvmomi | LookupWsdlType | 37,981 | |
LDU_FT/googleapis/google-auth-library-python-oauthlib/from_client_config | LDU_FT | [
"<BEGIN>\n## `main`",
"Command-line tool for obtaining authorization and credentials from a user.",
" This tool uses the OAuth 2.0 Authorization Code grant as described\n in section 1.3.1 of RFC6749:\n https://tools.ietf.org/html/rfc6749#section-1.3.1",
" This tool is intended for assist developer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_client_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_client_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Creates a :class:`requests_oauthlib.OAuth2Session` from client
configuration loaded from a Google-format client secrets file.
Args:
client_config (Mapping[str, Any]): The client
configuration in the Google `client secrets`_ format.
scopes (Sequence[str]): The lis... | "Creates a :class:`requests_oauthlib.OAuth2Session` from client\n configuration loaded from a Google-format client secrets file.\n\n Args:\n client_config (Mapping[str, Any]): The client\n configuration in the Google `client secrets`_ format.\n scopes (Sequence[str]): ... | 54 | false | googleapis/google-auth-library-python-oauthlib | from_client_config | 37,982 | |
LDU_FT/btr1975/persistentdatatools/dict_to_csv | LDU_FT | [
"<BEGIN>\n## `verify_file_exists`",
"Function to verify if a file exists\n Args:\n file_name: The name of file to check\n file_location: The location of the file, derive from the os module",
" Returns: returns boolean True or False\n<END>",
"<BEGIN>\n## `file_name_increase`",
"Function t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_to_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_to_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Function to export a dictionary to a csv file
Args:
orig_dict: The dictionary you want exported
file_name: The name of the exported file
field_names_tuple: The fieldnames in a tuple
file_location: The location of the file, derive from the os module
Returns: returns the filename ... | "Function to export a dictionary to a csv file\n Args:\n orig_dict: The dictionary you want exported\n file_name: The name of the exported file\n field_names_tuple: The fieldnames in a tuple\n file_location: The location of the file, derive from the os module\n\n Returns: returns the f... | 56 | false | btr1975/persistentdatatools | dict_to_csv | 37,983 | |
LDU_FT/GluuFederation/oxd-python/request | LDU_FT | [
"<BEGIN>\n## `register_site`",
"Function to register the site and generate a unique ID for the site",
" Returns:\n **string:** The ID of the site (also called client id) if the registration is successful",
" Raises:\n **OxdServerError:** If the site registration fails.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Function that builds the request and returns the response from
oxd-server
Parameters:
* **command (str):** The command that has to be sent to the oxd-server
* ** **kwargs:** The parameters that should accompany the request
Returns:
**dict:** the returned res... | "Function that builds the request and returns the response from\n oxd-server\n\n Parameters:\n * **command (str):** The command that has to be sent to the oxd-server\n * ** **kwargs:** The parameters that should accompany the request\n\n Returns:\n **dict:** the ret... | 124 | false | GluuFederation/oxd-python | request | 37,984 | |
LDU_FT/sckott/pygbif/networks | LDU_FT | [
"<BEGIN>\n## `name_suggest`",
"A quick and simple autocomplete service that returns up to 20 name usages by\n doing prefix matching against the scientific name. Results are ordered by relevance.",
" :param q: [str] Simple search parameter. The value for this parameter can be a\n simple word or a phrase. W... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the networks API.
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 networks API.
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... | Networks metadata.
Note: there's only 1 network now, so there's not a lot you can do with this method.
:param data: [str] The type of data to get. Default: ``all``
:param uuid: [str] UUID of the data network provider. This must be specified if data
is anything other than ``all``.
:param q: [str] Query ne... | "Networks metadata.\n\n Note: there's only 1 network now, so there's not a lot you can do with this method.\n\n :param data: [str] The type of data to get. Default: ``all``\n :param uuid: [str] UUID of the data network provider. This must be specified if data\n is anything other than ``all``.\n :param q: [str] ... | 300 | false | sckott/pygbif | networks | 37,985 | |
LDU_FT/dls-controls/pymalcolm/from_yaml | LDU_FT | [
"<BEGIN>\n## `camel_to_title`",
"Takes a camelCaseFieldName and returns an Title Case Field Name",
" Args:\n name (str): E.g. camelCaseFieldName",
" Returns:\n str: Title Case converted name. E.g. Camel Case Field Name\n<END>",
"<BEGIN>\n## `snake_to_camel`",
"Takes a snake_field_name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_yaml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_yaml API.
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... | Split a dictionary into parameters controllers parts blocks defines
Args:
yaml_path (str): File path to YAML file, or a file in the same dir
filename (str): If give, use this filename as the last element in
the yaml_path (so yaml_path can be __file__)
Returns:
... | "Split a dictionary into parameters controllers parts blocks defines\n\n Args:\n yaml_path (str): File path to YAML file, or a file in the same dir\n filename (str): If give, use this filename as the last element in\n the yaml_path (so yaml_path can be __file__)\n\n Re... | 332 | false | dls-controls/pymalcolm | from_yaml | 37,986 | |
LDU_FT/upsight/doctor/_parse_boolean | LDU_FT | [
"<BEGIN>\n## `_parse_array`",
"Coerce value into an list.",
" :param str value: Value to parse.\n :returns: list or None if the value is not a JSON array\n :raises: TypeError or ValueError if value appears to be an array but can't\n be parsed as JSON.\n<END>",
"<BEGIN>\n## `_parse_boolean`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_boolean API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_boolean API.
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... | Coerce value into an bool.
:param str value: Value to parse.
:returns: bool or None if the value is not a boolean string. | "Coerce value into an bool.\n\n :param str value: Value to parse.\n :returns: bool or None if the value is not a boolean string." | 236 | false | upsight/doctor | _parse_boolean | 37,987 | |
LDU_FT/sunt05/SuPy/gen_rst_url_split_opts | LDU_FT | [
"<BEGIN>\n## `_path_insensitive`",
"Recursive part of path_insensitive to do the work.\n<END>",
"<BEGIN>\n## `url_is_alive`",
"Checks that a given URL is reachable.\n :param url: A URL\n :rtype: bool\n<END>",
"<BEGIN>\n## `form_option`",
"generate option name based suffix for URL",
" :param str... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_rst_url_split_opts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_rst_url_split_opts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | generate option list for RST docs
Parameters
----------
opts_str : str
a string including all SUEWS related options/variables.
e.g. 'SUEWS_a, SUEWS_b'
Returns
-------
list
a list of parsed RST `:ref:` roles.
e.g. [':option:`SUEWS_a <suews:SUEWS_a>`'] | "generate option list for RST docs\n\n Parameters\n ----------\n opts_str : str\n a string including all SUEWS related options/variables.\n e.g. 'SUEWS_a, SUEWS_b'\n\n\n Returns\n -------\n list\n a list of parsed RST `:ref:` roles.\n e.g. [':option:`SUEWS_a <suews:SUEWS_a>... | 143 | false | sunt05/SuPy | gen_rst_url_split_opts | 37,988 | |
LDU_FT/juju/charm-helpers/port_knock_tcp | LDU_FT | [
"<BEGIN>\n## `get_ubuntu_release_from_sentry`",
"Get Ubuntu release codename from sentry unit.",
" :param sentry_unit: amulet sentry/service unit pointer\n :returns: list of strings - release codename, failure message\n<END>",
"<BEGIN>\n## `validate_services`",
"Validate that lists of commands... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the port_knock_tcp API.
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 port_knock_tcp API.
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... | Open a TCP socket to check for a listening sevice on a host.
:param host: host name or IP address, default to localhost
:param port: TCP port number, default to 22
:param timeout: Connect timeout, default to 15 seconds
:returns: True if successful, False if connect failed | "Open a TCP socket to check for a listening sevice on a host.\n\n :param host: host name or IP address, default to localhost\n :param port: TCP port number, default to 22\n :param timeout: Connect timeout, default to 15 seconds\n :returns: True if successful, False if connect failed" | 1,689 | true | juju/charm-helpers | port_knock_tcp | 37,989 | |
LDU_FT/brunobord/meuhdb/update | LDU_FT | [
"<BEGIN>\n## `autocommit`",
"A decorator to commit to the storage if autocommit is set to True.\n<END>",
"<BEGIN>\n## `intersect`",
"Intersect dictionaries d1 and d2 by key *and* value.\n<END>",
"<BEGIN>\n## `insert`",
"Insert value in the keystore. Return the UUID key.\n<END>",
"<BEGIN>\n## `update`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update a `key` in the keystore.
If the key is non-existent, it's being created | "Update a `key` in the keystore.\n If the key is non-existent, it's being created" | 24 | false | brunobord/meuhdb | update | 37,990 | |
LDU_FT/pauleveritt/kaybee/env_updated | LDU_FT | [
"<BEGIN>\n## `render`",
"Given a Sphinx builder and context with sphinx_app in it,\n generate HTML\n<END>",
"<BEGIN>\n## `in_navitem`",
"Given href of nav item, determine if resource is in it\n<END>",
"<BEGIN>\n## `is_published`",
"Return true if this resource has published date in the past\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_updated API.
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 env_updated API.
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... | Make images and enter them in Sphinx's output writer | "Make images and enter them in Sphinx's output writer" | 71 | false | pauleveritt/kaybee | env_updated | 37,991 | |
LDU_FT/gijzelaerr/python-snap7/get_stats | LDU_FT | [
"<BEGIN>\n## `check_error`",
"check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>",
"<BEGIN>\n## `error_text`",
"Returns a textual explanation of a given error number",
" :param error: an error integer\n :param context: server, client or partner... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns some statistics.
:returns: a tuple containing bytes send, received, send errors, recv errors | "Returns some statistics.\n\n :returns: a tuple containing bytes send, received, send errors, recv errors" | 150 | false | gijzelaerr/python-snap7 | get_stats | 37,992 | |
LDU_FT/AnthonyBloomer/daftlistings/overviews | LDU_FT | [
"<BEGIN>\n## `set_address`",
"Set the address.\n :param address:\n<END>",
"<BEGIN>\n## `set_min_lease`",
"Set the minimum lease period in months.\n :param min_lease: int\n<END>",
"<BEGIN>\n## `set_added_since`",
"Set this to retrieve ads that are a given number of days old.\n For exam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overviews API.
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 overviews API.
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... | This method returns the properties overviews.
:return: | "This method returns the properties overviews.\n :return:" | 96 | false | AnthonyBloomer/daftlistings | overviews | 37,993 | |
LDU_FT/rapidpro/expressions/visitComparisonExpression | LDU_FT | [
"<BEGIN>\n## `_read_requirements`",
"Returns a list of package requirements read from the file.\n<END>",
"<BEGIN>\n## `field`",
"Reference a field in string separated by a delimiter\n<END>",
"<BEGIN>\n## `epoch`",
"Converts the given date to the number of seconds since January 1st, 1970 UTC\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visitComparisonExpression 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 visitComparisonExpression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | expression: expression (LTE | LT | GTE | GT) expression | "expression: expression (LTE | LT | GTE | GT) expression" | 124 | false | rapidpro/expressions | visitComparisonExpression | 37,994 | |
LDU_FT/Leeps-Lab/otree-redwood/send | LDU_FT | [
"<BEGIN>\n## `message`",
"Dictionary representation of the Event appropriate for JSON-encoding.\n<END>",
"<BEGIN>\n## `save`",
"Saving an Event automatically sets the timestamp if not already set.\n<END>",
"<BEGIN>\n## `_on_connect`",
"Called from the WebSocket consumer. Checks if all players in the group... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Send a message with the given payload on the given channel.
Messages are broadcast to all players in the group. | "Send a message with the given payload on the given channel.\n Messages are broadcast to all players in the group." | 18 | false | Leeps-Lab/otree-redwood | send | 37,995 | |
LDU_FT/burnash/gspread/cell | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.",
" :returns: :class:`gspread.Client` instance.\n<END>",
"<BEGIN>\n## `batch_update`",
"Lower-level method ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cell API.
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 cell API.
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... | Returns an instance of a :class:`gspread.models.Cell` located at
`row` and `col` column.
:param row: Row number.
:type row: int
:param col: Column number.
:type col: int
:param value_render_option: (optional) Determines how values should be
... | "Returns an instance of a :class:`gspread.models.Cell` located at\n `row` and `col` column.\n\n :param row: Row number.\n :type row: int\n :param col: Column number.\n :type col: int\n :param value_render_option: (optional) Determines how values should be\n ... | 226 | false | burnash/gspread | cell | 37,996 | |
LDU_FT/nfcpy/nfcpy/get_records | LDU_FT | [
"<BEGIN>\n## `reset_mode`",
"Send a Reset command to set the operation mode to 0.\n<END>",
"<BEGIN>\n## `sense_tta`",
"Activate the RF field and probe for a Type A Target.",
" The RC-S956 can discover all Type A Targets (Type 1 Tag, Type\n 2 Tag, and Type 4A Tag) at 106 kbps. Due to firmware\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_records API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_records API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get NDEF message records from a SNEP Server.
.. versionadded:: 0.13
The :class:`ndef.Record` list given by *records* is encoded as
the request message octets input to :meth:`get_octets`. The
return value is an :class:`ndef.Record` list decoded from the
response message octets r... | "Get NDEF message records from a SNEP Server.\n\n .. versionadded:: 0.13\n\n The :class:`ndef.Record` list given by *records* is encoded as\n the request message octets input to :meth:`get_octets`. The\n return value is an :class:`ndef.Record` list decoded from the\n response message ... | 452 | false | nfcpy/nfcpy | get_records | 37,997 | |
LDU_FT/MisterWil/abodepy/add_timeline_callback | LDU_FT | [
"<BEGIN>\n## `map_event_code`",
"Map a specific event_code to an event group.\n<END>",
"<BEGIN>\n## `desc`",
"Get a short description of the automation.\n<END>",
"<BEGIN>\n## `_get_numeric_status`",
"Extract the numeric value from the statuses object.\n<END>",
"<BEGIN>\n## `is_on`",
"Get sensor state.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_timeline_callback 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 add_timeline_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Register a callback for a specific timeline event. | "Register a callback for a specific timeline event." | 53 | false | MisterWil/abodepy | add_timeline_callback | 37,998 | |
LDU_FT/dcwatson/django-pgcrypto/aes_pad_key | LDU_FT | [
"<BEGIN>\n## `armor`",
"Returns a string in ASCII Armor format, for the given binary data. The\n output of this is compatiple with pgcrypto's armor/dearmor functions.\n<END>",
"<BEGIN>\n## `dearmor`",
"Given a string in ASCII Armor format, returns the decoded binary data.\n If verify=True (the default),... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aes_pad_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aes_pad_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 extra... | AES keys must be either 16, 24, or 32 bytes long. If a key is provided that is not
one of these lengths, pad it with zeroes (this is what pgcrypto does). | "AES keys must be either 16, 24, or 32 bytes long. If a key is provided that is not\n one of these lengths, pad it with zeroes (this is what pgcrypto does)." | 14 | false | dcwatson/django-pgcrypto | aes_pad_key | 37,999 | |
LDU_FT/CognitionGuidedSurgery/pyclictk/from_etree | LDU_FT | [
"<BEGIN>\n## `build_argument_parser`",
"creates an argument parser from the given `executable` model.",
" An argument '__xml__' for \"--xml\" is added independently.",
" :param executable: CLI Model\n :type executable: clictk.model.Executable\n :return:\n<END>",
"<BEGIN>\n## `cmdline`",
"Gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_etree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_etree API.
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... | Constructs an executable form a given ElementTree structure.
:param tree:
:type tree: xml.etree.ElementTree.ElementTree
:rtype: Executable | "Constructs an executable form a given ElementTree structure.\n\n :param tree:\n :type tree: xml.etree.ElementTree.ElementTree\n\n :rtype: Executable" | 14 | false | CognitionGuidedSurgery/pyclictk | from_etree | 38,000 | |
LDU_FT/ssalentin/plip/atom_by_serialnumber | LDU_FT | [
"<BEGIN>\n## `process_pdb`",
"Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>",
"<BEGIN>\n## `download_structure`",
"Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atom_by_serialnumber 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 atom_by_serialnumber API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Provides a dictionary mapping serial numbers to their atom objects. | "Provides a dictionary mapping serial numbers to their atom objects." | 176 | false | ssalentin/plip | atom_by_serialnumber | 38,001 | |
LDU_FT/happyleavesaoc/aoc-mgz/guess_finished | LDU_FT | [
"<BEGIN>\n## `ObjectEnum`",
"Object Enumeration.",
" Should export the whole list from the game for the best accuracy.\n<END>",
"<BEGIN>\n## `_parse`",
"Parse stream to find a given byte string.\n<END>",
"<BEGIN>\n## `_parse`",
"Parse until a given byte string is found.\n<END>",
"<BEGIN>\n## `_find... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_finished API.
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 guess_finished API.
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... | Sometimes a game is finished, but not recorded as such. | "Sometimes a game is finished, but not recorded as such." | 43 | false | happyleavesaoc/aoc-mgz | guess_finished | 38,002 | |
LDU_FT/frmdstryr/enamlx/_get_columns | LDU_FT | [
"<BEGIN>\n## `_prefetch_items`",
"When the current_row in the model changes (whether from scrolling) or\n set by the application. Make sure the results are loaded!\n<END>",
"<BEGIN>\n## `refresh_items`",
"Refresh the items of the pattern.",
" This method destroys the old items and creates and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_columns API.
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_columns API.
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... | List of child TreeViewColumns including
this item as the first column | "List of child TreeViewColumns including \n this item as the first column" | 133 | false | frmdstryr/enamlx | _get_columns | 38,003 | |
LDU_FT/twidi/py-dataql/solve | LDU_FT | [
"<BEGIN>\n## `EntryPoints`",
"Returns an object to use as entry point when calling ``registry.solve_resource``.",
" When calling ``registry.solve_resource`` on a \"root\" resource, we don't have any value.\n This function will create a object to use as a first value and is used to specify which\n entry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve API.
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 solve API.
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... | Try to get the given attribute/function result for the given value.
If ``args`` or ``kwargs`` are passed, the attribute got from ``value`` must be callable.
They will be passed anyway (using ``[]`` and ``{}`` as default values) if the attribute
is a function.
Arguments
--------... | "Try to get the given attribute/function result for the given value.\n\n If ``args`` or ``kwargs`` are passed, the attribute got from ``value`` must be callable.\n They will be passed anyway (using ``[]`` and ``{}`` as default values) if the attribute\n is a function.\n\n Arguments\n ... | 210 | false | twidi/py-dataql | solve | 38,004 | |
LDU_FT/azraq27/neural/connectivity_map | LDU_FT | [
"<BEGIN>\n## `connectivity_map`",
"Will perform connectivity analysis on ``dset`` using seed point ``(x,y,z)`` (in RAI order) with a sphere of radius ``radius``.\n Does not perform any preprocessing of ``dset``. This should be already motion corrected, noise-regressed, residualized, etc.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connectivity_map API.
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 connectivity_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Will perform connectivity analysis on ``dset`` using seed point ``(x,y,z)`` (in RAI order) with a sphere of radius ``radius``.
Does not perform any preprocessing of ``dset``. This should be already motion corrected, noise-regressed, residualized, etc. | "Will perform connectivity analysis on ``dset`` using seed point ``(x,y,z)`` (in RAI order) with a sphere of radius ``radius``.\n Does not perform any preprocessing of ``dset``. This should be already motion corrected, noise-regressed, residualized, etc." | 232 | false | azraq27/neural | connectivity_map | 38,005 | |
LDU_FT/tcalmant/ipopo/fromimportreg | LDU_FT | [
"<BEGIN>\n## `__conn_listener`",
"Connection event listener",
" :param state: The new connection state\n<END>",
"<BEGIN>\n## `__path`",
"Adds the prefix to the given path",
" :param path: Z-Path\n :return: Prefixed Z-Path\n<END>",
"<BEGIN>\n## `create`",
"Creates a ZooKeeper node"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromimportreg API.
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 fromimportreg API.
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... | Creates a RemoteServiceAdminEvent object from an ImportRegistration | "Creates a RemoteServiceAdminEvent object from an ImportRegistration" | 1,396 | true | tcalmant/ipopo | fromimportreg | 38,006 | |
LDU_FT/CitrineInformatics/pif-dft/get_dos | LDU_FT | [
"<BEGIN>\n## `generate_from_directory`",
"Create a parser by defining which input files it will read from.",
" Input:\n directory - str, directory to read from\n files - str, list of files from which to search.\n<END>",
"<BEGIN>\n## `get_composition`",
"Get composition of output... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dos API.
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_dos API.
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... | Find the total DOS shifted by the Fermi energy | "Find the total DOS shifted by the Fermi energy" | 55 | false | CitrineInformatics/pif-dft | get_dos | 38,007 | |
LDU_FT/HydrelioxGitHub/pyiss/pass_times | LDU_FT | [
"<BEGIN>\n## `people_in_space`",
"Number of people in space.\n Be aware that does not mean these people are inside the ISS (it does\n most of the time), They can be travelling to and from the station.",
" :return: Return a dict with number of people in space right now and\n their nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pass_times API.
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 pass_times API.
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... | The next pass times of the ISS.
:param latitude: latitude in degrees of location you want iss pass
above
:type latitude: float
:param longitude: longitude in degrees of location you want iss pass
above
:type longitude: float
:param altitude: altitude in meters of... | "The next pass times of the ISS.\n\n :param latitude: latitude in degrees of location you want iss pass\n above\n :type latitude: float\n :param longitude: longitude in degrees of location you want iss pass\n above\n :type longitude: float\n :param altitude: altitude in ... | 15 | false | HydrelioxGitHub/pyiss | pass_times | 38,008 | |
LDU_FT/taskcluster/taskcluster-client.py/client | LDU_FT | [
"<BEGIN>\n## `ping`",
"Ping Server",
" Respond without doing anything.\n This endpoint is used to check that the service is up.",
" This method is ``stable``\n<END>",
"<BEGIN>\n## `githubWebHookConsumer`",
"Consume GitHub WebHook",
" Capture a GitHub event and publish it via ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client API.
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 client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Get Client
Get information about a single client.
This method gives output: ``v1/get-client-response.json#``
This method is ``stable`` | "Get Client\n\n Get information about a single client.\n\n This method gives output: ``v1/get-client-response.json#``\n\n This method is ``stable``" | 997 | false | taskcluster/taskcluster-client.py | client | 38,009 | |
LDU_FT/mapbox/mapbox-sdk-py/delete_dataset | LDU_FT | [
"<BEGIN>\n## `_geom_points`",
"GeoJSON geometry to a sequence of point tuples\n<END>",
"<BEGIN>\n## `read_points`",
"Iterable of features to a sequence of point tuples\n Where \"features\" can be either GeoJSON mappings\n or objects implementing the geo_interface\n<END>",
"<BEGIN>\n## `encode_waypoint... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_dataset API.
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 delete_dataset API.
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... | Deletes a single dataset, including all of the features that it contains.
Parameters
----------
dataset : str
The dataset id.
Returns
-------
HTTP status code. | "Deletes a single dataset, including all of the features that it contains.\n\n Parameters\n ----------\n dataset : str\n The dataset id.\n\n Returns\n -------\n HTTP status code." | 212 | false | mapbox/mapbox-sdk-py | delete_dataset | 38,010 | |
LDU_FT/inveniosoftware/kwalitee/analyse_body_paragraph | LDU_FT | [
"<BEGIN>\n## `_get_files_modified`",
"Get the list of modified files that are Python or Jinja2.\n<END>",
"<BEGIN>\n## `_get_git_author`",
"Return the git author from the git variables.\n<END>",
"<BEGIN>\n## `_prepare_commit_msg`",
"Prepare the commit message in tmp_file.",
" It will build the commit ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyse_body_paragraph 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 analyse_body_paragraph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Analyse commit body paragraph and return (label, message).
>>> analyse_body_paragraph('* BETTER Foo and bar.',
>>> ... {'BETTER': 'Improvements'})
('BETTER', 'Foo and bar.')
>>> analyse_body_paragraph('* Foo and bar.')
(None, 'Foo and bar.')
>>> analyse_body_paragraph('Foo and bar.')
(None,... | "Analyse commit body paragraph and return (label, message).\n\n >>> analyse_body_paragraph('* BETTER Foo and bar.',\n >>> ... {'BETTER': 'Improvements'})\n ('BETTER', 'Foo and bar.')\n >>> analyse_body_paragraph('* Foo and bar.')\n (None, 'Foo and bar.')\n >>> analyse_body_paragraph('Foo and bar.')\n ... | 77 | false | inveniosoftware/kwalitee | analyse_body_paragraph | 38,011 | |
LDU_FT/openstack/networking-arista/filter_unnecessary_ports | LDU_FT | [
"<BEGIN>\n## `synchronize`",
"Synchronizes Router DB from Neturon DB with EOS.",
" Walks through the Neturon Db and ensures that all the routers\n created in Netuton DB match with EOS. After creating appropriate\n routers, it ensures to add interfaces as well.\n Uses idempotent prope... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_unnecessary_ports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_unnecessary_ports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Filter out all ports are not needed on CVX | "Filter out all ports are not needed on CVX" | 213 | false | openstack/networking-arista | filter_unnecessary_ports | 38,012 | |
LDU_FT/SiLab-Bonn/basil/set_value | LDU_FT | [
"<BEGIN>\n## `write`",
"Write to dummy memory",
" Parameters\n ----------\n addr : int\n The register address.\n data : list, tuple\n Data (byte array) to be written.",
" Returns\n -------\n nothing\n<END>",
"<BEGIN>\n## `read`",
"Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Writing a value of any arbitrary size (max. unsigned int 64) and offset to a register
Parameters
----------
value : int, str
The register value (int, long, bit string) to be written.
addr : int
The register address.
size : int
Bit siz... | "Writing a value of any arbitrary size (max. unsigned int 64) and offset to a register\r\n\r\n Parameters\r\n ----------\r\n value : int, str\r\n The register value (int, long, bit string) to be written.\r\n addr : int\r\n The register address.\r\n size : int\r\n... | 147 | false | SiLab-Bonn/basil | set_value | 38,013 | |
LDU_FT/edx/pa11ycrawler/load_pa11y_ignore_rules | LDU_FT | [
"<BEGIN>\n## `make_parser`",
"Returns an argparse instance for this script.\n<END>",
"<BEGIN>\n## `main`",
"Validates script arguments and calls the render_html() function with them.\n<END>",
"<BEGIN>\n## `wcag_refs`",
"Given a `code` from pa11y, return a list of the WCAG references.\n These references... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_pa11y_ignore_rules 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 load_pa11y_ignore_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Load the pa11y ignore rules from the given file or URL. | "Load the pa11y ignore rules from the given file or URL." | 56 | false | edx/pa11ycrawler | load_pa11y_ignore_rules | 38,014 | |
LDU_FT/jlevy/strif/move_to_backup | LDU_FT | [
"<BEGIN>\n## `new_timestamped_uid`",
"A unique id that begins with an ISO timestamp followed by fractions of seconds and bits of\n randomness. The advantage of this is it sorts nicely by time, while still being unique.\n Example: 20150912T084555Z-378465-43vtwbx\n<END>",
"<BEGIN>\n## `abbreviate_str`",
"Abbr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_to_backup API.
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 move_to_backup API.
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... | Move the given file or directory to the same name, with a backup suffix.
If backup_suffix not supplied, move it to the extension ".bak".
NB: If backup_suffix is supplied and is None, don't do anything. | "Move the given file or directory to the same name, with a backup suffix.\n If backup_suffix not supplied, move it to the extension \".bak\".\n NB: If backup_suffix is supplied and is None, don't do anything." | 38 | false | jlevy/strif | move_to_backup | 38,015 | |
LDU_FT/Kozea/wdb/_format_line | LDU_FT | [
"<BEGIN>\n## `import_from_stdlib`",
"Copied from pdbpp https://bitbucket.org/antocuni/pdb\n<END>",
"<BEGIN>\n## `handle_exc`",
"Return a formated exception traceback for wdb.js use\n<END>",
"<BEGIN>\n## `_patch_tcpserver`",
"Patch shutdown_request to open blocking interaction after the end of the\n req... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_line API.
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 _format_line API.
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... | Returns HTML markup of "from" / "to" text lines
side -- 0 or 1 indicating "from" or "to" text
flag -- indicates if difference on line
linenum -- line number (used for line number column)
text -- line text to be marked up | "Returns HTML markup of \"from\" / \"to\" text lines\n\n side -- 0 or 1 indicating \"from\" or \"to\" text\n flag -- indicates if difference on line\n linenum -- line number (used for line number column)\n text -- line text to be marked up" | 45 | false | Kozea/wdb | _format_line | 38,016 | |
LDU_FT/20c/twentyc.database/set_batch | LDU_FT | [
"<BEGIN>\n## `set`",
"Store data <data> index by key <key>",
" Args",
" key <string> couchbase document id\n data <dict> data to store\n<END>",
"<BEGIN>\n## `dump`",
"Retrieve object indexed by <key> and return it serialized\n<END>",
"<BEGIN>\n## `Client`",
"Return new database client",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_batch API.
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 set_batch API.
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... | Store multiple documents
Args
data <dict> data to store, use document ids as keys
Returns
revs <dict> dictionary of new revisions indexed by document ids | "Store multiple documents\n \n Args\n\n data <dict> data to store, use document ids as keys\n\n Returns\n\n revs <dict> dictionary of new revisions indexed by document ids" | 40 | false | 20c/twentyc.database | set_batch | 38,017 | |
LDU_FT/jreese/aiosqlite/run | LDU_FT | [
"<BEGIN>\n## `connect`",
"Create and return a connection proxy to the sqlite database.\n<END>",
"<BEGIN>\n## `_execute`",
"Execute the given function on the shared connection's thread.\n<END>",
"<BEGIN>\n## `fetchmany`",
"Fetch up to `cursor.arraysize` number of rows.\n<END>",
"<BEGIN>\n## `run`",
"Ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Execute function calls on a separate thread. | "Execute function calls on a separate thread." | 22 | false | jreese/aiosqlite | run | 38,018 | |
LDU_FT/tmr232/Sark/_iter_serial_enum_member | LDU_FT | [
"<BEGIN>\n## `get_idb_graph`",
"Export IDB to a NetworkX graph.",
" Use xrefs to and from functions to build a DiGraph containing all\n the functions in the IDB and all the links between them.\n The graph can later be used to perform analysis on the IDB.",
" :return: nx.DiGraph()\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_serial_enum_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_serial_enum_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Iterate serial and CID of enum members with given value and bitmask.
Here only valid values are returned, as `idaapi.BADNODE` always indicates
an invalid member. | "Iterate serial and CID of enum members with given value and bitmask.\n\n Here only valid values are returned, as `idaapi.BADNODE` always indicates\n an invalid member." | 137 | false | tmr232/Sark | _iter_serial_enum_member | 38,019 | |
LDU_FT/flukso/tmpo-py/remove | LDU_FT | [
"<BEGIN>\n## `dbcon`",
"Set up connection before executing function, commit and close connection\n afterwards. Unless a connection already has been created.\n<END>",
"<BEGIN>\n## `add`",
"Add new sensor to the database",
" Parameters\n ----------\n sid : str\n SensorId\n ... | 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 sensor from the database
Parameters
----------
sid : str
SensorID | "Remove sensor from the database\n\n Parameters\n ----------\n sid : str\n SensorID" | 36 | false | flukso/tmpo-py | remove | 38,020 | |
LDU_FT/koszullab/instaGRAAL/parse_bed | LDU_FT | [
"<BEGIN>\n## `estimate_parameters_rippe`",
"estimation by least square optimization of Rippe parameters on the\n experimental data\n :param max_dist_kb:\n :param size_bin_kb:\n<END>",
"<BEGIN>\n## `estimate_parameters`",
"estimation by least square optimization of Rippe parameters on the\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bed API.
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... | Import a BED file (where the data entries are analogous to what may be
expected in an info_frags.txt file) and return a scaffold dictionary,
similarly to parse_info_frags. | "Import a BED file (where the data entries are analogous to what may be\n expected in an info_frags.txt file) and return a scaffold dictionary,\n similarly to parse_info_frags." | 116 | false | koszullab/instaGRAAL | parse_bed | 38,021 | |
LDU_FT/jazzband/inflect/defan | LDU_FT | [
"<BEGIN>\n## `bysize`",
"take a list of words and return a dict of sets sorted by word length\n e.g.\n ret[3]=set(['ant', 'cat', 'dog', 'pig'])\n ret[4]=set(['frog', 'goat'])\n ret[5]=set(['horse'])\n ret[8]=set(['elephant'])\n<END>",
"<BEGIN>\n## `make_pl_si_lists`",
"given a list of singular ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the defan API.
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 defan API.
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... | Define the indefinate article as 'an' for words matching pattern. | "Define the indefinate article as 'an' for words matching pattern." | 90 | false | jazzband/inflect | defan | 38,022 | |
LDU_FT/lambdalisue/maidenhair/set_default_loader | LDU_FT | [
"<BEGIN>\n## `load`",
"Load data from file matched with given glob pattern.",
" Return value will be a list of data unless :attr:`unite` is `True`.\n If :attr:`unite` is `True` then all data will be united into a single data.",
" Parameters\n ----------\n pathname : string or list\n A gl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_default_loader 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 set_default_loader 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... | Set defaulr loader instance
Parameters
----------
loader : instance or string
An instance or registered name of loader class.
The specified loader instance will be used when user did not specified
:attr:`loader` in :func:`maidenhair.functions.load` function.
See also
------... | "Set defaulr loader instance\n\n Parameters\n ----------\n loader : instance or string\n An instance or registered name of loader class.\n The specified loader instance will be used when user did not specified\n :attr:`loader` in :func:`maidenhair.functions.load` function.\n\n See also\... | 128 | false | lambdalisue/maidenhair | set_default_loader | 38,023 | |
LDU_FT/YosaiProject/yosai/default_marshaller | LDU_FT | [
"<BEGIN>\n## `on_successful_login`",
"Reacts to the successful login attempt by first always\n forgetting any previously stored identity. Then if the authc_token\n is a ``RememberMe`` type of token, the associated identity\n will be remembered for later retrieval during a new user session.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_marshaller 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 default_marshaller 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... | Retrieve the state of the given object.
Calls the ``__getstate__()`` method of the object if available, otherwise returns the
``__dict__`` of the object.
:param obj: the object to marshal
:return: the marshalled object state | "Retrieve the state of the given object.\n\n Calls the ``__getstate__()`` method of the object if available, otherwise returns the\n ``__dict__`` of the object.\n\n :param obj: the object to marshal\n :return: the marshalled object state" | 335 | false | YosaiProject/yosai | default_marshaller | 38,024 | |
LDU_FT/twilio/twilio-python/_proxy | LDU_FT | [
"<BEGIN>\n## `stream`",
"Streams KeyInstance records from the API as a generator stream.\n This operation lazily loads records as efficiently as possible until the limit\n is reached.\n The results are returned as a generator, so this operation is memory efficient.",
" :param int lim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _proxy API.
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 _proxy API.
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 ... | Generate an instance context for the instance, the context is capable of
performing various actions. All instance actions are proxied to the context
:returns: FunctionContext for this FunctionInstance
:rtype: twilio.rest.serverless.v1.service.function.FunctionContext | "Generate an instance context for the instance, the context is capable of\n performing various actions. All instance actions are proxied to the context\n\n :returns: FunctionContext for this FunctionInstance\n :rtype: twilio.rest.serverless.v1.service.function.FunctionContext" | 4,304 | true | twilio/twilio-python | _proxy | 38,025 | |
LDU_FT/Gorialis/jishaku/jsk_in | LDU_FT | [
"<BEGIN>\n## `get_var_dict_from_ctx`",
"Returns the dict to be used in REPL for a given Context.\n<END>",
"<BEGIN>\n## `background_reader`",
"Reads a stream and forwards each line to an async callback.\n<END>",
"<BEGIN>\n## `make_reader_task`",
"Create a reader executor task for a stream.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsk_in API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsk_in API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Run a command as if it were in a different channel. | "Run a command as if it were in a different channel." | 161 | false | Gorialis/jishaku | jsk_in | 38,026 | |
LDU_FT/SMTG-UCL/sumo/sort_orbitals | LDU_FT | [
"<BEGIN>\n## `kpath_from_seekpath`",
"r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.",
" If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.",
" Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_orbitals API.
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 sort_orbitals API.
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... | Sort the orbitals of an element's projected density of states.
Sorts the orbitals based on a standard format. E.g. s < p < d.
Will also sort lm decomposed orbitals. This is useful for plotting/saving.
Args:
element_pdos (dict): An element's pdos. Should be formatted as a
:obj:`dict` of... | "Sort the orbitals of an element's projected density of states.\n\n Sorts the orbitals based on a standard format. E.g. s < p < d.\n Will also sort lm decomposed orbitals. This is useful for plotting/saving.\n\n Args:\n element_pdos (dict): An element's pdos. Should be formatted as a\n :obj:`... | 449 | false | SMTG-UCL/sumo | sort_orbitals | 38,027 | |
LDU_FT/zimeon/iiif/api_version | LDU_FT | [
"<BEGIN>\n## `do_first`",
"Load generator, set size.",
" We take the generator module name from self.srcfile so that\n this manipulator will work with different generators in a\n similar way to how the ordinary generators work with\n different images\n<END>",
"<BEGIN>\n## `main`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_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 extra... | Set the api_version and associated configurations. | "Set the api_version and associated configurations." | 333 | false | zimeon/iiif | api_version | 38,028 | |
LDU_FT/biocore/burrito-fillings/psiblast_n_neighbors | LDU_FT | [
"<BEGIN>\n## `raxml_alignment`",
"Run raxml on alignment object",
" align_obj: Alignment object\n params: you can set any params except -w and -n",
" returns: tuple (phylonode,\n parsimonyphylonode,\n log likelihood,\n total exec time)\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the psiblast_n_neighbors 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 psiblast_n_neighbors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | PsiBlasts sequences, stopping when n neighbors are reached.
core_threshold: threshold for the core profile (default: 1e-50)
extra_threshold: threshold for pulling in additional seqs (default:1e-10)
lower_threshold: threshold for seqs in final round (default:1e-6)
seqs: either file name or list of sequ... | "PsiBlasts sequences, stopping when n neighbors are reached.\n\n core_threshold: threshold for the core profile (default: 1e-50)\n extra_threshold: threshold for pulling in additional seqs (default:1e-10)\n lower_threshold: threshold for seqs in final round (default:1e-6)\n\n seqs: either file name or list ... | 618 | false | biocore/burrito-fillings | psiblast_n_neighbors | 38,029 | |
LDU_FT/devopshq/crosspm/find_dependencies | LDU_FT | [
"<BEGIN>\n## `usedby_packages`",
"Lock packages. Downloader search packages\n<END>",
"<BEGIN>\n## `set_duplicated_flag`",
"For all package set flag duplicated, if it's not unique package\n :return:\n<END>",
"<BEGIN>\n## `get_object_from_string`",
"Return python object from string\n :param object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_dependencies API.
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 find_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Find all dependencies by package
:param depslock_file_path:
:param property_validate: for `root` packages we need check property, bad if we find packages from `lock` file,
:param deps_content: HACK for use --dependencies-content and existed dependencies.txt.lock file
we can skip validate... | "Find all dependencies by package\n :param depslock_file_path:\n :param property_validate: for `root` packages we need check property, bad if we find packages from `lock` file,\n :param deps_content: HACK for use --dependencies-content and existed dependencies.txt.lock file\n we can skip val... | 36 | false | devopshq/crosspm | find_dependencies | 38,030 | |
LDU_FT/Azure/msrestazure-for-python/request_status | LDU_FT | [
"<BEGIN>\n## `get_msi_token`",
"Get MSI token if MSI_ENDPOINT is set.",
" IF MSI_ENDPOINT is not set, will try legacy access through 'http://localhost:{}/oauth2/token'.format(port).",
" If msi_conf is used, must be a dict of one key in [\"client_id\", \"object_id\", \"msi_res_id\"]",
" :param str r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_status API.
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 request_status API.
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... | Do a simple GET to this status link.
This method re-inject 'x-ms-client-request-id'.
:rtype: requests.Response | "Do a simple GET to this status link.\n\n This method re-inject 'x-ms-client-request-id'.\n\n :rtype: requests.Response" | 167 | false | Azure/msrestazure-for-python | request_status | 38,031 | |
LDU_FT/Valassis-Digital-Media/spylon/archive_dir | LDU_FT | [
"<BEGIN>\n## `as_iterable`",
"Utility for converting an object to an iterable.",
" Parameters\n ----------\n iterable_or_scalar : anything",
" Returns\n -------\n l : iterable\n If `obj` was None, return the empty tuple.\n If `obj` was not iterable returns a 1-tuple containing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the archive_dir API.
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 archive_dir API.
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... | Compresses the directory and writes to its parent
Parameters
----------
env_dir : str
Returns
-------
str | "Compresses the directory and writes to its parent\n\n Parameters\n ----------\n env_dir : str\n\n Returns\n -------\n str" | 96 | false | Valassis-Digital-Media/spylon | archive_dir | 38,032 | |
LDU_FT/hellosign/hellosign-python-sdk/_create_unclaimed_draft | 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 _create_unclaimed_draft 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 _create_unclaimed_draft API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Creates a new Draft that can be claimed using the claim URL
Args:
test_mode (bool, optional): Whether this is a test, the signature request created from this draft will not be legally binding if set to True. Defaults to False.
client_id (str): ... | "Creates a new Draft that can be claimed using the claim URL\n\n Args:\n\n test_mode (bool, optional): Whether this is a test, the signature request created from this draft will not be legally binding if set to True. Defaults to False.\n\n client_id (str): ... | 416 | false | hellosign/hellosign-python-sdk | _create_unclaimed_draft | 38,033 | |
LDU_FT/eddieantonio/perfection/generate_acyclic_graph | LDU_FT | [
"<BEGIN>\n## `add_edge`",
"Add edge (u, v) to the graph. Raises InvariantError if adding the edge\n would form a cycle.\n<END>",
"<BEGIN>\n## `edges`",
"Edges of this graph, in canonical order.\n<END>",
"<BEGIN>\n## `ordered_deduplicate`",
"Returns the sequence as a tuple with the duplicates remove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_acyclic_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_acyclic_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.... | Generates an acyclic graph for the given words.
Adds the graph, and a list of edge-word associations to the object. | "Generates an acyclic graph for the given words.\n Adds the graph, and a list of edge-word associations to the object." | 64 | false | eddieantonio/perfection | generate_acyclic_graph | 38,034 | |
LDU_FT/samuelcolvin/arq/run_check | LDU_FT | [
"<BEGIN>\n## `cli`",
"Job queues in python with asyncio and redis.",
" CLI to run the arq worker.\n<END>",
"<BEGIN>\n## `next_cron`",
"Find the next datetime matching the given parameters.\n<END>",
"<BEGIN>\n## `cron`",
"Create a cron job, eg. it should be executed at specific times.",
" Workers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_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 extract... | Run :func:`arq.worker.Worker.async_run`, check for failed jobs and raise :class:`arq.worker.FailedJobs`
if any jobs have failed.
:return: number of completed jobs | "Run :func:`arq.worker.Worker.async_run`, check for failed jobs and raise :class:`arq.worker.FailedJobs`\n if any jobs have failed.\n\n :return: number of completed jobs" | 44 | false | samuelcolvin/arq | run_check | 38,035 | |
LDU_FT/coldfix/udiskie/is_file | LDU_FT | [
"<BEGIN>\n## `_is_parent_of`",
"Check whether the first device is the parent of the second device.\n<END>",
"<BEGIN>\n## `prune_empty_node`",
"Recursively remove empty branches and return whether this makes the node\n itself empty.",
" The ``seen`` parameter is used to avoid infinite recursion due to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 extracted... | Comparison by mount and device file path. | "Comparison by mount and device file path." | 228 | false | coldfix/udiskie | is_file | 38,036 | |
LDU_FT/jorgenschaefer/elpy/rpc_get_completions | LDU_FT | [
"<BEGIN>\n## `get_pydoc_completions`",
"Get possible completions for modulename for pydoc.",
" Returns a list of possible values to be passed to pydoc.\n<END>",
"<BEGIN>\n## `get_modules`",
"Return a list of modules and packages under modulename.",
" If modulename is not given, return a list of all ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpc_get_completions 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 rpc_get_completions 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... | Get a list of completion candidates for the symbol at offset. | "Get a list of completion candidates for the symbol at offset." | 97 | false | jorgenschaefer/elpy | rpc_get_completions | 38,037 | |
LDU_FT/spulec/moto/list_images | LDU_FT | [
"<BEGIN>\n## `get_parameters_by_path`",
"Implement the get-parameters-by-path-API in the backend.\n<END>",
"<BEGIN>\n## `_match_filters`",
"Return True if the given parameter matches all the filters\n<END>",
"<BEGIN>\n## `list_commands`",
"https://docs.aws.amazon.com/systems-manager/latest/APIReference/AP... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_images API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_images API.
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... | maxResults and filtering not implemented | "maxResults and filtering not implemented" | 217 | false | spulec/moto | list_images | 38,038 | |
LDU_FT/pseudo-lang/pseudo/_expand_api | LDU_FT | [
"<BEGIN>\n## `safe_serialize_type`",
"serialize only with letters, numbers and _\n<END>",
"<BEGIN>\n## `generate`",
"generates code based on templates and gen functions\n defined in the <x> lang generator\n<END>",
"<BEGIN>\n## `_parse_template`",
"Pare smart indented templates",
" Takes a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_api API.
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 _expand_api API.
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... | the heart of api translation dsl
function or <z>(<arg>, ..) can be expanded, <z> can be just a name for a global function, or #name for method, <arg> can be %{self} for self or %{n} for nth arg | "the heart of api translation dsl\n\n function or <z>(<arg>, ..) can be expanded, <z> can be just a name for a global function, or #name for method, <arg> can be %{self} for self or %{n} for nth arg" | 34 | false | pseudo-lang/pseudo | _expand_api | 38,039 | |
LDU_FT/django-blog-zinnia/wordpress2zinnia/get_entry_categories | LDU_FT | [
"<BEGIN>\n## `guess_wxr_version`",
"We will try to guess the wxr version used\n to complete the wordpress xml namespace name.\n<END>",
"<BEGIN>\n## `import_authors`",
"Retrieve all the authors used in posts\n and convert it to new or existing author and\n return the conversion.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entry_categories 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_entry_categories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return a list of entry's categories
based on imported categories. | "Return a list of entry's categories\n based on imported categories." | 20 | false | django-blog-zinnia/wordpress2zinnia | get_entry_categories | 38,040 | |
LDU_FT/mardix/pylot/list_chunks | LDU_FT | [
"<BEGIN>\n## `read_pkginfo`",
"Help us read the pkginfo without accessing __init__\n<END>",
"<BEGIN>\n## `with_user_roles`",
"with_user_roles(roles)",
" It allows to check if a user has access to a view by adding the decorator\n with_user_roles([])",
" Requires flask-login",
" In your model,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_chunks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_chunks API.
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 list of chunks
:param l: List
:param n: int The number of items per chunk
:return: List | "Return a list of chunks\n :param l: List\n :param n: int The number of items per chunk\n :return: List" | 66 | false | mardix/pylot | list_chunks | 38,041 | |
LDU_FT/elastic/apm-agent-python/extract_signature | 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 extract_signature API.
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_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Extracts a minimal signature from a given SQL query
:param sql: the SQL statement
:return: a string representing the signature | "Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature" | 163 | false | elastic/apm-agent-python | extract_signature | 38,042 | |
LDU_FT/hosford42/xcs/crossover_with | LDU_FT | [
"<BEGIN>\n## `random`",
"Create a bit string of the given length, with the probability of\n each bit being set equal to bit_prob, which defaults to .5.",
" Usage:\n # Create a random BitString of length 10 with mostly zeros.\n bits = BitString.random(10, bit_prob=.1)",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crossover_with API.
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 crossover_with API.
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... | Perform 2-point crossover on this bit condition and another of
the same length, returning the two resulting children.
Usage:
offspring1, offspring2 = condition1.crossover_with(condition2)
Arguments:
other: A second BitCondition of the same length as this one.
... | "Perform 2-point crossover on this bit condition and another of\n the same length, returning the two resulting children.\n\n Usage:\n offspring1, offspring2 = condition1.crossover_with(condition2)\n\n Arguments:\n other: A second BitCondition of the same length as this one.\n ... | 159 | false | hosford42/xcs | crossover_with | 38,043 | |
LDU_FT/ampl/amplpy/find | LDU_FT | [
"<BEGIN>\n## `getData`",
"Get the data corresponding to the display statements. The statements\n can be AMPL expressions, or entities. It captures the equivalent of the\n command:",
" .. code-block:: ampl",
" display ds1, ..., dsn;",
" where ds1, ..., dsn are the ``dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Searches the current entity for an instance with the specified index.
Returns:
The wanted instance if found, otherwise it returns `None`. | "Searches the current entity for an instance with the specified index.\n\n Returns:\n The wanted instance if found, otherwise it returns `None`." | 205 | false | ampl/amplpy | find | 38,044 | |
LDU_FT/brutasse/graphite-api/_find_paths | LDU_FT | [
"<BEGIN>\n## `_find_paths`",
"Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns\n<END>",
"<BEGIN>\n## `union_overlapping`",
"Union any overlapping intervals in the given set.\n<END>",
"<BEGIN>\n## `recurse`",
"Recursi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_paths API.
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 _find_paths API.
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... | Recursively generates absolute paths whose components
underneath current_dir match the corresponding pattern in
patterns | "Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns" | 519 | false | brutasse/graphite-api | _find_paths | 38,045 | |
LDU_FT/atmos-python/atmos/strings_to_list_string | LDU_FT | [
"<BEGIN>\n## `assumes`",
"Stores a function's assumptions as an attribute.\n<END>",
"<BEGIN>\n## `overridden_by_assumptions`",
"Stores what assumptions a function is overridden by as an attribute.\n<END>",
"<BEGIN>\n## `equation_docstring`",
"Creates a decorator that adds a docstring to an equation functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strings_to_list_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strings_to_list_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.... | Takes a list of strings presumably containing words and phrases,
and returns a "list" form of those strings, like:
>>> strings_to_list_string(('cats', 'dogs'))
>>> 'cats and dogs'
or
>>> strings_to_list_string(('pizza', 'pop', 'chips'))
>>> 'pizza, pop, and chips'
Ra... | "Takes a list of strings presumably containing words and phrases,\n and returns a \"list\" form of those strings, like:\n\n >>> strings_to_list_string(('cats', 'dogs'))\n >>> 'cats and dogs'\n\n or\n\n >>> strings_to_list_string(('pizza', 'pop', 'chips'))\n >>> 'pizza, pop, and chips... | 126 | false | atmos-python/atmos | strings_to_list_string | 38,046 | |
LDU_FT/wuher/devil/startElement | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the startElement API.
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 startElement API.
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... | Initialize new node and store current node into stack. | "Initialize new node and store current node into stack." | 193 | false | wuher/devil | startElement | 38,047 | |
LDU_FT/bitesofcode/projexui/edit | LDU_FT | [
"<BEGIN>\n## `addEntry`",
"Creates a new entry item for this widget.\r",
" :param key | <str>\r\n value | <variant>\n<END>",
"<BEGIN>\n## `dictionary`",
"Returns a dictionary of the key/value pairing for the items in\r\n this widget.\r",
" :return {<s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit API.
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 edit API.
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... | Edits the given profile.
:param parent | <QWidget>
profile | <projexui.widgets.xviewwidget.XViewProfile>
:return <bool> | "Edits the given profile.\r\n \r\n :param parent | <QWidget>\r\n profile | <projexui.widgets.xviewwidget.XViewProfile>\r\n \r\n :return <bool>" | 4,917 | true | bitesofcode/projexui | edit | 38,048 | |
LDU_FT/a10networks/a10-neutron-lbaas/allocate_ip_for_subnet | LDU_FT | [
"<BEGIN>\n## `create_a10_device_instance`",
"Attempt to create instance using neutron context\n<END>",
"<BEGIN>\n## `vport_meta`",
"Get the vport meta, no matter which name was used\n<END>",
"<BEGIN>\n## `apply_template`",
"Applies every callable in any Mapping or Iterable\n<END>",
"<BEGIN>\n## `initial... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allocate_ip_for_subnet 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 allocate_ip_for_subnet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Allocates an IP from the specified subnet and creates a port | "Allocates an IP from the specified subnet and creates a port" | 20 | false | a10networks/a10-neutron-lbaas | allocate_ip_for_subnet | 38,049 | |
LDU_FT/gebn/wood/_delete | LDU_FT | [
"<BEGIN>\n## `_normalise_path`",
"Ensures a path is parsed.",
" :param path: A path string or Path object.\n :return: The path as a Path object.\n<END>",
"<BEGIN>\n## `root`",
"Retrieve a root directory object from a path.",
" :param path: The path string or Path object.\n :return: The created... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Delete a collection of paths from S3.
:param paths: The paths to delete. The prefix will be prepended to each
one.
:raises ClientError: If any request fails. | "Delete a collection of paths from S3.\n\n :param paths: The paths to delete. The prefix will be prepended to each\n one.\n :raises ClientError: If any request fails." | 70 | false | gebn/wood | _delete | 38,050 | |
LDU_FT/NetworkAutomation/jaide/push | LDU_FT | [
"<BEGIN>\n## `check_instance`",
"Wrapper that tests the type of _session.",
" Purpose: This decorator function is used by all functions within\n | the Jaide class that interact with a device to ensure the\n | proper session type is in use. If it is not, it will\n | ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push API.
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 push API.
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 file(s) from local machine -> device(s).
@param ctx: The click context paramter, for receiving the object dictionary
| being manipulated by other previous functions. Needed by any
| function with the @click.pass_context decorator.
@type ctx: click.Context
@param source: the... | "Copy file(s) from local machine -> device(s).\n\n @param ctx: The click context paramter, for receiving the object dictionary\n | being manipulated by other previous functions. Needed by any\n | function with the @click.pass_context decorator.\n @type ctx: click.Context\n @param sour... | 191 | false | NetworkAutomation/jaide | push | 38,051 | |
LDU_FT/pyslackers/slack-sansio/raise_for_api_error | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new handler for a specific :class:`slack.actions.Action` `callback_id`.\n Optional routing based on the action name too.",
" The name argument is useful for actions of type `interactive_message` to provide\n a different handler for each individual actio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_for_api_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_for_api_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Check request response for Slack API error
Args:
headers: Response headers
data: Response data
Raises:
:class:`slack.exceptions.SlackAPIError` | "Check request response for Slack API error\n\n Args:\n headers: Response headers\n data: Response data\n\n Raises:\n :class:`slack.exceptions.SlackAPIError`" | 113 | false | pyslackers/slack-sansio | raise_for_api_error | 38,052 | |
LDU_FT/inveniosoftware/invenio-assets/setup | LDU_FT | [
"<BEGIN>\n## `setup`",
"Setup filter (only called when filter is actually used).\n<END>",
"<BEGIN>\n## `setup`",
"Initialize filter just before it will be used.\n<END>",
"<BEGIN>\n## `collect_staticroot_removal`",
"Remove collect's static root folder from list.\n<END>",
"<BEGIN>\n## `init_app`",
"Init... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
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 setup API.
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... | Setup filter (only called when filter is actually used). | "Setup filter (only called when filter is actually used)." | 22 | false | inveniosoftware/invenio-assets | setup | 38,053 | |
LDU_FT/angr/pyvex/replace_expression | LDU_FT | [
"<BEGIN>\n## `lift`",
"This is the main body of the \"lifting\" for the instruction.\n This can/should be overriden to provide the general flow of how instructions in your arch work.\n For example, in MSP430, this is:",
" - Figure out what your operands are by parsing the addressing, and lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_expression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_expression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Replace child expressions in-place.
:param IRExpr expr: The expression to look for.
:param IRExpr replacement: The expression to replace with.
:return: None | "Replace child expressions in-place.\n\n :param IRExpr expr: The expression to look for.\n :param IRExpr replacement: The expression to replace with.\n :return: None" | 87 | false | angr/pyvex | replace_expression | 38,054 | |
LDU_FT/RockFeng0/rtsf/mkzip | LDU_FT | [
"<BEGIN>\n## `get_summary`",
"summarize the report data\r\n @param list_all: a list which save the report data\r\n @param kwargs: such as\r\n show_all: True/False report show all status cases\r\n proj_name: project name \r\n home_page: ho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkzip API.
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 mkzip API.
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... | Usage:
p = r'D:\auto\env\ttest\ins\build\lib\rock4\softtest\support'
mkzip(os.path.join(p, "appiumroot"),os.path.join(p, "appiumroot.zip"))
unzip(os.path.join(p, "appiumroot.zip"),os.path.join(p, "appiumroot2")) | "Usage:\r\n p = r'D:\\auto\\env\\ttest\\ins\\build\\lib\\rock4\\softtest\\support'\r\n mkzip(os.path.join(p, \"appiumroot\"),os.path.join(p, \"appiumroot.zip\"))\r\n unzip(os.path.join(p, \"appiumroot.zip\"),os.path.join(p, \"appiumroot2\"))" | 53 | false | RockFeng0/rtsf | mkzip | 38,055 | |
LDU_FT/kmedian/korr/find_unrelated | LDU_FT | [
"<BEGIN>\n## `kendall`",
"Kendall' tau (Rank) Correlation Matrix (for ordinal data)",
" Parameters\n ----------\n x : ndarray\n data set",
" axis : int, optional\n Variables as columns is the default (axis=0). If variables are\n in the rows use axis=1",
" Returns\n ---... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_unrelated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_unrelated API.
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... | Find indicies of insignificant un-/correlated variables
Example:
--------
i, j = find_unrelated(x, plim, rlim) | "Find indicies of insignificant un-/correlated variables\n\n Example:\n --------\n i, j = find_unrelated(x, plim, rlim)" | 69 | false | kmedian/korr | find_unrelated | 38,056 | |
LDU_FT/scott-maddox/openbandparams/Eg | LDU_FT | [
"<BEGIN>\n## `GaP_Eg_Gamma`",
"Returns the Gamma-valley bandgap, Eg_Gamma, in electron Volts at a\n given temperature, T, in Kelvin (default: 300 K).",
" GaP has a unique Gamma-gap temperature dependence.\n<END>",
"<BEGIN>\n## `_has_x`",
"Returns True if x is explicitly defined in kwargs\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Eg API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Eg API.
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 docu... | Returns the bandgap, Eg, in eV at a given
temperature, T, in K (default=300.). | "Returns the bandgap, Eg, in eV at a given\n temperature, T, in K (default=300.)." | 68 | false | scott-maddox/openbandparams | Eg | 38,057 | |
LDU_FT/keenlabs/KeenClient-Python/update_access_key_full | LDU_FT | [
"<BEGIN>\n## `_initialize_client_from_environment`",
"Initialize a KeenClient instance using environment variables.\n<END>",
"<BEGIN>\n## `add_event`",
"Adds an event.",
" Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediatel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_access_key_full API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_access_key_full API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Replaces the 'name', 'is_active', 'permitted', and 'options' values of a given key.
A master key must be set first.
:param access_key_id: the 'key' value of the access key for which the values will be replaced
:param name: the new name desired for this access key
:param is_active: wheth... | "Replaces the 'name', 'is_active', 'permitted', and 'options' values of a given key.\n A master key must be set first.\n\n :param access_key_id: the 'key' value of the access key for which the values will be replaced\n :param name: the new name desired for this access key\n :param is_active:... | 177 | false | keenlabs/KeenClient-Python | update_access_key_full | 38,058 | |
LDU_FT/cuzzo/iw_parse/get_noise_level | LDU_FT | [
"<BEGIN>\n## `get_quality`",
"Gets the quality of a network / cell.\n @param string cell\n A network / cell from iwlist scan.",
" @return string\n The quality of the network.\n<END>",
"<BEGIN>\n## `get_signal_level`",
"Gets the signal level of a network / cell.\n @param string cell\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_noise_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_noise_level API.
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... | Gets the noise level of a network / cell.
@param string cell
A network / cell from iwlist scan.
@return string
The noise level of the network. | "Gets the noise level of a network / cell.\n @param string cell\n A network / cell from iwlist scan.\n\n @return string\n The noise level of the network." | 25 | false | cuzzo/iw_parse | get_noise_level | 38,059 | |
LDU_FT/eReuse/utils/get_nested_dicts_with_key_containing_value | LDU_FT | [
"<BEGIN>\n## `get_nested_dicts_with_key_value`",
"Return all nested dictionaries that contain a key with a specific value. A sub-case of NestedLookup.\n<END>",
"<BEGIN>\n## `get_nested_dicts_with_key_containing_value`",
"Return all nested dictionaries that contain a key with a specific value. A sub-case of Ne... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_dicts_with_key_containing_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_dicts_with_key_containing_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | Return all nested dictionaries that contain a key with a specific value. A sub-case of NestedLookup. | "Return all nested dictionaries that contain a key with a specific value. A sub-case of NestedLookup." | 29 | false | eReuse/utils | get_nested_dicts_with_key_containing_value | 38,060 | |
LDU_FT/Othernet-Project/conz/readpipe | LDU_FT | [
"<BEGIN>\n## `read`",
"Display a prompt and ask user for input",
" A function to clean the user input can be passed as ``clean`` argument.\n This function takes a single value, which is the string user entered,\n and returns a cleaned value. Default is a pass-through function, which\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readpipe API.
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 readpipe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return iterator that iterates over STDIN line by line
If ``chunk`` is set to a positive non-zero integer value, then the
reads are performed in chunks of that many lines, and returned as a
list. Otherwise the lines are returned one by one. | "Return iterator that iterates over STDIN line by line\n\n If ``chunk`` is set to a positive non-zero integer value, then the\n reads are performed in chunks of that many lines, and returned as a\n list. Otherwise the lines are returned one by one." | 57 | false | Othernet-Project/conz | readpipe | 38,061 | |
LDU_FT/BetterWorks/django-anonymizer/bool | LDU_FT | [
"<BEGIN>\n## `varchar`",
"Returns a chunk of text, of maximum length 'max_length'\n<END>",
"<BEGIN>\n## `simple_pattern`",
"Use a simple pattern to make the field - # is replaced with a random number,\n ? with a random letter.\n<END>",
"<BEGIN>\n## `datetime`",
"Returns a random datetime. If 'val' ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bool API.
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 bool API.
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... | Returns a random boolean value (True/False) | "Returns a random boolean value (True/False)" | 57 | false | BetterWorks/django-anonymizer | bool | 38,062 | |
LDU_FT/speechinformaticslab/vfclust/compute_similarity_scores | LDU_FT | [
"<BEGIN>\n## `parse_phones`",
"Parse TextGrid phone intervals.",
" This method parses the phone intervals in a TextGrid to extract each\n phone and each phone's start and end times in the audio recording. For\n each phone, it instantiates the class Phone(), with the phone and its\n s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_similarity_scores 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 compute_similarity_scores API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Produce a list of similarity scores for each contiguous pair in a response.
Calls compute_similarity_score method for every adjacent pair of words. The results
are not used in clustering; this is merely to provide a visual representation to
print to the screen.
Modifies:
- ... | "Produce a list of similarity scores for each contiguous pair in a response.\n\n Calls compute_similarity_score method for every adjacent pair of words. The results\n are not used in clustering; this is merely to provide a visual representation to\n print to the screen.\n\n Modifies:\n ... | 119 | false | speechinformaticslab/vfclust | compute_similarity_scores | 38,063 | |
LDU_FT/Robpol86/terminaltables/table | LDU_FT | [
"<BEGIN>\n## `combine`",
"Zip borders between items in `line`.",
" e.g. ('l', '1', 'c', '2', 'c', '3', 'r')",
" :param iter line: List to iterate.\n :param left: Left border.\n :param intersect: Column separator.\n :param right: Right border.",
" :return: Yields combined objects.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | Return a large string of the entire table ready to be printed to the terminal. | "Return a large string of the entire table ready to be printed to the terminal." | 88 | false | Robpol86/terminaltables | table | 38,064 | |
LDU_FT/murphy214/berrl/make_zoom_block | LDU_FT | [
"<BEGIN>\n## `make_spark_lines`",
"alignment_field = False\n\tspark_output = True\n\tif kwargs is not None:\n\t\tfor key,value in kwargs.iteritems():\n\t\t\tif key == 'alignment_field':\n\t\t\t\talignment_field = value \n\t\t\tif key == 'spark_output':\n\t\t\t\tspark_output = value",
"\t#changing dataframe to l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_zoom_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_zoom_block API.
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... | else:
block = '''
map.on('zoomend', function(e) {
if ( (map.getZoom() >= %s)&&(map.getZoom() <= %s) ){
if (map.hasLayer(dataLayer) != true) {
map.addLayer(dataLayer)
}
}
else { map.removeLayer( dataLayer ) }
})
map.on('click',function(e) {
var skillsSelect = document.getElementById("mapStyle")... | "else:\n\t\tblock = '''\n\tmap.on('zoomend', function(e) {\n\t\tif ( (map.getZoom() >= %s)&&(map.getZoom() <= %s) ){ \n\t\t\tif (map.hasLayer(dataLayer) != true) {\n\t\t\t\tmap.addLayer(dataLayer)\t\t\n\t\t\t}\n\t\t}\n\t\telse { map.removeLayer( dataLayer ) }\n\t})\n\tmap.on('click',function(e) {\n\t\tvar skillsSelect ... | 12 | false | murphy214/berrl | make_zoom_block | 38,065 | |
LDU_FT/wroberts/fsed/open_file | LDU_FT | [
"<BEGIN>\n## `open_file`",
"Opens a file for access with the given mode. This function\n transparently wraps gzip and xz files as well as normal files.\n You can also open zip files using syntax like:",
" f = utils.open_file('../semcor-parsed.zip:semcor000.txt')\n<END>",
"<BEGIN>\n## `boundary_trans... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_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 open_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... | Opens a file for access with the given mode. This function
transparently wraps gzip and xz files as well as normal files.
You can also open zip files using syntax like:
f = utils.open_file('../semcor-parsed.zip:semcor000.txt') | "Opens a file for access with the given mode. This function\n transparently wraps gzip and xz files as well as normal files.\n You can also open zip files using syntax like:\n\n f = utils.open_file('../semcor-parsed.zip:semcor000.txt')" | 50 | false | wroberts/fsed | open_file | 38,066 | |
LDU_FT/kvh/ramp/build_report | LDU_FT | [
"<BEGIN>\n## `round_robin`",
"Ensures all classes get representative features, not just those with strong features\n<END>",
"<BEGIN>\n## `predict_maxprob`",
"Most likely value. Generally equivalent to predict.\n<END>",
"<BEGIN>\n## `cross_validate`",
"Shortcut to cross-validate a single configuration.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_report API.
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 build_report API.
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... | Calculates the pair of metrics for each threshold for each result. | "Calculates the pair of metrics for each threshold for each result." | 34 | false | kvh/ramp | build_report | 38,067 | |
LDU_FT/astropy/astropy-helpers/generate_openmp_enabled_py | LDU_FT | [
"<BEGIN>\n## `get_dummy_distribution`",
"Returns a distutils Distribution object used to instrument the setup\n environment before calling the actual setup() function.\n<END>",
"<BEGIN>\n## `get_distutils_option`",
"Returns the value of the given distutils option.",
" Parameters\n ----------\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_openmp_enabled_py API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_openmp_enabled_py API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Generate ``package.openmp_enabled.is_openmp_enabled``, which can then be used
to determine, post build, whether the package was built with or without
OpenMP support. | "Generate ``package.openmp_enabled.is_openmp_enabled``, which can then be used\n to determine, post build, whether the package was built with or without\n OpenMP support." | 135 | false | astropy/astropy-helpers | generate_openmp_enabled_py | 38,068 | |
LDU_FT/secnot/rectpack/rect_list | LDU_FT | [
"<BEGIN>\n## `_add_section`",
"Adds a new section to the free section list, but before that and if \n section merge is enabled, tries to join the rectangle with all existing \n sections, if successful the resulting section is again merged with the \n remaining sections until the operation fai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rect_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rect_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a list with all rectangles placed into the surface.
Returns:
List: Format [(rid, x, y, width, height), ...] | "Returns a list with all rectangles placed into the surface.\n \n Returns:\n List: Format [(rid, x, y, width, height), ...]" | 103 | false | secnot/rectpack | rect_list | 38,069 | |
LDU_FT/basecrm/basecrm-python/retrieve | LDU_FT | [
"<BEGIN>\n## `post`",
"Send a POST request.",
" :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.\n :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.\n :param dict **kwargs: (o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve API.
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 retrieve API.
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... | Retrieve a single contact
Returns a single contact available to the user, according to the unique contact ID provided
If the specified contact does not exist, the request will return an error
:calls: ``get /contacts/{id}``
:param int id: Unique identifier of a Contact.
:return:... | "Retrieve a single contact\n\n Returns a single contact available to the user, according to the unique contact ID provided\n If the specified contact does not exist, the request will return an error\n\n :calls: ``get /contacts/{id}``\n :param int id: Unique identifier of a Contact.\n ... | 216 | false | basecrm/basecrm-python | retrieve | 38,070 | |
LDU_FT/python-tap/tappy/load_suite_from_file | 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 load_suite_from_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_suite_from_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.
... | Load a test suite with test lines from the provided TAP file.
:returns: A ``unittest.TestSuite`` instance | "Load a test suite with test lines from the provided TAP file.\n\n :returns: A ``unittest.TestSuite`` instance" | 47 | false | python-tap/tappy | load_suite_from_file | 38,071 | |
LDU_FT/bskinn/opan/make_nd_vec | LDU_FT | [
"<BEGIN>\n## `ortho_basis`",
"Generates an orthonormal basis in the plane perpendicular to `normal`",
" The orthonormal basis generated spans the plane defined with `normal` as\n its normal vector. The handedness of `on1` and `on2` in the returned\n basis is such that:",
" .. math::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_nd_vec API.
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_nd_vec API.
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... | Coerce input to np.array() and validate dimensionality.
Ensure dimensionality 'n' if passed.
Cast to type 't' if passed
Normalize output if norm=True
.. todo:: Complete make_nd_vec docstring | "Coerce input to np.array() and validate dimensionality.\n\n Ensure dimensionality 'n' if passed.\n Cast to type 't' if passed\n Normalize output if norm=True\n\n .. todo:: Complete make_nd_vec docstring" | 445 | false | bskinn/opan | make_nd_vec | 38,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.