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/ethereum/lahja/wait_for_path_blocking | LDU_FT | [
"<BEGIN>\n## `start_serving_nowait`",
"Start serving this :class:`~lahja.endpoint.Endpoint` so that it can receive events. It is\n not guaranteed that the :class:`~lahja.endpoint.Endpoint` is fully ready after this method\n returns. Use :meth:`~lahja.endpoint.Endpoint.start_serving` or combine with\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_path_blocking API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_path_blocking API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Waits up to ``timeout`` seconds for the path to appear at path
``path`` otherwise raises :exc:`TimeoutError`. | "Waits up to ``timeout`` seconds for the path to appear at path\n ``path`` otherwise raises :exc:`TimeoutError`." | 26 | false | ethereum/lahja | wait_for_path_blocking | 28,173 | |
LDU_FT/openstack/monasca-common/decode_produce_response | LDU_FT | [
"<BEGIN>\n## `fmtd_sub_expr_str`",
"Get the entire sub expressions as a string with spaces.\n<END>",
"<BEGIN>\n## `normalized_operator`",
"Get the operator as one of LT, GT, LTE, or GTE.\n<END>",
"<BEGIN>\n## `_get_conn`",
"Get or create a connection to a broker using host and port\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_produce_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_produce_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Decode bytes to a ProduceResponse
Arguments:
data: bytes to decode | "Decode bytes to a ProduceResponse\n\n Arguments:\n data: bytes to decode" | 227 | false | openstack/monasca-common | decode_produce_response | 28,174 | |
LDU_FT/sass/libsass-python/build_directory | LDU_FT | [
"<BEGIN>\n## `build_directory`",
"Compiles all Sass/SCSS files in ``path`` to CSS.",
" :param sass_path: the path of the directory which contains source files\n to compile\n :type sass_path: :class:`str`, :class:`basestring`\n :param css_path: the path of the directory compiled CSS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_directory API.
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 build_directory API.
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... | Compiles all Sass/SCSS files in ``path`` to CSS.
:param sass_path: the path of the directory which contains source files
to compile
:type sass_path: :class:`str`, :class:`basestring`
:param css_path: the path of the directory compiled CSS files will go
:type css_path: :class:`str`... | "Compiles all Sass/SCSS files in ``path`` to CSS.\n\n :param sass_path: the path of the directory which contains source files\n to compile\n :type sass_path: :class:`str`, :class:`basestring`\n :param css_path: the path of the directory compiled CSS files will go\n :type css_path: :clas... | 80 | false | sass/libsass-python | build_directory | 28,175 | |
LDU_FT/sony/nnabla/revise_buffer_size | LDU_FT | [
"<BEGIN>\n## `convert`",
"All functions are replaced with the same `new` function.",
" Args:\n vroot (:obj:`Variable`): NNabla Variable\n entry_variables (:obj:`Variable`): Entry variable from which the conversion starts.\n<END>",
"<BEGIN>\n## `convert`",
"All functions are repl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revise_buffer_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revise_buffer_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | This function is used to revise buffer size, use byte
as its unit, instead of data item.
This is only used for nnb, not for csrc.
When settings contains user customized data type, not pure
FLOAT32, it affects the memory consumption. | "This function is used to revise buffer size, use byte\n as its unit, instead of data item.\n This is only used for nnb, not for csrc.\n When settings contains user customized data type, not pure\n FLOAT32, it affects the memory consumption." | 870 | false | sony/nnabla | revise_buffer_size | 28,176 | |
LDU_FT/Fuyukai/ConfigMaster/save_to_file | LDU_FT | [
"<BEGIN>\n## `initial_populate`",
"Populate a newly created config object with data.",
" If it was populated, this returns True. If it wasn't, this returns False.",
" It is recommended to run a .dump() and .reload() after running this.\n<END>",
"<BEGIN>\n## `apply_defaults`",
"Applies defaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This converts the NetworkedConfigFile into a normal ConfigFile object.
This requires the normal class hooks to be provided. | "This converts the NetworkedConfigFile into a normal ConfigFile object.\n\n This requires the normal class hooks to be provided." | 32 | false | Fuyukai/ConfigMaster | save_to_file | 28,177 | |
LDU_FT/wheeler-microfluidics/dmf-control-board-firmware/c_drop | LDU_FT | [
"<BEGIN>\n## `swap_default`",
"Given a `sympy` equation or equality, along with a list of symbol names,\n substitute the specified default value for each symbol for which a value is\n not provided through a keyword argument.",
" For example, consider the following equality:",
" >>> sp.pprint(H)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the c_drop API.
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 c_drop API.
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 ... | Capacitance of an electrode covered in liquid, normalized per unit
area (i.e., units are F/mm^2). | "Capacitance of an electrode covered in liquid, normalized per unit\n area (i.e., units are F/mm^2)." | 206 | false | wheeler-microfluidics/dmf-control-board-firmware | c_drop | 28,178 | |
LDU_FT/yfpeng/bioc/parse_passage | LDU_FT | [
"<BEGIN>\n## `decodes`",
"Deserialize ``s`` to a BioC collection object.",
" Args:\n s: a \"str\" instance containing a BioC collection",
" Returns:\n an object of BioCollection\n<END>",
"<BEGIN>\n## `decode`",
"Deserialize ``fp`` to a BioC collection object.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_passage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_passage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Deserialize a dict obj to a BioCPassage object | "Deserialize a dict obj to a BioCPassage object" | 75 | false | yfpeng/bioc | parse_passage | 28,179 | |
LDU_FT/andreasjansson/head-in-the-clouds/csv_to_PyDbLite | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new base with specified field names\r\n A keyword argument mode can be specified ; it is used if a file\r\n with the base name already exists\r\n - if mode = 'open' : open the existing base, ignore the fields\r\n - if mode = 'override' : erase the exis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv_to_PyDbLite API.
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 csv_to_PyDbLite API.
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... | Convert a CSV file to a PyDbLite base
src is the file object from which csv values are read
dest is the name of the PyDbLite base
If fieldnames is not set, the CSV file *must* have row names
in the first line
fieldtypes is a dictionary mapping field names to a function
used to convert the... | "Convert a CSV file to a PyDbLite base\r\n src is the file object from which csv values are read\r\n dest is the name of the PyDbLite base\r\n If fieldnames is not set, the CSV file *must* have row names \r\n in the first line\r\n fieldtypes is a dictionary mapping field names to a function\r\n used t... | 101 | false | andreasjansson/head-in-the-clouds | csv_to_PyDbLite | 28,180 | |
LDU_FT/onnx/onnx/_get_attribute_tensors | LDU_FT | [
"<BEGIN>\n## `run_node`",
"Simple run one operator and return the results.\n Args:\n outputs_info: a list of tuples, which contains the element type and\n shape of each output. First element of the tuple is the dtype, and\n the second element is the shape. More use case can... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attribute_tensors 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_attribute_tensors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create an iterator of tensors from node attributes of an ONNX model. | "Create an iterator of tensors from node attributes of an ONNX model." | 72 | false | onnx/onnx | _get_attribute_tensors | 28,181 | |
LDU_FT/line/line-bot-sdk-python/to_snake_case | 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 to_snake_case API.
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 to_snake_case API.
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... | Convert to snake case.
:param str text:
:rtype: str
:return: | "Convert to snake case.\n\n :param str text:\n :rtype: str\n :return:" | 135 | false | line/line-bot-sdk-python | to_snake_case | 28,182 | |
LDU_FT/refindlyllc/rets/add_capability | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse the login xml response\n :param response: the login response from the RETS server\n :return: None\n<END>",
"<BEGIN>\n## `read_line`",
"Reads lines of XML and delimits, strips, and returns.\n<END>",
"<BEGIN>\n## `generator`",
"Takes a response socket connection a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_capability API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_capability API.
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 a capability of the RETS board
:param name: The name of the capability
:param uri: The capability URI given by the RETS board
:return: None | "Add a capability of the RETS board\n :param name: The name of the capability\n :param uri: The capability URI given by the RETS board\n :return: None" | 51 | false | refindlyllc/rets | add_capability | 28,183 | |
LDU_FT/opengisch/pum/pg_backup | LDU_FT | [
"<BEGIN>\n## `pg_backup`",
"Call the pg_dump command to create a db backup",
" Parameters\n ----------\n pg_dump_exe: str\n the pg_dump command path\n exclude_schema: str[]\n list of schemas to be skipped\n<END>",
"<BEGIN>\n## `pg_restore`",
"Call the pg_res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pg_backup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pg_backup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Call the pg_dump command to create a db backup
Parameters
----------
pg_dump_exe: str
the pg_dump command path
exclude_schema: str[]
list of schemas to be skipped | "Call the pg_dump command to create a db backup\n\n Parameters\n ----------\n pg_dump_exe: str\n the pg_dump command path\n exclude_schema: str[]\n list of schemas to be skipped" | 71 | false | opengisch/pum | pg_backup | 28,184 | |
LDU_FT/ReFirmLabs/binwalk/edit_rules | LDU_FT | [
"<BEGIN>\n## `process_kwargs`",
"Convenience wrapper around binwalk.core.module.Modules.kwargs.",
" @obj - The class object (an instance of a sub-class of binwalk.core.module.Module).\n @kwargs - The kwargs provided to the object's __init__ method.",
" Returns None.\n<END>",
"<BEGIN>\n## `show_h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Edit all rules that match a specified description.
@description - The description to match against.
@key - The key to change for each matching rule.
@value - The new key value for each matching rule.
Returns the number of rules modified. | "Edit all rules that match a specified description.\n\n @description - The description to match against.\n @key - The key to change for each matching rule.\n @value - The new key value for each matching rule.\n\n Returns the number of rules modified." | 211 | false | ReFirmLabs/binwalk | edit_rules | 28,185 | |
LDU_FT/rigetti/rpcq/_async_socket | LDU_FT | [
"<BEGIN>\n## `call_async`",
"Send JSON RPC request to a backend socket and receive reply (asynchronously)",
" :param method_name: Method name\n :param args: Args that will be passed to the remote function\n :param float rpc_timeout: Timeout in seconds for Server response, set to None to dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _async_socket API.
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 _async_socket API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates a new async socket if one doesn't already exist for this Client | "Creates a new async socket if one doesn't already exist for this Client" | 63 | false | rigetti/rpcq | _async_socket | 28,186 | |
LDU_FT/isogeo/isogeo-api-py-minsdk/tags_to_dict | LDU_FT | [
"<BEGIN>\n## `set_base_url`",
"Set Isogeo base URLs according to platform.",
" :param str platform: platform to use. Options:",
" * prod [DEFAULT]\n * qa\n * int\n<END>",
"<BEGIN>\n## `convert_uuid`",
"Convert a metadata UUID to its URI equivalent. And conversely.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tags_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tags_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Reverse search tags dictionary to values as keys.
Useful to populate filters comboboxes for example.
:param dict tags: tags dictionary from a search request
:param dict prev_query: query parameters returned after a search request. Typically `search.get("query")`.
:param str duplicated: ... | "Reverse search tags dictionary to values as keys.\n Useful to populate filters comboboxes for example.\n\n :param dict tags: tags dictionary from a search request\n :param dict prev_query: query parameters returned after a search request. Typically `search.get(\"query\")`.\n :param str dupl... | 154 | false | isogeo/isogeo-api-py-minsdk | tags_to_dict | 28,187 | |
LDU_FT/camptocamp/marabunta/add_operation | LDU_FT | [
"<BEGIN>\n## `perform`",
"Perform the version upgrade on the database.\n<END>",
"<BEGIN>\n## `_perform_version`",
"Inner method for version upgrade.",
" Not intended for standalone use. This method performs the actual\n version upgrade with all the pre, post operations and addons upgrades.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_operation API.
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 add_operation API.
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... | Add an operation to the version
:param mode: Name of the mode in which the operation is executed
:type mode: str
:param operation_type: one of 'pre', 'post'
:type operation_type: str
:param operation: the operation to add
:type operation: :class:`marabunta.model.Operatio... | "Add an operation to the version\n\n :param mode: Name of the mode in which the operation is executed\n :type mode: str\n :param operation_type: one of 'pre', 'post'\n :type operation_type: str\n :param operation: the operation to add\n :type operation: :class:`marabunta.model.... | 48 | false | camptocamp/marabunta | add_operation | 28,188 | |
LDU_FT/troeger/opensubmit/has_config | LDU_FT | [
"<BEGIN>\n## `read_config`",
"Read configuration file, perform sanity check and return configuration\n dictionary used by other functions.\n<END>",
"<BEGIN>\n## `check_config`",
"Check the executor config file for consistency.\n<END>",
"<BEGIN>\n## `has_config`",
"Determine if the given config file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Determine if the given config file exists. | "Determine if the given config file exists." | 254 | false | troeger/opensubmit | has_config | 28,189 | |
LDU_FT/JamesPHoughton/pysd/lookup_extrapolation | LDU_FT | [
"<BEGIN>\n## `parse`",
"context : <string> 'eqn', 'defn'\n If context is set to equation, lone identifiers will be parsed as calls to elements\n If context is set to definition, lone identifiers will be cleaned and returned.\n<END>",
"<BEGIN>\n## `read_tabular`",
"Reads a vensim ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup_extrapolation 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 lookup_extrapolation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Intermediate values are calculated with linear interpolation between the intermediate points.
Out-of-range values are calculated with linear extrapolation from the last two values at either end. | "Intermediate values are calculated with linear interpolation between the intermediate points.\n Out-of-range values are calculated with linear extrapolation from the last two values at either end." | 268 | false | JamesPHoughton/pysd | lookup_extrapolation | 28,190 | |
LDU_FT/ajenhl/tacl/requires_columns | LDU_FT | [
"<BEGIN>\n## `_format_content`",
"Returns `content` with consecutive spaces converted to non-break\n spaces, and linebreak converted into HTML br elements.",
" :param content: text to format\n :type content: `str`\n :rtype: `str`\n<END>",
"<BEGIN>\n## `_prepare_text`",
"Returns `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requires_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requires_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Decorator that raises a `MalformedResultsError` if any of
`required_cols` is not present as a column in the matches of the
`Results` object bearing the decorated method.
:param required_cols: names of required columns
:type required_cols: `list` of `str` | "Decorator that raises a `MalformedResultsError` if any of\n `required_cols` is not present as a column in the matches of the\n `Results` object bearing the decorated method.\n\n :param required_cols: names of required columns\n :type required_cols: `list` of `str`" | 463 | false | ajenhl/tacl | requires_columns | 28,191 | |
LDU_FT/NaPs/Kolekto/list_attachments | LDU_FT | [
"<BEGIN>\n## `itermovieshash`",
"Iterate over movies hash stored in the database.\n<END>",
"<BEGIN>\n## `get_hash`",
"Return the hash of the movie depending on the input string.",
" If the input string looks like a symbolic link to a movie in a Kolekto\n tree, return its movies hash, else, return the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_attachments API.
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 list_attachments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | List attachment for the specified fullname. | "List attachment for the specified fullname." | 37 | false | NaPs/Kolekto | list_attachments | 28,192 | |
LDU_FT/Kane610/axis/update | LDU_FT | [
"<BEGIN>\n## `session_request`",
"Do HTTP/S request and return response as a string.\n<END>",
"<BEGIN>\n## `get_event_list`",
"Get a dict of supported events from device.\n<END>",
"<BEGIN>\n## `_prepare_event`",
"Converts event instances to a relevant dictionary.\n<END>",
"<BEGIN>\n## `process_raw`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update session information from device response.
Increment sequence number when starting stream, not when playing.
If device requires authentication resend previous message with auth. | "Update session information from device response.\n\n Increment sequence number when starting stream, not when playing.\n If device requires authentication resend previous message with auth." | 55 | false | Kane610/axis | update | 28,193 | |
LDU_FT/AoiKuiyuyou/AoikLiveReload/main | LDU_FT | [
"<BEGIN>\n## `main`",
"Main function.",
" :return:\n None.\n<END>",
"<BEGIN>\n## `start_watcher_thread`",
"Start watcher thread.",
" :return:\n Watcher thread object.\n<END>",
"<BEGIN>\n## `run_watcher`",
"Watcher thread's function.",
" :return:\n None.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Main function.
:return:
None. | "Main function.\n\n :return:\n None." | 216 | false | AoiKuiyuyou/AoikLiveReload | main | 28,194 | |
LDU_FT/grundprinzip/pyxplorer/distinct_value_fractions | LDU_FT | [
"<BEGIN>\n## `tables`",
":return: all tables stored in this database\n<END>",
"<BEGIN>\n## `tcounts`",
":return: a data frame containing the names and sizes for all tables\n<END>",
"<BEGIN>\n## `dcounts`",
":return: a data frame with names and distinct counts and fractions for all columns in the database\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distinct_value_fractions 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 distinct_value_fractions 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: returns a data frame of name distinct value fractions | ":return: returns a data frame of name distinct value fractions" | 20 | false | grundprinzip/pyxplorer | distinct_value_fractions | 28,195 | |
LDU_FT/lra/mackup/check_for_usable_environment | LDU_FT | [
"<BEGIN>\n## `getFilepaths`",
"Get home and mackup filepaths for given file",
" Args:\n filename (str)",
" Returns:\n home_filepath, mackup_filepath (str, str)\n<END>",
"<BEGIN>\n## `backup`",
"Backup the application config files.",
" Algorithm:\n if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_usable_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_usable_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Check if the current env is usable and has everything's required. | "Check if the current env is usable and has everything's required." | 116 | false | lra/mackup | check_for_usable_environment | 28,196 | |
LDU_FT/IdentityPython/pysaml2/valid_qname | LDU_FT | [
"<BEGIN>\n## `add_vo_information_about_user`",
"Add information to the knowledge I have about the user. This is\n for Virtual organizations.",
" :param name_id: The subject identifier\n :return: A possibly extended knowledge.\n<END>",
"<BEGIN>\n## `create_authn_request`",
"Creates an au... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_qname API.
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 valid_qname API.
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... | A qname is either
NCName or
NCName ':' NCName | "A qname is either\n NCName or\n NCName ':' NCName" | 738 | false | IdentityPython/pysaml2 | valid_qname | 28,197 | |
LDU_FT/exosite-labs/pyonep/listing | LDU_FT | [
"<BEGIN>\n## `request`",
"Wraps HTTPConnection.request. On exception it calls exception_fn\n with the exception object. If exception_fn is None, it re-raises the\n exception. If notimeout is True, create a new connection (regardless of\n self.reuseconnection setting) that uses the global defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listing API.
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 listing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | This provides backward compatibility with two
previous variants of listing. To use the non-deprecated
API, pass both options and resource. | "This provides backward compatibility with two\n previous variants of listing. To use the non-deprecated\n API, pass both options and resource." | 199 | false | exosite-labs/pyonep | listing | 28,198 | |
LDU_FT/xflr6/features/uniqued | LDU_FT | [
"<BEGIN>\n## `uniqued`",
"Return unique list of items preserving order.",
" >>> uniqued([3, 2, 1, 3, 2, 1, 0])\n [3, 2, 1, 0]\n<END>",
"<BEGIN>\n## `butlast`",
"Yield all items from ``iterable`` except the last one.",
" >>> list(butlast(['spam', 'eggs', 'ham']))\n ['spam', 'eggs']",
" >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uniqued API.
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 uniqued API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return unique list of items preserving order.
>>> uniqued([3, 2, 1, 3, 2, 1, 0])
[3, 2, 1, 0] | "Return unique list of items preserving order.\n\n >>> uniqued([3, 2, 1, 3, 2, 1, 0])\n [3, 2, 1, 0]" | 33 | false | xflr6/features | uniqued | 28,199 | |
LDU_FT/geopy/geopy/_parse_json | LDU_FT | [
"<BEGIN>\n## `_construct_url`",
"Construct geocoding request url. Overridden.",
" :param str base_api: Geocoding function base address - self.api\n or self.reverse_api.",
" :param dict params: Geocoding params.",
" :return: string URL.\n<END>",
"<BEGIN>\n## `geocode`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 extra... | Parse type, words, latitude, and longitude and language from a
JSON response. | "Parse type, words, latitude, and longitude and language from a\n JSON response." | 405 | false | geopy/geopy | _parse_json | 28,200 | |
LDU_FT/jonathf/chaospy/substitute | LDU_FT | [
"<BEGIN>\n## `call`",
"Evaluate a polynomial along specified axes.",
" Args:\n poly (Poly):\n Input polynomial.\n args (numpy.ndarray):\n Argument to be evaluated. Masked values keeps the variable intact.",
" Returns:\n (Poly, numpy.ndarray):\n If ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substitute API.
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 substitute API.
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... | Substitute a variable in a polynomial array.
Args:
P (Poly) : Input data.
x0 (Poly, int) : The variable to substitute. Indicated with either unit
variable, e.g. `x`, `y`, `z`, etc. or through an integer
matching the unit variables dimension, e.g. `x==0`, `y==1`,
... | "Substitute a variable in a polynomial array.\n\n Args:\n P (Poly) : Input data.\n x0 (Poly, int) : The variable to substitute. Indicated with either unit\n variable, e.g. `x`, `y`, `z`, etc. or through an integer\n matching the unit variables dimension, e.g. `x==0`, `y==1... | 713 | false | jonathf/chaospy | substitute | 28,201 | |
LDU_FT/amoffat/sh/find_module | LDU_FT | [
"<BEGIN>\n## `encode_to_py3bytes_or_py2str`",
"takes anything and attempts to return a py2 string or py3 bytes. this\n is typically used when creating command + arguments to be executed via\n os.exec*\n<END>",
"<BEGIN>\n## `get_exc_from_name`",
"takes an exception name, like:",
" ErrorReturnCo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_module API.
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... | mod_fullname doubles as the name of the VARIABLE holding our new sh
context. for example:
derp = sh()
from derp import ls
here, mod_fullname will be "derp". keep that in mind as we go throug
the rest of this function | "mod_fullname doubles as the name of the VARIABLE holding our new sh\n context. for example:\n\n derp = sh()\n from derp import ls\n\n here, mod_fullname will be \"derp\". keep that in mind as we go throug\n the rest of this function" | 83 | false | amoffat/sh | find_module | 28,202 | |
LDU_FT/openvax/datacache/db_from_dataframes | LDU_FT | [
"<BEGIN>\n## `connect_if_correct_version`",
"Return a sqlite3 database connection if the version in the database's\n metadata matches the version argument.",
" Also implicitly checks for whether the data in this database has\n been completely filled, since we set the version last.",
" TODO: Make a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_from_dataframes 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 db_from_dataframes 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... | Create a sqlite3 database from a collection of DataFrame objects
Parameters
----------
db_filename : str
Name of database file to create
dataframes : dict
Dictionary from table names to DataFrame objects
primary_keys : dict, optional
Name of primary key column for each tab... | "Create a sqlite3 database from a collection of DataFrame objects\n\n Parameters\n ----------\n db_filename : str\n Name of database file to create\n\n dataframes : dict\n Dictionary from table names to DataFrame objects\n\n primary_keys : dict, optional\n Name of primary key column ... | 101 | false | openvax/datacache | db_from_dataframes | 28,203 | |
LDU_FT/brandon-rhodes/python-sgp4/_dspace | LDU_FT | [
"<BEGIN>\n## `_dsinit`",
"// sgp4fix for negative inclinations\n // the following if statement should be commented out\n //if (inclm < 0.0)\n // {\n // inclm = -inclm;\n // argpm = argpm - pi;\n // nodem = nodem + pi;\n // }\n<END>",
"<BEGIN>\n## `_dspace`",
"// ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dspace API.
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 _dspace API.
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... | // sgp4fix for negative inclinations
// the following if statement should be commented out
// if (inclm < 0.0)
// {
// inclm = -inclm;
// argpm = argpm - pi;
// nodem = nodem + pi;
// }
/* - update resonances : numerical (euler-maclaurin) integration - */
/* ... | "// sgp4fix for negative inclinations\n // the following if statement should be commented out\n // if (inclm < 0.0)\n // {\n // inclm = -inclm;\n // argpm = argpm - pi;\n // nodem = nodem + pi;\n // }\n\n /* - update resonances : numerical (euler-maclaurin) integration - *... | 22 | false | brandon-rhodes/python-sgp4 | _dspace | 28,204 | |
LDU_FT/quantopian/zipline/download_without_progress | LDU_FT | [
"<BEGIN>\n## `unwrap`",
"Get the cached value.",
" Returns\n -------\n value : object\n The cached value.",
" Raises\n ------\n Expired\n Raised when `dt` is greater than self.expires.\n<END>",
"<BEGIN>\n## `get`",
"Get the value of a cached ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_without_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_without_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Download data from a URL, returning a BytesIO containing the loaded data.
Parameters
----------
url : str
A URL that can be understood by ``requests.get``.
Returns
-------
data : BytesIO
A BytesIO containing the downloaded data. | "Download data from a URL, returning a BytesIO containing the loaded data.\n\n Parameters\n ----------\n url : str\n A URL that can be understood by ``requests.get``.\n\n Returns\n -------\n data : BytesIO\n A BytesIO containing the downloaded data." | 2,011 | true | quantopian/zipline | download_without_progress | 28,205 | |
LDU_FT/tulir/mautrix-python/user | LDU_FT | [
"<BEGIN>\n## `user`",
"Get a child HTTPAPI instance.",
" Args:\n user: The Matrix ID of the user whose API to get.",
" Returns:\n A HTTPAPI instance that always uses the given Matrix ID.\n<END>",
"<BEGIN>\n## `bot_intent`",
"Get the intent API for the appservice bot.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Get the intent API for a specific user. This is just a proxy to :func:`~HTTPAPI.intent`.
You should only call this method for the bot user. Calling it with child intent APIs will
result in a warning log.
Args:
user: The Matrix ID of the user whose intent API to get.
tok... | "Get the intent API for a specific user. This is just a proxy to :func:`~HTTPAPI.intent`.\n\n You should only call this method for the bot user. Calling it with child intent APIs will\n result in a warning log.\n\n Args:\n user: The Matrix ID of the user whose intent API to get.\n ... | 60 | false | tulir/mautrix-python | user | 28,206 | |
LDU_FT/pip-services3-python/pip-services3-components-python/stats | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures component by passing configuration parameters.",
" :param config: configuration parameters to be set.\n<END>",
"<BEGIN>\n## `can_create`",
"Checks if this factory is able to create component by given locator.",
" This method searches for all registered ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Calculates min/average/max statistics based on the current and previous values.
:param name: a counter name of Statistics type
:param value: a value to update statistics | "Calculates min/average/max statistics based on the current and previous values.\n\n :param name: a counter name of Statistics type\n\n :param value: a value to update statistics" | 272 | false | pip-services3-python/pip-services3-components-python | stats | 28,207 | |
LDU_FT/stephenmcd/hot-redis/transaction | LDU_FT | [
"<BEGIN>\n## `transaction`",
"Swaps out the current client with a pipeline instance,\n so that each Redis method call inside the context will be\n pipelined. Once the context is exited, we execute the pipeline.\n<END>",
"<BEGIN>\n## `_get_lua_path`",
"Joins the given name with the relative path of the m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction API.
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 transaction API.
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... | Swaps out the current client with a pipeline instance,
so that each Redis method call inside the context will be
pipelined. Once the context is exited, we execute the pipeline. | "Swaps out the current client with a pipeline instance,\n so that each Redis method call inside the context will be\n pipelined. Once the context is exited, we execute the pipeline." | 18 | false | stephenmcd/hot-redis | transaction | 28,208 | |
LDU_FT/maweigert/gputools/map_coordinates | LDU_FT | [
"<BEGIN>\n## `gaussian_filter`",
"blurs data with a gaussian kernel of given sigmas",
" Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_coordinates API.
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 map_coordinates API.
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... | Map data to new coordinates by interpolation.
The array of coordinates is used to find, for each point in the output,
the corresponding coordinates in the input.
should correspond to scipy.ndimage.map_coordinates
Parameters
----------
data
coordinates
output
interpolation
m... | "Map data to new coordinates by interpolation.\n The array of coordinates is used to find, for each point in the output,\n the corresponding coordinates in the input.\n\n should correspond to scipy.ndimage.map_coordinates\n \n Parameters\n ----------\n data\n coordinates\n output\n interpo... | 199 | false | maweigert/gputools | map_coordinates | 28,209 | |
LDU_FT/Varkal/chuda/poll_output | LDU_FT | [
"<BEGIN>\n## `enrich_app`",
"Add a new property to the app (with setattr)",
" Args:\n name (str): the name of the new property\n value (any): the value of the new property\n<END>",
"<BEGIN>\n## `autorun`",
"Call the run method of the decorated class if the current file is the ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll_output API.
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 poll_output API.
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... | Append lines from stdout to self.output.
Returns:
list: The lines added since last call | "Append lines from stdout to self.output.\n\n Returns:\n list: The lines added since last call" | 44 | false | Varkal/chuda | poll_output | 28,210 | |
LDU_FT/reorx/torext/setup | LDU_FT | [
"<BEGIN>\n## `format_request`",
"Override for better log format",
" Tornado format:\n [INFO 2015-03-24 11:29:57 app:521] 200 GET /static/css/lib/pure-min.css (127.0.0.1) 6.76ms\n Current format:\n [gevent.wsgi] INFO 127.0.0.1 - - [2015-03-24 11:18:45] \"GET /test HTTP/1.1\" 200 304 0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | This function will be called both before `run` and testing started. | "This function will be called both before `run` and testing started." | 70 | false | reorx/torext | setup | 28,211 | |
LDU_FT/timedata-org/loady/remove_on_exception | LDU_FT | [
"<BEGIN>\n## `pull`",
"Pull the git repo from its origin. Can only be called after load()\n has been called.\n<END>",
"<BEGIN>\n## `matches`",
"Does the target match the whitelist entry?\n<END>",
"<BEGIN>\n## `check_entry`",
"Throws an exception if the entry isn't on the whitelist.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_on_exception 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 remove_on_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Creates a directory, yields to the caller, and removes that directory
if an exception is thrown. | "Creates a directory, yields to the caller, and removes that directory\n if an exception is thrown." | 33 | false | timedata-org/loady | remove_on_exception | 28,212 | |
LDU_FT/ethereum/pyethereum/get_configuration | LDU_FT | [
"<BEGIN>\n## `_canonical_type`",
"Replace aliases to the corresponding type to compute the ids.\n<END>",
"<BEGIN>\n## `method_id`",
"Return the unique method id.",
" The signature is defined as the canonical expression of the basic\n prototype, i.e. the function name with the parenthesised list of par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_configuration API.
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_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | get a configuration (snapshot) that can be used to call configure
snapshot = get_configuration()
configure(**snapshot) | "get a configuration (snapshot) that can be used to call configure\n snapshot = get_configuration()\n configure(**snapshot)" | 138 | false | ethereum/pyethereum | get_configuration | 28,213 | |
LDU_FT/xolox/python-vcs-repo-mgr/find_branches | LDU_FT | [
"<BEGIN>\n## `get_install_requires`",
"Add conditional dependencies (when creating source distributions).\n<END>",
"<BEGIN>\n## `main`",
"The command line interface of the ``vcs-tool`` program.\n<END>",
"<BEGIN>\n## `contains_repository`",
"Check whether the given directory contains a local repository.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_branches API.
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 find_branches API.
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... | Find information about the branches in the repository. | "Find information about the branches in the repository." | 261 | false | xolox/python-vcs-repo-mgr | find_branches | 28,214 | |
LDU_FT/smarie/python-parsyfiles/_extract_collection_base_type | LDU_FT | [
"<BEGIN>\n## `read_dict_or_list_from_json`",
"Helper method to read a dictionary from a .json file using json library\n :param file_object:\n :return:\n<END>",
"<BEGIN>\n## `get_default_collection_parsers`",
"Utility method to return the default parsers able to parse a dictionary from a file.\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_collection_base_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_collection_base_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Utility method to extract the base item type from a collection/iterable item type.
Throws
* a TypeError if the collection_object_type a Dict with non-string keys.
* an AttributeError if the collection_object_type is actually not a collection
* a TypeInformationRequiredError if somehow the inner type can... | "Utility method to extract the base item type from a collection/iterable item type.\n Throws\n * a TypeError if the collection_object_type a Dict with non-string keys.\n * an AttributeError if the collection_object_type is actually not a collection\n * a TypeInformationRequiredError if somehow the inner typ... | 504 | false | smarie/python-parsyfiles | _extract_collection_base_type | 28,215 | |
LDU_FT/slackapi/python-slackclient/_validate_callback | LDU_FT | [
"<BEGIN>\n## `run_on`",
"A decorator to store and link a callback to an event.\n<END>",
"<BEGIN>\n## `on`",
"Stores and links the callback(s) to the event.",
" Args:\n event (str): A string that specifies a Slack or websocket event.\n e.g. 'channel_joined' or 'open'\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Checks if the specified callback is callable and accepts a kwargs param.
Args:
callback (obj): Any object or a list of objects that can be called.
e.g. <function say_hello at 0x101234567>
Raises:
SlackClientError: The specified callback is not callable.
... | "Checks if the specified callback is callable and accepts a kwargs param.\n\n Args:\n callback (obj): Any object or a list of objects that can be called.\n e.g. <function say_hello at 0x101234567>\n\n Raises:\n SlackClientError: The specified callback is not callable.\... | 222 | false | slackapi/python-slackclient | _validate_callback | 28,216 | |
LDU_FT/AliLozano/django-messages-extends/_get | LDU_FT | [
"<BEGIN>\n## `_get`",
"Gets a single list of messages from all storage backends.\n<END>",
"<BEGIN>\n## `_store`",
"Stores the messages, returning any unstored messages after trying all\n backends.",
" For each storage backend, any messages not stored are passed on to the\n next backend.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Retrieves a list of stored messages. Returns a tuple of the messages
and a flag indicating whether or not all the messages originally
intended to be stored in this storage were, in fact, stored and
retrieved; e.g., ``(messages, all_retrieved)``. | "Retrieves a list of stored messages. Returns a tuple of the messages\n and a flag indicating whether or not all the messages originally\n intended to be stored in this storage were, in fact, stored and\n retrieved; e.g., ``(messages, all_retrieved)``." | 28 | false | AliLozano/django-messages-extends | _get | 28,217 | |
LDU_FT/rtlee9/serveit/get_bytes_to_image_callback | LDU_FT | [
"<BEGIN>\n## `loader`",
"Load image from URL, and preprocess for Resnet.\n<END>",
"<BEGIN>\n## `json_numpy_loader`",
"Load data from JSON request and convert to numpy array.\n<END>",
"<BEGIN>\n## `get_bytes_to_image_callback`",
"Return a callback to process image bytes for ImageNet.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bytes_to_image_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bytes_to_image_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return a callback to process image bytes for ImageNet. | "Return a callback to process image bytes for ImageNet." | 20 | false | rtlee9/serveit | get_bytes_to_image_callback | 28,218 | |
LDU_FT/unbservices/clams/register_command | LDU_FT | [
"<BEGIN>\n## `arg`",
"Annotate a function by adding the args/kwargs to the meta-data.",
" This appends an Argparse \"argument\" to the function's\n ``ARGPARSE_ARGS_LIST`` attribute, creating ``ARGPARSE_ARGS_LIST`` if it\n does not already exist. Aside from that, it returns the decorated function\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_command API.
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 register_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create and register a command with a parent command.
Args
----
parent_comand : Command
The parent command.
name : str
Name given to the created Command instance.
Example
-------
.. testcode::
mygit = Command(name='status')
@register_command(mygit, 'status')
... | "Create and register a command with a parent command.\n\n Args\n ----\n parent_comand : Command\n The parent command.\n name : str\n Name given to the created Command instance.\n\n Example\n -------\n .. testcode::\n\n mygit = Command(name='status')\n\n @register_command(m... | 47 | false | unbservices/clams | register_command | 28,219 | |
LDU_FT/Faylixe/pygame_vkeyboard/draw_uppercase_key | LDU_FT | [
"<BEGIN>\n## `synchronizeLayout`",
"Synchronizes given layouts by normalizing height by using\n max height of given layouts to avoid transistion dirty effects.",
" :param primary: Primary layout used.\n :param secondary: Secondary layout used.\n :param surface_size: Target surface size on which layo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_uppercase_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_uppercase_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Default drawing method for uppercase key. Drawn as character key.
:param surface: Surface background should be drawn in.
:param key: Target key to be drawn. | "Default drawing method for uppercase key. Drawn as character key.\n\n :param surface: Surface background should be drawn in.\n :param key: Target key to be drawn." | 54 | false | Faylixe/pygame_vkeyboard | draw_uppercase_key | 28,220 | |
LDU_FT/exekias/droplet/save_wrapper | LDU_FT | [
"<BEGIN>\n## `install`",
"Installation procedure, it writes basic smb.conf and uses samba-tool to\n provision the domain\n<END>",
"<BEGIN>\n## `stop_other_daemons`",
"Stop services already provided by main samba daemon\n<END>",
"<BEGIN>\n## `set_euid`",
"Set settings.DROPLET_USER effective UID for ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_wrapper API.
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 save_wrapper API.
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... | Wrap the save method to call pre and post enable signals and update
module status | "Wrap the save method to call pre and post enable signals and update\n module status" | 66 | false | exekias/droplet | save_wrapper | 28,221 | |
LDU_FT/MKLab-ITI/reveal-graph-embedding/meta_model_fit | LDU_FT | [
"<BEGIN>\n## `read_adjacency_matrix`",
"Reads an edge list in csv format and returns the adjacency matrix in SciPy Sparse COOrdinate format.",
" Inputs: - file_path: The path where the adjacency matrix is stored.\n - separator: The delimiter among values (e.g. \",\", \"\\t\", \" \")",
" Out... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meta_model_fit API.
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 meta_model_fit API.
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... | Trains meta-labeler for predicting number of labels for each user.
Based on: Tang, L., Rajan, S., & Narayanan, V. K. (2009, April).
Large scale multi-label classification via metalabeler.
In Proceedings of the 18th international conference on World wide web (pp. 211-220). ACM. | "Trains meta-labeler for predicting number of labels for each user.\n\n Based on: Tang, L., Rajan, S., & Narayanan, V. K. (2009, April).\n Large scale multi-label classification via metalabeler.\n In Proceedings of the 18th international conference on World wide web (pp. 211-220). ACM." | 151 | false | MKLab-ITI/reveal-graph-embedding | meta_model_fit | 28,222 | |
LDU_FT/micha030201/aionationstates/target | LDU_FT | [
"<BEGIN>\n## `tgcanrecruit`",
"Whether the nation will receive a recruitment telegram.",
" Useful in conjunction with the Telegrams API.",
" Parameters\n ----------\n region : str\n Name of the region you are recruiting for.",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target API.
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 target API.
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 ... | :class:`Nation`, :class:`Region`, or None: Target of a
Liberation, Commendation, or Condemnation. ``None`` if the
resolution is not a Liberation, Commendation, or Condemnation. | ":class:`Nation`, :class:`Region`, or None: Target of a\n Liberation, Commendation, or Condemnation. ``None`` if the\n resolution is not a Liberation, Commendation, or Condemnation." | 156 | false | micha030201/aionationstates | target | 28,223 | |
LDU_FT/textX/textX/match_abstract_str | LDU_FT | [
"<BEGIN>\n## `needs_to_be_resolved`",
"This function determines, if a reference (CrossReference) needs to be\n resolved or not (while creating the model, while resolving references).",
" Args:\n parent_obj: the object containing the attribute to be resolved.\n attr_name: the attribute identi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_abstract_str 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 match_abstract_str 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... | For a given abstract or match rule meta-class returns a nice string
representation for the body. | "For a given abstract or match rule meta-class returns a nice string\n representation for the body." | 140 | false | textX/textX | match_abstract_str | 28,224 | |
LDU_FT/banesullivan/gendocs/GetClassText | LDU_FT | [
"<BEGIN>\n## `GetModuleText`",
"Returns the needed text to automatically document a module in RSF/sphinx\n<END>",
"<BEGIN>\n## `GetClassText`",
"Returns the needed text to automatically document a class in RSF/sphinx\n<END>",
"<BEGIN>\n## `GetFunctionText`",
"Returns the needed text to automatically docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetClassText API.
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 GetClassText API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns the needed text to automatically document a class in RSF/sphinx | "Returns the needed text to automatically document a class in RSF/sphinx" | 27 | false | banesullivan/gendocs | GetClassText | 28,225 | |
LDU_FT/adamrehn/ue4cli/getEngineRoot | LDU_FT | [
"<BEGIN>\n## `findArgs`",
"Extracts the list of arguments that start with any of the specified prefix values\n<END>",
"<BEGIN>\n## `stripArgs`",
"Removes any arguments in the supplied list that are contained in the specified blacklist\n<END>",
"<BEGIN>\n## `capture`",
"Executes a child process and capture... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEngineRoot API.
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 getEngineRoot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns the root directory location of the latest installed version of UE4 | "Returns the root directory location of the latest installed version of UE4" | 120 | false | adamrehn/ue4cli | getEngineRoot | 28,226 | |
LDU_FT/theislab/scanpy/preprocess_with_pca | LDU_FT | [
"<BEGIN>\n## `filter_cells`",
"Filter cell outliers based on counts and numbers of genes expressed.",
" For instance, only keep cells with at least `min_counts` counts or\n `min_genes` genes expressed. This is to filter measurement outliers,\n i.e. “unreliable” observations.",
" Only provide one o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preprocess_with_pca API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preprocess_with_pca API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Parameters
----------
n_pcs : `int` or `None`, optional (default: `None`)
If `n_pcs=0`, do not preprocess with PCA.
If `None` and there is a PCA version of the data, use this.
If an integer, compute the PCA. | "Parameters\n ----------\n n_pcs : `int` or `None`, optional (default: `None`)\n If `n_pcs=0`, do not preprocess with PCA.\n If `None` and there is a PCA version of the data, use this.\n If an integer, compute the PCA." | 1,142 | true | theislab/scanpy | preprocess_with_pca | 28,227 | |
LDU_FT/RIPE-NCC/ripe.atlas.sagan/_get_subject_alternative_names | LDU_FT | [
"<BEGIN>\n## `_get_buf`",
"Lazy read-only accessor for the (a|q)buf.\n The qbuf Message object is cached for subsequent requests.\n<END>",
"<BEGIN>\n## `build_responses`",
"DNS measurement results are a little wacky. Sometimes you get a single\n response, other times you get a set of responses ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_subject_alternative_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_subject_alternative_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Return a list of Subject Alternative Name values for the given x509
extension object. | "Return a list of Subject Alternative Name values for the given x509\n extension object." | 27 | false | RIPE-NCC/ripe.atlas.sagan | _get_subject_alternative_names | 28,228 | |
LDU_FT/MacHu-GWU/uszipcode-project/create_postgresql_pygresql | LDU_FT | [
"<BEGIN>\n## `from_query`",
"Execute an ORM style query, and return the result in\n :class:`prettytable.PrettyTable`.",
" :param query: an ``sqlalchemy.orm.Query`` object.\n :param engine: an ``sqlalchemy.engine.base.Engine`` object.\n :param limit: int, limit rows to return.",
" :return: a ``p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_postgresql_pygresql 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 create_postgresql_pygresql API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | create an engine connected to a postgresql database using pygresql. | "create an engine connected to a postgresql database using pygresql." | 208 | false | MacHu-GWU/uszipcode-project | create_postgresql_pygresql | 28,229 | |
LDU_FT/vburenin/xjpath/_clean_key_type | LDU_FT | [
"<BEGIN>\n## `split`",
"Separates a string on a character, taking into account escapes.",
" :param str inp_str: string to split.\n :param str sep_char: separator character.\n :param int maxsplit: maximum number of times to split from left.\n :param str escape_char: escape character.\n :rtype: __g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_key_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_key_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 e... | Removes type specifier returning detected type and
a key name without type specifier.
:param str key_name: A key name containing type postfix.
:rtype: tuple[type|None, str]
:returns: Type definition and cleaned key name. | "Removes type specifier returning detected type and\n a key name without type specifier.\n\n :param str key_name: A key name containing type postfix.\n :rtype: tuple[type|None, str]\n :returns: Type definition and cleaned key name." | 27 | false | vburenin/xjpath | _clean_key_type | 28,230 | |
LDU_FT/LeKono/pyhgnc/ref_seq | LDU_FT | [
"<BEGIN>\n## `get_many2many_table`",
"Creates a many-to-many table that links the given tables table1 and table2.",
" :param str table1: Tablename of left hand table without TABLE_PREFIX.\n :param str table2: Tablename of right hand table without TABLE_PREFIX.\n :return:\n<END>",
"<BEGIN>\n## `_limit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_seq API.
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 ref_seq API.
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... | Method to query :class:`.models.RefSeq` objects in database
:param accession: RefSeq accessionl(s)
:type accession: str or tuple(str) or None
:param hgnc_symbol: HGNC symbol(s)
:type hgnc_symbol: str or tuple(str) or None
:param hgnc_identifier: identifiers(s) in :class:`.mode... | "Method to query :class:`.models.RefSeq` objects in database\n\n :param accession: RefSeq accessionl(s)\n :type accession: str or tuple(str) or None\n\n :param hgnc_symbol: HGNC symbol(s)\n :type hgnc_symbol: str or tuple(str) or None\n\n :param hgnc_identifier: identifiers(s) in :cla... | 248 | false | LeKono/pyhgnc | ref_seq | 28,231 | |
LDU_FT/mbodenhamer/syn/match | LDU_FT | [
"<BEGIN>\n## `assign`",
"Assigns B to A.attr, yields, and then assigns A.attr back to its\n original value.\n<END>",
"<BEGIN>\n## `nearest_base`",
"Returns the closest ancestor to cls in bases.\n<END>",
"<BEGIN>\n## `get_typename`",
"Returns the name of the type of x, if x is an object. Otherwise, ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | If the schema matches seq, returns a list of the matched objects.
Otherwise, returns MatchFailure instance. | "If the schema matches seq, returns a list of the matched objects.\n Otherwise, returns MatchFailure instance." | 71 | false | mbodenhamer/syn | match | 28,232 | |
LDU_FT/talkincode/toughlib/check_sign | LDU_FT | [
"<BEGIN>\n## `make_sign`",
">>> make_sign(\"123456\",[1,'2',u'中文'])\n '33C9065427EECA3490C5642C99165145'\n<END>",
"<BEGIN>\n## `check_sign`",
">>> check_sign(\"123456\",dict(code=1,s='2',msg=u'中文',sign='33C9065427EECA3490C5642C99165145'))\n True\n<END>",
"<BEGIN>\n## `make_message`",
">>> js... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | >>> check_sign("123456",dict(code=1,s='2',msg=u'中文',sign='33C9065427EECA3490C5642C99165145'))
True | ">>> check_sign(\"123456\",dict(code=1,s='2',msg=u'中文',sign='33C9065427EECA3490C5642C99165145'))\n True" | 35 | false | talkincode/toughlib | check_sign | 28,233 | |
LDU_FT/pantsbuild/pants/run_script | LDU_FT | [
"<BEGIN>\n## `load_file_contents`",
"Loads config from the given string payloads.",
" A handful of seed values will be set to act as if specified in the loaded config file's DEFAULT\n section, and be available for use in substitutions. The caller may override some of these\n seed values.",
" :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_script API.
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 run_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a command to execute a package.json script.
:param script_name: Name of the script to name. Note that script name 'test'
can be used to run node tests.
:param script_args: Args to be passed to package.json script.
:param node_paths: A list of path that should be included in $PATH when
... | "Returns a command to execute a package.json script.\n\n :param script_name: Name of the script to name. Note that script name 'test'\n can be used to run node tests.\n :param script_args: Args to be passed to package.json script.\n :param node_paths: A list of path that should be included in $PATH when\... | 3,372 | true | pantsbuild/pants | run_script | 28,234 | |
LDU_FT/tethysplatform/condorpy/wait | LDU_FT | [
"<BEGIN>\n## `_get_all_descendants`",
"traverses all descendants nodes\n :raises: CircularDependency if self is contained in descendants\n :return: a set containing all descendant nodes\n<END>",
"<BEGIN>\n## `set_scheduler`",
"Defines the remote scheduler",
" Args:\n host (st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API.
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 wait API.
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... | Wait for the job, or a sub-job to complete.
Args:
options (list of str, optional): A list of command line options for the condor_wait command. For
details on valid options see: http://research.cs.wisc.edu/htcondor/manual/current/condor_wait.html.
Defaults to an empty... | "Wait for the job, or a sub-job to complete.\n\n Args:\n options (list of str, optional): A list of command line options for the condor_wait command. For\n details on valid options see: http://research.cs.wisc.edu/htcondor/manual/current/condor_wait.html.\n Defaults to an... | 52 | false | tethysplatform/condorpy | wait | 28,235 | |
LDU_FT/rwl/pylon/performAction | LDU_FT | [
"<BEGIN>\n## `performAction`",
"perform an action on the world that changes it's internal state\n (maybe stochastically).",
" All you have to do is pull one of the arm and receive a payout. Each\n arm has a distribution of different payouts that are delivered with\n different probabi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the performAction API.
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 performAction API.
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... | Perform an action on the world that changes it's internal state. | "Perform an action on the world that changes it's internal state." | 527 | false | rwl/pylon | performAction | 28,236 | |
LDU_FT/dropbox/pyannotate/parse_json | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Deserialize a JSON file containing runtime collected types.",
" The input JSON is expected to to have a list of RawEntry items.\n<END>",
"<BEGIN>\n## `tokenize`",
"Translate a type comment into a list of tokens.\n<END>",
"<BEGIN>\n## `generate_annotations_json_string`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac... | Deserialize a JSON file containing runtime collected types.
The input JSON is expected to to have a list of RawEntry items. | "Deserialize a JSON file containing runtime collected types.\n\n The input JSON is expected to to have a list of RawEntry items." | 93 | false | dropbox/pyannotate | parse_json | 28,237 | |
LDU_FT/joerick/pyinstrument/remove_irrelevant_nodes | LDU_FT | [
"<BEGIN>\n## `file_supports_color`",
"Returns True if the running system's terminal supports color.",
" Borrowed from Django\n https://github.com/django/django/blob/master/django/core/management/color.py\n<END>",
"<BEGIN>\n## `load_report`",
"Returns the session referred to by identifier\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_irrelevant_nodes 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 remove_irrelevant_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Remove nodes that represent less than e.g. 1% of the output | "Remove nodes that represent less than e.g. 1% of the output" | 43 | false | joerick/pyinstrument | remove_irrelevant_nodes | 28,238 | |
LDU_FT/ppaquette/gym-pull/upload | LDU_FT | [
"<BEGIN>\n## `upload`",
"Upload the results of training (as automatically recorded by your\n env's monitor) to OpenAI Gym.",
" Args:\n training_dir (Optional[str]): A directory containing the results of a training run.\n algorithm_id (Optional[str]): An algorithm id indicating the particular... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API.
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 upload API.
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 ... | Upload the results of training (as automatically recorded by your
env's monitor) to OpenAI Gym.
Args:
training_dir (Optional[str]): A directory containing the results of a training run.
algorithm_id (Optional[str]): An algorithm id indicating the particular version of the algorithm (including c... | "Upload the results of training (as automatically recorded by your\n env's monitor) to OpenAI Gym.\n\n Args:\n training_dir (Optional[str]): A directory containing the results of a training run.\n algorithm_id (Optional[str]): An algorithm id indicating the particular version of the algorithm (inclu... | 12 | false | ppaquette/gym-pull | upload | 28,239 | |
LDU_FT/openstack/python-scciclient/_create_raid_adapter_profile | LDU_FT | [
"<BEGIN>\n## `scci_cmd`",
"execute SCCI command",
" This function calls SCCI server modules\n :param host: hostname or IP of iRMC\n :param userid: userid for iRMC with administrator privileges\n :param password: password for userid\n :param cmd: SCCI command\n :param port: port number of iRMC\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_raid_adapter_profile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_raid_adapter_profile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Attempt delete exist adapter then create new raid adapter on the server.
:param irmc_info: node info
:returns: result: a dict with following values:
{
'raid_config': <data of raid adapter profile>,
'warning': <warning message if there is>
... | "Attempt delete exist adapter then create new raid adapter on the server.\n\n :param irmc_info: node info\n :returns: result: a dict with following values:\n {\n 'raid_config': <data of raid adapter profile>,\n 'warning': <warning message if there is>\n ... | 194 | false | openstack/python-scciclient | _create_raid_adapter_profile | 28,240 | |
LDU_FT/denisenkom/pytds/copy_to | LDU_FT | [
"<BEGIN>\n## `validate_host`",
"Validates host name against certificate",
" @param cert: Certificate returned by host\n @param name: Actual host name used for connection\n @return: Returns true if host name matches certificate\n<END>",
"<BEGIN>\n## `revert_to_clear`",
"Reverts connection back to no... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_to API.
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 copy_to API.
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... | *Experimental*. Efficiently load data to database from file using ``BULK INSERT`` operation
:param file: Source file-like object, should be in csv format. Specify
either this or data, not both.
:param table_or_view: Destination table or view in the database
:type table_or_view: str
... | "*Experimental*. Efficiently load data to database from file using ``BULK INSERT`` operation\n\n :param file: Source file-like object, should be in csv format. Specify\n either this or data, not both.\n :param table_or_view: Destination table or view in the database\n :type table_or_view: ... | 210 | false | denisenkom/pytds | copy_to | 28,241 | |
LDU_FT/spotify/luigi/parse | LDU_FT | [
"<BEGIN>\n## `_fetch_json`",
"Returns the json representation of the dep graph\n<END>",
"<BEGIN>\n## `prefix_search`",
"Searches for jobs matching the given ``job_name_prefix``.\n<END>",
"<BEGIN>\n## `status_search`",
"Searches for jobs matching the given ``status``.\n<END>",
"<BEGIN>\n## `move`",
"Mo... | 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... | Parse an individual value from the input.
:param str x: the value to parse.
:return: the parsed value. | "Parse an individual value from the input.\n\n :param str x: the value to parse.\n :return: the parsed value." | 765 | false | spotify/luigi | parse | 28,242 | |
LDU_FT/RLBot/RLBot/convert_to_flat | LDU_FT | [
"<BEGIN>\n## `configure_processes`",
"This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.",
" :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_flat API.
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 convert_to_flat API.
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... | In this conversion, we always want to return a valid flatbuffer pointer even if all the
contents are blank because sometimes we need to put empty car states into the car list
to make the indices line up. | "In this conversion, we always want to return a valid flatbuffer pointer even if all the\n contents are blank because sometimes we need to put empty car states into the car list\n to make the indices line up." | 181 | false | RLBot/RLBot | convert_to_flat | 28,243 | |
LDU_FT/richardchien/nonebot/context_id | LDU_FT | [
"<BEGIN>\n## `handle_cancellation`",
"If the input is a string of cancellation word, finish the command session.\n<END>",
"<BEGIN>\n## `on_command`",
"Decorator to register a function as a command.",
" :param name: command name (e.g. 'echo' or ('random', 'number'))\n :param aliases: aliases of command... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the context_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the context_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Calculate a unique id representing the current context.
mode:
default: one id for one context
group: one id for one group or discuss
user: one id for one user
:param ctx: the context dict
:param mode: unique id mode: "default", "group", or "user"
:param use_hash: use md5 to hash the ... | "Calculate a unique id representing the current context.\n\n mode:\n default: one id for one context\n group: one id for one group or discuss\n user: one id for one user\n\n :param ctx: the context dict\n :param mode: unique id mode: \"default\", \"group\", or \"user\"\n :param use_hash: use ... | 105 | false | richardchien/nonebot | context_id | 28,244 | |
LDU_FT/williamgilpin/pypdb/get_raw_blast | LDU_FT | [
"<BEGIN>\n## `make_query`",
"Repackage strings into a search dictionary",
" This function takes a list of search terms and specifications\n and repackages it as a dictionary object that can be used to conduct a search",
" Parameters\n ----------\n search_term : str",
" The specific ter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_blast API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_blast API.
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... | Look up full BLAST page for a given PDB ID
get_blast() uses this function internally
Parameters
----------
pdb_id : string
A 4 character string giving a pdb entry of interest
chain_id : string
A single character designating the chain ID of interest
output_form : string
... | "Look up full BLAST page for a given PDB ID\n\n get_blast() uses this function internally\n\n Parameters\n ----------\n\n pdb_id : string\n A 4 character string giving a pdb entry of interest\n\n chain_id : string\n A single character designating the chain ID of interest\n\n\n output_for... | 243 | false | williamgilpin/pypdb | get_raw_blast | 28,245 | |
LDU_FT/nion-software/nionswift-io/_series_ome | LDU_FT | [
"<BEGIN>\n## `imagedatadict_to_ndarray`",
"Converts the ImageData dictionary, imdict, to an nd image.\n<END>",
"<BEGIN>\n## `ndarray_to_imagedatadict`",
"Convert the numpy array nparr into a suitable ImageList entry dictionary.\n Returns a dictionary with the appropriate Data, DataType, PixelDepth\n to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _series_ome API.
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 _series_ome API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return image series in OME-TIFF file(s). | "Return image series in OME-TIFF file(s)." | 438 | false | nion-software/nionswift-io | _series_ome | 28,246 | |
LDU_FT/thanethomson/statik/create_model_table | LDU_FT | [
"<BEGIN>\n## `list_files`",
"Lists all of the files in the given base directory, optionally only\n including whose extension(s) match the ext string/list of strings.\n This is non-recursive.",
" Args:\n base_path: The directory in which to search.\n ext: The extension(s) to match in the g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_model_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_model_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Creates the table for the given model.
Args:
model: A StatikModel instance.
Returns:
A SQLAlchemy model instance for the table corresponding to this
particular model. | "Creates the table for the given model.\n\n Args:\n model: A StatikModel instance.\n\n Returns:\n A SQLAlchemy model instance for the table corresponding to this\n particular model." | 117 | false | thanethomson/statik | create_model_table | 28,247 | |
LDU_FT/josuebrunel/myql/get_options_info | LDU_FT | [
"<BEGIN>\n## `get_current_info`",
"get_current_info() uses the yahoo.finance.quotes datatable to get all of the stock information presented in the main table on a typical stock page \n and a bunch of data from the key statistics page.\n<END>",
"<BEGIN>\n## `get_news_feed`",
"get_news_feed() uses the rs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_options_info API.
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_options_info API.
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_options_data() uses the yahoo.finance.options table to retrieve call and put options from the options page. | "get_options_data() uses the yahoo.finance.options table to retrieve call and put options from the options page." | 44 | false | josuebrunel/myql | get_options_info | 28,248 | |
LDU_FT/CameronLonsdale/lantern/split_columns | LDU_FT | [
"<BEGIN>\n## `frequency_to_probability`",
"Transform a ``frequency_map`` into a map of probability using the sum of all frequencies as the total.",
" Example:\n >>> frequency_to_probability({'a': 2, 'b': 2})\n {'a': 0.5, 'b': 0.5}",
" Args:\n frequency_map (dict): The dictionary to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Split ``text`` into ``n_columns`` many columns.
Example:
>>> split_columns("example", 2)
['eape', 'xml']
Args:
text (str): The text to split
n_columns (int): The number of columns to create
Returns:
List of columns
Raises:
ValueError: If n_cols is <= 0... | "Split ``text`` into ``n_columns`` many columns.\n\n Example:\n >>> split_columns(\"example\", 2)\n ['eape', 'xml']\n\n Args:\n text (str): The text to split\n n_columns (int): The number of columns to create\n\n Returns:\n List of columns\n\n Raises:\n ValueError: ... | 131 | false | CameronLonsdale/lantern | split_columns | 28,249 | |
LDU_FT/deepmind/pysc2/observation_spec | LDU_FT | [
"<BEGIN>\n## `DEFINE_point`",
"Registers a flag whose value parses as a point.\n<END>",
"<BEGIN>\n## `spatial`",
"Choose the action space for the action proto.\n<END>",
"<BEGIN>\n## `select_unit`",
"Select a specific unit from the multi-unit selection.\n<END>",
"<BEGIN>\n## `control_group`",
"Act on a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the observation_spec API.
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 observation_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | The observation spec for the SC2 environment.
It's worth noting that the image-like observations are in y,x/row,column
order which is different than the actions which are in x,y order. This is
due to conflicting conventions, and to facilitate printing of the images.
Returns:
The dict of observat... | "The observation spec for the SC2 environment.\n\n It's worth noting that the image-like observations are in y,x/row,column\n order which is different than the actions which are in x,y order. This is\n due to conflicting conventions, and to facilitate printing of the images.\n\n Returns:\n The dict of ... | 300 | false | deepmind/pysc2 | observation_spec | 28,250 | |
LDU_FT/reportportal/client-Python/terminate | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the listener.",
" This starts up a background thread to monitor the queue for\n items to process.\n<END>",
"<BEGIN>\n## `handle`",
"Handle an item.",
" This just loops through the handlers offering them the record\n to handle.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the terminate API.
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 terminate API.
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... | Finalize and stop service
Args:
nowait: set to True to terminate immediately and skip processing
messages still in the queue | "Finalize and stop service\n\n Args:\n nowait: set to True to terminate immediately and skip processing\n messages still in the queue" | 27 | false | reportportal/client-Python | terminate | 28,251 | |
LDU_FT/danielfrg/word2vec/distance | LDU_FT | [
"<BEGIN>\n## `ix`",
"Returns the index on self.vocab and self.clusters for 'word'\n<END>",
"<BEGIN>\n## `get_cluster`",
"Returns the cluster number for a word in the vocabulary\n<END>",
"<BEGIN>\n## `distance`",
"Compute the distance distance between two vectors or more (all combinations) of words",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance API.
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 distance API.
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... | Calculate distance between two vectors based on a Metric
Metrics:
1. cosine distance. Note that in word2vec all the norms are 1 so the dot product is the same as cosine distance | "Calculate distance between two vectors based on a Metric\n\n Metrics:\n 1. cosine distance. Note that in word2vec all the norms are 1 so the dot product is the same as cosine distance" | 42 | false | danielfrg/word2vec | distance | 28,252 | |
LDU_FT/a2liu/mr-clean/col_to_cat | LDU_FT | [
"<BEGIN>\n## `summarize`",
"Prints information about the DataFrame to a file or to the prompt.",
" Parameters\n ----------\n df - DataFrame\n The DataFrame to summarize\n preview_rows - int, default 5\n Amount of rows to preview from the head and tail of the DataFrame\n display_max_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the col_to_cat API.
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 col_to_cat API.
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... | Coerces a column in a DataFrame to categorical
Parameters:
df - DataFrame
DataFrame to operate on
col_name - string
Name of column to coerce
dest - bool, default False
Whether to apply the result to the DataFrame or return it.
True is apply, False is return. | "Coerces a column in a DataFrame to categorical\n Parameters:\n df - DataFrame\n DataFrame to operate on\n col_name - string\n Name of column to coerce\n dest - bool, default False\n Whether to apply the result to the DataFrame or return it.\n True is apply, False is return." | 84 | false | a2liu/mr-clean | col_to_cat | 28,253 | |
LDU_FT/StanfordBioinformatics/loom/setattrs_and_save_with_retries | LDU_FT | [
"<BEGIN>\n## `get_by_value`",
"Converts a value into a corresponding data object.\n For files, this looks up a file DataObject by name, uuid, and/or md5.\n For other types, it creates a new DataObject.\n<END>",
"<BEGIN>\n## `_get_file_by_value`",
"Look up a file DataObject by name, uuid, and/or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setattrs_and_save_with_retries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setattrs_and_save_with_retries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | If the object is being edited by other processes,
save may fail due to concurrent modification.
This method recovers and retries the edit.
assignments is a dict of {attribute: value} | "If the object is being edited by other processes,\n save may fail due to concurrent modification.\n This method recovers and retries the edit.\n\n assignments is a dict of {attribute: value}" | 93 | false | StanfordBioinformatics/loom | setattrs_and_save_with_retries | 28,254 | |
LDU_FT/henrysher/kotocore/parse_params | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Returns a string-ified version number.",
" Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>",
"<BEGIN>\n## `requires_loaded`",
"A decorator to ensure the resource data is loaded.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Goes through a set of parameters, extracting information about each.
:param core_params: The collection of parameters
:type core_params: A collection of ``<botocore.parameters.Parameter>``
subclasses
:returns: A list of dictionaries | "Goes through a set of parameters, extracting information about each.\n\n :param core_params: The collection of parameters\n :type core_params: A collection of ``<botocore.parameters.Parameter>``\n subclasses\n\n :returns: A list of dictionaries" | 198 | false | henrysher/kotocore | parse_params | 28,255 | |
LDU_FT/pytorch/ignite/cmAccuracy | LDU_FT | [
"<BEGIN>\n## `add_event_handler`",
"Add an event handler to be executed when the specified event is fired.",
" Args:\n event_name: An event to attach the handler to. Valid events are from :class:`~ignite.engine.Events`\n or any `event_name` added by :meth:`~ignite.engine.Engine.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmAccuracy API.
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 cmAccuracy API.
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... | Calculates accuracy using :class:`~ignite.metrics.ConfusionMatrix` metric.
Args:
cm (ConfusionMatrix): instance of confusion matrix metric
Returns:
MetricsLambda | "Calculates accuracy using :class:`~ignite.metrics.ConfusionMatrix` metric.\n Args:\n cm (ConfusionMatrix): instance of confusion matrix metric\n\n Returns:\n MetricsLambda" | 110 | false | pytorch/ignite | cmAccuracy | 28,256 | |
LDU_FT/cdeboever3/cdpybio/load_saved_bts | LDU_FT | [
"<BEGIN>\n## `get_region_nt_counts`",
"Get counts of each nucleotide from a bam file for a given region. If R1 and\n R2 reads both overlap a position, only one count will be added. If the R1\n and R2 reads disagree at a position they both overlap, that read pair is not\n used for that position. Can opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_saved_bts API.
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 load_saved_bts API.
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... | If the AnnotatedInteractions object was saved to a pickle and
reloaded, this method remakes the BedTool objects. | "If the AnnotatedInteractions object was saved to a pickle and\n reloaded, this method remakes the BedTool objects." | 387 | false | cdeboever3/cdpybio | load_saved_bts | 28,257 | |
LDU_FT/omtinez/pddb/get_table_schema | LDU_FT | [
"<BEGIN>\n## `get_table_schema`",
"Returns a list of column names of the provided table name\n<END>",
"<BEGIN>\n## `load`",
"Initiates the tables, schemas and record generators for this database.",
" Parameters\n ----------\n table_names : list of str, str or None\n List of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_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 ... | Returns a list of column names of the provided table name | "Returns a list of column names of the provided table name" | 41 | false | omtinez/pddb | get_table_schema | 28,258 | |
LDU_FT/bapakode/OmMongo/validate_wrap | LDU_FT | [
"<BEGIN>\n## `setdefault`",
"if the ``name`` is set, return its value. Otherwse set ``name`` to\n ``value`` and return ``value``\n<END>",
"<BEGIN>\n## `ascending`",
"Add a descending index for ``name`` to this index.",
" :param name: Name to be used in the index\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_wrap API.
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 validate_wrap API.
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... | Validates the type and length of ``value`` | "Validates the type and length of ``value``" | 248 | false | bapakode/OmMongo | validate_wrap | 28,259 | |
LDU_FT/hovren/crisp/procrustes | LDU_FT | [
"<BEGIN>\n## `sync_camera_gyro`",
"Get time offset that aligns image timestamps with gyro timestamps.",
" Given an image sequence, and gyroscope data, with their respective timestamps,\n calculate the offset that aligns the image data with the gyro data.\n The timestamps must only differ by an offset, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the procrustes API.
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 procrustes API.
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... | Orthogonal procrustes problem solver
The procrustes problem finds the best rotation R, and translation t
where
X = R*Y + t
The number of points in X and Y must be at least 2.
For the minimal case of two points, a third point is temporarily created
and used for the estimation.
... | "Orthogonal procrustes problem solver\n \n The procrustes problem finds the best rotation R, and translation t\n where\n X = R*Y + t\n \n The number of points in X and Y must be at least 2.\n For the minimal case of two points, a third point is temporarily created\n and used for the estimat... | 252 | false | hovren/crisp | procrustes | 28,260 | |
LDU_FT/eleme/meepo/session_rollback | LDU_FT | [
"<BEGIN>\n## `zmq_sub`",
"0mq fanout sub.",
" This sub will use zeromq to fanout the events.",
" :param bind: the zmq pub socket or zmq device socket.\n :param tables: the events of tables to follow.\n :param forwarder: set to True if zmq pub to a forwarder device.\n :param green: weather to us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the session_rollback API.
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 session_rollback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Send session_rollback signal in sqlalchemy ``after_rollback``.
This marks the failure of session so the session may enter commit
phase. | "Send session_rollback signal in sqlalchemy ``after_rollback``.\n\n This marks the failure of session so the session may enter commit\n phase." | 110 | false | eleme/meepo | session_rollback | 28,261 | |
LDU_FT/flo-compbio/genometools/sort_genes | LDU_FT | [
"<BEGIN>\n## `sum`",
"Sum over rows or columns.",
" Overrides the default `pandas.DataFrame.sum()` function to prevent\n temporary in-memory copies.\n<END>",
"<BEGIN>\n## `get_heatmap`",
"Generate a heatmap (`ExpHeatmap`) of the matrix.",
" See :class:`ExpHeatmap` constructor for keyw... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_genes API.
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 sort_genes API.
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... | Sort the rows of the matrix alphabetically by gene name.
Parameters
----------
stable: bool, optional
Whether to use a stable sorting algorithm. [True]
inplace: bool, optional
Whether to perform the operation in place.[False]
ascending: bool, optional
... | "Sort the rows of the matrix alphabetically by gene name.\n\n Parameters\n ----------\n stable: bool, optional\n Whether to use a stable sorting algorithm. [True]\n inplace: bool, optional\n Whether to perform the operation in place.[False]\n ascending: bool, opt... | 496 | false | flo-compbio/genometools | sort_genes | 28,262 | |
LDU_FT/Rambatino/CHAID/from_numpy | LDU_FT | [
"<BEGIN>\n## `chisquare`",
"Calculates the chisquare for a matrix of ind_v x dep_v\n for the unweighted and SPSS weighted case\n<END>",
"<BEGIN>\n## `best_split`",
"determine which splitting function to apply\n<END>",
"<BEGIN>\n## `best_cat_heuristic_split`",
"determine best categorical variable split ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_numpy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_numpy API.
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... | Create a CHAID object from numpy
Parameters
----------
ndarr : numpy.ndarray
non-aggregated 2-dimensional array containing
independent variables on the veritcal axis and (usually)
respondent level data on the horizontal axis
arr : numpy.ndarray
... | "Create a CHAID object from numpy\n\n Parameters\n ----------\n ndarr : numpy.ndarray\n non-aggregated 2-dimensional array containing\n independent variables on the veritcal axis and (usually)\n respondent level data on the horizontal axis\n arr : numpy.ndarr... | 34 | false | Rambatino/CHAID | from_numpy | 28,263 | |
LDU_FT/cathalgarvey/deadlock/binom | LDU_FT | [
"<BEGIN>\n## `get_slanted_adjacent_coords`",
"returns the six adjacent coordinates on a standard keyboard, where each row is slanted to the right from the last.\n adjacencies are clockwise, starting with key to the left, then two keys above, then right key, then two keys below.\n (that is, only near-diagona... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binom API.
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 binom API.
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... | Returns binomial coefficient (n choose k). | "Returns binomial coefficient (n choose k)." | 73 | false | cathalgarvey/deadlock | binom | 28,264 | |
LDU_FT/suds-community/suds/bodypart_types | LDU_FT | [
"<BEGIN>\n## `xml`",
"Get xml representation of the object.\n @return: The root node.\n @rtype: L{Element}\n<END>",
"<BEGIN>\n## `skip`",
"Get whether to skip (filter-out) the specified attribute.\n @param attr: An attribute.\n @type attr: I{Attribute}\n @return: True if sho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bodypart_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bodypart_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 ex... | Get a list of I{parameter definitions} (pdefs) defined for the
specified method.
An input I{pdef} is a (I{name}, L{xsd.sxbase.SchemaObject}) tuple,
while an output I{pdef} is a L{xsd.sxbase.SchemaObject}.
@param method: A service method.
@type method: I{service.Method}
... | "Get a list of I{parameter definitions} (pdefs) defined for the\n specified method.\n\n An input I{pdef} is a (I{name}, L{xsd.sxbase.SchemaObject}) tuple,\n while an output I{pdef} is a L{xsd.sxbase.SchemaObject}.\n\n @param method: A service method.\n @type method: I{service.Method}\... | 466 | false | suds-community/suds | bodypart_types | 28,265 | |
LDU_FT/mitodl/PyLmod/delete | LDU_FT | [
"<BEGIN>\n## `unravel_sections`",
"Unravels section type dictionary into flat list of sections with\n section type set as an attribute.",
" Args:\n section_data(dict): Data return from py:method::get_sections",
" Returns:\n list: Flat list of sections with ``sectionT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Generic DELETE operation for Learning Modules API.
Args:
service (str): The endpoint service to use, i.e. gradebook
Raises:
requests.RequestException: Exception connection error
ValueError: Unable to decode response content
Returns:
list: the js... | "Generic DELETE operation for Learning Modules API.\n\n Args:\n service (str): The endpoint service to use, i.e. gradebook\n\n Raises:\n requests.RequestException: Exception connection error\n ValueError: Unable to decode response content\n\n Returns:\n l... | 190 | false | mitodl/PyLmod | delete | 28,266 | |
LDU_FT/7sDream/zhihu-py3/question | LDU_FT | [
"<BEGIN>\n## `vote`",
"给答案或文章点赞或取消点赞",
" :param Answer/Post something: 需要点赞的答案或文章对象\n :param str vote:\n ===== ================ ======\n 取值 说明 默认值\n ===== ================ ======\n up 赞同 √\n down 反对 X... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the question API.
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 question API.
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: 答案所在问题
:rtype: Question | "获取答案所在问题.\n\n :return: 答案所在问题\n :rtype: Question" | 234 | false | 7sDream/zhihu-py3 | question | 28,267 | |
LDU_FT/hyperledger/indy-sdk/build_payment_req | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a Class representing an Issuer Credential\n :param source_id: Tag associated by user of sdk\n :param attrs: attributes that will form the credential\n :param cred_def_handle: Handle from previously created credential def object\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_payment_req API.
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 build_payment_req API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Builds Indy request for doing payment
according to this payment method.
This method consumes set of inputs and outputs.
Format of inputs is specific for payment method. Usually it should reference payment transaction
with at least one output that corresponds to payment address that user owns.
... | "Builds Indy request for doing payment\n according to this payment method.\n \n This method consumes set of inputs and outputs.\n \n Format of inputs is specific for payment method. Usually it should reference payment transaction\n with at least one output that corresponds to payment address that user o... | 467 | false | hyperledger/indy-sdk | build_payment_req | 28,268 | |
LDU_FT/wrwrwr/scikit-gof/varange | LDU_FT | [
"<BEGIN>\n## `ad_unif_inf`",
"Approximates the limiting distribution to about 5 decimal digits.\n<END>",
"<BEGIN>\n## `ad_unif_fix`",
"Corrects the limiting distribution for a finite sample size.\n<END>",
"<BEGIN>\n## `vectorize`",
"Allows using `@vectorize` as well as `@vectorize()`.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the varange API.
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 varange API.
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... | Vectorized `arange()` taking a sequence of starts and a count of elements.
For example::
>>> varange(1, 5)
array([1, 2, 3, 4, 5])
>>> varange((1, 3), 5)
array([[1, 2, 3, 4, 5],
[3, 4, 5, 6, 7]]) | "Vectorized `arange()` taking a sequence of starts and a count of elements.\n\n For example::\n\n >>> varange(1, 5)\n array([1, 2, 3, 4, 5])\n\n >>> varange((1, 3), 5)\n array([[1, 2, 3, 4, 5],\n [3, 4, 5, 6, 7]])" | 33 | false | wrwrwr/scikit-gof | varange | 28,269 | |
LDU_FT/python-escpos/python-escpos/get_columns | LDU_FT | [
"<BEGIN>\n## `get_profile`",
"Get the profile by name; if no name is given, return the\n default profile.\n<END>",
"<BEGIN>\n## `get_profile_class`",
"For the given profile name, load the data from the external\n database, then generate dynamically a class.\n<END>",
"<BEGIN>\n## `get_font`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the number of columns for the given font. | "Return the number of columns for the given font." | 74 | false | python-escpos/python-escpos | get_columns | 28,270 | |
LDU_FT/schneiderfelipe/pyrrole/draw_diagram_nodes | LDU_FT | [
"<BEGIN>\n## `_parse_chemical_equation`",
"Parse the chemical equation mini-language.",
" See the docstring of `ChemicalEquation` for more.",
" Parameters\n ----------\n value : `str`\n A string in chemical equation mini-language.",
" Returns\n -------\n mapping\n A mappin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_diagram_nodes 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 draw_diagram_nodes 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... | Draw nodes of graph.
This draws only the nodes of graph as horizontal lines at each
``y = pos[1]`` from ``x - node_size/2`` to ``x + node_size/2``, where
``x = pos[0]``.
Parameters
----------
graph : `networkx.Graph`
A NetworkX graph.
pos : mapping, optional
A mapping with ... | "Draw nodes of graph.\n\n This draws only the nodes of graph as horizontal lines at each\n ``y = pos[1]`` from ``x - node_size/2`` to ``x + node_size/2``, where\n ``x = pos[0]``.\n\n Parameters\n ----------\n graph : `networkx.Graph`\n A NetworkX graph.\n pos : mapping, optional\n A m... | 153 | false | schneiderfelipe/pyrrole | draw_diagram_nodes | 28,271 | |
LDU_FT/SiLab-Bonn/pyBAR/send_mail | LDU_FT | [
"<BEGIN>\n## `thunkify`",
"Make a function immediately return a function of no args which, when called,\n waits for the result, which will start being processed in another thread.\n Taken from https://wiki.python.org/moin/PythonDecoratorLibrary.\n<END>",
"<BEGIN>\n## `set_event_when_keyboard_interrupt`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_mail API.
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 send_mail API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Sends a run status mail with the traceback to a specified E-Mail address if a run crashes. | "Sends a run status mail with the traceback to a specified E-Mail address if a run crashes." | 501 | false | SiLab-Bonn/pyBAR | send_mail | 28,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.