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/great-expectations/great_expectations/column_map_expectation | LDU_FT | [
"<BEGIN>\n## `_setup_source_conn`",
"Retrieve connection based on source_conn_id. In case of s3 it also configures the bucket.\n Validates that connection id belongs to supported connection type.\n :param source_conn_id:\n :param source_bucket_name:\n<END>",
"<BEGIN>\n## `_setup_dest_conn`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the column_map_expectation 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 column_map_expectation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Constructs an expectation using column-map semantics.
The MetaPandasDataset implementation replaces the "column" parameter supplied by the user with a pandas Series
object containing the actual column from the relevant pandas dataframe. This simplifies the implementing expectation
logic while ... | "Constructs an expectation using column-map semantics.\n\n\n The MetaPandasDataset implementation replaces the \"column\" parameter supplied by the user with a pandas Series\n object containing the actual column from the relevant pandas dataframe. This simplifies the implementing expectation\n logi... | 475 | false | great-expectations/great_expectations | column_map_expectation | 30,573 | |
LDU_FT/neovim/pynvim/append | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Used to signal `asyncio.Protocol` of a successful connection.\n<END>",
"<BEGIN>\n## `data_received`",
"Used to signal `asyncio.Protocol` of incoming data.\n<END>",
"<BEGIN>\n## `pipe_data_received`",
"Used to signal `asyncio.SubprocessProtocol` of incoming data.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
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 append API.
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 ... | Append a string or list of lines to the buffer. | "Append a string or list of lines to the buffer." | 139 | false | neovim/pynvim | append | 30,574 | |
LDU_FT/ramses-tech/ramses/set_object_acl | LDU_FT | [
"<BEGIN>\n## `get_existing_model`",
"Try to find existing model class named `model_name`.",
" :param model_name: String name of the model class.\n<END>",
"<BEGIN>\n## `prepare_relationship`",
"Create referenced model if it doesn't exist.",
" When preparing a relationship, we check to see if the mode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_object_acl API.
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 set_object_acl API.
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... | Set object ACL on creation if not already present. | "Set object ACL on creation if not already present." | 180 | false | ramses-tech/ramses | set_object_acl | 30,575 | |
LDU_FT/pypa/pipenv/get_url_rev_and_auth | LDU_FT | [
"<BEGIN>\n## `site_data_dir`",
"r\"\"\"Return full path to the user-shared data dir for this application.",
" \"appname\" is the name of application.\n If None, just the system directory is returned.\n \"appauthor\" (only used on Windows) is the name of the\n appauthor or dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url_rev_and_auth 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_url_rev_and_auth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Prefixes stub URLs like 'user@hostname:user/repo.git' with 'ssh://'.
That's required because although they use SSH they sometimes don't
work with a ssh:// scheme (e.g. GitHub). But we need a scheme for
parsing. Hence we remove it again afterwards and return it as a stub. | "Prefixes stub URLs like 'user@hostname:user/repo.git' with 'ssh://'.\n That's required because although they use SSH they sometimes don't\n work with a ssh:// scheme (e.g. GitHub). But we need a scheme for\n parsing. Hence we remove it again afterwards and return it as a stub." | 4,833 | true | pypa/pipenv | get_url_rev_and_auth | 30,576 | |
LDU_FT/ResidentMario/geoplot/uniform_random_global_points | LDU_FT | [
"<BEGIN>\n## `load`",
"A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.",
" Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uniform_random_global_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uniform_random_global_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Returns an array of `n` uniformally distributed `shapely.geometry.Point` objects. Points are coordinates
distributed equivalently across the Earth's surface. | "Returns an array of `n` uniformally distributed `shapely.geometry.Point` objects. Points are coordinates\n distributed equivalently across the Earth's surface." | 404 | false | ResidentMario/geoplot | uniform_random_global_points | 30,577 | |
LDU_FT/F-Secure/see/load_hooks | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a virtual network according to the given configuration.",
" @param hypervisor: (libvirt.virConnect) connection to libvirt hypervisor.\n @param identifier: (str) UUID for the virtual network.\n @param configuration: (dict) network configuration.",
" @return: (libvir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_hooks API.
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 load_hooks API.
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... | Initializes the Hooks and loads them within the Environment. | "Initializes the Hooks and loads them within the Environment." | 130 | false | F-Secure/see | load_hooks | 30,578 | |
LDU_FT/nerdvegas/rez/recursive_repr | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recursive_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recursive_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Decorator to prevent infinite repr recursion. | "Decorator to prevent infinite repr recursion." | 2,330 | true | nerdvegas/rez | recursive_repr | 30,579 | |
LDU_FT/all-umass/graphs/laplacian_pca | LDU_FT | [
"<BEGIN>\n## `random_graph`",
"Random graph generator. Does not generate self-edges.\n out_degree : array-like of ints, controlling the out degree of each vertex.\n<END>",
"<BEGIN>\n## `urquhart_graph`",
"Urquhart graph: made from the 2 shortest edges of each Delaunay triangle.\n<END>",
"<BEGIN>\n## `isoma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the laplacian_pca API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the laplacian_pca API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Graph-Laplacian PCA (CVPR 2013).
coordinates : (n,d) array-like, assumed to be mean-centered.
beta : float in [0,1], scales how much PCA/LapEig contributes.
Returns an approximation of input coordinates, ala PCA. | "Graph-Laplacian PCA (CVPR 2013).\n coordinates : (n,d) array-like, assumed to be mean-centered.\n beta : float in [0,1], scales how much PCA/LapEig contributes.\n Returns an approximation of input coordinates, ala PCA." | 167 | false | all-umass/graphs | laplacian_pca | 30,580 | |
LDU_FT/carlthome/python-audio-effects/limiter | LDU_FT | [
"<BEGIN>\n## `equalizer`",
"equalizer takes three parameters: filter center frequency in Hz, \"q\"\n or band-width (default=1.0), and a signed number for gain or\n attenuation in dB.",
" Beware of clipping when using positive gain.\n<END>",
"<BEGIN>\n## `bandpass`",
"bandpass takes 2 pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limiter API.
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 limiter API.
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... | limiter takes one parameter: gain in dB.
Beware of adding too much gain, as it can cause audible
distortion. See the compand effect for a more capable limiter. | "limiter takes one parameter: gain in dB.\n\n Beware of adding too much gain, as it can cause audible\n distortion. See the compand effect for a more capable limiter." | 53 | false | carlthome/python-audio-effects | limiter | 30,581 | |
LDU_FT/shidenggui/easytrader/_set_cookies | LDU_FT | [
"<BEGIN>\n## `prepare`",
"登录的统一接口\n :param config_file 登录数据文件,若无则选择参数登录模式\n :param user: 各家券商的账号或者雪球的用户名\n :param password: 密码, 券商为加密后的密码,雪球为明文密码\n :param account: [雪球登录需要]雪球手机号(邮箱手机二选一)\n :param portfolio_code: [雪球登录需要]组合代码\n :param portfolio_market: [雪球登录需要]交易市场,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_cookies API.
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 _set_cookies API.
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... | 设置雪球 cookies,代码来自于
https://github.com/shidenggui/easytrader/issues/269
:param cookies: 雪球 cookies
:type cookies: str | "设置雪球 cookies,代码来自于\n https://github.com/shidenggui/easytrader/issues/269\n :param cookies: 雪球 cookies\n :type cookies: str" | 93 | false | shidenggui/easytrader | _set_cookies | 30,582 | |
LDU_FT/bionikspoon/pureyaml/doctree_read_handler | LDU_FT | [
"<BEGIN>\n## `_gt_from_lt`",
"Return a > b. Computed by @total_ordering from (not a < b) and (a != b).\n<END>",
"<BEGIN>\n## `_le_from_lt`",
"Return a <= b. Computed by @total_ordering from (a < b) or (a == b).\n<END>",
"<BEGIN>\n## `_ge_from_lt`",
"Return a >= b. Computed by @total_ordering from (not ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the doctree_read_handler 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 doctree_read_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add 'orphan' to metadata for partials
:type app: sphinx.application.Sphinx
:type doctree: docutils.nodes.document | "Add 'orphan' to metadata for partials\n\n :type app: sphinx.application.Sphinx\n :type doctree: docutils.nodes.document" | 70 | false | bionikspoon/pureyaml | doctree_read_handler | 30,583 | |
LDU_FT/vladcalin/gemstone/call_method_async | LDU_FT | [
"<BEGIN>\n## `parse_json_structure`",
"Given a raw representation of a json structure, returns the parsed corresponding data\n structure (``JsonRpcRequest`` or ``JsonRpcRequestBatch``)",
" :param string_item:\n :return:\n<END>",
"<BEGIN>\n## `from_dict`",
"Validates a dict instance and transforms i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_method_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_method_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Calls the ``method_name`` method from the given service asynchronously
and returns a :py:class:`gemstone.client.structs.AsyncMethodCall` instance.
:param method_name_or_object: The name of te called method or a ``MethodCall`` instance
:param params: A list of dict representing the parameters fo... | "Calls the ``method_name`` method from the given service asynchronously\n and returns a :py:class:`gemstone.client.structs.AsyncMethodCall` instance.\n\n :param method_name_or_object: The name of te called method or a ``MethodCall`` instance\n :param params: A list of dict representing the paramete... | 107 | false | vladcalin/gemstone | call_method_async | 30,584 | |
LDU_FT/rocky/python-uncompyle6/add_unique_rule | LDU_FT | [
"<BEGIN>\n## `code_deparse`",
"ingests and deparses a given code block 'co'. If version is None,\n we will use the current Python interpreter version.\n<END>",
"<BEGIN>\n## `deparse_code2str`",
"Return the deparsed text for a Python code object. `out` is where any intermediate\n output for assembly or t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_unique_rule API.
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 add_unique_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Add rule to grammar, but only if it hasn't been added previously
opname and stack_count are used in the customize() semantic
the actions to add the semantic action rule. Stack_count is
used in custom opcodes like MAKE_FUNCTION to indicate how
many arguments it has. Often it i... | "Add rule to grammar, but only if it hasn't been added previously\n opname and stack_count are used in the customize() semantic\n the actions to add the semantic action rule. Stack_count is\n used in custom opcodes like MAKE_FUNCTION to indicate how\n many arguments it has. Often... | 205 | false | rocky/python-uncompyle6 | add_unique_rule | 30,585 | |
LDU_FT/aichaos/rivescript-python/_get_user | LDU_FT | [
"<BEGIN>\n## `format_message`",
"Format a user's message for safe processing.",
" This runs substitutions on the message and strips out any remaining\n symbols (depending on UTF-8 mode).",
" :param str msg: The user's message.\n :param bool botreply: Whether this formatting is bein... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Custom helper method to retrieve a user's data from Redis. | "Custom helper method to retrieve a user's data from Redis." | 218 | false | aichaos/rivescript-python | _get_user | 30,586 | |
LDU_FT/roboogle/gtkmvc3/getmembers | LDU_FT | [
"<BEGIN>\n## `__create_log_props`",
"Creates all the logical property.",
" The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.",
" This method resolves also wildcards in names, and perform... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getmembers API.
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 getmembers API.
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... | This is an implementation of inspect.getmembers, as in some versions
of python it may be buggy.
See issue at http://bugs.python.org/issue1785 | "This is an implementation of inspect.getmembers, as in some versions\n of python it may be buggy.\n See issue at http://bugs.python.org/issue1785" | 300 | false | roboogle/gtkmvc3 | getmembers | 30,587 | |
LDU_FT/mistio/mist.client/machines | LDU_FT | [
"<BEGIN>\n## `request`",
"The main purpose of this is to be a wrapper-like function to pass the api_token and all the other params to the\n requests that are being made",
" :returns: An instance of RequestsHandler\n<END>",
"<BEGIN>\n## `delete`",
"Delete the cloud from the list of added clouds... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the machines API.
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 machines API.
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... | Property-like function to call the _list_machines function in order to populate self._machines dict
:returns: A list of Machine instances. | "Property-like function to call the _list_machines function in order to populate self._machines dict\n\n :returns: A list of Machine instances." | 106 | false | mistio/mist.client | machines | 30,588 | |
LDU_FT/hackedd/gw2api/matches | LDU_FT | [
"<BEGIN>\n## `set_cache_dir`",
"Set the directory to cache JSON responses from most API endpoints.\n<END>",
"<BEGIN>\n## `get_cached`",
"Request a resource form the API, first checking if there is a cached\n response available. Returns the parsed JSON data.\n<END>",
"<BEGIN>\n## `skin_details`",
"T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API.
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 matches API.
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... | This resource returns a list of the currently running WvW matches, with
the participating worlds included in the result. Further details about a
match can be requested using the ``match_details`` function.
The response is a list of match objects, each of which contains the
following properties:
wv... | "This resource returns a list of the currently running WvW matches, with\n the participating worlds included in the result. Further details about a\n match can be requested using the ``match_details`` function.\n\n The response is a list of match objects, each of which contains the\n following properties:\n... | 188 | false | hackedd/gw2api | matches | 30,589 | |
LDU_FT/brianhie/scanorama/integrate | LDU_FT | [
"<BEGIN>\n## `silhouette_score`",
"Compute the mean Silhouette Coefficient of all samples.",
" The Silhouette Coefficient is calculated using the mean intra-cluster\n distance (``a``) and the mean nearest-cluster distance (``b``) for each\n sample. The Silhouette Coefficient for a sample is ``(b - a) ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the integrate API.
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 integrate API.
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... | Integrate a list of data sets.
Parameters
----------
datasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`
Data sets to integrate and correct.
genes_list: `list` of `list` of `string`
List of genes for each data set.
batch_size: `int`, optional (default: `5000`)
... | "Integrate a list of data sets.\n\n Parameters\n ----------\n datasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`\n Data sets to integrate and correct.\n genes_list: `list` of `list` of `string`\n List of genes for each data set.\n batch_size: `int`, optional (default:... | 137 | false | brianhie/scanorama | integrate | 30,590 | |
LDU_FT/quantmind/pulsar/get_header | LDU_FT | [
"<BEGIN>\n## `slugify`",
"Normalizes string, removes non-alpha characters,\n and converts spaces to ``separator`` character\n<END>",
"<BEGIN>\n## `multi_bulk`",
"Multi bulk encoding for list/tuple ``args``\n<END>",
"<BEGIN>\n## `is_mainthread`",
"Check if thread is the main thread.",
" If ``thread... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_header API.
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 get_header API.
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... | Retrieve ``header_name`` from this request headers. | "Retrieve ``header_name`` from this request headers." | 643 | false | quantmind/pulsar | get_header | 30,591 | |
LDU_FT/hwmrocker/smtplibaio/helo | LDU_FT | [
"<BEGIN>\n## `read_reply`",
"Reads a reply from the server.",
" Raises:\n ConnectionResetError: If the connection with the server is lost\n (we can't read any response anymore). Or if the server\n replies without a proper return code.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the helo API.
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 helo API.
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... | Sends a SMTP 'HELO' command. - Identifies the client and starts the
session.
If given ``from_host`` is None, defaults to the client FQDN.
For further details, please check out `RFC 5321 § 4.1.1.1`_.
Args:
from_host (str or None): Name to use to identify the client.
... | "Sends a SMTP 'HELO' command. - Identifies the client and starts the\n session.\n\n If given ``from_host`` is None, defaults to the client FQDN.\n\n For further details, please check out `RFC 5321 § 4.1.1.1`_.\n\n Args:\n from_host (str or None): Name to use to identify the client... | 140 | false | hwmrocker/smtplibaio | helo | 30,592 | |
LDU_FT/sbg/sevenbridges-python/get_log_file | LDU_FT | [
"<BEGIN>\n## `query`",
"Query (List) tasks. Date parameters may be both strings and python date\n objects.\n :param project: Target project. optional.\n :param status: Task status.\n :param batch: Only batch tasks.\n :param parent: Parent batch task identifier.\n :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_log_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_log_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 extr... | Retrieve automation run log.
:param api: sevenbridges Api instance
:return: Log string | "Retrieve automation run log.\n :param api: sevenbridges Api instance\n :return: Log string" | 292 | false | sbg/sevenbridges-python | get_log_file | 30,593 | |
LDU_FT/TorkamaniLab/metapipe/is_complete | LDU_FT | [
"<BEGIN>\n## `consume`",
"Converts the lexer tokens into valid statements. This process\n also checks command syntax.\n<END>",
"<BEGIN>\n## `_get`",
"Given a type and a dict of parser results, return\n the items as a list.\n<END>",
"<BEGIN>\n## `_parse`",
"Given a type and a list, parse it u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_complete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_complete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Checks the job's output or log file to determing if
the completion criteria was met. | "Checks the job's output or log file to determing if\n the completion criteria was met." | 84 | false | TorkamaniLab/metapipe | is_complete | 30,594 | |
LDU_FT/openpermissions/perch/collect | LDU_FT | [
"<BEGIN>\n## `collect`",
"Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>",
"<BEGIN>\n## `run_migrations`",
"Run migrations for a resource type",
" :param: a dicitionary of migrations\n<END>",
"<BEGIN>\n## `_migrate_resource`",
"Migrate a resour... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect API.
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 collect API.
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... | Import all modules inside the perch.migrations package and return the
registered migrations | "Import all modules inside the perch.migrations package and return the\n registered migrations" | 177 | false | openpermissions/perch | collect | 30,595 | |
LDU_FT/planetlabs/planet-client-python/get_filename_from_headers | LDU_FT | [
"<BEGIN>\n## `get_body`",
"Get the response Body",
" :returns Body: A Body object containing the response.\n<END>",
"<BEGIN>\n## `last_modified`",
"Read the last-modified header as a datetime, if present.\n<END>",
"<BEGIN>\n## `write`",
"Write the contents of the body to the optionally provided f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_filename_from_headers 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 get_filename_from_headers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Get a filename from the Content-Disposition header, if available.
>>> from planet.api import utils
>>> headers = {
... 'date': 'Thu, 14 Feb 2019 16:13:26 GMT',
... 'last-modified': 'Wed, 22 Nov 2017 17:22:31 GMT',
... 'accept-ranges': 'bytes',
... 'content-type': 'image/tiff',
... | "Get a filename from the Content-Disposition header, if available.\n\n >>> from planet.api import utils\n >>> headers = {\n ... 'date': 'Thu, 14 Feb 2019 16:13:26 GMT',\n ... 'last-modified': 'Wed, 22 Nov 2017 17:22:31 GMT',\n ... 'accept-ranges': 'bytes',\n ... 'content-type': 'image/... | 129 | false | planetlabs/planet-client-python | get_filename_from_headers | 30,596 | |
LDU_FT/google/pyu2f/ToByteArray | LDU_FT | [
"<BEGIN>\n## `ToByteArray`",
"Serialize the command.",
" Encodes the command as per the U2F specs, using the standard\n ISO 7816-4 extended encoding. All Commands expect data, so\n Le is always present.",
" Returns:\n Python bytearray of the encoded command.\n<END>",
"<BEGIN>\n## `_BuildPl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ToByteArray API.
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 ToByteArray API.
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... | Serialize the command.
Encodes the command as per the U2F specs, using the standard
ISO 7816-4 extended encoding. All Commands expect data, so
Le is always present.
Returns:
Python bytearray of the encoded command. | "Serialize the command.\n\n Encodes the command as per the U2F specs, using the standard\n ISO 7816-4 extended encoding. All Commands expect data, so\n Le is always present.\n\n Returns:\n Python bytearray of the encoded command." | 95 | false | google/pyu2f | ToByteArray | 30,597 | |
LDU_FT/ui/django-html_sanitizer/sanitize | LDU_FT | [
"<BEGIN>\n## `sanitize`",
"Sanitizes strings according to SANITIZER_ALLOWED_TAGS,\n SANITIZER_ALLOWED_ATTRIBUTES and SANITIZER_ALLOWED_STYLES variables in\n settings.",
" Example usage:",
" {% load sanitizer %}\n {{ post.content|escape_html }}\n<END>",
"<BEGIN>\n## `strip_filter`",
"Strips ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize API.
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 sanitize API.
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... | Sanitizes strings according to SANITIZER_ALLOWED_TAGS,
SANITIZER_ALLOWED_ATTRIBUTES and SANITIZER_ALLOWED_STYLES variables in
settings.
Example usage:
{% load sanitizer %}
{{ post.content|escape_html }} | "Sanitizes strings according to SANITIZER_ALLOWED_TAGS,\n SANITIZER_ALLOWED_ATTRIBUTES and SANITIZER_ALLOWED_STYLES variables in\n settings.\n\n Example usage:\n\n {% load sanitizer %}\n {{ post.content|escape_html }}" | 27 | false | ui/django-html_sanitizer | sanitize | 30,598 | |
LDU_FT/itamarst/eliot/to_file | LDU_FT | [
"<BEGIN>\n## `stopService`",
"Stop the writer thread, wait for it to finish.\n<END>",
"<BEGIN>\n## `bind`",
"Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>",
"<BEGIN>\n## `_freeze`",
"Freeze this message for logging, registering it with C{action}."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 to_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... | Add a destination that writes a JSON message per line to the given file.
@param output_file: A file-like object. | "Add a destination that writes a JSON message per line to the given file.\n\n @param output_file: A file-like object." | 282 | false | itamarst/eliot | to_file | 30,599 | |
LDU_FT/edx/bok-choy/_capabilities_dict | LDU_FT | [
"<BEGIN>\n## `wait_for_js`",
"Method decorator that waits for JavaScript dependencies before executing `function`.\n If the function is not a method, the decorator has no effect.",
" Args:\n function (callable): Method to decorate.",
" Returns:\n Decorated method\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _capabilities_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _capabilities_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Convert the dictionary of environment variables to
a dictionary of desired capabilities to send to the
Remote WebDriver.
`tags` is a list of string tags to apply to the SauceLabs job. | "Convert the dictionary of environment variables to\n a dictionary of desired capabilities to send to the\n Remote WebDriver.\n\n `tags` is a list of string tags to apply to the SauceLabs job." | 254 | false | edx/bok-choy | _capabilities_dict | 30,600 | |
LDU_FT/mongolab/mongoctl/needs_repl_key | LDU_FT | [
"<BEGIN>\n## `ensure_dir`",
"If DIR_PATH does not exist, makes it. Failing that, raises Exception.\n Returns True if dir already existed; False if it had to be made.\n<END>",
"<BEGIN>\n## `is_same_host`",
"Returns true if host1 == host2 OR map to the same host (using DNS)\n<END>",
"<BEGIN>\n## `is_same_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the needs_repl_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the needs_repl_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 ex... | We need a repl key if you are auth + a cluster member +
version is None or >= 2.0.0 | "We need a repl key if you are auth + a cluster member +\n version is None or >= 2.0.0" | 46 | false | mongolab/mongoctl | needs_repl_key | 30,601 | |
LDU_FT/andrea-cuttone/geoplotlib/create_set_cmap | LDU_FT | [
"<BEGIN>\n## `__voronoi_finite_polygons_2d`",
"Reconstruct infinite voronoi regions in a 2D diagram to finite\n regions.",
" Parameters\n ----------\n vor : Voronoi\n Input diagram\n radius : float, optional\n Distance to 'points at infinity'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_set_cmap API.
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 create_set_cmap API.
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... | return a dict of colors corresponding to the unique values
:param values: values to be mapped
:param cmap_name: colormap name
:param alpha: color alpha
:return: dict of colors corresponding to the unique values | "return a dict of colors corresponding to the unique values\n \n :param values: values to be mapped\n :param cmap_name: colormap name\n :param alpha: color alpha\n :return: dict of colors corresponding to the unique values" | 82 | false | andrea-cuttone/geoplotlib | create_set_cmap | 30,602 | |
LDU_FT/loads/molotov/get_var | LDU_FT | [
"<BEGIN>\n## `scenario`",
"Decorator to register a function as a Molotov test.",
" Options:",
" - **weight** used by Molotov when the scenarii are randomly picked.\n The functions with the highest values are more likely to be picked.\n Integer, defaults to 1. This value is ignored when the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var API.
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_var API.
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... | Gets a global variable given its name.
If factory is not None and the variable is not set, factory
is a callable that will set the variable.
If not set, returns None. | "Gets a global variable given its name.\n\n If factory is not None and the variable is not set, factory\n is a callable that will set the variable.\n\n If not set, returns None." | 23 | false | loads/molotov | get_var | 30,603 | |
LDU_FT/heitzmann/gdspy/slice | LDU_FT | [
"<BEGIN>\n## `_eight_byte_real`",
"Convert a number into the GDSII 8 byte real format.",
" Parameters\n ----------\n value : number\n The number to be converted.",
" Returns\n -------\n out : string\n The GDSII binary string that represents ``value``.\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Slice polygons and polygon sets at given positions along an axis.
Parameters
----------
objects : ``PolygonSet``, or list
Operand of the slice operation. If this is a list, each element
must be a ``PolygonSet``, ``CellReference``, ``CellArray``, or
an array-like[N][2] of vertices o... | "Slice polygons and polygon sets at given positions along an axis.\n\n Parameters\n ----------\n objects : ``PolygonSet``, or list\n Operand of the slice operation. If this is a list, each element\n must be a ``PolygonSet``, ``CellReference``, ``CellArray``, or\n an array-like[N][2] of ve... | 254 | false | heitzmann/gdspy | slice | 30,604 | |
LDU_FT/Kautenja/nes-py/render | LDU_FT | [
"<BEGIN>\n## `show`",
"Show an array of pixels on the window.",
" Args:\n frame (numpy.ndarray): the frame to show on the window",
" Returns:\n None\n<END>",
"<BEGIN>\n## `display_arr`",
"Display an image to the pygame screen.",
" Args:\n screen (pygame.Surf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Render the environment.
Args:
mode (str): the mode to render with:
- human: render to the current display
- rgb_array: Return an numpy.ndarray with shape (x, y, 3),
representing RGB values for an x-by-y pixel image
Returns:
a numpy array if... | "Render the environment.\n\n Args:\n mode (str): the mode to render with:\n - human: render to the current display\n - rgb_array: Return an numpy.ndarray with shape (x, y, 3),\n representing RGB values for an x-by-y pixel image\n\n Returns:\n a nump... | 49 | false | Kautenja/nes-py | render | 30,605 | |
LDU_FT/andrewramsay/sk8-drivers/get_supported_connections | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the device name and/or RSSI.",
" During an ongoing scan, multiple records from the same device can be \n received during the scan. Each time that happens this method is \n called to update the :attr:`name` and/or :attr:`rssi` attributes.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_supported_connections 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 get_supported_connections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns the number of supported simultaneous BLE connections.
The BLED112 is capable of supporting up to 8 simultaneous BLE connections.
However, the default firmware image has a limit of just 3 devices, which
is a lot easier to run up against. This method retrieves the current value
o... | "Returns the number of supported simultaneous BLE connections.\n\n The BLED112 is capable of supporting up to 8 simultaneous BLE connections.\n However, the default firmware image has a limit of just 3 devices, which \n is a lot easier to run up against. This method retrieves the current value\n ... | 193 | false | andrewramsay/sk8-drivers | get_supported_connections | 30,606 | |
LDU_FT/FNNDSC/pfdicom/ret_dump | LDU_FT | [
"<BEGIN>\n## `env_check`",
"This method provides a common entry for any checks on the \n environment (input / output dirs, etc)\n<END>",
"<BEGIN>\n## `tagsInString_process`",
"This method substitutes DICOM tags that are '%'-tagged\n in a string template with the actual tag lookup.",
" F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ret_dump API.
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 ret_dump API.
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... | JSON print results to console (or caller) | "JSON print results to console (or caller)" | 21 | false | FNNDSC/pfdicom | ret_dump | 30,607 | |
LDU_FT/matthew-brett/delocate/patch_wheel | LDU_FT | [
"<BEGIN>\n## `back_tick`",
"Run command `cmd`, return stdout, or stdout, stderr if `ret_err`",
" Roughly equivalent to ``check_output`` in Python 2.7",
" Parameters\n ----------\n cmd : sequence\n command to execute\n ret_err : bool, optional\n If True, return stderr in addition t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_wheel API.
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 patch_wheel API.
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... | Apply ``-p1`` style patch in `patch_fname` to contents of `in_wheel`
If `out_wheel` is None (the default), overwrite the wheel `in_wheel`
in-place.
Parameters
----------
in_wheel : str
Filename of wheel to process
patch_fname : str
Filename of patch file. Will be applied with ... | "Apply ``-p1`` style patch in `patch_fname` to contents of `in_wheel`\n\n If `out_wheel` is None (the default), overwrite the wheel `in_wheel`\n in-place.\n\n Parameters\n ----------\n in_wheel : str\n Filename of wheel to process\n patch_fname : str\n Filename of patch file. Will be ap... | 157 | false | matthew-brett/delocate | patch_wheel | 30,608 | |
LDU_FT/thespacedoctor/rockAtlas/main | LDU_FT | [
"<BEGIN>\n## `main`",
"*The main function used when ``find_atlas_exposure_containing_ssobject.py`` is run as a single script from the cl*\n<END>",
"<BEGIN>\n## `_extract_phot_from_exposure`",
"* extract phot from exposure*",
" **Key Arguments:**\n - ``expIdIndex`` -- index of the exposure to extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | *The main function used when ``find_atlas_exposure_containing_ssobject.py`` is run as a single script from the cl* | "*The main function used when ``find_atlas_exposure_containing_ssobject.py`` is run as a single script from the cl*" | 125 | false | thespacedoctor/rockAtlas | main | 30,609 | |
LDU_FT/ulfalizer/Kconfiglib/write_min_config | LDU_FT | [
"<BEGIN>\n## `oldconfig`",
"Prompts the user for a value if node.item is a visible symbol/choice with\n no user value.\n<END>",
"<BEGIN>\n## `all_arch_srcarch_pairs`",
"Generates all valid (ARCH, SRCARCH) tuples for the kernel, corresponding to\n different architectures. SRCARCH holds the arch/ subdirec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_min_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_min_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Writes out a "minimal" configuration file, omitting symbols whose value
matches their default value. The format matches the one produced by
'make savedefconfig'.
The resulting configuration file is incomplete, but a complete
configuration can be derived from it by loading it. Minimal
... | "Writes out a \"minimal\" configuration file, omitting symbols whose value\n matches their default value. The format matches the one produced by\n 'make savedefconfig'.\n\n The resulting configuration file is incomplete, but a complete\n configuration can be derived from it by loading it. Mi... | 139 | false | ulfalizer/Kconfiglib | write_min_config | 30,610 | |
LDU_FT/praw-dev/prawcore/update | LDU_FT | [
"<BEGIN>\n## `receive_connection`",
"Wait for and then return a connected socket..",
" Opens a TCP connection on port 8080, and waits for a single client.\n<END>",
"<BEGIN>\n## `send_message`",
"Send message to client and close the connection.\n<END>",
"<BEGIN>\n## `main`",
"Provide the program's ent... | 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 the state of the rate limiter based on the response headers.
This method should only be called following a HTTP request to reddit.
Response headers that do not contain x-ratelimit fields will be treated
as a single request. This behavior is to error on the safe-side as such
resp... | "Update the state of the rate limiter based on the response headers.\n\n This method should only be called following a HTTP request to reddit.\n\n Response headers that do not contain x-ratelimit fields will be treated\n as a single request. This behavior is to error on the safe-side as such\n ... | 51 | false | praw-dev/prawcore | update | 30,611 | |
LDU_FT/Azure/azure-event-hubs-python/process_error_async | LDU_FT | [
"<BEGIN>\n## `parse_sas_token`",
"Parse a SAS token into its components.",
" :param sas_token: The SAS token.\n :type sas_token: str\n :rtype: dict[str, str]\n<END>",
"<BEGIN>\n## `offset`",
"The offset of the event data object.",
" :rtype: ~azure.eventhub.common.Offset\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_error_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_error_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Handles processing errors this is never called since python recieve client doesn't
have error handling implemented (TBD add fault pump handling).
:param error: An error the occurred.
:type error: Exception | "Handles processing errors this is never called since python recieve client doesn't\n have error handling implemented (TBD add fault pump handling).\n\n :param error: An error the occurred.\n :type error: Exception" | 260 | false | Azure/azure-event-hubs-python | process_error_async | 30,612 | |
LDU_FT/GustavePate/distarkcli/unregister | LDU_FT | [
"<BEGIN>\n## `getIPString`",
"return comma delimited string of all the system IPs\n<END>",
"<BEGIN>\n## `register`",
"register the item in zookeeper /list/\n itemtype must be a Zooborg constant\n item_id must be a string\n handler: method to call on conf change\n<END>",
"<BEGIN>\n## `un... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister API.
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 unregister API.
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... | deregister the item in zookeeper /list/
itemtype must be a Zooborg constant
item_id must be a string | "deregister the item in zookeeper /list/\n itemtype must be a Zooborg constant\n item_id must be a string" | 12 | false | GustavePate/distarkcli | unregister | 30,613 | |
LDU_FT/475Cumulus/TBone/register | LDU_FT | [
"<BEGIN>\n## `request_args`",
"Returns the arguments passed with the request in a dictionary.\n Returns both URL resolved arguments and query string arguments.\n<END>",
"<BEGIN>\n## `connect`",
"Connects a signal to a receiver function",
" :param receiver:\n The callback function wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | This methods registers a resource with the router and connects all receivers to their respective signals
:param resource:
The resource class to register
:type resource:
A subclass of ``Resource`` class
:param endpoint:
the name of the resource's endpoint as i... | "This methods registers a resource with the router and connects all receivers to their respective signals\n\n :param resource:\n The resource class to register\n :type resource:\n A subclass of ``Resource`` class\n :param endpoint:\n the name of the resource's endpo... | 100 | false | 475Cumulus/TBone | register | 30,614 | |
LDU_FT/yougov/mongo-connector/retry_until_ok | LDU_FT | [
"<BEGIN>\n## `retry_until_ok`",
"Retry code block until it succeeds.",
" If it does not succeed in 120 attempts, the function re-raises any\n error the function raised on its last attempt.\n<END>",
"<BEGIN>\n## `apply_update`",
"Apply an update operation to a document.\n<END>",
"<BEGIN>\n## `bulk_up... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retry_until_ok API.
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 retry_until_ok API.
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... | Retry code block until it succeeds.
If it does not succeed in 120 attempts, the function re-raises any
error the function raised on its last attempt. | "Retry code block until it succeeds.\n\n If it does not succeed in 120 attempts, the function re-raises any\n error the function raised on its last attempt." | 115 | false | yougov/mongo-connector | retry_until_ok | 30,615 | |
LDU_FT/GGiecold/Cluster_Ensembles/sgraph | LDU_FT | [
"<BEGIN>\n## `memory`",
"Determine memory specifications of the machine.",
" Returns\n -------\n mem_info : dictonary\n Holds the current values for the total, free and used memory of the system.\n<END>",
"<BEGIN>\n## `get_chunk_size`",
"Given a two-dimensional array with a dimension of size... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sgraph API.
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 sgraph API.
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 ... | Runs METIS or hMETIS and returns the labels found by those
(hyper-)graph partitioning algorithms.
Parameters
----------
N_clusters_max : int
file_name : string
Returns
-------
labels : array of shape (n_samples,)
A vector of labels denoting the cluster to ... | "Runs METIS or hMETIS and returns the labels found by those \n (hyper-)graph partitioning algorithms.\n \n Parameters\n ----------\n N_clusters_max : int\n \n file_name : string\n \n Returns\n -------\n labels : array of shape (n_samples,)\n A vector of labels denoting th... | 110 | false | GGiecold/Cluster_Ensembles | sgraph | 30,616 | |
LDU_FT/kontron/python-aardvark/i2c_master_write_read | LDU_FT | [
"<BEGIN>\n## `find_devices`",
"Return a list of dictionaries. Each dictionary represents one device.",
" The dictionary contains the following keys: port, unique_id and in_use.\n `port` can be used with :func:`open`. `serial_number` is the serial number\n of the device (and can also be used with :func:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the i2c_master_write_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the i2c_master_write_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Make an I2C write/read access.
First an I2C write access is issued. No stop condition will be
generated. Instead the read access begins with a repeated start.
This method is useful for accessing most addressable I2C devices like
EEPROMs, port expander, etc.
Basically, this is ... | "Make an I2C write/read access.\n\n First an I2C write access is issued. No stop condition will be\n generated. Instead the read access begins with a repeated start.\n\n This method is useful for accessing most addressable I2C devices like\n EEPROMs, port expander, etc.\n\n Basically,... | 72 | false | kontron/python-aardvark | i2c_master_write_read | 30,617 | |
LDU_FT/bharadwaj-raju/libdesktop/remove_item | LDU_FT | [
"<BEGIN>\n## `get_config_dir`",
"Get the configuration directory.",
"\tGet the configuration directories, optionally for a specific program.",
"\tArgs:\n\t\t\tprogram\t(str) : The name of the program whose configuration directories have to be found.\n\t\t\tsystem_wide (bool): Gets the system-wide configuratio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Removes a program from startup.
Removes a program from startup.
Args:
name (str) : The name of the program (as known to the system) to remove. See :func:``list_items``.
system_wide (bool): Remove it from system-wide startup.
Note:
``system_wide`` requires superuser/admin privileges. | "Removes a program from startup.\n\n\tRemoves a program from startup.\n\n\tArgs:\n\t\tname (str) : The name of the program (as known to the system) to remove. See :func:``list_items``.\n\t\tsystem_wide (bool): Remove it from system-wide startup.\n\n\tNote:\n\t\t``system_wide`` requires superuser/admin privileges... | 119 | false | bharadwaj-raju/libdesktop | remove_item | 30,618 | |
LDU_FT/SeabornGames/RequestClient/put | LDU_FT | [
"<BEGIN>\n## `reinstantiate_endpoints`",
"This will re-instantiate the endpoints with the connection this time\n :param endpoint: Endpoint object to instantiate the sub endpoint in.\n :return: None\n<END>",
"<BEGIN>\n## `_pre_process_call`",
"This is called by the method_decorator within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | :param name: str of name for the account, defaults to the created timestamp
:param user_ids: list of int of users to give access to this account defaults to current user
:return: Account dict created | ":param name: str of name for the account, defaults to the created timestamp\n :param user_ids: list of int of users to give access to this account defaults to current user\n :return: Account dict created" | 148 | false | SeabornGames/RequestClient | put | 30,619 | |
LDU_FT/theislab/scvelo/dentategyrus | LDU_FT | [
"<BEGIN>\n## `strings_to_categoricals`",
"Transform string annotations to categoricals.\n<END>",
"<BEGIN>\n## `velocity_graph`",
"\\\n Plot of the velocity graph.",
" Arguments\n ---------\n adata: :class:`~anndata.AnnData`\n Annotated data matrix.\n vkey: `str` or `None` (default: `No... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dentategyrus API.
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 dentategyrus API.
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... | Dentate Gyrus dataset from Hochgerner et al. (2018).
Dentate gyrus is part of the hippocampus involved in learning, episodic memory formation and spatial coding.
It is measured using 10X Genomics Chromium and described in Hochgerner et al. (2018).
The data consists of 25,919 genes across 3,396 cells and pr... | "Dentate Gyrus dataset from Hochgerner et al. (2018).\n\n Dentate gyrus is part of the hippocampus involved in learning, episodic memory formation and spatial coding.\n It is measured using 10X Genomics Chromium and described in Hochgerner et al. (2018).\n The data consists of 25,919 genes across 3,396 cells a... | 200 | false | theislab/scvelo | dentategyrus | 30,620 | |
LDU_FT/google/python-adb/Devices | LDU_FT | [
"<BEGIN>\n## `_get_service_connection`",
"Based on the service, get the AdbConnection for that service or create one if it doesnt exist",
" :param service:\n :param service_command: Additional service parameters to append\n :param create: If False, dont create a connection if it does not ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Devices API.
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 Devices API.
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... | Lists the available devices.
Mimics 'adb devices' output:
List of devices attached
015DB7591102001A device 1,2 | "Lists the available devices.\n\n Mimics 'adb devices' output:\n List of devices attached\n 015DB7591102001A device 1,2" | 174 | false | google/python-adb | Devices | 30,621 | |
LDU_FT/gtaylor/python-colormath/_adaptation | 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 _adaptation API.
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 _adaptation API.
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... | :param f_l: Luminance adaptation factor
:param l_a: Adapting luminance
:param xyz: Stimulus color in XYZ
:param xyz_w: Reference white color in XYZ
:param xyz_b: Background color in XYZ
:param xyz_p: Proxima field color in XYZ
:param p: Simultaneous contrast/assimilation ... | ":param f_l: Luminance adaptation factor\n :param l_a: Adapting luminance\n :param xyz: Stimulus color in XYZ\n :param xyz_w: Reference white color in XYZ\n :param xyz_b: Background color in XYZ\n :param xyz_p: Proxima field color in XYZ\n :param p: Simultaneous contrast/assimi... | 133 | false | gtaylor/python-colormath | _adaptation | 30,622 | |
LDU_FT/jlesquembre/jlle/tag_exists | LDU_FT | [
"<BEGIN>\n## `no_input`",
"Return whether the user wants to run in no-input mode.",
" Enable this mode by adding a ``no-input`` option::",
" [zest.releaser]\n no-input = yes",
" The default when this option has not been set is False.",
" Standard config rules app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_exists API.
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 tag_exists API.
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... | Check if a tag has already been created with the name of the
version. | "Check if a tag has already been created with the name of the\n version." | 77 | false | jlesquembre/jlle | tag_exists | 30,623 | |
LDU_FT/sarugaku/vistir/to_bytes | LDU_FT | [
"<BEGIN>\n## `is_bytes`",
"Check if a string is a bytes instance",
" :param Union[str, bytes] string: A string that may be string or bytes like\n :return: Whether the provided string is a bytes type or not\n :rtype: bool\n<END>",
"<BEGIN>\n## `fs_encode`",
"Encode a filesystem path to the proper fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API.
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 to_bytes API.
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... | Force a value to bytes.
:param string: Some input that can be converted to a bytes.
:type string: str or bytes unicode or a memoryview subclass
:param encoding: The encoding to use for conversions, defaults to "utf-8"
:param encoding: str, optional
:return: Corresponding byte representation (for us... | "Force a value to bytes.\n\n :param string: Some input that can be converted to a bytes.\n :type string: str or bytes unicode or a memoryview subclass\n :param encoding: The encoding to use for conversions, defaults to \"utf-8\"\n :param encoding: str, optional\n :return: Corresponding byte representatio... | 54 | false | sarugaku/vistir | to_bytes | 30,624 | |
LDU_FT/benhoff/vexbot/do_REMOTE | LDU_FT | [
"<BEGIN>\n## `main`",
"`kwargs`:",
" `configuration_filepath`: filepath for the `ini` configuration\n<END>",
"<BEGIN>\n## `get_addresses`",
"parses a raw list from zmq to get back the components that are the address\n messages are broken by the addresses in the beginning and then the\n message,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_REMOTE API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_REMOTE API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Send a remote command to a service. Used
Args:
target: The service that the command gets set to
remote_command: The command to do remotely.
source: the binary source of the zmq_socket. Packed to send to the | "Send a remote command to a service. Used \n\n Args:\n target: The service that the command gets set to\n remote_command: The command to do remotely.\n source: the binary source of the zmq_socket. Packed to send to the" | 68 | false | benhoff/vexbot | do_REMOTE | 30,625 | |
LDU_FT/Kyria/EsiPy/__cache_response | LDU_FT | [
"<BEGIN>\n## `make_cache_key`",
"Generate a cache key from request object data\n<END>",
"<BEGIN>\n## `check_cache`",
"check if a cache fits esipy needs or not\n<END>",
"<BEGIN>\n## `get_cache_time_left`",
"return the time left in second for an expires header\n<END>",
"<BEGIN>\n## `generate_code_verifier... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __cache_response API.
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 __cache_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | cache the response
if method is one of self.__uncached_method__, don't cache anything | "cache the response\r\n\r\n if method is one of self.__uncached_method__, don't cache anything" | 87 | false | Kyria/EsiPy | __cache_response | 30,626 | |
LDU_FT/bitcraze/crazyflie-lib-python/_param_updated | LDU_FT | [
"<BEGIN>\n## `set_group_mask`",
"Set the group mask that the Crazyflie belongs to",
" :param group_mask: mask for which groups this CF belongs to\n<END>",
"<BEGIN>\n## `takeoff`",
"vertical takeoff from current x-y position to given height",
" :param absolute_height_m: absolut (m)\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _param_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _param_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 ex... | Callback with data for an updated parameter | "Callback with data for an updated parameter" | 312 | false | bitcraze/crazyflie-lib-python | _param_updated | 30,627 | |
LDU_FT/swisscom/cleanerversion/_set_child_joined_alias | LDU_FT | [
"<BEGIN>\n## `get_readonly_fields`",
"This is required a subclass of VersionedAdmin has readonly_fields\n ours won't be undone\n<END>",
"<BEGIN>\n## `get_list_display`",
"This method determines which fields go in the changelist\n<END>",
"<BEGIN>\n## `get_list_filter`",
"Adds versionable custom filt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_child_joined_alias 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 _set_child_joined_alias API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Set the joined alias on the child, for Django >= 1.8.0
:param child:
:param alias_map: | "Set the joined alias on the child, for Django >= 1.8.0\n :param child:\n :param alias_map:" | 149 | false | swisscom/cleanerversion | _set_child_joined_alias | 30,628 | |
LDU_FT/PySimpleGUI/PySimpleGUI/HowDoI | LDU_FT | [
"<BEGIN>\n## `read_mail`",
"Reads late emails from IMAP server and displays them in the Window\n :param window: window to display emails in\n :return:\n<END>",
"<BEGIN>\n## `runCommand`",
"run shell command",
"\t@param cmd: command to execute\n\t@param timeout: timeout for command execution",
"\t@re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HowDoI API.
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 HowDoI API.
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 ... | Make and show a window (PySimpleGUI form) that takes user input and sends to the HowDoI web oracle
Excellent example of 2 GUI concepts
1. Output Element that will show text in a scrolled window
2. Non-Window-Closing Buttons - These buttons will cause the form to return with the form's values, but do... | "Make and show a window (PySimpleGUI form) that takes user input and sends to the HowDoI web oracle\n Excellent example of 2 GUI concepts\n 1. Output Element that will show text in a scrolled window\n 2. Non-Window-Closing Buttons - These buttons will cause the form to return with the form's values, bu... | 110 | false | PySimpleGUI/PySimpleGUI | HowDoI | 30,629 | |
LDU_FT/alerta/alerta/get_count | LDU_FT | [
"<BEGIN>\n## `get_severity`",
"Get severity of correlated alert. Used to determine previous severity.\n<END>",
"<BEGIN>\n## `is_flapping`",
"Return true if alert severity has changed more than X times in Y seconds\n<END>",
"<BEGIN>\n## `dedup_alert`",
"Update alert status, service, value, text, timeout an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return total number of alerts that meet the query filter. | "Return total number of alerts that meet the query filter." | 34 | false | alerta/alerta | get_count | 30,630 | |
LDU_FT/renzon/gaeforms/normalize_field | LDU_FT | [
"<BEGIN>\n## `fill_model`",
"Populates a model with normalized properties. If no model is provided (None) a new one will be created.\n :param model: model to be populade\n :return: populated model\n<END>",
"<BEGIN>\n## `fill_with_model`",
"Populates this form with localized properties from model... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_field API.
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 normalize_field API.
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... | Method that must transform the value from string
Ex: if the expected type is int, it should return int(self._attr) | "Method that must transform the value from string\n Ex: if the expected type is int, it should return int(self._attr)" | 10 | false | renzon/gaeforms | normalize_field | 30,631 | |
LDU_FT/loanzen/falcon-auth/authenticate | LDU_FT | [
"<BEGIN>\n## `parse_auth_token_from_request`",
"Parses and returns Auth token from the request header. Raises\n `falcon.HTTPUnauthoried exception` with proper error message\n<END>",
"<BEGIN>\n## `get_auth_header`",
"Returns the value for authorization header\n Args:\n user_payload(dic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
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 authenticate API.
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... | Extract basic auth token from request `authorization` header, deocode the
token, verifies the username/password and return either a ``user``
object if successful else raise an `falcon.HTTPUnauthoried exception` | "Extract basic auth token from request `authorization` header, deocode the\n token, verifies the username/password and return either a ``user``\n object if successful else raise an `falcon.HTTPUnauthoried exception`" | 15 | false | loanzen/falcon-auth | authenticate | 30,632 | |
LDU_FT/ungarj/tilematrix/tile_y_size | LDU_FT | [
"<BEGIN>\n## `tile`",
"Return Tile object of this TilePyramid.",
" - zoom: zoom level\n - row: tile matrix row\n - col: tile matrix column\n<END>",
"<BEGIN>\n## `matrix_width`",
"Tile matrix width (number of columns) at zoom level.",
" - zoom: zoom level\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tile_y_size API.
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 tile_y_size API.
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... | Height of a tile in SRID units at zoom level.
- zoom: zoom level | "Height of a tile in SRID units at zoom level.\n\n - zoom: zoom level" | 71 | false | ungarj/tilematrix | tile_y_size | 30,633 | |
LDU_FT/cloud-custodian/cloud-custodian/group_by | LDU_FT | [
"<BEGIN>\n## `factory`",
"Factory func for filters.",
" data - policy config for filters\n manager - resource type manager (ec2, s3, etc)\n<END>",
"<BEGIN>\n## `get_block_operator`",
"Determine the immediate parent boolean operator for a filter\n<END>",
"<BEGIN>\n## `_validate_resource_count... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_by API.
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 group_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a mapping of key value to resources with the corresponding value.
Key may be specified as dotted form for nested dictionary lookup | "Return a mapping of key value to resources with the corresponding value.\n\n Key may be specified as dotted form for nested dictionary lookup" | 506 | false | cloud-custodian/cloud-custodian | group_by | 30,634 | |
LDU_FT/standage/tag/_visit | LDU_FT | [
"<BEGIN>\n## `accession`",
"Parse accession number from commonly supported formats.",
" If the defline does not match one of the following formats, the entire\n description (sans leading caret) will be returned.",
" * >gi|572257426|ref|XP_006607122.1|\n * >gnl|Tcas|XP_008191512.1\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _visit API.
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 _visit API.
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 ... | Sort features topologically.
This recursive function uses depth-first search to find an ordering of
the features in the feature graph that is sorted both topologically and
with respect to genome coordinates.
Implementation based on Wikipedia's description of the algorithm in
Co... | "Sort features topologically.\n\n This recursive function uses depth-first search to find an ordering of\n the features in the feature graph that is sorted both topologically and\n with respect to genome coordinates.\n\n Implementation based on Wikipedia's description of the algorithm in\n ... | 114 | false | standage/tag | _visit | 30,635 | |
LDU_FT/theiviaxx/python-perforce/shelve | LDU_FT | [
"<BEGIN>\n## `split_ls`",
"Decorator to split files into manageable chunks as not to exceed the windows cmd limit",
" :param func: Function to call for each chunk\n :type func: :py:class:Function\n<END>",
"<BEGIN>\n## `status`",
"The status of the connection to perforce\n<END>",
"<BEGIN>\n## `run`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shelve API.
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 shelve API.
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 ... | Shelves the file if it is in a changelist
:param changelist: Changelist to add the move to
:type changelist: :class:`.Changelist` | "Shelves the file if it is in a changelist\n\n :param changelist: Changelist to add the move to\n :type changelist: :class:`.Changelist`" | 74 | false | theiviaxx/python-perforce | shelve | 30,636 | |
LDU_FT/bheinzerling/pyrouge/xml_equal | LDU_FT | [
"<BEGIN>\n## `split`",
"Splits text and returns a list of the resulting sentences.\n<END>",
"<BEGIN>\n## `xml_equal`",
"Parse xml and convert to a canonical string representation so we don't\n have to worry about semantically meaningless differences\n<END>",
"<BEGIN>\n## `process`",
"Apply function to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xml_equal API.
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 xml_equal API.
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... | Parse xml and convert to a canonical string representation so we don't
have to worry about semantically meaningless differences | "Parse xml and convert to a canonical string representation so we don't\n have to worry about semantically meaningless differences" | 45 | false | bheinzerling/pyrouge | xml_equal | 30,637 | |
LDU_FT/carsonyl/pypac/parse_pac_value | LDU_FT | [
"<BEGIN>\n## `proxy_urls_from_dns`",
"Generate URLs from which to look for a PAC file, based on a hostname.\r\n Fully-qualified hostnames are checked against the Mozilla Public Suffix List to ensure that\r\n generated URLs don't go outside the scope of the organization.\r\n If the fully-qualified hostnam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_pac_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_pac_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Parse the return value of ``FindProxyForURL()`` into a list.
List elements will either be the string "DIRECT" or a proxy URL.
For example, the result of parsing ``PROXY example.local:8080; DIRECT``
is a list containing strings ``http://example.local:8080`` and ``DIRECT``.
:param str value: Any value r... | "Parse the return value of ``FindProxyForURL()`` into a list.\n List elements will either be the string \"DIRECT\" or a proxy URL.\n\n For example, the result of parsing ``PROXY example.local:8080; DIRECT``\n is a list containing strings ``http://example.local:8080`` and ``DIRECT``.\n\n :param str value: An... | 88 | false | carsonyl/pypac | parse_pac_value | 30,638 | |
LDU_FT/quantumlib/Cirq/_parse_device | LDU_FT | [
"<BEGIN>\n## `_absorb_z_into_w`",
"Absorbs a Z^t gate into a W(a) flip.",
" [Where W(a) is shorthand for PhasedX(phase_exponent=a).]",
" Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_device API.
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 _parse_device API.
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... | Parse ASCIIart device layout into info about qubits and connectivity.
Args:
s: String representing the qubit layout. Each line represents a row,
and each character in the row is a qubit, or a blank site if the
character is a hyphen '-'. Different letters for the qubit specify
... | "Parse ASCIIart device layout into info about qubits and connectivity.\n\n Args:\n s: String representing the qubit layout. Each line represents a row,\n and each character in the row is a qubit, or a blank site if the\n character is a hyphen '-'. Different letters for the qubit specify\... | 1,764 | true | quantumlib/Cirq | _parse_device | 30,639 | |
LDU_FT/alevinval/scheduling/explore | LDU_FT | [
"<BEGIN>\n## `wait_and_join`",
"Given a task, waits for it until it finishes\n :param task: Task\n :return:\n<END>",
"<BEGIN>\n## `depends`",
"Interfaces the GraphNode `depends` method\n<END>",
"<BEGIN>\n## `dfs`",
"Perform a depth-first search on the node graph\n :param node: GraphNode\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the explore API.
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 explore API.
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... | Given a node, explores on relatives, siblings and children
:param node: GraphNode from which to explore
:return: set of explored GraphNodes | "Given a node, explores on relatives, siblings and children\n :param node: GraphNode from which to explore\n :return: set of explored GraphNodes" | 12 | false | alevinval/scheduling | explore | 30,640 | |
LDU_FT/Chilipp/psy-simple/validate_err_calc | LDU_FT | [
"<BEGIN>\n## `try_and_error`",
"Apply multiple validation functions",
" Parameters\n ----------\n ``*funcs``\n Validation functions to test",
" Returns\n -------\n function\n<END>",
"<BEGIN>\n## `validate_text`",
"Validate a text formatoption",
" Parameters\n ----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_err_calc API.
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 validate_err_calc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Validation function for the
:attr:`psy_simple.plotter.FldmeanPlotter.err_calc` formatoption | "Validation function for the\n :attr:`psy_simple.plotter.FldmeanPlotter.err_calc` formatoption" | 183 | false | Chilipp/psy-simple | validate_err_calc | 30,641 | |
LDU_FT/exa-analytics/exa/variables | LDU_FT | [
"<BEGIN>\n## `_create`",
"Globally called function for creating the isotope/element API.\n<END>",
"<BEGIN>\n## `read_tarball`",
"Read a (possibly compressed) tarball archive and return a dictionary of\n editors.",
" .. code-block:: python",
" eds = read_tarball(path, classes=MyEditor) # Al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Display a list of templatable variables present in the file.
Templating is accomplished by creating a bracketed object in the same
way that Python performs `string formatting`_. The editor is able to
replace the placeholder value of the template. Integer templates are
positional argumen... | "Display a list of templatable variables present in the file.\n\n Templating is accomplished by creating a bracketed object in the same\n way that Python performs `string formatting`_. The editor is able to\n replace the placeholder value of the template. Integer templates are\n positional a... | 194 | false | exa-analytics/exa | variables | 30,642 | |
LDU_FT/contentful/contentful.py/locales | LDU_FT | [
"<BEGIN>\n## `incoming_references`",
"Fetches all entries referencing the entry",
" API Reference: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-asset",
" :param client Client instance\n :param query: (optional) Dict with... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the locales API.
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 locales API.
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... | Fetches all Locales from the Environment (up to the set limit, can be modified in `query`).
# TODO: fix url
API Reference: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/assets/assets-collection/get-all-assets-of-a-space
:param query: (optional) Dict wit... | "Fetches all Locales from the Environment (up to the set limit, can be modified in `query`).\n\n # TODO: fix url\n API Reference: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/assets/assets-collection/get-all-assets-of-a-space\n\n :param query: (optional) Di... | 71 | false | contentful/contentful.py | locales | 30,643 | |
LDU_FT/klavinslab/coral/copy | LDU_FT | [
"<BEGIN>\n## `sequence_type`",
"Validates a coral.sequence data type.",
" :param sequence_in: input DNA sequence.\n :type sequence_in: any\n :returns: The material - 'dna', 'rna', or 'peptide'.\n :rtype: str\n :raises: ValueError\n<END>",
"<BEGIN>\n## `pcr`",
"Simulate a PCR.",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Create a copy of the current instance.
:returns: A safely editable copy of the current sequence.
:rtype: coral.Peptide | "Create a copy of the current instance.\n\n :returns: A safely editable copy of the current sequence.\n :rtype: coral.Peptide" | 364 | false | klavinslab/coral | copy | 30,644 | |
LDU_FT/seme0021/python-zillow/GetDeepComps | LDU_FT | [
"<BEGIN>\n## `GetSearchResults`",
"The GetSearchResults API finds a property for a specified address.\n The content returned contains the address for the property or properties as well as the Zillow Property ID (ZPID) and current Zestimate.\n It also includes the date the Zestimate was computed, a v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetDeepComps API.
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 GetDeepComps API.
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... | The GetDeepComps API returns a list of comparable recent sales for a specified property.
The result set returned contains the address, Zillow property identifier, and Zestimate for the comparable
properties and the principal property for which the comparables are being retrieved.
This API call a... | "The GetDeepComps API returns a list of comparable recent sales for a specified property.\n The result set returned contains the address, Zillow property identifier, and Zestimate for the comparable\n properties and the principal property for which the comparables are being retrieved.\n This API ca... | 22 | false | seme0021/python-zillow | GetDeepComps | 30,645 | |
LDU_FT/taskcluster/taskcluster-client.py/get | 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 get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Read Secret
Read the secret associated with some key. If the secret has recently
expired, the response code 410 is returned. If the caller lacks the
scope necessary to get the secret, the call will fail with a 403 code
regardless of whether the secret exists.
This method give... | "Read Secret\n\n Read the secret associated with some key. If the secret has recently\n expired, the response code 410 is returned. If the caller lacks the\n scope necessary to get the secret, the call will fail with a 403 code\n regardless of whether the secret exists.\n\n This met... | 997 | false | taskcluster/taskcluster-client.py | get | 30,646 | |
LDU_FT/razor-x/scipy-data_fitting/error | LDU_FT | [
"<BEGIN>\n## `add_symbol`",
"Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.",
" [1]: http://docs.sympy.org/dev/modules/core.html#id4\n<END>",
"<BEGIN>\n## `replac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted d... | Error associated with the data as a two element tuple of the form `(x_error, y_error)`.
Both `x_error` and `y_error` is a [`numpy.ndarray`][1] or `None`.
The array dimensions depend on how the error is specified:
1. Symmetric constant error is a zero dimensional array: `error`.
2. Asy... | "Error associated with the data as a two element tuple of the form `(x_error, y_error)`.\n\n Both `x_error` and `y_error` is a [`numpy.ndarray`][1] or `None`.\n\n The array dimensions depend on how the error is specified:\n\n 1. Symmetric constant error is a zero dimensional array: `error`.\n ... | 163 | false | razor-x/scipy-data_fitting | error | 30,647 | |
LDU_FT/ajenhl/tacl/_process_maybe_work | LDU_FT | [
"<BEGIN>\n## `_format_content`",
"Returns `content` with consecutive spaces converted to non-break\n spaces, and linebreak converted into HTML br elements.",
" :param content: text to format\n :type content: `str`\n :rtype: `str`\n<END>",
"<BEGIN>\n## `_prepare_text`",
"Returns `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_maybe_work 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 _process_maybe_work API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns statistics of how `yes_work` compares with `maybe_work`.
:param yes_work: name of work for which stats are collected
:type yes_work: `str`
:param maybe_work: name of work being compared with `yes_work`
:type maybe_work: `str`
:param work_dir: directory where generated fi... | "Returns statistics of how `yes_work` compares with `maybe_work`.\n\n :param yes_work: name of work for which stats are collected\n :type yes_work: `str`\n :param maybe_work: name of work being compared with `yes_work`\n :type maybe_work: `str`\n :param work_dir: directory where gener... | 463 | false | ajenhl/tacl | _process_maybe_work | 30,648 | |
LDU_FT/rGunti/CarPi-OBDDaemon/parse_obj | LDU_FT | [
"<BEGIN>\n## `parse_value`",
"Parses a given OBD value of a given type (PID)\n and returns the parsed value.\n If the PID is unknown / not implemented a PIDParserUnknownError\n will be raised including the type which was unknown\n :param type:\n :param val:\n :return:\n<END>",
"<BEGIN>\n## `pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Parses a given dictionary with the key being the OBD PID and the value its
returned value by the OBD interface
:param dict o:
:return: | "Parses a given dictionary with the key being the OBD PID and the value its\n returned value by the OBD interface\n :param dict o:\n :return:" | 18 | false | rGunti/CarPi-OBDDaemon | parse_obj | 30,649 | |
LDU_FT/iamjarret/pystockfish/_get_info_score | LDU_FT | [
"<BEGIN>\n## `move`",
"Advance game by single move, if possible.",
" @return: logical indicator if move was performed.\n<END>",
"<BEGIN>\n## `setposition`",
"Move list is a list of moves (i.e. ['e2e4', 'e7e5', ...]) each entry as a string. Moves must be in full algebraic notation.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_info_score API.
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_info_score API.
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... | Helper function for _bestmove_get_info.
Example inputs:
score cp -100 <- engine is behind 100 centipawns
score mate 3 <- engine has big lead or checkmated opponent | "Helper function for _bestmove_get_info.\n\n Example inputs:\n\n score cp -100 <- engine is behind 100 centipawns\n score mate 3 <- engine has big lead or checkmated opponent" | 25 | false | iamjarret/pystockfish | _get_info_score | 30,650 | |
LDU_FT/mypebble/django-feature-flipper/_get_value | LDU_FT | [
"<BEGIN>\n## `show_feature`",
"Return True/False whether the assigned feature can be displayed. This is\n primarily used in the template tag to determine whether to render the\n content inside itself.\n<END>",
"<BEGIN>\n## `do_flipper`",
"The flipper tag takes two arguments: the user to look up and the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_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 extrac... | Works out whether key is a value or if it's a variable referencing a
value in context and returns the correct value. | "Works out whether key is a value or if it's a variable referencing a\n value in context and returns the correct value." | 10 | false | mypebble/django-feature-flipper | _get_value | 30,651 | |
LDU_FT/thespacedoctor/qubits/extract_spectra_from_file | LDU_FT | [
"<BEGIN>\n## `setup`",
"*setup the workspace in the requested location*",
" **Return:**\n - ``None``\n<END>",
"<BEGIN>\n## `random_redshift_array`",
"*Generate a NumPy array of random distances given a sample number and distance limit*",
" **Key Arguments:**\n - ``log`` -- logg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_spectra_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 conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_spectra_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 conclusi... | *Given a spectrum file this function shall convert the two columns (wavelength and luminosity) to a wavelegnth (wavelengthArray) and flux (fluxArray) array*
**Key Arguments:**
- ``log`` -- logger
- ``pathToSpectrum`` -- absolute path the the spectrum file
**Return:**
- None | "*Given a spectrum file this function shall convert the two columns (wavelength and luminosity) to a wavelegnth (wavelengthArray) and flux (fluxArray) array*\n\n **Key Arguments:**\n - ``log`` -- logger\n - ``pathToSpectrum`` -- absolute path the the spectrum file\n\n **Return:**\n - None" | 152 | false | thespacedoctor/qubits | extract_spectra_from_file | 30,652 | |
LDU_FT/tzutalin/labelImg/newAction | LDU_FT | [
"<BEGIN>\n## `newAction`",
"Create a new action and assign callbacks, shortcuts, etc.\n<END>",
"<BEGIN>\n## `natural_sort`",
"Sort the list into natural alphanumeric order.\n<END>",
"<BEGIN>\n## `mouseMoveEvent`",
"Update line with last point and current coordinates.\n<END>",
"<BEGIN>\n## `selectShapePo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the newAction API.
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 newAction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create a new action and assign callbacks, shortcuts, etc. | "Create a new action and assign callbacks, shortcuts, etc." | 29 | false | tzutalin/labelImg | newAction | 30,653 | |
LDU_FT/intelligenia/modeltranslation/trans_attr | LDU_FT | [
"<BEGIN>\n## `_get_fieldtranslations`",
"Get all the translations for this object.\n<END>",
"<BEGIN>\n## `_load_translations`",
"Loads all translations as dynamic attributes:\n\t\t<attr>_<lang_code>\n\t\t<attr>_<lang_code>_is_fuzzy\n<END>",
"<BEGIN>\n## `_set_dict_translations`",
"Establece los atributos ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trans_attr API.
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 trans_attr API.
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... | Returns the name of the translated attribute of the object <attribute>_<lang_iso_code>.
For example: name_es (name attribute in Spanish)
@param attr Attribute whose name will form the name translated attribute.
@param lang ISO Language code that will be the suffix of the translated attribute.
@return: string with t... | "Returns the name of the translated attribute of the object <attribute>_<lang_iso_code>.\n\tFor example: name_es (name attribute in Spanish)\n\t@param attr Attribute whose name will form the name translated attribute.\n\t@param lang ISO Language code that will be the suffix of the translated attribute.\n\t@return: stri... | 36 | false | intelligenia/modeltranslation | trans_attr | 30,654 | |
LDU_FT/juju/juju-bundlelib/_validate_services | LDU_FT | [
"<BEGIN>\n## `isstring`",
"Report whether the given value is a byte or unicode string.\n<END>",
"<BEGIN>\n## `_parse_url`",
"Parse the given charm or bundle URL, provided as a string.",
" Return a tuple containing the entity reference fragments: schema, user,\n series, name and revision.\n Each fra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_services 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 _validate_services 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... | Validate each service within the bundle.
Receive the services and machines sections of the bundle.
Use the given add_error callable to register validation error. | "Validate each service within the bundle.\n\n Receive the services and machines sections of the bundle.\n Use the given add_error callable to register validation error." | 84 | false | juju/juju-bundlelib | _validate_services | 30,655 | |
LDU_FT/mongolab/dex/_namespace_requested | LDU_FT | [
"<BEGIN>\n## `generate_query_report`",
"Generates a comprehensive report on the raw query\n<END>",
"<BEGIN>\n## `_ensure_index_cache`",
"Adds a collections index entries to the cache if not present\n<END>",
"<BEGIN>\n## `_generate_query_analysis`",
"Translates a raw query object into a Dex query analysis\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _namespace_requested 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 _namespace_requested API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Checks whether the requested_namespaces contain the provided
namespace | "Checks whether the requested_namespaces contain the provided\n namespace" | 30 | false | mongolab/dex | _namespace_requested | 30,656 | |
LDU_FT/vfilimonov/pydatastream/construct_request | LDU_FT | [
"<BEGIN>\n## `request`",
"General function to retrieve one record in raw format.",
" query - query string for DWE system. This may be a simple instrument name\n or more complicated request. Refer to the documentation for the\n format.\n source - The name o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_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... | Construct a request string for querying TR DWE.
tickers - ticker or symbol
fields - list of fields.
date - date for a single-date query
date_from, date_to - date range (used only if "date" is not specified)
freq - frequency of data: daily('D'), weekly('W') ... | "Construct a request string for querying TR DWE.\n\n tickers - ticker or symbol\n fields - list of fields.\n date - date for a single-date query\n date_from, date_to - date range (used only if \"date\" is not specified)\n freq - frequency of data: daily('D'), wee... | 49 | false | vfilimonov/pydatastream | construct_request | 30,657 | |
LDU_FT/innogames/polysh/print_unfinished_line | LDU_FT | [
"<BEGIN>\n## `process_input_buffer`",
"Send the content of the input buffer to all remote processes, this must\n be called in the main thread\n<END>",
"<BEGIN>\n## `write_main_socket`",
"Synchronous write to the main socket, wait for ACK\n<END>",
"<BEGIN>\n## `get_stdin_pid`",
"Try to get the PID of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_unfinished_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_unfinished_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 unfinished line stayed long enough in the buffer to be printed | "The unfinished line stayed long enough in the buffer to be printed" | 66 | false | innogames/polysh | print_unfinished_line | 30,658 | |
LDU_FT/marrow/WebCore/transform | LDU_FT | [
"<BEGIN>\n## `_promote`",
"Create a new subclass of Context which incorporates instance attributes and new descriptors.",
"\t\tThis promotes an instance and its instance attributes up to being a class with class attributes, then\n\t\treturns an instance of that class.\n<END>",
"<BEGIN>\n## `register`",
"Reg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Transform the value returned by the controller endpoint.
This extension transforms returned values if the endpoint has a return type annotation. | "Transform the value returned by the controller endpoint.\n\t\t\n\t\tThis extension transforms returned values if the endpoint has a return type annotation." | 90 | false | marrow/WebCore | transform | 30,659 | |
LDU_FT/glormph/msstitch/get_psms | LDU_FT | [
"<BEGIN>\n## `parse_input`",
"Build peptide table has no input file (though it has a lookup),\n which is why we set it to outfile name so the infile fetching\n and outfile creating wont error.\n<END>",
"<BEGIN>\n## `set_feature_generator`",
"Generates proteins with quant from the lookup table\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_psms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_psms API.
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... | Creates iterator to write to new tsv. Contains input tsv
lines plus quant data for these. | "Creates iterator to write to new tsv. Contains input tsv\n lines plus quant data for these." | 233 | false | glormph/msstitch | get_psms | 30,660 | |
LDU_FT/jaseg/python-mpv/key_binding | LDU_FT | [
"<BEGIN>\n## `_mpv_coax_proptype`",
"Intelligently coax the given python value into something that can be understood as a proptype property.\n<END>",
"<BEGIN>\n## `_make_node_str_list`",
"Take a list of python objects and make a MPV string node array from it.",
" As an example, the python list ``l = [ \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key_binding API.
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 key_binding API.
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 decorator to register a low-level key binding.
The callback function signature is ``fun(key_state, key_name)`` where ``key_state`` is either ``'U'`` for "key
up" or ``'D'`` for "key down".
The keydef format is: ``[Shift+][Ctrl+][Alt+][Meta+]<key>`` where ``<key>`` is either the litera... | "Function decorator to register a low-level key binding.\n\n The callback function signature is ``fun(key_state, key_name)`` where ``key_state`` is either ``'U'`` for \"key\n up\" or ``'D'`` for \"key down\".\n\n The keydef format is: ``[Shift+][Ctrl+][Alt+][Meta+]<key>`` where ``<key>`` is either ... | 66 | false | jaseg/python-mpv | key_binding | 30,661 | |
LDU_FT/frascoweb/frasco/action_decorator | LDU_FT | [
"<BEGIN>\n## `load_actions`",
"Each item can be an action name as a string or a dict. When using a dict,\n one key/item pair must be the action name and its options and the rest action\n decorator names and their options.\n Example:\n load_actions([\"login_required\", {\"flash\": {\"message\": \"h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action_decorator API.
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 action_decorator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Decorator to register an action decorator | "Decorator to register an action decorator" | 80 | false | frascoweb/frasco | action_decorator | 30,662 | |
LDU_FT/pygobject/pgi/_take_ownership | LDU_FT | [
"<BEGIN>\n## `get_backend`",
"Returns the backend by name or raises KeyError\n<END>",
"<BEGIN>\n## `set_backend`",
"Set a prefered ffi backend (cffi, ctypes).",
" set_backend() -- default\n set_backend(\"cffi\") -- cffi first, others as fallback\n set_backend(\"ctypes\") -- ctypes first, others as ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _take_ownership API.
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 _take_ownership API.
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... | Make the Python instance take ownership of the GIBaseInfo. i.e.
unref if the python instance gets gc'ed. | "Make the Python instance take ownership of the GIBaseInfo. i.e.\n unref if the python instance gets gc'ed." | 363 | false | pygobject/pgi | _take_ownership | 30,663 | |
LDU_FT/noirbizarre/flask-fs/best_url | LDU_FT | [
"<BEGIN>\n## `configure`",
"Load configuration from application configuration.",
" For each storage, the configuration is loaded with the following pattern::",
" FS_{BACKEND_NAME}_{KEY} then\n {STORAGE_NAME}_FS_{KEY}",
" If no configuration is set for a given key, global ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the best_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the best_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Provide the best thumbnail for downscaling.
If there is no match, provide the bigger if exists or the original | "Provide the best thumbnail for downscaling.\n\n If there is no match, provide the bigger if exists or the original" | 62 | false | noirbizarre/flask-fs | best_url | 30,664 | |
LDU_FT/JinnLynn/genpac/connect | LDU_FT | [
"<BEGIN>\n## `set_default_proxy`",
"set_default_proxy(proxy_type, addr[, port[, rdns[, username, password]]])",
" Sets a default proxy which all further socksocket objects will use,\n unless explicitly changed. All parameters are as for socket.set_proxy().\n<END>",
"<BEGIN>\n## `create_connection`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connects to the specified destination through a proxy.
Uses the same API as socket's connect().
To select the proxy server, use set_proxy().
dest_pair - 2-tuple of (IP/hostname, port). | "Connects to the specified destination through a proxy.\n Uses the same API as socket's connect().\n To select the proxy server, use set_proxy().\n\n dest_pair - 2-tuple of (IP/hostname, port)." | 41 | false | JinnLynn/genpac | connect | 30,665 | |
LDU_FT/quantumlib/Cirq/dirac_notation | LDU_FT | [
"<BEGIN>\n## `_absorb_z_into_w`",
"Absorbs a Z^t gate into a W(a) flip.",
" [Where W(a) is shorthand for PhasedX(phase_exponent=a).]",
" Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dirac_notation API.
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 dirac_notation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns the wavefunction as a string in Dirac notation.
For example:
state = np.array([1/np.sqrt(2), 1/np.sqrt(2)], dtype=np.complex64)
print(dirac_notation(state)) -> 0.71|0⟩ + 0.71|1⟩
Args:
state: A sequence representing a wave function in which the ordering
mapping to q... | "Returns the wavefunction as a string in Dirac notation.\n\n For example:\n\n state = np.array([1/np.sqrt(2), 1/np.sqrt(2)], dtype=np.complex64)\n print(dirac_notation(state)) -> 0.71|0⟩ + 0.71|1⟩\n\n Args:\n state: A sequence representing a wave function in which the ordering\n ma... | 1,764 | true | quantumlib/Cirq | dirac_notation | 30,666 | |
LDU_FT/tBuLi/symfit/_internal2external_lambda | LDU_FT | [
"<BEGIN>\n## `seperate_symbols`",
"Seperate the symbols in symbolic function func. Return them in alphabetical\n order.",
" :param func: scipy symbolic function.\n :return: (vars, params), a tuple of all variables and parameters, each \n sorted in alphabetical order.\n :raises TypeError: only... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _internal2external_lambda 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 _internal2external_lambda API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Make a lambda function which converts a single internal (uncontrained)
parameter to a external (constrained) parameter. | "Make a lambda function which converts a single internal (uncontrained)\n parameter to a external (constrained) parameter." | 239 | false | tBuLi/symfit | _internal2external_lambda | 30,667 | |
LDU_FT/datadotworld/data.world-py/append_records | LDU_FT | [
"<BEGIN>\n## `download_dataset`",
"Download dataset\n This endpoint will return a .zip containing all files within the dataset as originally uploaded. If you are interested retrieving clean data extracted from those files by data.world, check out `GET:/sql` and `GET:/sparql`.\n This method makes a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_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 ex... | Append records to a stream.
This endpoint appends JSON data to a stream associated with a dataset. Streams don't need to be created before you can append data to it. They will be created on-demand, the first time they are used. Multiple records can be appended at once by using JSON-L (`application/json-l`) as ... | "Append records to a stream.\n This endpoint appends JSON data to a stream associated with a dataset. Streams don't need to be created before you can append data to it. They will be created on-demand, the first time they are used. Multiple records can be appended at once by using JSON-L (`application/json-l`) a... | 398 | false | datadotworld/data.world-py | append_records | 30,668 | |
LDU_FT/mozilla/crontabber/as_backfill_cron_app | LDU_FT | [
"<BEGIN>\n## `toposort`",
"Dependencies are expressed as a dictionary whose keys are items\nand whose values are a set of dependent items. Output is a list of\nsets in topological order. The first set consists of items with no\ndependences, each subsequent set consists of items that depend upon\nitems in the prec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_backfill_cron_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_backfill_cron_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | a class decorator for Crontabber Apps. This decorator embues a CronApp
with the parts necessary to be a backfill CronApp. It adds a main method
that forces the base class to use a value of False for 'once'. That means
it will do the work of a backfilling app. | "a class decorator for Crontabber Apps. This decorator embues a CronApp\n with the parts necessary to be a backfill CronApp. It adds a main method\n that forces the base class to use a value of False for 'once'. That means\n it will do the work of a backfilling app." | 59 | false | mozilla/crontabber | as_backfill_cron_app | 30,669 | |
LDU_FT/nion-software/nionswift/create_data_and_metadata | LDU_FT | [
"<BEGIN>\n## `get_string`",
"Return a string value that the user enters. Raises exception for cancel.\n<END>",
"<BEGIN>\n## `__accept_reject`",
"Return a boolean value for accept/reject.\n<END>",
"<BEGIN>\n## `item_transaction`",
"Begin transaction state for item.",
" A transaction state is exist... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_data_and_metadata 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 create_data_and_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Create a data_and_metadata object from data.
:param data: an ndarray of data.
:param intensity_calibration: An optional calibration object.
:param dimensional_calibrations: An optional list of calibration objects.
:param metadata: A dict of metadata.
:param timestamp: A datetime... | "Create a data_and_metadata object from data.\n\n :param data: an ndarray of data.\n :param intensity_calibration: An optional calibration object.\n :param dimensional_calibrations: An optional list of calibration objects.\n :param metadata: A dict of metadata.\n :param timestamp: A d... | 690 | false | nion-software/nionswift | create_data_and_metadata | 30,670 | |
LDU_FT/rduplain/jeni-python/partial_regardless | LDU_FT | [
"<BEGIN>\n## `see_doc`",
"Copy docstring from existing object to the decorated callable.\n<END>",
"<BEGIN>\n## `class_in_progress`",
"True if currently inside a class definition, else False.\n<END>",
"<BEGIN>\n## `get`",
"Get initial yield value, or result of send(name) if name given.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partial_regardless 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 partial_regardless 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... | Like `partial`, but applies if callable is not annotated. | "Like `partial`, but applies if callable is not annotated." | 91 | false | rduplain/jeni-python | partial_regardless | 30,671 | |
LDU_FT/robhowley/nhlscrapi/build_play | LDU_FT | [
"<BEGIN>\n## `totals`",
"Computes and returns dictionary containing home/away by player, shots and face-off totals",
" :returns: dict of the form ``{ 'home/away': { 'all_keys': w_numeric_data } }``\n<END>",
"<BEGIN>\n## `filter_players`",
"Return the subset home and away players that satisfy the prov... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_play API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_play API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parses table row from RTSS. These are the rows tagged with ``<tr class='evenColor' ... >``. Result set
contains :py:class:`nhlscrapi.games.playbyplay.Strength` and :py:class:`nhlscrapi.games.events.EventType`
objects. Returned play data is in the form
.. code:: python
... | "Parses table row from RTSS. These are the rows tagged with ``<tr class='evenColor' ... >``. Result set\n contains :py:class:`nhlscrapi.games.playbyplay.Strength` and :py:class:`nhlscrapi.games.events.EventType`\n objects. Returned play data is in the form\n \n .. code:: python\n \n ... | 126 | false | robhowley/nhlscrapi | build_play | 30,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.