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/UDST/orca/get_injectable_func_source_data | LDU_FT | [
"<BEGIN>\n## `import_file`",
"Import a file that will trigger the population of Orca.",
" Parameters\n ----------\n filename : str\n<END>",
"<BEGIN>\n## `check_is_table`",
"Decorator that will check whether the \"table_name\" keyword argument\n to the wrapped function matches a registered Orca t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_injectable_func_source_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_injectable_func_source_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Return data about an injectable function's source, including file name,
line number, and source code.
Parameters
----------
name : str
Returns
-------
filename : str
lineno : int
The line number on which the function starts.
source : str | "Return data about an injectable function's source, including file name,\n line number, and source code.\n\n Parameters\n ----------\n name : str\n\n Returns\n -------\n filename : str\n lineno : int\n The line number on which the function starts.\n source : str" | 223 | false | UDST/orca | get_injectable_func_source_data | 9,373 | |
LDU_FT/aequitas/python-rflink/create_rflink_connection | LDU_FT | [
"<BEGIN>\n## `signed_to_float`",
"Convert signed hexadecimal to floating value.\n<END>",
"<BEGIN>\n## `decode_packet`",
"Break packet down into primitives, and do basic interpretation.",
" >>> decode_packet('20;06;Kaku;ID=41;SWITCH=1;CMD=ON;') == {\n ... 'node': 'gateway',\n ... 'protocol':... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_rflink_connection 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_rflink_connection 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 Rflink manager class, returns transport coroutine. | "Create Rflink manager class, returns transport coroutine." | 60 | false | aequitas/python-rflink | create_rflink_connection | 9,374 | |
LDU_FT/openid/python-openid/destroyManager | LDU_FT | [
"<BEGIN>\n## `queryURL`",
"Build a URL to query the proxy resolver.",
" @param xri: An XRI to resolve.\n @type xri: unicode",
" @param service_type: The service type to resolve, if you desire\n service endpoint selection. A service type is a URI.\n @type service_type: s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroyManager API.
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 destroyManager API.
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... | Delete any YadisServiceManager with this starting URL and
suffix from the session.
If there is no service manager or the service manager is for a
different URL, it silently does nothing.
@param force: True if the manager should be deleted regardless
of whether it's a manager fo... | "Delete any YadisServiceManager with this starting URL and\n suffix from the session.\n\n If there is no service manager or the service manager is for a\n different URL, it silently does nothing.\n\n @param force: True if the manager should be deleted regardless\n of whether it's a ma... | 828 | false | openid/python-openid | destroyManager | 9,375 | |
LDU_FT/GoogleCloudPlatform/compute-image-packages/_CreateRouteOptions | LDU_FT | [
"<BEGIN>\n## `EnableNetworkInterfaces`",
"Enable the list of network interfaces.",
" Args:\n interfaces: list of string, the output device names to enable.\n logger: logger object, used to write to SysLog and serial port.\n dhclient_script: string, the path to a dhclient script used by dhclien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _CreateRouteOptions 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 _CreateRouteOptions 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... | Create a dictionary of parameters to append to the ip route command.
Args:
**kwargs: dict, the string parameters to update in the ip route command.
Returns:
dict, the string parameters to append to the ip route command. | "Create a dictionary of parameters to append to the ip route command.\n\n Args:\n **kwargs: dict, the string parameters to update in the ip route command.\n\n Returns:\n dict, the string parameters to append to the ip route command." | 310 | false | GoogleCloudPlatform/compute-image-packages | _CreateRouteOptions | 9,376 | |
LDU_FT/Jahaja/psdash/search | LDU_FT | [
"<BEGIN>\n## `_read`",
"Reads and returns a buffer reversely from current file-pointer position.",
" :rtype : str\n<END>",
"<BEGIN>\n## `find`",
"Returns the position of the first occurence of needle.\n If the needle was not found, -1 is returned.",
" :rtype : int\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
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 search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Find text in log file from current position
returns a tuple containing:
absolute position,
position in result buffer,
result buffer (the actual file contents) | "Find text in log file from current position\n\n returns a tuple containing:\n absolute position,\n position in result buffer,\n result buffer (the actual file contents)" | 14 | false | Jahaja/psdash | search | 9,377 | |
LDU_FT/rvswift/EB/get_list | LDU_FT | [
"<BEGIN>\n## `approximator`",
"recursively rank queries\n :param molecules:\n :param options:\n :param sort_order:\n :param frameworks:\n :param ensemble:\n :return:\n<END>",
"<BEGIN>\n## `rank_queries`",
"rank queries by value added to existing ensemble\n :param molecules:\n :param sc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a list of user input
:param input_string:
:return: | "Return a list of user input\n :param input_string:\n :return:" | 91 | false | rvswift/EB | get_list | 9,378 | |
LDU_FT/bjodah/pyneqsys/plot_series | LDU_FT | [
"<BEGIN>\n## `rms`",
"Returns root mean square value of f(x, params)\n<END>",
"<BEGIN>\n## `solve_series`",
"Solve system for a set of parameters in which one is varied",
" Parameters\n ----------\n x0 : array_like\n Guess (subject to ``self.post_processors``)\n params... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_series API.
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 plot_series API.
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... | Plot the values of the solution vector vs the varied parameter.
Parameters
----------
xres : array
Solution vector of shape ``(varied_data.size, x0.size)``.
varied_data : array
Numerical values of the varied parameter.
indices : iterable of integers, optional
Indices of vari... | "Plot the values of the solution vector vs the varied parameter.\n\n Parameters\n ----------\n xres : array\n Solution vector of shape ``(varied_data.size, x0.size)``.\n varied_data : array\n Numerical values of the varied parameter.\n indices : iterable of integers, optional\n Indic... | 60 | false | bjodah/pyneqsys | plot_series | 9,379 | |
LDU_FT/MacHu-GWU/angora-project/discard | LDU_FT | [
"<BEGIN>\n## `run_backup`",
"The backup utility method.",
" :param root_dir: the directory you want to backup\n :param ignore: file or directory defined in this list will be ignored.\n :param ignore_ext: file with extensions defined in this list will be ignored.\n :param ignore_pattern: any file or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discard API.
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 discard API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Remove a item from its member if it is a member.
Usage::
>>> s = OrderedSet([1, 2, 3])
>>> s.discard(2)
>>> s
OrderedSet([1, 3])
**中文文档**
从有序集合中删除一个元素, 同时保持集合依然有序。 | "Remove a item from its member if it is a member.\n\n Usage::\n \n >>> s = OrderedSet([1, 2, 3])\n >>> s.discard(2)\n >>> s\n OrderedSet([1, 3])\n \n **中文文档**\n \n 从有序集合中删除一个元素, 同时保持集合依然有序。" | 616 | false | MacHu-GWU/angora-project | discard | 9,380 | |
LDU_FT/sharibarboza/py_zap/convert_time | LDU_FT | [
"<BEGIN>\n## `get_title`",
"Title is either the chart header for a cable ratings page or above\n the opening description for a broadcast ratings page.\n<END>",
"<BEGIN>\n## `get_json`",
"Serialize ratings object as JSON-formatted string\n<END>",
"<BEGIN>\n## `_get_url_params`",
"Returns a list of e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Convert a time string into 24-hour time. | "Convert a time string into 24-hour time." | 59 | false | sharibarboza/py_zap | convert_time | 9,381 | |
LDU_FT/kolypto/py-good/name | LDU_FT | [
"<BEGIN>\n## `message`",
"Convenience decorator that applies [`Msg()`](#msg) to a callable.",
" ```python\n from good import Schema, message",
" @message(u'Need a number')\n def intify(v):\n return int(v)\n ```",
" :param message: Error message to use instead\n :type message: uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Set a name on a validator callable.
Useful for user-friendly reporting when using lambdas to populate the [`Invalid.expected`](#invalid) field:
```python
from good import Schema, name
Schema(lambda x: int(x))('a')
#-> Invalid: invalid literal for int(): expected <lambda>(), got
Schema(name('i... | "Set a name on a validator callable.\n\n Useful for user-friendly reporting when using lambdas to populate the [`Invalid.expected`](#invalid) field:\n\n ```python\n from good import Schema, name\n\n Schema(lambda x: int(x))('a')\n #-> Invalid: invalid literal for int(): expected <lambda>(), got\n Sche... | 118 | false | kolypto/py-good | name | 9,382 | |
LDU_FT/last-partizan/pytils/_sum_string_fn | LDU_FT | [
"<BEGIN>\n## `choose_plural`",
"Choose proper form for plural.",
" Value is a amount, parameters are forms of noun.\n Forms are variants for 1, 2, 5 nouns. It may be tuple\n of elements, or string where variants separates each other\n by comma.",
" Examples::\n {{ some_int|choose_plural:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sum_string_fn API.
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 _sum_string_fn API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Make in-words representation of single order
@param into: in-words representation of lower orders
@type into: C{unicode}
@param tmp_val: temporary value without lower orders
@type tmp_val: C{integer types}
@param gender: gender (MALE, FEMALE or NEUTER)
@type gender: C{int}
@param items: ... | "Make in-words representation of single order\n\n @param into: in-words representation of lower orders\n @type into: C{unicode}\n\n @param tmp_val: temporary value without lower orders\n @type tmp_val: C{integer types}\n\n @param gender: gender (MALE, FEMALE or NEUTER)\n @type gender: C{int}\n\n @p... | 134 | false | last-partizan/pytils | _sum_string_fn | 9,383 | |
LDU_FT/BYU-PCCL/holodeck/set_weather | LDU_FT | [
"<BEGIN>\n## `malloc`",
"Allocates a block of shared memory, and returns a numpy array whose data corresponds with that block.",
" Args:\n key (str): The key to identify the block.\n shape (list of int): The shape of the numpy array to allocate.\n dtype (type): The numpy ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_weather API.
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 set_weather API.
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... | Queue up a set weather command. It will be applied when `tick` or `step` is called next.
By the next tick, the lighting, skysphere, fog, and relevant particle systems will be updated and/or spawned
to the given weather. If there is no skysphere or directional light in the world, the command may not func... | "Queue up a set weather command. It will be applied when `tick` or `step` is called next.\n By the next tick, the lighting, skysphere, fog, and relevant particle systems will be updated and/or spawned\n to the given weather. If there is no skysphere or directional light in the world, the command may not f... | 111 | false | BYU-PCCL/holodeck | set_weather | 9,384 | |
LDU_FT/ECRL/ecabc/processes | LDU_FT | [
"<BEGIN>\n## `add_argument`",
"Add an additional argument to be passed to the fitness function\n via additional arguments dictionary; this argument/value is not tuned",
" Args:\n arg_name (string): name/dictionary key of argument\n arg_value (any): dictionary value of argumen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the processes API.
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 processes API.
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... | Set the number of concurrent processes the ABC will utilize for
fitness function evaluation; if <= 1, single process is used
Args:
processes (int): number of concurrent processes | "Set the number of concurrent processes the ABC will utilize for\n fitness function evaluation; if <= 1, single process is used\n\n Args:\n processes (int): number of concurrent processes" | 67 | false | ECRL/ecabc | processes | 9,385 | |
LDU_FT/msmbuilder/msmbuilder/draw_samples | LDU_FT | [
"<BEGIN>\n## `fraction_visited`",
"Calculate the fraction of times a walker on `tprob` going from `sources`\n to `sinks` will travel through the set of states `waypoints` en route.",
" Computes the conditional committors q^{ABC^+} and uses them to find the\n fraction of paths mentioned above.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_samples API.
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 draw_samples API.
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... | Sample conformations for a sequences of states.
Parameters
----------
sequences : list or list of lists
A sequence or list of sequences, in which each element corresponds
to a state label.
n_samples : int
How many samples to return for any given state... | "Sample conformations for a sequences of states.\n\n Parameters\n ----------\n sequences : list or list of lists\n A sequence or list of sequences, in which each element corresponds\n to a state label.\n n_samples : int\n How many samples to return for any gi... | 721 | false | msmbuilder/msmbuilder | draw_samples | 9,386 | |
LDU_FT/Stewori/pytypes/get_member_types | LDU_FT | [
"<BEGIN>\n## `_outter_split`",
"Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_member_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_member_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Still experimental, incomplete and hardly tested.
Works like get_types, but is also applicable to descriptors. | "Still experimental, incomplete and hardly tested.\n Works like get_types, but is also applicable to descriptors." | 187 | false | Stewori/pytypes | get_member_types | 9,387 | |
LDU_FT/sorgerlab/indra/get_layout_aspect | LDU_FT | [
"<BEGIN>\n## `group_and_sort_statements`",
"Group statements by type and arguments, and sort by prevalence.",
" Parameters\n ----------\n stmt_list : list[Statement]\n A list of INDRA statements.\n ev_totals : dict{int: int}\n A dictionary, keyed by statement hash (shallow) with counts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_layout_aspect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_layout_aspect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get the full layout aspect with coordinates for each node. | "Get the full layout aspect with coordinates for each node." | 2,493 | true | sorgerlab/indra | get_layout_aspect | 9,388 | |
LDU_FT/gijzelaerr/python-snap7/connect | LDU_FT | [
"<BEGIN>\n## `check_error`",
"check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>",
"<BEGIN>\n## `error_text`",
"Returns a textual explanation of a given error number",
" :param error: an error integer\n :param context: server, client or partner... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connect to a S7 server.
:param address: IP address of server
:param rack: rack on server
:param slot: slot on server. | "Connect to a S7 server.\n\n :param address: IP address of server\n :param rack: rack on server\n :param slot: slot on server." | 150 | false | gijzelaerr/python-snap7 | connect | 9,389 | |
LDU_FT/Yelp/uwsgi_metrics/view | LDU_FT | [
"<BEGIN>\n## `initialize`",
"Initialize metrics, must be invoked at least once prior to invoking any\n other method.\n<END>",
"<BEGIN>\n## `emit`",
"Serialize metrics to the memory mapped buffer.\n<END>",
"<BEGIN>\n## `view`",
"Get a dictionary representation of current metrics.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view API.
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 view API.
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... | Get a dictionary representation of current metrics. | "Get a dictionary representation of current metrics." | 32 | false | Yelp/uwsgi_metrics | view | 9,390 | |
LDU_FT/idlesign/envbox/get_environment | LDU_FT | [
"<BEGIN>\n## `read_envfile`",
"Reads environment variables from .env key-value file.",
" Rules:\n * Lines starting with # (hash) considered comments. Inline comments not supported;\n * Multiline values not supported.\n * Invalid lines are ignored;\n * Matching opening-closing quot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_environment API.
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_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns current environment type object.
:param str|Environment|None default: Default environment type or alias.
:param list[Detector] detectors: List of environment detectors to be used in chain.
If not set, default builtin chain is used.
:param dict detectors_opts: Detectors options dictionary.... | "Returns current environment type object.\n\n :param str|Environment|None default: Default environment type or alias.\n\n :param list[Detector] detectors: List of environment detectors to be used in chain.\n If not set, default builtin chain is used.\n\n :param dict detectors_opts: Detectors options dic... | 34 | false | idlesign/envbox | get_environment | 9,391 | |
LDU_FT/Loudr/pale/generate_basic_type_docs | LDU_FT | [
"<BEGIN>\n## `py_doc_trim`",
"Trim a python doc string.",
" This example is nipped from https://www.python.org/dev/peps/pep-0257/,\n which describes how to conventionally format and trim docstrings.",
" It has been modified to replace single newlines with a space, but leave\n multiple consecutive ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_basic_type_docs 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 generate_basic_type_docs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Map resource types to their RAML equivalents.
Expects fields to be a list of modules - each module would be something like pale.fields.
Expects existing_types to be a list of dict of existing types, which will take precedence
and prevent a new type with the same name from being added.
For more on RAML ... | "Map resource types to their RAML equivalents.\n Expects fields to be a list of modules - each module would be something like pale.fields.\n Expects existing_types to be a list of dict of existing types, which will take precedence\n and prevent a new type with the same name from being added.\n\n For more on... | 107 | false | Loudr/pale | generate_basic_type_docs | 9,392 | |
LDU_FT/qiniu/python-sdk/change_status | LDU_FT | [
"<BEGIN>\n## `execute`",
"执行持久化处理:",
" Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关",
" Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 54... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | 修改文件的状态
修改文件的存储类型为可用或禁用:
Args:
bucket: 待操作资源所在空间
key: 待操作资源文件名
storage_type: 待操作资源存储类型,0为启用,1为禁用 | "修改文件的状态\n\n 修改文件的存储类型为可用或禁用:\n\n Args:\n bucket: 待操作资源所在空间\n key: 待操作资源文件名\n storage_type: 待操作资源存储类型,0为启用,1为禁用" | 337 | false | qiniu/python-sdk | change_status | 9,393 | |
LDU_FT/fake-name/ChromeController/DOM_describeNode | LDU_FT | [
"<BEGIN>\n## `close_chromium`",
"Close the remote chromium instance.",
"\t\tThis command is normally executed as part of the class destructor.\n\t\tIt can be called early without issue, but calling ANY class functions\n\t\tafter the remote chromium instance is shut down will have unknown effects.",
"\t\tNote ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DOM_describeNode API.
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 DOM_describeNode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Function path: DOM.describeNode
Domain: DOM
Method name: describeNode
Parameters:
Optional arguments:
'nodeId' (type: NodeId) -> Identifier of the node.
'backendNodeId' (type: BackendNodeId) -> Identifier of the backend node.
'objectId' (type: Runtime.RemoteObjectId) -> JavaScript object ... | "Function path: DOM.describeNode\n\t\t\tDomain: DOM\n\t\t\tMethod name: describeNode\n\t\t\n\t\t\tParameters:\n\t\t\t\tOptional arguments:\n\t\t\t\t\t'nodeId' (type: NodeId) -> Identifier of the node.\n\t\t\t\t\t'backendNodeId' (type: BackendNodeId) -> Identifier of the backend node.\n\t\t\t\t\t'objectId' (type: Runtim... | 709 | false | fake-name/ChromeController | DOM_describeNode | 9,394 | |
LDU_FT/ecmwf/cfgrib/open_dataset | LDU_FT | [
"<BEGIN>\n## `from_grib_date_time`",
"Return the number of seconds since the ``epoch`` from the values of the ``message`` keys,\n using datetime.total_seconds().",
" :param message: the target GRIB message\n :param date_key: the date key, defaults to \"dataDate\"\n :param time_key: the time key, def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_dataset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_dataset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a ``xr.Dataset`` with the requested ``backend_kwargs`` from a GRIB file. | "Return a ``xr.Dataset`` with the requested ``backend_kwargs`` from a GRIB file." | 50 | false | ecmwf/cfgrib | open_dataset | 9,395 | |
LDU_FT/mattja/nsim/concatenate | LDU_FT | [
"<BEGIN>\n## `merge`",
"Merge several timeseries\n Arguments:\n tup: sequence of Timeseries, with the same shape except for axis 0\n Returns: \n Resulting merged timeseries which can have duplicate time points.\n<END>",
"<BEGIN>\n## `add_analyses`",
"Dynamically add new analysis methods to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concatenate API.
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 concatenate API.
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... | Join a sequence of Timeseries to this one
Args:
tup (sequence of Timeseries): timeseries to be joined with this one.
They must have the same shape as this Timeseries, except in the
dimension corresponding to `axis`.
axis (int, optional): The axis along which timeseri... | "Join a sequence of Timeseries to this one\n Args: \n tup (sequence of Timeseries): timeseries to be joined with this one.\n They must have the same shape as this Timeseries, except in the\n dimension corresponding to `axis`.\n axis (int, optional): The axis along which ti... | 427 | false | mattja/nsim | concatenate | 9,396 | |
LDU_FT/bennylope/smartystreets.py/street_addresses | LDU_FT | [
"<BEGIN>\n## `chunker`",
"Generates n-sized chunks from the list l\n<END>",
"<BEGIN>\n## `post`",
"Executes most of the request.",
" The parallelism parameter is useful to avoid swamping the API service with calls. Thus\n the entire set of requests won't be all made at once, but in chunked gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the street_addresses API.
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 street_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | API method for verifying street address and geolocating
Returns an AddressCollection always for consistency. In common usage it'd be simple and
sane to return an Address when only one address was searched, however this makes
populating search addresses from lists of unknown length problematic. ... | "API method for verifying street address and geolocating\n\n Returns an AddressCollection always for consistency. In common usage it'd be simple and\n sane to return an Address when only one address was searched, however this makes\n populating search addresses from lists of unknown length problema... | 35 | false | bennylope/smartystreets.py | street_addresses | 9,397 | |
LDU_FT/goerz/clusterjob/get_status | LDU_FT | [
"<BEGIN>\n## `resource_headers`",
"Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script\n<END>",
"<BEGIN>\n## `replace_body_vars`",
"Given a multiline string that is the body of the jo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Given the stdout from the command returned by :meth:`cmd_status`,
return one of the status code defined in :mod:`clusterjob.status`, or
None if the status cannot be determined | "Given the stdout from the command returned by :meth:`cmd_status`,\n return one of the status code defined in :mod:`clusterjob.status`, or\n None if the status cannot be determined" | 69 | false | goerz/clusterjob | get_status | 9,398 | |
LDU_FT/phaethon/kamene/i2b | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the i2b API.
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 i2b API.
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... | Convert internal value to internal value | "Convert internal value to internal value" | 477 | false | phaethon/kamene | i2b | 9,399 | |
LDU_FT/b3j0f/schema/datatype2schemacls | LDU_FT | [
"<BEGIN>\n## `_getter`",
"Called when the parent element tries to get this property value.",
" :param obj: parent object.\n<END>",
"<BEGIN>\n## `_setter`",
"Called when the parent element tries to set this property value.",
" :param obj: parent object.\n :param value: new value to use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datatype2schemacls 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 datatype2schemacls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get a schema class which has been associated to input data type by the
registry or the factory in this order.
:param type datatype: data type from where get associated schema.
:param SchemaRegisgry _registry: registry from where call the getbydatatype
. Default is the global registry.
:param Sc... | "Get a schema class which has been associated to input data type by the\n registry or the factory in this order.\n\n :param type datatype: data type from where get associated schema.\n :param SchemaRegisgry _registry: registry from where call the getbydatatype\n . Default is the global registry.\n :p... | 101 | false | b3j0f/schema | datatype2schemacls | 9,400 | |
LDU_FT/victorlei/smop/arange | LDU_FT | [
"<BEGIN>\n## `callgraph`",
"Build callgraph of func_list, ignoring\n built-in functions\n<END>",
"<BEGIN>\n## `recordtype`",
"Returns a new class with named fields.",
" @keyword field_defaults: A mapping from (a subset of) field names to default \n values.\n @keyword default: If provided, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arange API.
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 arange API.
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 ... | >>> a=arange(1,10) # 1:10
>>> size(a)
matlabarray([[ 1, 10]]) | ">>> a=arange(1,10) # 1:10\n >>> size(a)\n matlabarray([[ 1, 10]])" | 69 | false | victorlei/smop | arange | 9,401 | |
LDU_FT/maxcutler/python-wordpress-xmlrpc/process_result | LDU_FT | [
"<BEGIN>\n## `convert_to_python`",
"Extracts a value for the field from an XML-RPC response.\n<END>",
"<BEGIN>\n## `get_outputs`",
"Generate a set of output values for a given input.\n<END>",
"<BEGIN>\n## `struct`",
"XML-RPC-friendly representation of the current object state\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_result API.
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 process_result API.
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... | Performs actions on the raw result from the XML-RPC response.
If a `results_class` is defined, the response will be converted
into one or more object instances of that class. | "Performs actions on the raw result from the XML-RPC response.\r\n\r\n If a `results_class` is defined, the response will be converted\r\n into one or more object instances of that class." | 11 | false | maxcutler/python-wordpress-xmlrpc | process_result | 9,402 | |
LDU_FT/awickert/gFlex/get_coeff_values | LDU_FT | [
"<BEGIN>\n## `elasprep`",
"dx4, dy4, dx2dy2, D = elasprep(dx,dy,Te,E=1E11,nu=0.25)",
" Defines the variables that are required to create the 2D finite \n difference solution coefficient matrix\n<END>",
"<BEGIN>\n## `BC_selector_and_coeff_matrix_creator`",
"Selects the boundary conditions\n E-W is f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_coeff_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_coeff_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calculates the matrix of coefficients that is later used via sparse matrix
solution techniques (scipy.sparse.linalg.spsolve) to compute the flexural
response to the load. This step need only be performed once, and the
coefficient matrix can very rapidly compute flexural solutions to any load.
This makes... | "Calculates the matrix of coefficients that is later used via sparse matrix\n solution techniques (scipy.sparse.linalg.spsolve) to compute the flexural\n response to the load. This step need only be performed once, and the\n coefficient matrix can very rapidly compute flexural solutions to any load.\n This ... | 78 | false | awickert/gFlex | get_coeff_values | 9,403 | |
LDU_FT/GGiecold/Cluster_Ensembles/overlap_matrix | 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 overlap_matrix API.
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 overlap_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Writes on disk (in an HDF5 file whose handle is provided as the first
argument to this function) a stack of matrices, each describing
for a particular run the overlap of cluster ID's that are matching
each of the cluster ID's stored in 'consensus_labels'
(the vector of labels obtained by e... | "Writes on disk (in an HDF5 file whose handle is provided as the first\n argument to this function) a stack of matrices, each describing\n for a particular run the overlap of cluster ID's that are matching \n each of the cluster ID's stored in 'consensus_labels' \n (the vector of labels obtained... | 110 | false | GGiecold/Cluster_Ensembles | overlap_matrix | 9,404 | |
LDU_FT/Hundemeier/sacn/dmxData | LDU_FT | [
"<BEGIN>\n## `activate_output`",
"Activates a universe that's then starting to sending every second.\n See http://tsp.esta.org/tsp/documents/docs/E1-31-2016.pdf for more information\n :param universe: the universe to activate\n<END>",
"<BEGIN>\n## `deactivate_output`",
"Deactivates an existing s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dmxData API.
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 dmxData API.
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... | For legacy devices and to prevent errors, the length of the DMX data is normalized to 512 | "For legacy devices and to prevent errors, the length of the DMX data is normalized to 512" | 32 | false | Hundemeier/sacn | dmxData | 9,405 | |
LDU_FT/sendgrid/sendgrid-python/file_type | LDU_FT | [
"<BEGIN>\n## `threshold`",
"Threshold used to determine if your content qualifies as spam.\n On a scale from 1 to 10, with 10 being most strict, or most likely to\n be considered as spam.",
" :param value: Threshold used to determine if your content qualifies as\n spam.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | The MIME type of the content you are attaching
:param file_type: The MIME type of the content you are attaching
:type file_type FileType, string, optional | "The MIME type of the content you are attaching\n\n :param file_type: The MIME type of the content you are attaching\n :type file_type FileType, string, optional" | 229 | false | sendgrid/sendgrid-python | file_type | 9,406 | |
LDU_FT/sentinel-hub/sentinelhub-py/get_request | LDU_FT | [
"<BEGIN>\n## `_get_utm_code`",
"Get UTM code given a zone and direction",
" Direction is encoded as NORTH=6, SOUTH=7, while zone is the UTM zone number zero-padded.\n For instance, the code 32604 is returned for zone number 4, north direction.",
" :param zone: UTM zone number\n :type zone: int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extra... | Get a list of DownloadRequests for all data that are under the given field in the table of a Geopedia layer.
:return: list of items which have to be downloaded
:rtype: list(DownloadRequest) | "Get a list of DownloadRequests for all data that are under the given field in the table of a Geopedia layer.\n\n :return: list of items which have to be downloaded\n :rtype: list(DownloadRequest)" | 559 | false | sentinel-hub/sentinelhub-py | get_request | 9,407 | |
LDU_FT/JukeboxPipeline/jukeboxmaya/delete_menu | LDU_FT | [
"<BEGIN>\n## `main_func`",
"Main funcion when executing this module as script",
" :param args: commandline arguments\n :type args: list\n :returns: None\n :rtype: None\n :raises: None\n<END>",
"<BEGIN>\n## `setup_launch_parser`",
"Setup the given parser for the launch command",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_menu API.
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 delete_menu API.
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... | Delete the specified menu
:param menu:
:type menu:
:returns:
:rtype:
:raises: | "Delete the specified menu\n\n :param menu:\n :type menu:\n :returns:\n :rtype:\n :raises:" | 241 | false | JukeboxPipeline/jukeboxmaya | delete_menu | 9,408 | |
LDU_FT/Alveo/pyalveo/delete_speaker | LDU_FT | [
"<BEGIN>\n## `get_all`",
"Retrieve the metadata for all items in this list from the server,\n as Item objects",
" :rtype: List\n :returns: a List of the corresponding Item objects\n :type force_download: Boolean\n :param force_download: True to download from the server\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_speaker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_speaker API.
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... | Delete an speaker from a collection
:param speaker_uri: the URI that references the speaker
:type speaker_uri: String
:rtype: Boolean
:returns: True if the speaker was deleted
:raises: APIError if the request was not successful | "Delete an speaker from a collection\n\n :param speaker_uri: the URI that references the speaker\n :type speaker_uri: String\n\n :rtype: Boolean\n :returns: True if the speaker was deleted\n\n :raises: APIError if the request was not successful" | 268 | false | Alveo/pyalveo | delete_speaker | 9,409 | |
LDU_FT/sdispater/eloquent/chunk | LDU_FT | [
"<BEGIN>\n## `get_last`",
"Get the last migration batch.",
" :rtype: list\n<END>",
"<BEGIN>\n## `compile_insert`",
"Compile an insert SQL statement",
" :param query: A QueryBuilder instance\n :type query: QueryBuilder",
" :param values: The values to insert\n :type val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunk API.
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 chunk API.
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... | Chunk the results of the query
:param count: The chunk size
:type count: int
:return: The current chunk
:rtype: list | "Chunk the results of the query\n\n :param count: The chunk size\n :type count: int\n\n :return: The current chunk\n :rtype: list" | 498 | false | sdispater/eloquent | chunk | 9,410 | |
LDU_FT/postmanlabs/httpbin/link_page | LDU_FT | [
"<BEGIN>\n## `json_safe`",
"Returns JSON-safe version of `string`.",
" If `string` is a Unicode string or a valid UTF-8, it is returned unmodified,\n as it can safely be encoded to JSON string.",
" If `string` contains raw/binary data, it is Base64-encoded, formatted and\n returned according to \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Generate a page containing n links to other pages which do the same.
---
tags:
- Dynamic data
parameters:
- in: path
name: n
type: int
- in: path
name: offset
type: int
produces:
- text/html
responses:
200:
description: HTML links... | "Generate a page containing n links to other pages which do the same.\n ---\n tags:\n - Dynamic data\n parameters:\n - in: path\n name: n\n type: int\n - in: path\n name: offset\n type: int\n produces:\n - text/html\n responses:\n 200:\n descrip... | 86 | false | postmanlabs/httpbin | link_page | 9,411 | |
LDU_FT/gopalkoduri/intonation/normal_equation | LDU_FT | [
"<BEGIN>\n## `compute_hist`",
"Computes histogram from the pitch data in Pitch object (pitch), and creates\n a Data object (pypeaks).",
" :param bins: Refers to number of bins in the histogram, determines the granularity.\n If it is not set, the number of bins which gives the highest granul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normal_equation API.
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 normal_equation API.
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... | X: matrix of features, one sample per row (without bias unit)
y: values (continuous) corresponding to rows (samples) in X | "X: matrix of features, one sample per row (without bias unit)\n y: values (continuous) corresponding to rows (samples) in X" | 24 | false | gopalkoduri/intonation | normal_equation | 9,412 | |
LDU_FT/alerta/python-alerta-client/cli | LDU_FT | [
"<BEGIN>\n## `cli`",
"Suppress alerts for specified duration based on alert attributes.\n<END>",
"<BEGIN>\n## `cli`",
"Add group/org/domain/role-to-customer or delete lookup entry.\n<END>",
"<BEGIN>\n## `cli`",
"Create user or update user details, including password reset.\n<END>",
"<BEGIN>\n## `cli`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Update current user details, including password reset. | "Update current user details, including password reset." | 30 | false | alerta/python-alerta-client | cli | 9,413 | |
LDU_FT/frnsys/broca/filter_support | LDU_FT | [
"<BEGIN>\n## `train_doc2vec`",
"Train a doc2vec model on a list of files.\n<END>",
"<BEGIN>\n## `_doc2vec_doc_stream`",
"Generator to feed sentences to the dov2vec model.\n<END>",
"<BEGIN>\n## `estimate_eps`",
"Estimates possible eps values (to be used with DBSCAN)\n for a given distance matrix by look... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_support API.
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 filter_support API.
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... | Filter candidates to a frequent set by some minimum support. | "Filter candidates to a frequent set by some minimum support." | 125 | false | frnsys/broca | filter_support | 9,414 | |
LDU_FT/pystorm/pystorm/ack | LDU_FT | [
"<BEGIN>\n## `emit`",
"Emit a spout Tuple message.",
" :param tup: the Tuple to send to Storm, should contain only\n JSON-serializable data.\n :type tup: list or tuple\n :param tup_id: the ID for the Tuple. Leave this blank for an\n unreliable emit.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ack API.
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 ack API.
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... | Called when a bolt acknowledges a Tuple in the topology.
:param tup_id: the ID of the Tuple that has been fully acknowledged in
the topology.
:type tup_id: str | "Called when a bolt acknowledges a Tuple in the topology.\n\n :param tup_id: the ID of the Tuple that has been fully acknowledged in\n the topology.\n :type tup_id: str" | 103 | false | pystorm/pystorm | ack | 9,415 | |
LDU_FT/elemoine/papyrus/add_papyrus_handler | LDU_FT | [
"<BEGIN>\n## `add_column_xsd`",
"Add the XSD for a column to tb (a TreeBuilder)\n<END>",
"<BEGIN>\n## `add_column_property_xsd`",
"Add the XSD for a column property to the ``TreeBuilder``.\n<END>",
"<BEGIN>\n## `add_class_properties_xsd`",
"Add the XSD for the class properties to the ``TreeBuilder``. And\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_papyrus_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_papyrus_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.
T... | Add a Papyrus handler, i.e. a handler defining the MapFish
HTTP interface.
Example::
import papyrus
config.include(papyrus)
config.add_papyrus_handler(
'spots', '/spots', 'mypackage.handlers.SpotHandler')
Arguments:
``route_name_prefix`` The prefix used for the ro... | "Add a Papyrus handler, i.e. a handler defining the MapFish\n HTTP interface.\n\n Example::\n\n import papyrus\n config.include(papyrus)\n config.add_papyrus_handler(\n 'spots', '/spots', 'mypackage.handlers.SpotHandler')\n\n Arguments:\n\n ``route_name_prefix`` The prefix us... | 57 | false | elemoine/papyrus | add_papyrus_handler | 9,416 | |
LDU_FT/digidotcom/python-wvalib/cli | LDU_FT | [
"<BEGIN>\n## `emit_event`",
"Emit the specified event (notify listeners)\n<END>",
"<BEGIN>\n## `enable`",
"Enable the stream thread",
" This operation will ensure that the thread that is responsible\n for connecting to the WVA and triggering event callbacks is started.\n This thread wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Command-line interface for interacting with a WVA device | "Command-line interface for interacting with a WVA device" | 103 | false | digidotcom/python-wvalib | cli | 9,417 | |
LDU_FT/pescadores/pescador/_next_sample_index | LDU_FT | [
"<BEGIN>\n## `setup_data`",
"Load and shape data for training with Keras + Pescador.",
" Returns\n -------\n input_shape : tuple, len=3\n Shape of each sample; adapts to channel configuration of Keras.",
" X_train, y_train : np.ndarrays\n Images and labels for training.",
" X_te... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _next_sample_index 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 _next_sample_index 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... | Rotates through each active sampler by incrementing the index | "Rotates through each active sampler by incrementing the index" | 103 | false | pescadores/pescador | _next_sample_index | 9,418 | |
LDU_FT/harlowja/fasteners/write_locked | LDU_FT | [
"<BEGIN>\n## `_ensure_tree`",
"Create a directory (and any ancestor directories required).",
" :param path: Directory to create\n<END>",
"<BEGIN>\n## `interprocess_locked`",
"Acquires & releases a interprocess lock around call into\n decorated function.\n<END>",
"<BEGIN>\n## `acquire`",
"Attemp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_locked API.
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 write_locked API.
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... | Acquires & releases a write lock around call into decorated method.
NOTE(harlowja): if no attribute name is provided then by default the
attribute named '_lock' is looked for (this attribute is expected to be
a :py:class:`.ReaderWriterLock` object) in the instance object this
decorator is attached to. | "Acquires & releases a write lock around call into decorated method.\n\n NOTE(harlowja): if no attribute name is provided then by default the\n attribute named '_lock' is looked for (this attribute is expected to be\n a :py:class:`.ReaderWriterLock` object) in the instance object this\n decorator is attache... | 37 | false | harlowja/fasteners | write_locked | 9,419 | |
LDU_FT/jpscaletti/authcode/login | LDU_FT | [
"<BEGIN>\n## `set_hasher`",
"Updates the has algorithm and, optionally, the number of rounds\n to use.",
" Raises:\n `~WrongHashAlgorithm` if new algorithm isn't one of the three\n recomended options.\n<END>",
"<BEGIN>\n## `render_template`",
"Search for a setting named `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Sets the current user UID in the session.
Instead of just storing the user's id, it generates a hash from the
password *salt*. That way, an admin or the user herself can invalidate
the login in other computers just by changing (or re-saving)
her password. | "Sets the current user UID in the session.\n\n Instead of just storing the user's id, it generates a hash from the\n password *salt*. That way, an admin or the user herself can invalidate\n the login in other computers just by changing (or re-saving)\n her password." | 48 | false | jpscaletti/authcode | login | 9,420 | |
LDU_FT/emirozer/fake2db/data_filler_customer | LDU_FT | [
"<BEGIN>\n## `database_caller_creator`",
"creates a mongodb database\n returns the related connection object\n which will be later used to spawn the cursor\n<END>",
"<BEGIN>\n## `database_caller_creator`",
"creates a redis connection object\n which will be later used to modify the db\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_filler_customer 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 data_filler_customer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | creates and fills the table with customer | "creates and fills the table with customer" | 44 | false | emirozer/fake2db | data_filler_customer | 9,421 | |
LDU_FT/nanoporetech/ont_fast5_api/add_analysis_attributes | LDU_FT | [
"<BEGIN>\n## `_clean`",
"Convert numpy numeric types to their python equivalents.\n<END>",
"<BEGIN>\n## `get_prior_alignment`",
"Return the prior alignment that was used for 2D basecalling.",
" :return: Alignment data table.\n<END>",
"<BEGIN>\n## `get_2d_call_alignment`",
"Return the alignment an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_analysis_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_analysis_attributes 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 attributes on the group or dataset specified.
:param group_name: The name of the group (or dataset).
:param attrs: A dictionary representing the attributes to add.
:param clear: If set, any existing attributes will be cleared.
The specified group name can be any exi... | "Add attributes on the group or dataset specified.\n \n :param group_name: The name of the group (or dataset).\n :param attrs: A dictionary representing the attributes to add.\n :param clear: If set, any existing attributes will be cleared.\n \n The specified group name can be ... | 159 | false | nanoporetech/ont_fast5_api | add_analysis_attributes | 9,422 | |
LDU_FT/lmjohns3/downhill/_compile | LDU_FT | [
"<BEGIN>\n## `build`",
"Build and return an optimizer for the rosenbrock function.",
" In downhill, an optimizer can be constructed using the build() top-level\n function. This function requires several Theano quantities such as the loss\n being optimized and the parameters to update during optimizatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compile API.
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 _compile API.
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... | Compile the Theano functions for evaluating and updating our model. | "Compile the Theano functions for evaluating and updating our model." | 79 | false | lmjohns3/downhill | _compile | 9,423 | |
LDU_FT/devopshq/crosspm/get_none_packages | LDU_FT | [
"<BEGIN>\n## `usedby_packages`",
"Lock packages. Downloader search packages\n<END>",
"<BEGIN>\n## `set_duplicated_flag`",
"For all package set flag duplicated, if it's not unique package\n :return:\n<END>",
"<BEGIN>\n## `get_object_from_string`",
"Return python object from string\n :param object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_none_packages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_none_packages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get packages with None (not founded), recursively | "Get packages with None (not founded), recursively" | 36 | false | devopshq/crosspm | get_none_packages | 9,424 | |
LDU_FT/mfcloud/python-zvm-sdk/reboot | LDU_FT | [
"<BEGIN>\n## `getConsole`",
"Get the virtual machine's console output.",
" Input:\n Request Handle with the following properties:\n function - 'CMDVM'\n subfunction - 'CMD'\n userid - userid of the virtual machine",
" Output:\n Request Handle updated with t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reboot API.
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 reboot API.
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 ... | Reboot a virtual machine.
Input:
Request Handle with the following properties:
function - 'POWERVM'
subfunction - 'REBOOT'
userid - userid of the virtual machine
parms['desiredState'] - Desired state. Optional, unless
'max... | "Reboot a virtual machine.\n\n Input:\n Request Handle with the following properties:\n function - 'POWERVM'\n subfunction - 'REBOOT'\n userid - userid of the virtual machine\n parms['desiredState'] - Desired state. Optional, unless\n ... | 643 | false | mfcloud/python-zvm-sdk | reboot | 9,425 | |
LDU_FT/twisted/vertex/verifyCertificateAllowed | LDU_FT | [
"<BEGIN>\n## `enregister`",
"Register a new account and return a Deferred that fires if it worked.",
" @param svc: a Q2QService",
" @param newAddress: a Q2QAddress object",
" @param password: a shared secret (str)\n<END>",
"<BEGIN>\n## `connectCached`",
"See module docstring",
" @param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verifyCertificateAllowed 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 verifyCertificateAllowed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Check that the cert currently in use by this transport is valid to
claim that the connection offers authorization for this host speaking
for C{ourAddress}, to a host speaking for C{theirAddress}. The remote
host (the one claiming to use theirAddress) may have a certificate
which is issu... | "Check that the cert currently in use by this transport is valid to\n claim that the connection offers authorization for this host speaking\n for C{ourAddress}, to a host speaking for C{theirAddress}. The remote\n host (the one claiming to use theirAddress) may have a certificate\n which is... | 191 | false | twisted/vertex | verifyCertificateAllowed | 9,426 | |
LDU_FT/theolind/pymysensors/_check_connection | LDU_FT | [
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
"<BEGIN>\n## `_connect`",
"Connect to socket. This should be run in a new thread.\n<END>",
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_connection API.
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 _check_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Check if connection is alive every reconnect_timeout seconds. | "Check if connection is alive every reconnect_timeout seconds." | 109 | false | theolind/pymysensors | _check_connection | 9,427 | |
LDU_FT/python-rope/rope/get_changes | LDU_FT | [
"<BEGIN>\n## `find_occurrences`",
"Return a list of `Location`\\s",
" If `unsure` is `True`, possible matches are returned, too. You\n can use `Location.unsure` to see which are unsure occurrences.\n `resources` can be a list of `rope.base.resource.File`\\s that\n should be searched for occurrences... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_changes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_changes API.
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... | Fix module names
`fixer` is a function that takes and returns a `str`. Given
the name of a module, it should return the fixed name. | "Fix module names\n\n `fixer` is a function that takes and returns a `str`. Given\n the name of a module, it should return the fixed name." | 312 | false | python-rope/rope | get_changes | 9,428 | |
LDU_FT/numan/py-analytics/sync_month_metric | LDU_FT | [
"<BEGIN>\n## `_get_closest_week`",
"Gets the closest monday to the date provided.\n<END>",
"<BEGIN>\n## `_get_daily_date_range`",
"Get the range of months that we need to use as keys to scan redis.\n<END>",
"<BEGIN>\n## `_get_weekly_date_range`",
"Gets the range of years that we need to use as keys to get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_month_metric API.
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 sync_month_metric API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Uses the count for each day in the date range to recalculate the counters for the months for
the ``metric`` for ``unique_identifier``. Useful for updating the counters for week and month after using set_metric_by_day.
The redis backend supports lists for both ``unique_identifier`` and ``metric`` allowi... | "Uses the count for each day in the date range to recalculate the counters for the months for\n the ``metric`` for ``unique_identifier``. Useful for updating the counters for week and month after using set_metric_by_day.\n\n The redis backend supports lists for both ``unique_identifier`` and ``metric`` al... | 54 | false | numan/py-analytics | sync_month_metric | 9,429 | |
LDU_FT/jbaiter/gphoto2-cffi/get_library_version | LDU_FT | [
"<BEGIN>\n## `_logging_callback`",
"Callback that outputs libgphoto2's logging message via\n Python's standard logging facilities.",
" :param level: libgphoto2 logging level\n :param domain: component the message originates from\n :param message: logging message\n :param data: Other dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_library_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_library_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get the version number of the underlying gphoto2 library.
:return: The version
:rtype: tuple of (major, minor, patch) version numbers | "Get the version number of the underlying gphoto2 library.\n\n :return: The version\n :rtype: tuple of (major, minor, patch) version numbers" | 78 | false | jbaiter/gphoto2-cffi | get_library_version | 9,430 | |
LDU_FT/consbio/parserutils/get_elements_attributes | LDU_FT | [
"<BEGIN>\n## `create_element_tree`",
"Creates an ElementTree from elem_or_name, updated it with text and attributes.\n If elem_or_name is None, a permanently empty ElementTree is returned.\n :param elem_or_name: an Element or the name of the root element tag\n :param text: optional text with which to upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_elements_attributes 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_elements_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | :return: list of text representing an attribute of parent or each element at element path,
or a list of dicts representing all the attributes parsed from each element | ":return: list of text representing an attribute of parent or each element at element path,\n or a list of dicts representing all the attributes parsed from each element" | 127 | false | consbio/parserutils | get_elements_attributes | 9,431 | |
LDU_FT/TissueMAPS/TmDeploy/get_ips | LDU_FT | [
"<BEGIN>\n## `__init_os_api`",
"Initialise client objects for talking to OpenStack API.",
" This is in a separate function so to be called by ``__init__`` and\n ``__setstate__``.\n<END>",
"<BEGIN>\n## `stop_instance`",
"Stops the instance gracefully.",
" :param str instance_id: instan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ips API.
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_ips API.
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... | Retrieves the private and public ip addresses for a given instance.
Note: Azure normally provides access to vms from a shared load
balancer IP and
mapping of ssh ports on the vms. So by default, the Azure provider
returns strings
of the form 'ip:port'. However, 'stock' elasticlus... | "Retrieves the private and public ip addresses for a given instance.\n Note: Azure normally provides access to vms from a shared load\n balancer IP and\n mapping of ssh ports on the vms. So by default, the Azure provider\n returns strings\n of the form 'ip:port'. However, 'stock' elas... | 192 | false | TissueMAPS/TmDeploy | get_ips | 9,432 | |
LDU_FT/bioasp/caspo/from_json | LDU_FT | [
"<BEGIN>\n## `from_str`",
"Creates a literal from a string",
" Parameters\n ----------\n string : str\n If the string starts with '!', it's interpreted as a negated variable",
" Returns\n -------\n caspo.core.literal.Literal\n Created object inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Creates an experimental setup from a JSON file
Parameters
----------
filename : str
Absolute path to JSON file
Returns
-------
caspo.core.setup.Setup
Created object instance | "Creates an experimental setup from a JSON file\n\n Parameters\n ----------\n filename : str\n Absolute path to JSON file\n\n Returns\n -------\n caspo.core.setup.Setup\n Created object instance" | 366 | false | bioasp/caspo | from_json | 9,433 | |
LDU_FT/openvax/varcode/create_frameshift_effect | LDU_FT | [
"<BEGIN>\n## `translate_codon`",
"Translate a single codon into a single amino acid or stop '*'",
" Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>",
"<BEGIN>\n## `translate`",
"Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_frameshift_effect 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_frameshift_effect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Determine frameshift effect within a coding sequence (possibly affecting
either the start or stop codons, or anythign in between)
Parameters
----------
mutated_codon_index : int
Codon offset (starting from 0 = start codon) of first non-reference
amino acid in the variant protein
se... | "Determine frameshift effect within a coding sequence (possibly affecting\n either the start or stop codons, or anythign in between)\n\n Parameters\n ----------\n mutated_codon_index : int\n Codon offset (starting from 0 = start codon) of first non-reference\n amino acid in the variant protein... | 344 | false | openvax/varcode | create_frameshift_effect | 9,434 | |
LDU_FT/hellosign/hellosign-python-sdk/_check_error | LDU_FT | [
"<BEGIN>\n## `create_account`",
"Create a new account.",
" If the account is created via an app, then Account.oauth will contain the\n OAuth data that can be used to execute actions on behalf of the newly created account.",
" Args:\n email_address (str): Email addres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_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 extr... | Check for HTTP error code from the response, raise exception if there's any
Args:
response (object): Object returned by requests' `get` and `post`
methods
json_response (dict): JSON response, if applicable
Raises:
HTTPError: If the status code of re... | "Check for HTTP error code from the response, raise exception if there's any\n\n Args:\n response (object): Object returned by requests' `get` and `post`\n methods\n\n json_response (dict): JSON response, if applicable\n\n Raises:\n HTTPError: If the status ... | 416 | false | hellosign/hellosign-python-sdk | _check_error | 9,435 | |
LDU_FT/dailymuse/oz/copy_file | LDU_FT | [
"<BEGIN>\n## `db`",
"Gets the SQLALchemy session for this request\n<END>",
"<BEGIN>\n## `_sqlalchemy_on_finish`",
"Closes the sqlalchemy transaction. Rolls back if an error occurred.\n<END>",
"<BEGIN>\n## `_sqlalchemy_on_connection_close`",
"Rollsback and closes the active session, since the client discon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Copies a file from a given source path to a destination path, adding
appropriate parent directories when needed. If the destination path
already exists and `replace` is `False`, the file will not be
uploaded. | "Copies a file from a given source path to a destination path, adding\n appropriate parent directories when needed. If the destination path\n already exists and `replace` is `False`, the file will not be\n uploaded." | 58 | false | dailymuse/oz | copy_file | 9,436 | |
LDU_FT/common-workflow-language/schema_salad/load_schema | LDU_FT | [
"<BEGIN>\n## `declare_type`",
"Add this type to our collection, if needed.\n<END>",
"<BEGIN>\n## `add_namespaces`",
"Collect the provided namespaces, checking for conflicts.\n<END>",
"<BEGIN>\n## `collect_namespaces`",
"Walk through the metadata object, collecting namespace declarations.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_schema API.
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 load_schema API.
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... | Load a schema that can be used to validate documents using load_and_validate.
return: document_loader, avsc_names, schema_metadata, metaschema_loader | "Load a schema that can be used to validate documents using load_and_validate.\n\n return: document_loader, avsc_names, schema_metadata, metaschema_loader" | 53 | false | common-workflow-language/schema_salad | load_schema | 9,437 | |
LDU_FT/ardydedase/pycouchbase/_stage2_bootstrap | LDU_FT | [
"<BEGIN>\n## `_add_err`",
"Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>",
"<BEGIN>\n## `_add_bad_rc`",
"Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _stage2_bootstrap API.
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 _stage2_bootstrap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | This is the second bootstrap stage. It should be called
_immediately_ after importing this module the first time. The
reason behind this process is to allow this module to be inserted
as a replacement for 'couchbase._libcouchbase' while not loading
dependencies which depend on that name. The stage2 load... | "This is the second bootstrap stage. It should be called\n _immediately_ after importing this module the first time. The\n reason behind this process is to allow this module to be inserted\n as a replacement for 'couchbase._libcouchbase' while not loading\n dependencies which depend on that name. The stage2... | 76 | false | ardydedase/pycouchbase | _stage2_bootstrap | 9,438 | |
LDU_FT/openstates/billy/committees_legislators | LDU_FT | [
"<BEGIN>\n## `decimal_format`",
"Format a decimal.Decimal like to 2 decimal places.\n<END>",
"<BEGIN>\n## `notification_preference`",
"Display two radio buttons for turning notifications on or off.\n The default value is is have alerts_on = True.\n<END>",
"<BEGIN>\n## `committee_object`",
"If the commi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the committees_legislators 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 committees_legislators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Return an iterable of committees with all the
legislators cached for reference in the Committee model.
So do a "select_related" operation on committee members. | "Return an iterable of committees with all the\n legislators cached for reference in the Committee model.\n So do a \"select_related\" operation on committee members." | 168 | false | openstates/billy | committees_legislators | 9,439 | |
LDU_FT/mozilla/popcoder/draw_image | LDU_FT | [
"<BEGIN>\n## `preprocess`",
"Processes popcorn JSON and builds a sane data model out of it\n @param data : The popcorn editor project json blob\n<END>",
"<BEGIN>\n## `parse_duration`",
"Corrects for any offsets that may have been created by loop and skip\n events\n<END>",
"<BEGIN>\n## `trim`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_image API.
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 draw_image API.
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... | Draws an image over the video
@param video_name : name of video input file
@param image_name: name of image input file
@param out : name of video output file
@param start : when to start overlay
@param end : when to end overlay
@param x : x pos of image
@param y :... | "Draws an image over the video\n @param video_name : name of video input file\n @param image_name: name of image input file\n @param out : name of video output file\n @param start : when to start overlay\n @param end : when to end overlay\n @param x : x pos of image\n @p... | 16 | false | mozilla/popcoder | draw_image | 9,440 | |
LDU_FT/sibirrer/lenstronomy/min_square_dist | LDU_FT | [
"<BEGIN>\n## `array2image`",
"maps a 1d array into a (nx, ny) 2d grid with array populating the idex_mask indices\n :param array: 1d array\n :param idex_mask: 1d array of length nx*ny\n :param nx: x-axis of 2d grid\n :param ny: y-axis of 2d grid\n :return:\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the min_square_dist API.
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 min_square_dist API.
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 minimum of quadratic distance of pairs (x1, y1) to pairs (x2, y2)
:param x_1:
:param y_1:
:param x_2:
:param y_2:
:return: | "return minimum of quadratic distance of pairs (x1, y1) to pairs (x2, y2)\n :param x_1:\n :param y_1:\n :param x_2:\n :param y_2:\n :return:" | 886 | false | sibirrer/lenstronomy | min_square_dist | 9,441 | |
LDU_FT/kunitoki/django-custard/create_mixin | LDU_FT | [
"<BEGIN>\n## `debug`",
"Simple tag to debug output a variable;",
" Usage:\n {% debug request %}\n<END>",
"<BEGIN>\n## `create_fields`",
"This method will create a model which will hold field types defined\n at runtime for each ContentType.",
" :param base_model: base model ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_mixin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_mixin API.
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... | This will create the custom Model Mixin to attach to your custom field
enabled model.
:return: | "This will create the custom Model Mixin to attach to your custom field\n enabled model.\n\n :return:" | 21 | false | kunitoki/django-custard | create_mixin | 9,442 | |
LDU_FT/spaam/svtplay-dl/filenamify | LDU_FT | [
"<BEGIN>\n## `snapshot_folder`",
"Use the commit date in UTC as folder name\n<END>",
"<BEGIN>\n## `opengraph_get`",
"Extract specified OpenGraph property from html.",
" >>> opengraph_get('<html><head><meta property=\"og:image\" content=\"http://example.com/img.jpg\"><meta ...', \"image\")\n 'h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filenamify API.
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 filenamify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Convert a string to something suitable as a file name. E.g.
Matlagning del 1 av 10 - Räksmörgås | SVT Play
-> matlagning.del.1.av.10.-.raksmorgas.svt.play | "Convert a string to something suitable as a file name. E.g.\n\n Matlagning del 1 av 10 - Räksmörgås | SVT Play\n -> matlagning.del.1.av.10.-.raksmorgas.svt.play" | 30 | false | spaam/svtplay-dl | filenamify | 9,443 | |
LDU_FT/noirbizarre/flask-fs/open | 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 open API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Open the file and return a file-like object.
:param str filename: The storage root-relative filename
:param str mode: The open mode (``(r|w)b?``)
:raises FileNotFound: If trying to read a file that does not exists | "Open the file and return a file-like object.\n\n :param str filename: The storage root-relative filename\n :param str mode: The open mode (``(r|w)b?``)\n :raises FileNotFound: If trying to read a file that does not exists" | 62 | false | noirbizarre/flask-fs | open | 9,444 | |
LDU_FT/alvinwan/TexSoup/read_arg | LDU_FT | [
"<BEGIN>\n## `all`",
"r\"\"\"Returns all content in this node, regardless of whitespace or\n not. This includes all LaTeX needed to reconstruct the original source.",
" >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\newcommand{reverseconcat}[3]{#3#2#1}\n ...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_arg API.
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 read_arg API.
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... | Read the argument from buffer.
Advances buffer until right before the end of the argument.
:param Buffer src: a buffer of tokens
:param str c: argument token (starting token)
:return: the parsed argument
:rtype: Arg | "Read the argument from buffer.\n\n Advances buffer until right before the end of the argument.\n\n :param Buffer src: a buffer of tokens\n :param str c: argument token (starting token)\n :return: the parsed argument\n :rtype: Arg" | 166 | false | alvinwan/TexSoup | read_arg | 9,445 | |
LDU_FT/LordDarkula/chess_py/all_possible_moves | LDU_FT | [
"<BEGIN>\n## `_get_piece`",
"Returns Piece subclass given index of piece.",
" :type: index: int\n :type: loc Location",
" :raise: KeyError\n<END>",
"<BEGIN>\n## `incomplete_alg`",
"Converts a string written in short algebraic form into an incomplete move.\n These incomplete moves do not have t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_possible_moves 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 all_possible_moves 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... | Checks if all the possible moves has already been calculated
and is stored in `possible_moves` dictionary. If not, it is calculated
with `_calc_all_possible_moves`.
:type: input_color: Color
:rtype: list | "Checks if all the possible moves has already been calculated\n and is stored in `possible_moves` dictionary. If not, it is calculated\n with `_calc_all_possible_moves`.\n \n :type: input_color: Color\n :rtype: list" | 173 | false | LordDarkula/chess_py | all_possible_moves | 9,446 | |
LDU_FT/NetEaseGame/ATX/remove | LDU_FT | [
"<BEGIN>\n## `main`",
"Args:\n - forward(int): local forward port\n - host(string): local forward host\n - listen(int): listen port\n<END>",
"<BEGIN>\n## `_init_items`",
".---------------.\n | Ctrl | Screen |\n |------| |\n | Code | |\n | | ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove remote file
Return:
bool: true or false | "Remove remote file\n Return:\n bool: true or false" | 230 | false | NetEaseGame/ATX | remove | 9,447 | |
LDU_FT/heroku/sf-suds/splitPrefix | LDU_FT | [
"<BEGIN>\n## `splitPrefix`",
"Split the name into a tuple (I{prefix}, I{name}). The first element in\n the tuple is I{None} when the name does't have a prefix.\n @param name: A node name containing an optional prefix.\n @type name: basestring\n @return: A tuple containing the (2) parts of I{name}\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the splitPrefix API.
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 splitPrefix API.
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... | Split the name into a tuple (I{prefix}, I{name}). The first element in
the tuple is I{None} when the name does't have a prefix.
@param name: A node name containing an optional prefix.
@type name: basestring
@return: A tuple containing the (2) parts of I{name}
@rtype: (I{prefix}, I{name}) | "Split the name into a tuple (I{prefix}, I{name}). The first element in\n the tuple is I{None} when the name does't have a prefix.\n @param name: A node name containing an optional prefix.\n @type name: basestring\n @return: A tuple containing the (2) parts of I{name}\n @rtype: (I{prefix}, I{name})" | 38 | false | heroku/sf-suds | splitPrefix | 9,448 | |
LDU_FT/RobotStudio/bors/run | LDU_FT | [
"<BEGIN>\n## `_generate_request`",
"Generate a request object for delivery to the API\n<END>",
"<BEGIN>\n## `_generate_result`",
"Generate a results object for delivery to the context object\n<END>",
"<BEGIN>\n## `connect_ws`",
"Connect to a websocket\n :channels: List of SockChannel instances\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Called by internal API subsystem to initialize websockets connections
in the API interface | "Called by internal API subsystem to initialize websockets connections\n in the API interface" | 22 | false | RobotStudio/bors | run | 9,449 | |
LDU_FT/cronofy/pycronofy/application_calendar | LDU_FT | [
"<BEGIN>\n## `format_event_time`",
"Accepts either an ISO 8601 string, a dict with a time and tzid OR a datetime object.\n Must be in UTC format:",
" 2016-01-31T12:33:00Z\n 2016-01-31T12:33:00UTC\n 2016-01-31T12:33:00+00:00",
" https://en.wikipedia.org/wiki/ISO_8601",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the application_calendar 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 application_calendar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates and Retrieves authorization for an application calendar
:param string application_calendar_id: The Id for this application calendar
:return: Dictionary containing auth tokens, expiration info, and response status.
:rtype: ``dict`` | "Creates and Retrieves authorization for an application calendar\n\n :param string application_calendar_id: The Id for this application calendar\n :return: Dictionary containing auth tokens, expiration info, and response status.\n :rtype: ``dict``" | 111 | false | cronofy/pycronofy | application_calendar | 9,450 | |
LDU_FT/epandurski/flask_signalbus/atomic | LDU_FT | [
"<BEGIN>\n## `get_instance`",
"Return a model instance in ``db.session``.",
" :param instance_or_pk: An instance of this model class, or a\n primary key. A composite primary key can be passed as a\n tuple.",
" Example::",
" @db.atomic\n def increase_account_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atomic API.
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 atomic API.
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 ... | A decorator that wraps a function in an atomic block.
Example::
db = CustomSQLAlchemy()
@db.atomic
def f():
write_to_db('a message')
return 'OK'
assert f() == 'OK'
This code defines the function ``f``, which is wrapped in an
... | "A decorator that wraps a function in an atomic block.\n\n Example::\n\n db = CustomSQLAlchemy()\n\n @db.atomic\n def f():\n write_to_db('a message')\n return 'OK'\n\n assert f() == 'OK'\n\n This code defines the function ``f``, which is wrappe... | 53 | false | epandurski/flask_signalbus | atomic | 9,451 | |
LDU_FT/sailthru/relay/checkPath | LDU_FT | [
"<BEGIN>\n## `create_ramp_plan`",
"Formulate and execute on a plan to slowly add heat or cooling to the system",
" `err` initial error (PV - SP)\n `ramp` the size of the ramp",
" A ramp plan might yield MVs in this order at every timestep:\n [5, 0, 4, 0, 3, 0, 2, 0, 1]\n where err == 5 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checkPath API.
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 checkPath API.
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... | Check the given path, printing out any warnings detected.
@return: the number of warnings printed | "Check the given path, printing out any warnings detected.\n\n @return: the number of warnings printed" | 32 | false | sailthru/relay | checkPath | 9,452 | |
LDU_FT/xhtml2pdf/xhtml2pdf/splitIntoLines | LDU_FT | [
"<BEGIN>\n## `pisaParser`",
"- Parse HTML and get miniDOM\n - Extract CSS informations, add default CSS, parse CSS\n - Handle the document DOM itself and build reportlab story\n - Return Context object\n<END>",
"<BEGIN>\n## `splitIntoLines`",
"Split text into lines and calculate X positions. If we ne... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the splitIntoLines API.
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 splitIntoLines API.
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... | Split text into lines and calculate X positions. If we need more
space in height than available we return the rest of the text | "Split text into lines and calculate X positions. If we need more\n space in height than available we return the rest of the text" | 134 | false | xhtml2pdf/xhtml2pdf | splitIntoLines | 9,453 | |
LDU_FT/gebn/nibble/parse | LDU_FT | [
"<BEGIN>\n## `_read_file`",
"Read the contents of a file.",
" :param name: The name of the file in the current directory.\n :param encoding: The encoding of the file; defaults to utf-8.\n :return: The contents of the file.\n<END>",
"<BEGIN>\n## `_parse_args`",
"Interpret command line arguments.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Interpret a string.
:param string: The input to lex and parse.
:param lexer: The lexer to use. A new one will be created if not
provided.
:return: An object representation of the input. | "Interpret a string.\n \n :param string: The input to lex and parse.\n :param lexer: The lexer to use. A new one will be created if not\n provided.\n :return: An object representation of the input." | 45 | false | gebn/nibble | parse | 9,454 | |
LDU_FT/shendo/websnort/_run_ids | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the supplied output and returns the version string.",
" :param output: A string containing the output of running snort.\n :returns: Version string for the version of snort run. None if not found.\n<END>",
"<BEGIN>\n## `parse_alert`",
"Parses the supplied output a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_ids API.
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 _run_ids API.
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... | Runs the specified IDS runner.
:param runner: Runner instance to use
:param pcap: File path to pcap for analysis
:returns: dict of run metadata/alerts | "Runs the specified IDS runner.\n\n :param runner: Runner instance to use\n :param pcap: File path to pcap for analysis\n :returns: dict of run metadata/alerts" | 40 | false | shendo/websnort | _run_ids | 9,455 | |
LDU_FT/MIR-MU/ntcir-math-density/get_judged_identifiers | LDU_FT | [
"<BEGIN>\n## `plot_estimates`",
"Plots density, and probability estimates.",
" Parameters\n ----------\n positions : iterable of float\n Paragraph positions for which densities, and probabilities were estimated.\n estimates : six-tuple of (sequence of float)\n Estimates of P(relevant),... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_judged_identifiers 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_judged_identifiers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Extracts the paragraph identifiers, and the scores of the judged paragraphs from relevance
judgements in the NTCIR-11 Math-2, and NTCIR-12 MathIR format.
Parameters
----------
input_file : file
The input file containing relevance judgements in the NTCIR-11 Math-2, and NTCIR-12 MathIR
fo... | "Extracts the paragraph identifiers, and the scores of the judged paragraphs from relevance\n judgements in the NTCIR-11 Math-2, and NTCIR-12 MathIR format.\n\n Parameters\n ----------\n input_file : file\n The input file containing relevance judgements in the NTCIR-11 Math-2, and NTCIR-12 MathIR\n ... | 28 | false | MIR-MU/ntcir-math-density | get_judged_identifiers | 9,456 | |
LDU_FT/saeschdivara/ArangoPy/documents | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns all documents of the collection",
" :param collection Collection instance\n :param skip The number of documents to skip in the query\n :param limit The maximal amount of documents to return. The skip is applied before the limit restriction.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the documents API.
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 documents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns all documents of this collection.
:returns Document list | "Returns all documents of this collection.\n\n :returns Document list" | 115 | false | saeschdivara/ArangoPy | documents | 9,457 | |
LDU_FT/GearPlug/payu-python/get_tokens | LDU_FT | [
"<BEGIN>\n## `create_single_token`",
"Using this feature you can register a customer’s credit card data and get a token sequential number.",
" Args:\n payer_id:\n name:\n identification_number:\n payment_method:\n number:\n expiration_date... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tokens API.
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_tokens API.
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... | With this functionality you can query previously the Credit Cards Token.
Args:
payer_id:
credit_card_token_id:
start_date:
end_date:
Returns: | "With this functionality you can query previously the Credit Cards Token.\n\n Args:\n payer_id:\n credit_card_token_id:\n start_date:\n end_date:\n\n Returns:" | 153 | false | GearPlug/payu-python | get_tokens | 9,458 | |
LDU_FT/line/line-bot-sdk-python/unlink_rich_menu_from_user | LDU_FT | [
"<BEGIN>\n## `get`",
"GET request.",
" :param str url: Request url\n :param dict headers: (optional) Request headers\n :param dict params: (optional) Request query parameter\n :param bool stream: (optional) get content as stream\n :param timeout: (optional), How long to wait f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlink_rich_menu_from_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlink_rich_menu_from_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Call unlink rich menu from user API.
https://developers.line.me/en/docs/messaging-api/reference/#unlink-rich-menu-from-user
:param str user_id: ID of the user
:param timeout: (optional) How long to wait for the server
to send data before giving up, as a float,
or a (con... | "Call unlink rich menu from user API.\n\n https://developers.line.me/en/docs/messaging-api/reference/#unlink-rich-menu-from-user\n\n :param str user_id: ID of the user\n :param timeout: (optional) How long to wait for the server\n to send data before giving up, as a float,\n o... | 135 | false | line/line-bot-sdk-python | unlink_rich_menu_from_user | 9,459 | |
LDU_FT/wind-python/windpowerlib/assign_power_curve | LDU_FT | [
"<BEGIN>\n## `reduce_wind_speed`",
"r\"\"\"\n Reduces wind speed by a wind efficiency curve.",
" The wind efficiency curves are provided in the windpowerlib and were\n calculated in the dena-Netzstudie II and in the work of Knorr\n (see [1]_ and [2]_).",
" Parameters\n ----------\n wind_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_power_curve 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 assign_power_curve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | r"""
Calculates the power curve of a wind farm.
The wind farm power curve is calculated by aggregating the power curves
of all wind turbines in the wind farm. Depending on the parameters the
power curves are smoothed (before or after the aggregation) and/or a
wind farm efficienc... | "r\"\"\"\n Calculates the power curve of a wind farm.\n\n The wind farm power curve is calculated by aggregating the power curves\n of all wind turbines in the wind farm. Depending on the parameters the\n power curves are smoothed (before or after the aggregation) and/or a\n wind farm... | 249 | false | wind-python/windpowerlib | assign_power_curve | 9,460 | |
LDU_FT/ethereum/web3.py/get_event_data | LDU_FT | [
"<BEGIN>\n## `solidityKeccak`",
"Executes keccak256 exactly as Solidity does.\n Takes list of abi_types as inputs -- `[uint24, int8[], bool]`\n and list of corresponding values -- `[20, [-1, 5, 0], True]`\n<END>",
"<BEGIN>\n## `gas_price_strategy_middleware`",
"Includes a gas price using the ga... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given an event ABI and a log entry for that event, return the decoded
event data | "Given an event ABI and a log entry for that event, return the decoded\n event data" | 268 | false | ethereum/web3.py | get_event_data | 9,461 | |
LDU_FT/shaldengeki/python-mal/load_reviews | LDU_FT | [
"<BEGIN>\n## `logged_in`",
"Checks the logged-in status of the current session. \n Expensive (requests a page), so use sparingly! Best practice is to try a request and catch an UnauthorizedError.",
" :rtype: bool\n :return: Whether or not the current session is logged-in.\n<END>",
"<BEGIN>\n## `login... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_reviews API.
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 load_reviews API.
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... | Fetches the MAL user reviews page and sets the current user's reviews attributes.
:rtype: :class:`.User`
:return: Current user object. | "Fetches the MAL user reviews page and sets the current user's reviews attributes.\n\n :rtype: :class:`.User`\n :return: Current user object." | 152 | false | shaldengeki/python-mal | load_reviews | 9,462 | |
LDU_FT/bitlabstudio/django-libs/navactive | LDU_FT | [
"<BEGIN>\n## `add_form_widget_attr`",
"Adds widget attributes to a bound form field.",
" This is helpful if you would like to add a certain class to all your forms\n (i.e. `form-control` to all form fields when you are using Bootstrap)::",
" {% load libs_tags %}\n {% for field in form.fiel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the navactive API.
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 navactive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns ``active`` if the given URL is in the url path, otherwise ''.
Usage::
{% load libs_tags %}
...
<li class="{% navactive request "/news/" exact=1 %}">
:param request: A request instance.
:param url: A string representing a part of the URL that needs to exist
in order f... | "Returns ``active`` if the given URL is in the url path, otherwise ''.\n\n Usage::\n\n {% load libs_tags %}\n ...\n <li class=\"{% navactive request \"/news/\" exact=1 %}\">\n\n :param request: A request instance.\n :param url: A string representing a part of the URL that needs to exist\n ... | 101 | false | bitlabstudio/django-libs | navactive | 9,463 | |
LDU_FT/behave/behave-django/patch_context | LDU_FT | [
"<BEGIN>\n## `add_command_arguments`",
"Additional command line arguments for the behave management command\n<END>",
"<BEGIN>\n## `add_behave_arguments`",
"Additional command line arguments extracted directly from behave\n<END>",
"<BEGIN>\n## `add_arguments`",
"Add behave's and our command line arguments ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_context API.
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 patch_context API.
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... | Patches the context to add utility functions
Sets up the base_url, and the get_url() utility function. | "Patches the context to add utility functions\n\n Sets up the base_url, and the get_url() utility function." | 15 | false | behave/behave-django | patch_context | 9,464 | |
LDU_FT/eclipse/unide.python/local_timezone | LDU_FT | [
"<BEGIN>\n## `samples`",
"Yield the samples as dicts, keyed by dimensions.\n<END>",
"<BEGIN>\n## `device_measurement`",
"Returns a JSON MeasurementPayload ready to be send through a\n transport.",
" If `ts` is not given, the current time is used. `part` is an\n optional `Part` object, and `result` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_timezone API.
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 local_timezone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Add the local timezone to `value` to make it aware. | "Add the local timezone to `value` to make it aware." | 25 | false | eclipse/unide.python | local_timezone | 9,465 | |
LDU_FT/rameshg87/pyremotevbox/_dict_to_tuple | LDU_FT | [
"<BEGIN>\n## `_check_typecode_list`",
"Check a list of typecodes for compliance with Struct\n requirements.\n<END>",
"<BEGIN>\n## `_get_type_or_substitute`",
"return typecode or substitute type for wildcard or\n derived type. For serialization only.\n<END>",
"<BEGIN>\n## `setDerivedTypeContents`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dict_to_tuple API.
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 _dict_to_tuple API.
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... | Convert a dictionary to a time tuple. Depends on key values in the
regexp pattern! | "Convert a dictionary to a time tuple. Depends on key values in the\n regexp pattern!" | 529 | false | rameshg87/pyremotevbox | _dict_to_tuple | 9,466 | |
LDU_FT/googlefonts/fontmake/_output_path | LDU_FT | [
"<BEGIN>\n## `exclude_args`",
"Delete options that are not appropriate for a following code path; exit\n with an error if excluded options were passed in by the user.",
" argparse generates a namespace with all options it knows, but not every\n attribute should be passed to all code paths (i.e. options... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _output_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _output_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Generate output path for a font file with given extension. | "Generate output path for a font file with given extension." | 57 | false | googlefonts/fontmake | _output_path | 9,467 | |
LDU_FT/jmcarp/robobrowser/lowercase_attr_names | LDU_FT | [
"<BEGIN>\n## `parsed`",
"Lazily parse response content, using HTML parser specified by the\n browser.\n<END>",
"<BEGIN>\n## `_build_send_args`",
"Merge optional arguments with defaults.",
" :param kwargs: Keyword arguments to `Session::send`\n<END>",
"<BEGIN>\n## `open`",
"Open a URL.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lowercase_attr_names 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 lowercase_attr_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Lower-case all attribute names of the provided BeautifulSoup tag.
Note: this mutates the tag's attribute names and does not return a new
tag.
:param Tag: BeautifulSoup tag | "Lower-case all attribute names of the provided BeautifulSoup tag.\n Note: this mutates the tag's attribute names and does not return a new\n tag.\n\n :param Tag: BeautifulSoup tag" | 73 | false | jmcarp/robobrowser | lowercase_attr_names | 9,468 | |
LDU_FT/openai/retro/rollout | LDU_FT | [
"<BEGIN>\n## `run`",
"Run the interactive window until the user quits\n<END>",
"<BEGIN>\n## `get_file_path`",
"Return the path to a given game's directory\n<END>",
"<BEGIN>\n## `get_romfile_path`",
"Return the path to a given game's romfile\n<END>",
"<BEGIN>\n## `make`",
"Create a Gym environment for ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rollout API.
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 rollout API.
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... | Perform a rollout using a preset collection of actions | "Perform a rollout using a preset collection of actions" | 16 | false | openai/retro | rollout | 9,469 | |
LDU_FT/jkitzes/macroeco/log_start_end | LDU_FT | [
"<BEGIN>\n## `get_theme_dir`",
"Returns path to directory containing this package's theme.",
" This is designed to be used when setting the ``html_theme_path``\n option within Sphinx's ``conf.py`` file.\n<END>",
"<BEGIN>\n## `_geom_solve_p_from_mu`",
"For the geom_uptrunc, given mu and b, return p.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_start_end API.
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 log_start_end API.
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... | Decorator to log start and end of function
Use of decorator module here ensures that argspec will inspect wrapped
function, not the decorator itself.
http://micheles.googlecode.com/hg/decorator/documentation.html | "Decorator to log start and end of function\n\n Use of decorator module here ensures that argspec will inspect wrapped\n function, not the decorator itself.\n http://micheles.googlecode.com/hg/decorator/documentation.html" | 337 | false | jkitzes/macroeco | log_start_end | 9,470 | |
LDU_FT/d0ugal/python-rfxcom/_setup | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse a 9 bytes packet in the Temperature format and return a\n dictionary containing the data extracted. An example of a return value\n would be:",
" .. code-block:: python",
" {\n 'id': \"0x2EB2\",\n 'packet_length': 8,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Performs the RFXtrx initialisation protocol in a Future.
Currently this is the rough workflow of the interactions with the
RFXtrx. We also do a few extra things - flush the buffer, and attach
readers/writers to the asyncio loop.
1. Write a RESET packet (write all zeros)
2. Wait... | "Performs the RFXtrx initialisation protocol in a Future.\n\n Currently this is the rough workflow of the interactions with the\n RFXtrx. We also do a few extra things - flush the buffer, and attach\n readers/writers to the asyncio loop.\n\n 1. Write a RESET packet (write all zeros)\n ... | 74 | false | d0ugal/python-rfxcom | _setup | 9,471 | |
LDU_FT/seatgeek/fuzzywuzzy/partial_token_sort_ratio | LDU_FT | [
"<BEGIN>\n## `extractWithoutOrder`",
"Select the best match in a list or dictionary of choices.",
" Find best matches in a list or dictionary of choices, return a\n generator of tuples containing the match and its score. If a dictionary\n is used, also returns the key for each match.",
" Arguments... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partial_token_sort_ratio 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 partial_token_sort_ratio API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Return the ratio of the most similar substring as a number between
0 and 100 but sorting the token before comparing. | "Return the ratio of the most similar substring as a number between\n 0 and 100 but sorting the token before comparing." | 76 | false | seatgeek/fuzzywuzzy | partial_token_sort_ratio | 9,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.