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/Chilipp/psy-simple/validate_axiscolor | LDU_FT | [
"<BEGIN>\n## `try_and_error`",
"Apply multiple validation functions",
" Parameters\n ----------\n ``*funcs``\n Validation functions to test",
" Returns\n -------\n function\n<END>",
"<BEGIN>\n## `validate_text`",
"Validate a text formatoption",
" Parameters\n ----------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_axiscolor 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_axiscolor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Validate a dictionary containing axiscolor definitions
Parameters
----------
value: dict
see :attr:`psyplot.plotter.baseplotter.axiscolor`
Returns
-------
dict
Raises
------
ValueError | "Validate a dictionary containing axiscolor definitions\n\n Parameters\n ----------\n value: dict\n see :attr:`psyplot.plotter.baseplotter.axiscolor`\n\n Returns\n -------\n dict\n\n Raises\n ------\n ValueError" | 183 | false | Chilipp/psy-simple | validate_axiscolor | 16,673 | |
LDU_FT/saeschdivara/ArangoPy/create_collection | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns all documents of the collection",
" :param collection Collection instance\n :param skip The number of documents to skip in the query\n :param limit The maximal amount of documents to return. The skip is applied before the limit restriction.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_collection API.
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 create_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Shortcut to create a collection
:param name Collection name
:param type Collection type (2 = document / 3 = edge)
:returns Collection | "Shortcut to create a collection\n\n :param name Collection name\n :param type Collection type (2 = document / 3 = edge)\n\n :returns Collection" | 115 | false | saeschdivara/ArangoPy | create_collection | 16,674 | |
LDU_FT/sjwood/pydvdid/_construct_lookup_table | LDU_FT | [
"<BEGIN>\n## `update`",
"Enumerates the bytes of the supplied bytearray and updates the CRC-64.\n No return value.\n<END>",
"<BEGIN>\n## `_construct_lookup_table`",
"Precomputes a CRC-64 lookup table seeded from the supplied polynomial.\n No return value.\n<END>",
"<BEGIN>\n## `compute`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _construct_lookup_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _construct_lookup_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... | Precomputes a CRC-64 lookup table seeded from the supplied polynomial.
No return value. | "Precomputes a CRC-64 lookup table seeded from the supplied polynomial.\n No return value." | 19 | false | sjwood/pydvdid | _construct_lookup_table | 16,675 | |
LDU_FT/aliyun/aliyun-odps-python-sdk/to_html | LDU_FT | [
"<BEGIN>\n## `_process_worker`",
"Evaluates calls from call_queue and places the results in result_queue.",
" This worker is run in a separate process.",
" Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Render a DataFrame as an HTML table.
`to_html`-specific options:
bold_rows : boolean, default True
Make the row labels bold in the output
classes : str or list or tuple, default None
CSS class(es) to apply to the resulting html table
escape : boolean, default Tr... | "Render a DataFrame as an HTML table.\n\n `to_html`-specific options:\n\n bold_rows : boolean, default True\n Make the row labels bold in the output\n classes : str or list or tuple, default None\n CSS class(es) to apply to the resulting html table\n escape : boolean, d... | 1,057 | true | aliyun/aliyun-odps-python-sdk | to_html | 16,676 | |
LDU_FT/ff0000/scarlet/delete | LDU_FT | [
"<BEGIN>\n## `get_add_link`",
"Appends the popup=1 query string to the url so the\n destination url treats it as a popup.\n<END>",
"<BEGIN>\n## `render_view`",
"Return an string version of a View with as_string method.\n First argument is the name of the view. Any other arguments\n should be keyw... | 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 ... | Deletes the actual file from storage after the object is deleted.
Calls super to actually delete the object. | "Deletes the actual file from storage after the object is deleted.\n\n Calls super to actually delete the object." | 548 | false | ff0000/scarlet | delete | 16,677 | |
LDU_FT/ryanmcgrath/twython/cursor | LDU_FT | [
"<BEGIN>\n## `update_status_with_media`",
"Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.",
" Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-updat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cursor API.
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 cursor API.
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 ... | Returns a generator for results that match a specified query.
:param function: Instance of a Twython function
(Twython.get_home_timeline, Twython.search)
:param \*\*params: Extra parameters to send with your request
(usually parameters accepted by the Twitter API endpoint)
:rtyp... | "Returns a generator for results that match a specified query.\n\n :param function: Instance of a Twython function\n (Twython.get_home_timeline, Twython.search)\n :param \\*\\*params: Extra parameters to send with your request\n (usually parameters accepted by the Twitter API endpoint)\n ... | 80 | false | ryanmcgrath/twython | cursor | 16,678 | |
LDU_FT/aiidateam/aiida-codtools/results | LDU_FT | [
"<BEGIN>\n## `run_filter_calculation`",
"Run the CifFilterCalculation on the CifData input node.\n<END>",
"<BEGIN>\n## `inspect_filter_calculation`",
"Inspect the result of the CifFilterCalculation, verifying that it produced a CifData output node.\n<END>",
"<BEGIN>\n## `run_select_calculation`",
"Run the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results API.
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 results API.
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... | If successfully created, add the cleaned `CifData` and `StructureData` as output nodes to the workchain.
The filter and select calculations were successful, so we return the cleaned CifData node. If the `group_cif`
was defined in the inputs, the node is added to it. If the structure should have been pa... | "If successfully created, add the cleaned `CifData` and `StructureData` as output nodes to the workchain.\n\n The filter and select calculations were successful, so we return the cleaned CifData node. If the `group_cif`\n was defined in the inputs, the node is added to it. If the structure should have bee... | 73 | false | aiidateam/aiida-codtools | results | 16,679 | |
LDU_FT/mediawiki-utilities/python-mwreverts/revdocs2reverts | LDU_FT | [
"<BEGIN>\n## `revdocs2reverts`",
"Converts a sequence of page-partitioned revision documents into a sequence\n of reverts.",
" :Params:\n rev_docs : `iterable` ( `dict` )\n a page-partitioned sequence of revision documents\n radius : `int`\n The maximum number of revisi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revdocs2reverts API.
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 revdocs2reverts API.
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... | Converts a sequence of page-partitioned revision documents into a sequence
of reverts.
:Params:
rev_docs : `iterable` ( `dict` )
a page-partitioned sequence of revision documents
radius : `int`
The maximum number of revisions that a revert can reference.
use_sha1... | "Converts a sequence of page-partitioned revision documents into a sequence\n of reverts.\n\n :Params:\n rev_docs : `iterable` ( `dict` )\n a page-partitioned sequence of revision documents\n radius : `int`\n The maximum number of revisions that a revert can reference.\n ... | 47 | false | mediawiki-utilities/python-mwreverts | revdocs2reverts | 16,680 | |
LDU_FT/dwavesystems/dwave-cloud-client/_ping | LDU_FT | [
"<BEGIN>\n## `ls`",
"List configuration files detected (and/or examined paths).\n<END>",
"<BEGIN>\n## `create`",
"Create and/or update cloud client configuration file.\n<END>",
"<BEGIN>\n## `_ping`",
"Helper method for the ping command that uses `output()` for info output\n and raises `CLIError()` on h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Helper method for the ping command that uses `output()` for info output
and raises `CLIError()` on handled errors.
This function is invariant to output format and/or error signaling mechanism. | "Helper method for the ping command that uses `output()` for info output\n and raises `CLIError()` on handled errors.\n\n This function is invariant to output format and/or error signaling mechanism." | 339 | false | dwavesystems/dwave-cloud-client | _ping | 16,681 | |
LDU_FT/dtmilano/AndroidViewClient/click | LDU_FT | [
"<BEGIN>\n## `takeScreenshotAndShowItOnWindow`",
"Takes the current screenshot and shows it on the main window.\n It also:\n - sizes the window\n - create the canvas\n - set the focus\n - enable the events\n - create widgets\n - finds the targets (as explaine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the click API.
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 click API.
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... | An alias for touch.
:param x:
:param y:
:param selector:
:return: | "An alias for touch.\n\n :param x:\n :param y:\n :param selector:\n :return:" | 197 | false | dtmilano/AndroidViewClient | click | 16,682 | |
LDU_FT/Toilal/rebulk/build_re | LDU_FT | [
"<BEGIN>\n## `formatters`",
"Chain formatter functions.\n :param chained_formatters:\n :type chained_formatters:\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `_default_conflict_solver`",
"Default conflict solver for matches, shorter matches if they conflicts with longer ones",
" :param conflict... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_re API.
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 build_re API.
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... | Builds a new regular expression pattern
:param pattern:
:type pattern:
:param kwargs:
:type kwargs:
:return:
:rtype: | "Builds a new regular expression pattern\n\n :param pattern:\n :type pattern:\n :param kwargs:\n :type kwargs:\n :return:\n :rtype:" | 174 | false | Toilal/rebulk | build_re | 16,683 | |
LDU_FT/ihiji/version_utils/_trim_zeros | LDU_FT | [
"<BEGIN>\n## `compare_packages`",
"Compare two RPM strings to determine which is newer",
" Parses version information out of RPM package strings of the form\n returned by the ``rpm -q`` command and compares their versions to\n determine which is newer. Provided strings *do not* require an\n architec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _trim_zeros API.
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 _trim_zeros API.
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... | Trim any zeros from provided character lists
Checks the beginning of any provided lists for '0's and removes any
such leading zeros. Operates on (and possibly) alters the passed
list
:param list char_lists: a list or lists of characters
:return: None
:rtype: None | "Trim any zeros from provided character lists\n\n Checks the beginning of any provided lists for '0's and removes any\n such leading zeros. Operates on (and possibly) alters the passed\n list\n\n :param list char_lists: a list or lists of characters\n :return: None\n :rtype: None" | 56 | false | ihiji/version_utils | _trim_zeros | 16,684 | |
LDU_FT/ransford/sllurp/parse_sgtin_96 | LDU_FT | [
"<BEGIN>\n## `decode_tve_parameter`",
"Generic byte decoding function for TVE parameters.",
" Given an array of bytes, tries to interpret a TVE parameter from the\n beginning of the array. Returns the decoded data and the number of bytes\n it read.\n<END>",
"<BEGIN>\n## `tagReportCallback`",
"Func... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_sgtin_96 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_sgtin_96 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given a SGTIN-96 hex string, parse each segment.
Returns a dictionary of the segments. | "Given a SGTIN-96 hex string, parse each segment.\n Returns a dictionary of the segments." | 59 | false | ransford/sllurp | parse_sgtin_96 | 16,685 | |
LDU_FT/juiceinc/flapjack_stack/add_layer | LDU_FT | [
"<BEGIN>\n## `merge`",
"This function merge another object's values with this instance",
" :param obj: An object to be merged with into this layer\n :type obj: object\n<END>",
"<BEGIN>\n## `add_layer`",
"This function adds another empty layer (Layer) to the layers\n list and optionally ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_layer API.
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 add_layer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | This function adds another empty layer (Layer) to the layers
list and optionally merges a given object into this layer
:param obj: An object to be merged with this layer
:type obj: object | "This function adds another empty layer (Layer) to the layers\n list and optionally merges a given object into this layer\n\n :param obj: An object to be merged with this layer\n :type obj: object" | 17 | false | juiceinc/flapjack_stack | add_layer | 16,686 | |
LDU_FT/devassistant/devassistant/create_message_dialog | LDU_FT | [
"<BEGIN>\n## `is_local_subsection`",
"Returns True if command dict is \"local subsection\", meaning\n that it is \"if\", \"else\" or \"for\" (not a real call, but calls\n run_section recursively.\n<END>",
"<BEGIN>\n## `_process_req_txt`",
"Returns a processed request or raises an exception\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_message_dialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_message_dialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Function creates a message dialog with text
and relevant buttons | "Function creates a message dialog with text\n and relevant buttons" | 399 | false | devassistant/devassistant | create_message_dialog | 16,687 | |
LDU_FT/kylejusticemagnuson/pyti/money_flow_index | LDU_FT | [
"<BEGIN>\n## `band_width`",
"Bandwidth.",
" Formula:\n BW = SMA(H - L)\n<END>",
"<BEGIN>\n## `center_band`",
"Center Band.",
" Formula:\n CB = SMA(TP)\n<END>",
"<BEGIN>\n## `upper_band`",
"Upper Band.",
" Formula:\n UB = CB + BW\n<END>",
"<BEGIN>\n## `lower_band`",
"Lower Band.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the money_flow_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the money_flow_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Money Flow Index.
Formula:
MFI = 100 - (100 / (1 + PMF / NMF)) | "Money Flow Index.\n\n Formula:\n MFI = 100 - (100 / (1 + PMF / NMF))" | 204 | false | kylejusticemagnuson/pyti | money_flow_index | 16,688 | |
LDU_FT/TylerTemp/docpie/to_dict | LDU_FT | [
"<BEGIN>\n## `docpie`",
"match the argv for each usages, return dict.",
" if argv is None, it will use sys.argv instead.\n if argv is str, it will call argv.split() first.\n this function will check the options in self.extra and handle it first.\n Which means it may not try to match ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | Convert Docpie into a JSONlizable dict.
Use it in this way:
pie = Docpie(__doc__)
json.dumps(pie.convert_2_dict())
Note the `extra` info will be lost if you costomize that,
because a function is not JSONlizable.
You can use `set_config(extra={...})` to set it back. | "Convert Docpie into a JSONlizable dict.\n\n Use it in this way:\n pie = Docpie(__doc__)\n json.dumps(pie.convert_2_dict())\n\n Note the `extra` info will be lost if you costomize that,\n because a function is not JSONlizable.\n You can use `set_config(extra={...})` to set it b... | 51 | false | TylerTemp/docpie | to_dict | 16,689 | |
LDU_FT/globality-corp/microcosm-postgres/insert_many | LDU_FT | [
"<BEGIN>\n## `create_temporary_table`",
"Create a new temporary table from another table.\n<END>",
"<BEGIN>\n## `get_current_head`",
"Get the current database head revision, if any.\n<END>",
"<BEGIN>\n## `flushing`",
"Flush the current session, handling common errors.\n<END>",
"<BEGIN>\n## `retrieve`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_many API.
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 insert_many API.
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... | Insert many items at once into a temporary table. | "Insert many items at once into a temporary table." | 110 | false | globality-corp/microcosm-postgres | insert_many | 16,690 | |
LDU_FT/goerz/clusterjob/get_job_id | LDU_FT | [
"<BEGIN>\n## `resource_headers`",
"Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script\n<END>",
"<BEGIN>\n## `replace_body_vars`",
"Given a multiline string that is the body of the jo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_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 get_job_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... | Given the stdout from the command returned by :meth:`cmd_submit`,
return a job ID | "Given the stdout from the command returned by :meth:`cmd_submit`,\n return a job ID" | 69 | false | goerz/clusterjob | get_job_id | 16,691 | |
LDU_FT/azraq27/gini/match_concept | LDU_FT | [
"<BEGIN>\n## `matches_from_list`",
"Returns the members of ``options`` that best matches ``item``. Will prioritize\n exact matches, then filename-style matching, then fuzzy matching. Returns a tuple of item,\n index, match type, and fuzziness (if applicable)",
" :item: string to match\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_concept API.
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 match_concept API.
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 all matches in this :class:`Bottle` for ``string`` and return the best match | "Find all matches in this :class:`Bottle` for ``string`` and return the best match" | 23 | false | azraq27/gini | match_concept | 16,692 | |
LDU_FT/GNS3/gns3-server/parse_node_response | LDU_FT | [
"<BEGIN>\n## `_asyncio_open_serial_windows`",
"Open a windows named pipe",
" :returns: An IO like object\n<END>",
"<BEGIN>\n## `_asyncio_open_serial_unix`",
"Open a unix socket or a windows named pipe",
" :returns: An IO like object\n<END>",
"<BEGIN>\n## `_choose_capture_side`",
"Run capture on ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_node_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_node_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.
T... | Update the object with the remote node object | "Update the object with the remote node object" | 1,412 | true | GNS3/gns3-server | parse_node_response | 16,693 | |
LDU_FT/brbsix/pip-utils/can_be_updated | LDU_FT | [
"<BEGIN>\n## `is_dependant`",
"Determine whether `package` is a dependant of `project_name`.\n<END>",
"<BEGIN>\n## `find_owners`",
"Return the package(s) that file belongs to.\n<END>",
"<BEGIN>\n## `is_owner`",
"Determine whether `abspath` belongs to `package`.\n<END>",
"<BEGIN>\n## `long_description`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_be_updated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_be_updated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Determine whether package can be updated or not. | "Determine whether package can be updated or not." | 25 | false | brbsix/pip-utils | can_be_updated | 16,694 | |
LDU_FT/mpdavis/python-jose/rsa_private_key_pkcs8_to_pkcs1 | LDU_FT | [
"<BEGIN>\n## `rsa_private_key_pkcs8_to_pkcs1`",
"Convert a PKCS8-encoded RSA private key to PKCS1.\n<END>",
"<BEGIN>\n## `rsa_private_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to PKCS8.\n<END>",
"<BEGIN>\n## `rsa_public_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsa_private_key_pkcs8_to_pkcs1 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 rsa_private_key_pkcs8_to_pkcs1 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Convert a PKCS8-encoded RSA private key to PKCS1. | "Convert a PKCS8-encoded RSA private key to PKCS1." | 85 | false | mpdavis/python-jose | rsa_private_key_pkcs8_to_pkcs1 | 16,695 | |
LDU_FT/sampsyo/confuse/value | LDU_FT | [
"<BEGIN>\n## `namespace_to_dict`",
"If obj is argparse.Namespace or optparse.Values we'll return\n a dict representation of it, else return the original object.",
" Redefine this method if using other parsers.",
" :param obj: *\n :return:\n :rtype: dict or *\n<END>",
"<BEGIN>\n## `_package_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Get a list of items validated against the template. | "Get a list of items validated against the template." | 79 | false | sampsyo/confuse | value | 16,696 | |
LDU_FT/CityOfZion/neo-python-core/verify | LDU_FT | [
"<BEGIN>\n## `PrivateKeyFromWIF`",
"Get the private key from a WIF key",
" Args:\n wif (str): The wif key",
" Returns:\n bytes: The private key\n<END>",
"<BEGIN>\n## `PrivateKeyFromNEP2`",
"Gets the private key from a NEP-2 encrypted private key",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify API.
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 verify API.
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 ... | Verify the signature
for message m, pubkey Y, signature (r,s)
r = xcoord(R)
verify that : G*m+Y*r=R*s
this is true because: { Y=G*x, and R=G*k, s=(m+x*r)/k }
G*m+G*x*r = G*k*(m+x*r)/k ->
G*(m+x*r) = G*(m+x*r)
several ways to do the verification:
r =... | "Verify the signature\n for message m, pubkey Y, signature (r,s)\n r = xcoord(R)\n verify that : G*m+Y*r=R*s\n this is true because: { Y=G*x, and R=G*k, s=(m+x*r)/k }\n\n G*m+G*x*r = G*k*(m+x*r)/k ->\n G*(m+x*r) = G*(m+x*r)\n several ways to do the verification:\n ... | 175 | false | CityOfZion/neo-python-core | verify | 16,697 | |
LDU_FT/usc-isi-i2/etk/_add_common_constrain | LDU_FT | [
"<BEGIN>\n## `decode_unicode`",
"Process of parsing:\n -> Convert unicode into standard form\n -> Convert each character of the unicode symbol to its numerical equivalent\n -> Mapping Process:\n - First check in pattern dictionary to map suffix/prefix\n - Check Emoticon Dictionary \n - Replace valu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_common_constrain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_common_constrain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add common constrain for every token type, like "is_required"
Args:
token_lst: List[Dict]
d: Dict
Returns: List[Dict] | "Add common constrain for every token type, like \"is_required\"\n Args:\n token_lst: List[Dict]\n d: Dict\n\n Returns: List[Dict]" | 427 | false | usc-isi-i2/etk | _add_common_constrain | 16,698 | |
LDU_FT/galaxyproject/pulsar/get_plugins | LDU_FT | [
"<BEGIN>\n## `__posix_to_local_path`",
"Converts a posix path (coming from Galaxy), to a local path (be it posix or Windows).",
" >>> import ntpath\n >>> __posix_to_local_path('dataset_1_files/moo/cow', local_path_module=ntpath)\n 'dataset_1_files\\\\\\\\moo\\\\\\\\cow'\n >>> import posixpath\n >... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugins API.
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_plugins API.
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 shell and job interface defined by and configured via
specified params. | "Return shell and job interface defined by and configured via\n specified params." | 142 | false | galaxyproject/pulsar | get_plugins | 16,699 | |
LDU_FT/buildinspace/peru/merged_args_dicts | LDU_FT | [
"<BEGIN>\n## `_find_plugin_dir`",
"Find the directory containing the plugin definition for the given type.\n Do this by searching all the paths where plugins can live for a dir that\n matches the type name.\n<END>",
"<BEGIN>\n## `_get_plugin_install_dirs`",
"Return all the places on the filesystem where... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merged_args_dicts API.
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 merged_args_dicts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | We deal with docopt args from the toplevel peru parse and the subcommand
parse. We don't want False values for a flag in the subcommand to override
True values if that flag was given at the top level. This function
specifically handles that case. | "We deal with docopt args from the toplevel peru parse and the subcommand\n parse. We don't want False values for a flag in the subcommand to override\n True values if that flag was given at the top level. This function\n specifically handles that case." | 75 | false | buildinspace/peru | merged_args_dicts | 16,700 | |
LDU_FT/gitpython-developers/GitPython/write | LDU_FT | [
"<BEGIN>\n## `new_from_sha`",
":return: new object instance of a type appropriate to represent the given\n binary sha1\n :param sha1: 20 byte binary sha1\n<END>",
"<BEGIN>\n## `stream_data`",
"Writes our data directly to the given output stream\n :param ostream: File object compatible... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Write the current state to our file path or to the given one
:param file_path:
If None, we will write to our stored file path from which we have
been initialized. Otherwise we write to the given file path.
Please note that this will change the file_path of this index to
... | "Write the current state to our file path or to the given one\n\n :param file_path:\n If None, we will write to our stored file path from which we have\n been initialized. Otherwise we write to the given file path.\n Please note that this will change the file_path of this index t... | 741 | false | gitpython-developers/GitPython | write | 16,701 | |
LDU_FT/pytroll/pyspectral/interpolate | LDU_FT | [
"<BEGIN>\n## `radiance2tb`",
"Get the Tb from the radiance using the Planck function",
" rad:\n Radiance in SI units\n wavelength:\n Wavelength in SI units (meter)\n<END>",
"<BEGIN>\n## `_get_rsr`",
"Get the relative spectral responses from file, find the bandname, and\n convert t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate API.
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 interpolate API.
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... | Interpolate Irradiance to a specified evenly spaced resolution/grid
This is necessary to make integration and folding (with a channel
relative spectral response) straightforward.
dlambda = wavelength interval in microns
start = Start of the wavelength interval (left/lower)
end =... | "Interpolate Irradiance to a specified evenly spaced resolution/grid\n This is necessary to make integration and folding (with a channel\n relative spectral response) straightforward.\n\n dlambda = wavelength interval in microns\n start = Start of the wavelength interval (left/lower)\n ... | 129 | false | pytroll/pyspectral | interpolate | 16,702 | |
LDU_FT/DBuildService/dockerfile-parse/split | LDU_FT | [
"<BEGIN>\n## `image_from`",
":param from_value: string like \"image:tag\" or \"image:tag AS name\"\n :return: tuple of the image and stage name, e.g. (\"image:tag\", None)\n<END>",
"<BEGIN>\n## `lines`",
":return: list containing lines (unicode) from Dockerfile\n<END>",
"<BEGIN>\n## `lines`",
"Fill Doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API.
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 split API.
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... | Generator for the words of the string
:param maxsplit: perform at most maxsplit splits;
if None, do not limit the number of splits
:param dequote: remove quotes and escape characters once consumed | "Generator for the words of the string\n\n :param maxsplit: perform at most maxsplit splits;\n if None, do not limit the number of splits\n :param dequote: remove quotes and escape characters once consumed" | 58 | false | DBuildService/dockerfile-parse | split | 16,703 | |
LDU_FT/LEMS/pylems/parse_fixed | LDU_FT | [
"<BEGIN>\n## `toxml`",
"Exports this object into a LEMS XML object\n<END>",
"<BEGIN>\n## `toxml`",
"Exports this object into a LEMS XML object\n<END>",
"<BEGIN>\n## `tokenize`",
"Tokenizes the string stored in the parser object into a list\n of tokens.\n<END>",
"<BEGIN>\n## `parse_token_list_rec`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_fixed API.
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_fixed API.
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... | Parses <Fixed>
@param node: Node containing the <Fixed> element
@type node: xml.etree.Element | "Parses <Fixed>\n\n @param node: Node containing the <Fixed> element\n @type node: xml.etree.Element" | 441 | false | LEMS/pylems | parse_fixed | 16,704 | |
LDU_FT/hermanschaaf/mafan/_t | LDU_FT | [
"<BEGIN>\n## `decode`",
"Converts text in the numbering format of pinyin (\"ni3hao3\") to text with the \n appropriate tone marks (\"nǐhǎo\").\n<END>",
"<BEGIN>\n## `convert`",
"Convert file with crappy encoding to a new proper encoding (or vice versa if you wish).",
" filename -- the name, partial pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _t API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _t API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | This is a unexposed function, is responsibility for translation internal. | "This is a unexposed function, is responsibility for translation internal." | 21 | false | hermanschaaf/mafan | _t | 16,705 | |
LDU_FT/Legobot/Legobot/handle | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a server.",
" This overrides the function in SimpleIRCClient\n to provide SSL functionality.",
" :param args:\n :param kwargs:\n :return:\n<END>",
"<BEGIN>\n## `set_metadata`",
"This function sets the metadata that is common between p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
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 handle API.
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 ... | Attempts to send a message to the specified destination in IRC
Extends Legobot.Lego.handle()
Args:
message (Legobot.Message): message w/ metadata to send. | "Attempts to send a message to the specified destination in IRC\n Extends Legobot.Lego.handle()\n\n Args:\n message (Legobot.Message): message w/ metadata to send." | 119 | false | Legobot/Legobot | handle | 16,706 | |
LDU_FT/thombashi/pytablewriter/from_tabledata | LDU_FT | [
"<BEGIN>\n## `write_table`",
"|write_table| with\n `Labeled Tab-separated Values (LTSV) <http://ltsv.org/>`__ format.\n Invalid characters in labels/data are removed.",
" :raises pytablewriter.EmptyHeaderError: If the |headers| is empty.\n :Example:\n :ref:`example-ltsv-ta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_tabledata API.
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 from_tabledata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set tabular attributes to the writer from |TableData|.
Following attributes are configured:
- :py:attr:`~.table_name`.
- :py:attr:`~.headers`.
- :py:attr:`~.value_matrix`.
|TableData| can be created from various data formats by
``pytablereader``. More detailed informati... | "Set tabular attributes to the writer from |TableData|.\n Following attributes are configured:\n\n - :py:attr:`~.table_name`.\n - :py:attr:`~.headers`.\n - :py:attr:`~.value_matrix`.\n\n |TableData| can be created from various data formats by\n ``pytablereader``. More detailed ... | 97 | false | thombashi/pytablewriter | from_tabledata | 16,707 | |
LDU_FT/DEIB-GECO/PyGMQL/impute_using_statistics | LDU_FT | [
"<BEGIN>\n## `preprocess_path`",
"Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the impute_using_statistics 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 impute_using_statistics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Imputes the missing values by the selected statistical property of each column
:param df: The input dataframe that contains missing values
:param method: The imputation method (min by default)
"zero": fill missing entries with zeros
"mean": fill with column means
"me... | "Imputes the missing values by the selected statistical property of each column\n\n :param df: The input dataframe that contains missing values\n :param method: The imputation method (min by default)\n \"zero\": fill missing entries with zeros\n \"mean\": fill with column means\n ... | 422 | false | DEIB-GECO/PyGMQL | impute_using_statistics | 16,708 | |
LDU_FT/payu-org/payu/module | LDU_FT | [
"<BEGIN>\n## `set_model_pathnames`",
"Define the paths associated with this model.\n<END>",
"<BEGIN>\n## `archive`",
"Store model output to laboratory archive.\n<END>",
"<BEGIN>\n## `parse`",
"Parse the command line inputs and execute the subcommand.\n<END>",
"<BEGIN>\n## `get_model_type`",
"Determine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | Run the modulecmd tool and use its Python-formatted output to set the
environment variables. | "Run the modulecmd tool and use its Python-formatted output to set the\n environment variables." | 78 | false | payu-org/payu | module | 16,709 | |
LDU_FT/gmr/infoblox/remove_ipv4addr | LDU_FT | [
"<BEGIN>\n## `delete_old_host`",
"Remove all records for the host.",
" :param str hostname: Hostname to remove\n :rtype: bool\n<END>",
"<BEGIN>\n## `add_new_host`",
"Add or update a host in the infoblox, overwriting any IP address\n entries.",
" :param str hostname: Hostname to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_ipv4addr API.
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 remove_ipv4addr API.
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... | Remove an IPv4 address from the host.
:param str ipv4addr: The IP address to remove | "Remove an IPv4 address from the host.\n\n :param str ipv4addr: The IP address to remove" | 42 | false | gmr/infoblox | remove_ipv4addr | 16,710 | |
LDU_FT/neovim/pynvim/split_call | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Used to signal `asyncio.Protocol` of a successful connection.\n<END>",
"<BEGIN>\n## `data_received`",
"Used to signal `asyncio.Protocol` of incoming data.\n<END>",
"<BEGIN>\n## `pipe_data_received`",
"Used to signal `asyncio.SubprocessProtocol` of incoming data.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a 2-tuple where the first element is the list of lines from the
first open paren in lines to the matching closed paren. The second element
is all remaining lines in a list. | "Returns a 2-tuple where the first element is the list of lines from the\n first open paren in lines to the matching closed paren. The second element\n is all remaining lines in a list." | 139 | false | neovim/pynvim | split_call | 16,711 | |
LDU_FT/gpagliuca/pyfas/view_trends | LDU_FT | [
"<BEGIN>\n## `extract_geometry`",
"It adds to self.geometries a specific geometry as (x, y)\n<END>",
"<BEGIN>\n## `to_excel`",
"Dump all the data to excel, fname and path can be passed as args\n<END>",
"<BEGIN>\n## `PI_read`",
"Read function for PI server. It has to be executed by python 32 bit.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_trends API.
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 view_trends API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a pandas df with the available trends | "Return a pandas df with the available trends" | 32 | false | gpagliuca/pyfas | view_trends | 16,712 | |
LDU_FT/ethereum/eth-utils/replace_exceptions | LDU_FT | [
"<BEGIN>\n## `from_wei`",
"Takes a number of wei and converts it to any other ether unit.\n<END>",
"<BEGIN>\n## `to_wei`",
"Takes a number of a unit and converts it to wei.\n<END>",
"<BEGIN>\n## `to_hex`",
"Auto converts any supported value into its hex representation.\n Trims leading zeros, as defined... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_exceptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_exceptions 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... | Replaces old exceptions with new exceptions to be raised in their place. | "Replaces old exceptions with new exceptions to be raised in their place." | 41 | false | ethereum/eth-utils | replace_exceptions | 16,713 | |
LDU_FT/pazz/urwidtrees/next_position | LDU_FT | [
"<BEGIN>\n## `_get`",
"loads widget at given position; handling invalid arguments\n<END>",
"<BEGIN>\n## `_next_of_kin`",
"looks up the next sibling of the closest ancestor with not-None next\n siblings.\n<END>",
"<BEGIN>\n## `_last_in_direction`",
"move in the tree in given direction and return the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_position API.
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 next_position API.
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 next position in depth-first order | "returns the next position in depth-first order" | 60 | false | pazz/urwidtrees | next_position | 16,714 | |
LDU_FT/ModisWorks/modis/update_data | LDU_FT | [
"<BEGIN>\n## `success`",
"Creates an embed UI containing a hex color message",
" Args:\n channel (discord.Channel): The Discord channel to bind the embed to\n image (str): The url of the image to add\n hex_str (str): The hex value",
" Returns:\n ui (ui_embed.UI): The embed UI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Updates a particular datapack's data
Args:
index (int): The index of the datapack
data (str): The new value to set for this datapack | "Updates a particular datapack's data\n\n Args:\n index (int): The index of the datapack\n data (str): The new value to set for this datapack" | 278 | false | ModisWorks/modis | update_data | 16,715 | |
LDU_FT/biolink/ontobio/process_rdfgraph | LDU_FT | [
"<BEGIN>\n## `extract_subset`",
"Find all nodes in a subset.",
" We assume the oboInOwl encoding of subsets, and subset IDs are IRIs\n<END>",
"<BEGIN>\n## `sparql`",
"Execute a SPARQL query.",
" The query is specified using `select` and `body` parameters.\n The argument for the Named ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_rdfgraph API.
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 process_rdfgraph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Transform a skos terminology expressed in an rdf graph into an Ontology object
Arguments
---------
rg: rdflib.Graph
graph object
Returns
-------
Ontology | "Transform a skos terminology expressed in an rdf graph into an Ontology object\n\n Arguments\n ---------\n rg: rdflib.Graph\n graph object\n\n Returns\n -------\n Ontology" | 526 | false | biolink/ontobio | process_rdfgraph | 16,716 | |
LDU_FT/obriencj/python-javatools/get_requires | LDU_FT | [
"<BEGIN>\n## `compare`",
"yields EVENT,ENTRY pairs describing the differences between left\n and right, which are filenames for a pair of zip files\n<END>",
"<BEGIN>\n## `compare_zips`",
"yields EVENT,ENTRY pairs describing the differences between left\n and right ZipFile instances\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_requires API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_requires API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | The required API, including all external classes, fields, and
methods that this class references | "The required API, including all external classes, fields, and\n methods that this class references" | 357 | false | obriencj/python-javatools | get_requires | 16,717 | |
LDU_FT/rbccps-iisc/ideam-python-sdk/asynchronously_get_data | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers a new device with the name entity_id. This device has permissions for services like subscribe,\n publish and access historical data.\n<END>",
"<BEGIN>\n## `no_ssl_verification`",
"Requests module fails due to lets encrypt ssl encryption. Will be fixed in the future ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asynchronously_get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asynchronously_get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Asynchronously get data from Chunked transfer encoding of https://smartcity.rbccps.org/api/0.1.0/subscribe.
(Only this function requires Python 3. Rest of the functions can be run in python2.
Args:
url (string): url to subscribe | "Asynchronously get data from Chunked transfer encoding of https://smartcity.rbccps.org/api/0.1.0/subscribe.\n (Only this function requires Python 3. Rest of the functions can be run in python2.\n\n Args:\n url (string): url to subscribe" | 26 | false | rbccps-iisc/ideam-python-sdk | asynchronously_get_data | 16,718 | |
LDU_FT/noobermin/pys/destr | LDU_FT | [
"<BEGIN>\n## `conv`",
"essentially, the generalization of",
" arg if arg else default",
" or",
" func(arg) if arg else default\n<END>",
"<BEGIN>\n## `filelines`",
"read lines from a file into lines...optional strip\n<END>",
"<BEGIN>\n## `parse_utuple`",
"parse a string into a list of a unif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destr API.
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 destr API.
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... | destructure a dict (like take, but return a list) | "destructure a dict (like take, but return a list)" | 37 | false | noobermin/pys | destr | 16,719 | |
LDU_FT/fabric/fabric/global_defaults | LDU_FT | [
"<BEGIN>\n## `get`",
"Download a file from the current connection to the local filesystem.",
" :param str remote:\n Remote file to download.",
" May be absolute, or relative to the remote working directory.",
" .. note::\n Most SFTP servers set the remo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the global_defaults API.
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 global_defaults API.
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... | Default configuration values and behavior toggles.
Fabric only extends this method in order to make minor adjustments and
additions to Invoke's `~invoke.config.Config.global_defaults`; see its
documentation for the base values, such as the config subtrees
controlling behavior of ``run``... | "Default configuration values and behavior toggles.\n\n Fabric only extends this method in order to make minor adjustments and\n additions to Invoke's `~invoke.config.Config.global_defaults`; see its\n documentation for the base values, such as the config subtrees\n controlling behavior of `... | 113 | false | fabric/fabric | global_defaults | 16,720 | |
LDU_FT/PMBio/limix-backup/qvalues1 | LDU_FT | [
"<BEGIN>\n## `PCA`",
"run PCA, retrieving the first (components) principle components\n\treturn [s0, eig, w0]\n\ts0: factors\n\tw0: weights\n<END>",
"<BEGIN>\n## `PC_varExplained`",
"Run PCA and calculate the cumulative fraction of variance\n Args:\n Y: phenotype values\n standardize: if True... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qvalues1 API.
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 qvalues1 API.
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... | estimate q vlaues from a list of Pvalues
this algorihm is taken from Storey, significance testing for genomic ...
m: number of tests, (if not len(PV)), pi: fraction of expected true null (1.0 is a conservative estimate)
@param PV: pvalues
@param m: total number of tests if PV is not the entire array.
... | "estimate q vlaues from a list of Pvalues\n this algorihm is taken from Storey, significance testing for genomic ...\n m: number of tests, (if not len(PV)), pi: fraction of expected true null (1.0 is a conservative estimate)\n @param PV: pvalues\n @param m: total number of tests if PV is not the entire arr... | 428 | false | PMBio/limix-backup | qvalues1 | 16,721 | |
LDU_FT/mortada/fredapi/_parse | LDU_FT | [
"<BEGIN>\n## `__fetch_data`",
"helper function for fetching data given a request URL\n<END>",
"<BEGIN>\n## `_parse`",
"helper function for parsing FRED date string into datetime\n<END>",
"<BEGIN>\n## `get_series_info`",
"Get information about a series such as its title, frequency, observation start/end da... | 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 ... | 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 ... | helper function for parsing FRED date string into datetime | "helper function for parsing FRED date string into datetime" | 44 | false | mortada/fredapi | _parse | 16,722 | |
LDU_FT/FlaskGuys/Flask-Imagine/add_filter_set | LDU_FT | [
"<BEGIN>\n## `apply`",
"Apply filter to resource\n :param resource: Image\n :return: Image\n<END>",
"<BEGIN>\n## `get_item`",
"Get resource item\n :param path: string\n :return: PIL.Image\n<END>",
"<BEGIN>\n## `create_cached_item`",
"Create cached resource item\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_filter_set API.
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_filter_set API.
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... | Manual addition of filter set
:param filter_name: str
:param filter_set: list
:param cached: bool | "Manual addition of filter set\n :param filter_name: str\n :param filter_set: list\n :param cached: bool" | 66 | false | FlaskGuys/Flask-Imagine | add_filter_set | 16,723 | |
LDU_FT/davidfokkema/artist/smooth | LDU_FT | [
"<BEGIN>\n## `render`",
"Render the plot using a template.",
" Once the plot is complete, it needs to be rendered. Artist uses\n the Jinja2 templating engine. The default template results in a\n LaTeX file which can be included in your document.",
" :param template: a user-suppli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smooth API.
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 smooth API.
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 ... | Smooth y-values and return new x, y pair.
:param x,y: data values
:param degree: degree of smoothing
Smooth data by using a recursive linear interpolation technique. For
degree = 0, return the original values. For degree = 1, generate a
evenly spaced sequence of x-values, with the length equal t... | "Smooth y-values and return new x, y pair.\n\n :param x,y: data values\n :param degree: degree of smoothing\n\n Smooth data by using a recursive linear interpolation technique. For\n degree = 0, return the original values. For degree = 1, generate a\n evenly spaced sequence of x-values, with the length... | 278 | false | davidfokkema/artist | smooth | 16,724 | |
LDU_FT/ucfopen/canvasapi/get_folder | LDU_FT | [
"<BEGIN>\n## `request`",
"Make a request to the Canvas API and return the response.",
" :param method: The HTTP method for the request.\n :type method: str\n :param endpoint: The endpoint to call.\n :type endpoint: str\n :param headers: Optional HTTP headers to be sent with th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the details for a folder
:calls: `GET /api/v1/folders/:id \
<https://canvas.instructure.com/doc/api/files.html#method.folders.show>`_
:param folder: The object or ID of the folder to retrieve.
:type folder: :class:`canvasapi.folder.Folder` or int
:rtype: :class:`canvasa... | "Return the details for a folder\n\n :calls: `GET /api/v1/folders/:id \\\n <https://canvas.instructure.com/doc/api/files.html#method.folders.show>`_\n\n :param folder: The object or ID of the folder to retrieve.\n :type folder: :class:`canvasapi.folder.Folder` or int\n\n :rtype: :clas... | 219 | false | ucfopen/canvasapi | get_folder | 16,725 | |
LDU_FT/projectatomic/osbs-client/get_data | LDU_FT | [
"<BEGIN>\n## `get_openshift_base_uri`",
"https://<host>[:<port>]/",
" :return: str\n<END>",
"<BEGIN>\n## `get_builder_openshift_url`",
"url of OpenShift where builder will connect\n<END>",
"<BEGIN>\n## `generate_nodeselector_dict`",
"helper method for generating nodeselector dict\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Find the data stored in the config_map
:return: dict, the json of the data data that was passed into the ConfigMap on creation | "Find the data stored in the config_map\n\n :return: dict, the json of the data data that was passed into the ConfigMap on creation" | 268 | false | projectatomic/osbs-client | get_data | 16,726 | |
LDU_FT/i3visio/deepify/getConfiguration | LDU_FT | [
"<BEGIN>\n## `_grabContentFromUrl`",
"Function that abstracts capturing a URL. This method rewrites the one from Wrapper.",
" :param url: The URL to be processed.\n :return: The response in a Json format.\n<END>",
"<BEGIN>\n## `getConfigPath`",
"Auxiliar function to get the configur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getConfiguration API.
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 getConfiguration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Reading the configuration file to look for where the different gates are running.
:return: A json containing the information stored in the .cfg file. | "Reading the configuration file to look for where the different gates are running.\n \n :return: A json containing the information stored in the .cfg file." | 28 | false | i3visio/deepify | getConfiguration | 16,727 | |
LDU_FT/adafruit/Adafruit_Python_PlatformDetect/_pi_rev_code | LDU_FT | [
"<BEGIN>\n## `id`",
"Return a unique id for the detected chip, if any.\n<END>",
"<BEGIN>\n## `_linux_id`",
"Attempt to detect the CPU on a computer running the Linux kernel.\n<END>",
"<BEGIN>\n## `id`",
"Return a unique id for the detected board, if any.\n<END>",
"<BEGIN>\n## `_pi_rev_code`",
"Attempt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pi_rev_code API.
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 _pi_rev_code API.
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... | Attempt to find a Raspberry Pi revision code for this board. | "Attempt to find a Raspberry Pi revision code for this board." | 14 | false | adafruit/Adafruit_Python_PlatformDetect | _pi_rev_code | 16,728 | |
LDU_FT/python-visualization/branca/to_dict | LDU_FT | [
"<BEGIN>\n## `legend_scaler`",
"Downsamples the number of legend values so that there isn't a collision\n of text on the legend colorbar (within reason). The colorbar seems to\n support ~10 entries as a maximum.\n<END>",
"<BEGIN>\n## `linear_gradient`",
"Given a list of hexcode values, will return a lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | Returns a dict representation of the object. | "Returns a dict representation of the object." | 73 | false | python-visualization/branca | to_dict | 16,729 | |
LDU_FT/onelogin/python-saml/parse_duration | LDU_FT | [
"<BEGIN>\n## `is_valid`",
"Validates the response object.",
" :param request_data: Request Data\n :type request_data: dict",
" :param request_id: Optional argument. The ID of the AuthNRequest sent by this SP to the IdP\n :type request_id: string",
" :param raise_exceptions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_duration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_duration API.
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... | Interprets a ISO8601 duration value relative to a given timestamp.
:param duration: The duration, as a string.
:type: string
:param timestamp: The unix timestamp we should apply the duration to.
Optional, default to the current time.
:type: string
:re... | "Interprets a ISO8601 duration value relative to a given timestamp.\n\n :param duration: The duration, as a string.\n :type: string\n\n :param timestamp: The unix timestamp we should apply the duration to.\n Optional, default to the current time.\n :type: string\n\n ... | 229 | false | onelogin/python-saml | parse_duration | 16,730 | |
LDU_FT/hobson/pug-dj/import_wiki_items | LDU_FT | [
"<BEGIN>\n## `instance`",
"Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>",
"<BEGIN>\n## `_run_task`",
"Tasks a task from tasks.py and runs through the commands on the server\n<END>",
"<BEGIN>\n## `_put_template`",
"Same as _put() but it l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_wiki_items API.
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 import_wiki_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Import a sequence (queryset, generator, tuple, list) of dicts or django ORM objects into the indicated model | "Import a sequence (queryset, generator, tuple, list) of dicts or django ORM objects into the indicated model" | 300 | false | hobson/pug-dj | import_wiki_items | 16,731 | |
LDU_FT/poldracklab/niworkflows/init_brain_extraction_wf | LDU_FT | [
"<BEGIN>\n## `spike_regressors`",
"Add spike regressors to a confound/nuisance matrix.",
" Parameters\n ----------\n data: pandas DataFrame object\n A tabulation of observations from which spike regressors should be\n estimated.\n criteria: dict{str: ('>' or '<', float)}\n Crite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_brain_extraction_wf 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 init_brain_extraction_wf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | A Nipype implementation of the official ANTs' ``antsBrainExtraction.sh``
workflow (only for 3D images).
The official workflow is built as follows (and this implementation
follows the same organization):
1. Step 1 performs several clerical tasks (adding padding, calculating
the Laplacian of ... | "A Nipype implementation of the official ANTs' ``antsBrainExtraction.sh``\n workflow (only for 3D images).\n\n The official workflow is built as follows (and this implementation\n follows the same organization):\n\n 1. Step 1 performs several clerical tasks (adding padding, calculating\n the Lapla... | 305 | false | poldracklab/niworkflows | init_brain_extraction_wf | 16,732 | |
LDU_FT/b3j0f/annotation/get_annotations | LDU_FT | [
"<BEGIN>\n## `mixin_function_or_method`",
"Mixin a routine into the target.",
" :param routine: routine to mix in target.\n :param str name: mixin name. Routine name by default.\n :param bool isbound: If True (False by default), the mixin result is a\n bound method to target.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_annotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_annotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns all input target annotations of cls type sorted
by definition order.
:param type cls: type of annotation to get from target.
:param target: target from where get annotations.
:param tuple/type exclude: annotation types to remove from selection.
:param ctx: target ctx.
... | "Returns all input target annotations of cls type sorted\n by definition order.\n\n :param type cls: type of annotation to get from target.\n :param target: target from where get annotations.\n :param tuple/type exclude: annotation types to remove from selection.\n :param ctx: target ... | 84 | false | b3j0f/annotation | get_annotations | 16,733 | |
LDU_FT/tornadoweb/tornado/start_pinging | LDU_FT | [
"<BEGIN>\n## `start`",
"Begins watching source files for changes.",
" .. versionchanged:: 5.0\n The ``io_loop`` argument (deprecated since version 4.1) has been removed.\n<END>",
"<BEGIN>\n## `main`",
"Command-line wrapper to re-run a script whenever its source changes.",
" Scripts may be spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_pinging API.
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 start_pinging API.
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... | Start sending periodic pings to keep the connection alive | "Start sending periodic pings to keep the connection alive" | 1,291 | true | tornadoweb/tornado | start_pinging | 16,734 | |
LDU_FT/uw-it-aca/uw-restclients/delete_editor | LDU_FT | [
"<BEGIN>\n## `new_regid_custom_field`",
"Return a BridgeCustomField object for REGID\n to be used in a POST, PATCH request\n<END>",
"<BEGIN>\n## `get_reservations`",
"Return a list of reservations matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_editor API.
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 delete_editor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | :param userid: a string representing the user's UW NetID
:return: True if request is successful, False otherwise.
raise DataFailureException or a corresponding TrumbaException
if the request failed or an error code has been returned. | ":param userid: a string representing the user's UW NetID\n :return: True if request is successful, False otherwise.\n raise DataFailureException or a corresponding TrumbaException\n if the request failed or an error code has been returned." | 129 | false | uw-it-aca/uw-restclients | delete_editor | 16,735 | |
LDU_FT/projecthamster/hamster/parse | LDU_FT | [
"<BEGIN>\n## `set_start_time`",
"set the start time. when start time is set, drop down list\n will start from start time and duration will be displayed in\n brackets\n<END>",
"<BEGIN>\n## `parse_fact`",
"tries to extract fact fields from the string\n the optional arguments in the ... | 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 string or a color tuple into color usable for cairo (all values
in the normalized (0..1) range | "parse string or a color tuple into color usable for cairo (all values\n in the normalized (0..1) range" | 249 | false | projecthamster/hamster | parse | 16,736 | |
LDU_FT/fedora-infra/fmn.rules/pagure_specific_project_tag_filter | LDU_FT | [
"<BEGIN>\n## `pagure_specific_project_filter`",
"Particular pagure projects",
" Adding this rule allows you to get notifications for one or more\n `pagure.io <https://pagure.io>`_ projects. Specify multiple\n projects by separating them with a comma ','.\n<END>",
"<BEGIN>\n## `pagure_specific_proj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pagure_specific_project_tag_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pagure_specific_project_tag_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Particular pagure project tags
Adding this rule allows you to get notifications for one or more
`pagure.io <https://pagure.io>`_ projects having the specified tags.
Specify multiple tags by separating them with a comma ','. | "Particular pagure project tags\n\n Adding this rule allows you to get notifications for one or more\n `pagure.io <https://pagure.io>`_ projects having the specified tags.\n Specify multiple tags by separating them with a comma ','." | 95 | false | fedora-infra/fmn.rules | pagure_specific_project_tag_filter | 16,737 | |
LDU_FT/pmuller/versions/match | LDU_FT | [
"<BEGIN>\n## `merge`",
"Merge ``constraints``.",
" It removes dupplicate, pruned and merged constraints.",
" :param constraints: Current constraints.\n :type constraints: Iterable of :class:`.Constraint` objects.\n :rtype: :func:`list` of :class:`.Constraint` objects.\n :raises: :exc:`.Exclusiv... | 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... | Match ``package`` with the requirement.
:param package: Package to test with the requirement.
:type package: package expression string or :class:`Package`
:returns: ``True`` if ``package`` satisfies the requirement.
:rtype: bool | "Match ``package`` with the requirement.\n\n :param package: Package to test with the requirement.\n :type package: package expression string or :class:`Package`\n :returns: ``True`` if ``package`` satisfies the requirement.\n :rtype: bool" | 42 | false | pmuller/versions | match | 16,738 | |
LDU_FT/jerith/txTwitter/friendships_create | LDU_FT | [
"<BEGIN>\n## `set_bool_param`",
"Set a boolean parameter if applicable.",
" :param dict params: A dict containing API call parameters.",
" :param str name: The name of the parameter to set.",
" :param bool value:\n The value of the parameter. If ``None``, the field will not be set. If\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the friendships_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the friendships_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Allows the authenticating users to follow the specified user.
https://dev.twitter.com/docs/api/1.1/post/friendships/create
:param str user_id:
The screen name of the user for whom to befriend. Required if
``screen_name`` isn't given.
:param str screen_name:
... | "Allows the authenticating users to follow the specified user.\n\n https://dev.twitter.com/docs/api/1.1/post/friendships/create\n\n :param str user_id:\n The screen name of the user for whom to befriend. Required if\n ``screen_name`` isn't given.\n :param str screen_name:\n ... | 169 | false | jerith/txTwitter | friendships_create | 16,739 | |
LDU_FT/binux/pyspider/unicode_obj | LDU_FT | [
"<BEGIN>\n## `get_encoding`",
"Get encoding from request headers or page head.\n<END>",
"<BEGIN>\n## `encoding`",
"encoding of Response.content.",
" if Response.encoding is None, encoding will be guessed\n by header or content or chardet if available.\n<END>",
"<BEGIN>\n## `text`",
"Conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unicode_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unicode_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Make sure keys and values of dict/list/tuple is unicode. bytes will encode in base64.
Can been decode by `decode_unicode_obj` | "Make sure keys and values of dict/list/tuple is unicode. bytes will encode in base64.\n\n Can been decode by `decode_unicode_obj`" | 126 | false | binux/pyspider | unicode_obj | 16,740 | |
LDU_FT/tueda/python-form/_dateversion | LDU_FT | [
"<BEGIN>\n## `open`",
"Open a connection to FORM.",
" Open a connection to a new FORM process. The opened connection should\n be closed by :meth:`close`, which can be guaranteed by use of the\n \"with\" statement:",
" >>> import form\n >>> with form.open() as formlink:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dateversion API.
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 _dateversion API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the build/revision date as an integer "yyyymmdd". | "Return the build/revision date as an integer \"yyyymmdd\"." | 31 | false | tueda/python-form | _dateversion | 16,741 | |
LDU_FT/huntrar/scrape/write_pdf_files | LDU_FT | [
"<BEGIN>\n## `write_files`",
"Write scraped or local file(s) in desired format.",
" Keyword arguments:\n args -- program arguments (dict)\n infilenames -- names of user-inputted and/or downloaded files (list)\n outfilename -- name of output file (str)",
" Remove PART(#).html files after convers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_pdf_files API.
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 write_pdf_files API.
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... | Write pdf file(s) to disk using pdfkit.
Keyword arguments:
args -- program arguments (dict)
infilenames -- names of user-inputted and/or downloaded files (list)
outfilename -- name of output pdf file (str) | "Write pdf file(s) to disk using pdfkit.\n\n Keyword arguments:\n args -- program arguments (dict)\n infilenames -- names of user-inputted and/or downloaded files (list)\n outfilename -- name of output pdf file (str)" | 79 | false | huntrar/scrape | write_pdf_files | 16,742 | |
LDU_FT/rsinger86/drf-flex-fields/is_expanded | LDU_FT | [
"<BEGIN>\n## `_make_expanded_field_serializer`",
"Returns an instance of the dynamically created nested serializer.\n<END>",
"<BEGIN>\n## `_import_serializer_class`",
"Resolves a dot-notation string to serializer class.\n <app>.<SerializerName> will automatically be interpreted as:\n <app>.seria... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_expanded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_expanded API.
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... | Examines request object to return boolean of whether
passed field is expanded. | "Examines request object to return boolean of whether\n passed field is expanded." | 16 | false | rsinger86/drf-flex-fields | is_expanded | 16,743 | |
LDU_FT/thieman/dagobah/configure_event_hooks | LDU_FT | [
"<BEGIN>\n## `run`",
"Continually monitors Jobs of the parent Dagobah.\n<END>",
"<BEGIN>\n## `set_backend`",
"Manually set backend after construction.\n<END>",
"<BEGIN>\n## `from_backend`",
"Reconstruct this Dagobah instance from the backend.\n<END>",
"<BEGIN>\n## `_construct_from_json`",
"Construct t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_event_hooks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_event_hooks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns an EventHandler instance with registered hooks. | "Returns an EventHandler instance with registered hooks." | 120 | false | thieman/dagobah | configure_event_hooks | 16,744 | |
LDU_FT/proteanhq/protean/build_system_error | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Initialize a ListRequestObject object from a dictionary.\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to its string representation\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to an int and raise error on failures\n<END>",
"<BEGIN>\n## `_cast_to_ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_system_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_system_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Utility method to build a HTTP 500 System Error response | "Utility method to build a HTTP 500 System Error response" | 214 | false | proteanhq/protean | build_system_error | 16,745 | |
LDU_FT/fracpete/python-weka-wrapper3/do_execute | LDU_FT | [
"<BEGIN>\n## `main`",
"Runs a clusterer from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>",
"<BEGIN>\n## `update_clusterer`",
"Updates the clusterer with the instance.",
" :param inst: the Instance to update the clusterer with\n :type inst: Insta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_execute API.
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 do_execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | The actual execution of the actor.
:return: None if successful, otherwise error message
:rtype: str | "The actual execution of the actor.\n\n :return: None if successful, otherwise error message\n :rtype: str" | 856 | false | fracpete/python-weka-wrapper3 | do_execute | 16,746 | |
LDU_FT/bradmontgomery/django-blargg/entry_stats | LDU_FT | [
"<BEGIN>\n## `entry_archive_year_url`",
"Renders the ``entry_archive_year`` URL for the latest ``Entry``.\n<END>",
"<BEGIN>\n## `mail2blogger`",
"This signal handler cross-posts published ``Entry``'s to Blogger. For\n this to work, the following settings must be non-False; e.g.:",
" BLARGG = {\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entry_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entry_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 extra... | Calculates stats for the given ``QuerySet`` of ``Entry``s. | "Calculates stats for the given ``QuerySet`` of ``Entry``s." | 19 | false | bradmontgomery/django-blargg | entry_stats | 16,747 | |
LDU_FT/PeerAssets/pypeerassets/find_vote_casts | LDU_FT | [
"<BEGIN>\n## `parse_vote_info`",
"decode vote init tx op_return protobuf message and validate it.\n<END>",
"<BEGIN>\n## `vote_init`",
"initialize vote transaction, must be signed by the deck_issuer privkey\n<END>",
"<BEGIN>\n## `find_vote_casts`",
"find and verify vote_casts on this vote_choice_address\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_vote_casts API.
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 find_vote_casts API.
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... | find and verify vote_casts on this vote_choice_address | "find and verify vote_casts on this vote_choice_address" | 86 | false | PeerAssets/pypeerassets | find_vote_casts | 16,748 | |
LDU_FT/20c/vodka/validate | LDU_FT | [
"<BEGIN>\n## `is_config_container`",
"checks whether v is of type list,dict or Config\n<END>",
"<BEGIN>\n## `check`",
"Checks that the config values specified in key name is\n sane according to config attributes defined as properties\n on this class\n<END>",
"<BEGIN>\n## `validate`",
"Valida... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
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 validate API.
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... | Validates a section of a config dict. Will automatically
validate child sections as well if their attribute pointers
are instantiated with a handler property | "Validates a section of a config dict. Will automatically\n validate child sections as well if their attribute pointers\n are instantiated with a handler property" | 56 | false | 20c/vodka | validate | 16,749 | |
LDU_FT/sirfoga/pyhal/get_path_name | LDU_FT | [
"<BEGIN>\n## `write_dicts_to_csv`",
"Saves .csv file with posts data",
" :param dicts: Dictionaries with same values\n<END>",
"<BEGIN>\n## `write_matrix_to_csv`",
"Saves .csv file with data",
" :param headers: column names\n :param data: Data\n<END>",
"<BEGIN>\n## `write_dicts_to_js... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_path_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_path_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Gets path and name of song
:return: Name of path, name of file (or folder) | "Gets path and name of song\n\n :return: Name of path, name of file (or folder)" | 543 | false | sirfoga/pyhal | get_path_name | 16,750 | |
LDU_FT/pybluez/pybluez/interruptwait | LDU_FT | [
"<BEGIN>\n## `btaddrtochars`",
"Takes a bluetooth address and returns a tuple with the corresponding\n char values. This can then be used to construct a\n IOBluetoothDevice object, providing the signature of the withAddress:\n selector has been set (as in _setpyobjcsignatures() in this module).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interruptwait API.
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 interruptwait API.
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... | If waituntil() has been called, this will interrupt the waiting process so
it can check whether it should stop waiting. | "If waituntil() has been called, this will interrupt the waiting process so\n it can check whether it should stop waiting." | 80 | false | pybluez/pybluez | interruptwait | 16,751 | |
LDU_FT/pyviz/geoviews/geom_dict_to_array_dict | LDU_FT | [
"<BEGIN>\n## `coord_to_dimension`",
"Converts an iris coordinate to a HoloViews dimension.\n<END>",
"<BEGIN>\n## `sort_coords`",
"Sorts a list of DimCoords trying to ensure that\n dates and pressure levels appear first and the\n longitude and latitude appear last in the correct\n order.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geom_dict_to_array_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geom_dict_to_array_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... | Converts a dictionary containing an geometry key to a dictionary
of x- and y-coordinate arrays and if present a list-of-lists of
hole array. | "Converts a dictionary containing an geometry key to a dictionary\n of x- and y-coordinate arrays and if present a list-of-lists of\n hole array." | 106 | false | pyviz/geoviews | geom_dict_to_array_dict | 16,752 | |
LDU_FT/dossier/dossier.web/add_routes | LDU_FT | [
"<BEGIN>\n## `as_multi_dict`",
"Coerce a dictionary to a bottle.MultiDict\n<END>",
"<BEGIN>\n## `set_query_params`",
"Set the query parameters.",
" The query parameters should be a dictionary mapping keys to\n strings or lists of strings.",
" :param query_params: query parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_routes API.
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 add_routes API.
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... | Merges a Bottle application into this one.
:param routes: A Bottle application or a sequence of routes.
:type routes: :class:`bottle.Bottle` or `[bottle route]`.
:rtype: :class:`WebBuilder` | "Merges a Bottle application into this one.\n\n :param routes: A Bottle application or a sequence of routes.\n :type routes: :class:`bottle.Bottle` or `[bottle route]`.\n :rtype: :class:`WebBuilder`" | 223 | false | dossier/dossier.web | add_routes | 16,753 | |
LDU_FT/kavdev/ldap-groups/get_attributes | LDU_FT | [
"<BEGIN>\n## `_get_valididty`",
"Determines whether this AD Group is valid.\r",
" :returns: True and \"\" if this group is valid or False and a string description\r\n with the reason why it isn't valid otherwise.\n<END>",
"<BEGIN>\n## `get_attribute`",
"Gets the passed attribute of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a dictionary of this group's attributes. This method caches the attributes after
the first search unless no_cache is specified.
:param no_cache (optional): Set to True to pull attributes directly from an LDAP search instead of
from the cache. Default Fals... | "Returns a dictionary of this group's attributes. This method caches the attributes after\r\n the first search unless no_cache is specified.\r\n\r\n :param no_cache (optional): Set to True to pull attributes directly from an LDAP search instead of\r\n from the cache. Def... | 59 | false | kavdev/ldap-groups | get_attributes | 16,754 | |
LDU_FT/ROGUE-JCTD/rogue_geonode/download | LDU_FT | [
"<BEGIN>\n## `make_request`",
"Prepares a request from a url, params, and optionally authentication.\n<END>",
"<BEGIN>\n## `setup_geoserver`",
"Prepare a testing instance of GeoServer.\n<END>",
"<BEGIN>\n## `upgradedb`",
"Add 'fake' data migrations for existing tables from legacy GeoNode versions\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
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 download API.
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... | example use:
http://.../fileservice/download/med.mp4/
or
http://.../fileservice/med.mp4/download/ | "example use:\n http://.../fileservice/download/med.mp4/\n or\n http://.../fileservice/med.mp4/download/" | 27 | false | ROGUE-JCTD/rogue_geonode | download | 16,755 | |
LDU_FT/riggsd/davies/parse | LDU_FT | [
"<BEGIN>\n## `lint`",
"Run verbose PyLint on source. Optionally specify fmt=html for HTML output.\n<END>",
"<BEGIN>\n## `azm`",
"Corrected azimuth, taking into account backsight, declination, and compass corrections.\n<END>",
"<BEGIN>\n## `inc`",
"Corrected inclination, taking into account backsight and c... | 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... | Produce a `TxtFile` object from the .TXT file | "Produce a `TxtFile` object from the .TXT file" | 60 | false | riggsd/davies | parse | 16,756 | |
LDU_FT/numenta/htmresearch/carefullyCollideContexts | LDU_FT | [
"<BEGIN>\n## `runExperiment`",
"Run experiment. What did you think this does?",
" args is a dict representing the parameters. We do it this way to support\n multiprocessing. args contains one or more of the following keys:",
" @param noiseLevel (float) Noise level to add to the locations and features\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the carefullyCollideContexts 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 carefullyCollideContexts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Use a greedy algorithm to choose how each minicolumn should distribute
contexts between its cells.
@return (list of lists of lists of ints)
iContext integers for each cell, grouped by minicolumn. For example,
[[[1, 3], [2,4]],
[[1, 2]]]
would specify that cell 0 connects to location 1 and location 3, ... | "Use a greedy algorithm to choose how each minicolumn should distribute\n contexts between its cells.\n\n @return (list of lists of lists of ints)\n iContext integers for each cell, grouped by minicolumn. For example,\n [[[1, 3], [2,4]],\n [[1, 2]]]\n would specify that cell 0 connects to location 1 and loca... | 2,106 | true | numenta/htmresearch | carefullyCollideContexts | 16,757 | |
LDU_FT/lobocv/anonymoususage/get_number_of_rows | LDU_FT | [
"<BEGIN>\n## `get_average`",
"Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return\n `default`.\n :return: The average count value (count / table rows) or `default` if it cannot be calculated.\n<END>",
"<BEGIN>\n## `elapsed_time_s`",
"Return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_number_of_rows API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_number_of_rows API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return the number of rows in a table
:param dbcon: database connection
:param tablename: table name
:return: Boolean | "Return the number of rows in a table\n :param dbcon: database connection\n :param tablename: table name\n :return: Boolean" | 60 | false | lobocv/anonymoususage | get_number_of_rows | 16,758 | |
LDU_FT/pypa/warehouse/_is_duplicate_file | LDU_FT | [
"<BEGIN>\n## `user_projects`",
"Return all the projects for which the user is a sole owner\n<END>",
"<BEGIN>\n## `merge`",
"Merge one or more revisions.",
" Takes one or more revisions or \"heads\" for all heads and merges them into\n a single revision.\n<END>",
"<BEGIN>\n## `column_windows`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_duplicate_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_duplicate_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.
Th... | Check to see if file already exists, and if it's content matches.
A file is considered to exist if its filename *or* blake2 digest are
present in a file row in the database.
Returns:
- True: This file is a duplicate and all further processing should halt.
- False: This file exists, but it is not a ... | "Check to see if file already exists, and if it's content matches.\n A file is considered to exist if its filename *or* blake2 digest are\n present in a file row in the database.\n\n Returns:\n - True: This file is a duplicate and all further processing should halt.\n - False: This file exists, but it is... | 47 | false | pypa/warehouse | _is_duplicate_file | 16,759 | |
LDU_FT/mikeboers/PyHAML/_consume_python_token | LDU_FT | [
"<BEGIN>\n## `_make_readline_peeker`",
"Make a readline-like function which peeks into the source.\n<END>",
"<BEGIN>\n## `_consume_python_token`",
"Consume the buffer up to the given token (from _peek_python_tokens).",
" Returns a single string that was consumed.\n<END>",
"<BEGIN>\n## `literal_eval... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _consume_python_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _consume_python_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Consume the buffer up to the given token (from _peek_python_tokens).
Returns a single string that was consumed. | "Consume the buffer up to the given token (from _peek_python_tokens).\n\n Returns a single string that was consumed." | 12 | false | mikeboers/PyHAML | _consume_python_token | 16,760 | |
LDU_FT/koriakin/binflakes/_locate | LDU_FT | [
"<BEGIN>\n## `to_sint`",
"Converts the word to a BinInt, treating it as a signed number.\n<END>",
"<BEGIN>\n## `sar`",
"Performs an arithmetic right-shift of a BinWord by the given number\n of bits. Bits shifted out of the word are lost. The word is\n filled on the left with copies of the top ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _locate API.
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 _locate API.
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... | Locates an element in the internal data representation. Returns
starting byte index, starting bit index in the starting byte, and
one past the final byte index. | "Locates an element in the internal data representation. Returns\n starting byte index, starting bit index in the starting byte, and\n one past the final byte index." | 59 | false | koriakin/binflakes | _locate | 16,761 | |
LDU_FT/peopledoc/django-agnocomplete/transmit_agnocomplete_context | LDU_FT | [
"<BEGIN>\n## `set_agnocomplete`",
"Handling the assignation of the agnocomplete object inside the field.\n A developer may want to use a class or an instance of an\n :class:`AgnocompleteBase` class to configure her field.",
" Ex::",
" from agnocomplete import Fields",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transmit_agnocomplete_context 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 transmit_agnocomplete_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | We'll reset the current queryset only if the user is set. | "We'll reset the current queryset only if the user is set." | 66 | false | peopledoc/django-agnocomplete | transmit_agnocomplete_context | 16,762 | |
LDU_FT/Pylons/pyramid_retry/RetryableExecutionPolicy | LDU_FT | [
"<BEGIN>\n## `RetryableExecutionPolicy`",
"Create a :term:`execution policy` that catches any\n :term:`retryable error` and sends it through the pipeline again up to\n a maximum of ``attempts`` attempts.",
" If ``activate_hook`` is set it will be consulted prior to each request\n to determine if ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RetryableExecutionPolicy 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 RetryableExecutionPolicy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Create a :term:`execution policy` that catches any
:term:`retryable error` and sends it through the pipeline again up to
a maximum of ``attempts`` attempts.
If ``activate_hook`` is set it will be consulted prior to each request
to determine if retries should be enabled. It should return a number > 0
... | "Create a :term:`execution policy` that catches any\n :term:`retryable error` and sends it through the pipeline again up to\n a maximum of ``attempts`` attempts.\n\n If ``activate_hook`` is set it will be consulted prior to each request\n to determine if retries should be enabled. It should return a number ... | 16 | false | Pylons/pyramid_retry | RetryableExecutionPolicy | 16,763 | |
LDU_FT/gunthercox/jsondb/write_data | LDU_FT | [
"<BEGIN>\n## `set_path`",
"Set the path of the database.\n Create the file if it does not exist.\n<END>",
"<BEGIN>\n## `delete`",
"Removes the specified key from the database.\n<END>",
"<BEGIN>\n## `data`",
"If a key is passed in, a corresponding value will be returned.\n If a key-value pair... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Writes to a file and returns the updated file content. | "Writes to a file and returns the updated file content." | 16 | false | gunthercox/jsondb | write_data | 16,764 | |
LDU_FT/bihealth/vcfpy/_parse_number | LDU_FT | [
"<BEGIN>\n## `make_virtual_offset`",
"Compute a BGZF virtual offset from block start and within block offsets.\n The BAM indexing scheme records read positions using a 64 bit\n 'virtual offset', comprising in C terms:\n block_start_offset << 16 | within_block_offset\n Here block_start_offset is the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_number API.
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_number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parse ``number`` into an ``int`` or return ``number`` if a valid
expression for a INFO/FORMAT "Number".
:param str number: ``str`` to parse and check | "Parse ``number`` into an ``int`` or return ``number`` if a valid\n expression for a INFO/FORMAT \"Number\".\n\n :param str number: ``str`` to parse and check" | 127 | false | bihealth/vcfpy | _parse_number | 16,765 | |
LDU_FT/pmacosta/pexdoc/func | LDU_FT | [
"<BEGIN>\n## `func`",
"r\"\"\"\n Print your name.",
" :param name: Name to print\n :type name: string",
" .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>",
"<BEGIN>\n## `get_function_args`",
"Return tuple of the function argument names in the order of the fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the func API.
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 func API.
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... | r"""
Print your name.
:param name: Name to print
:type name: string
.. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]
.. [[[end]]] | "r\"\"\"\n Print your name.\n\n :param name: Name to print\n :type name: string\n\n .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]" | 220 | false | pmacosta/pexdoc | func | 16,766 | |
LDU_FT/bioasp/ingranalyze/readGraph | LDU_FT | [
"<BEGIN>\n## `readGraph`",
"input: string, name of a file containing a Bioquali-like graph description\n output: asp.TermSet, with atoms matching the contents of the input file",
" Parses a Bioquali-like graph description, and returns\n a TermSet object.\n Written using original Bioquali\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readGraph API.
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 readGraph API.
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... | input: string, name of a file containing a Bioquali-like graph description
output: asp.TermSet, with atoms matching the contents of the input file
Parses a Bioquali-like graph description, and returns
a TermSet object.
Written using original Bioquali | "input: string, name of a file containing a Bioquali-like graph description\n output: asp.TermSet, with atoms matching the contents of the input file\n\n Parses a Bioquali-like graph description, and returns\n a TermSet object.\n Written using original Bioquali" | 15 | false | bioasp/ingranalyze | readGraph | 16,767 | |
LDU_FT/eraclitux/ipcampy/move | LDU_FT | [
"<BEGIN>\n## `ensure_secret`",
"Check if secret key to encryot sessions exists,\n generate it otherwise.\n<END>",
"<BEGIN>\n## `list_snapshots_days`",
"Returns a list of (date, dir) in which snapshopts are present\n<END>",
"<BEGIN>\n## `list_snapshots_hours`",
"Returns a list of hour/min in which snaps... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API.
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 move API.
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... | Move cam to given preset position.
pos - must be within 1 to 16.
Returns: CamException in case of errors, "ok" otherwise. | "Move cam to given preset position.\n pos - must be within 1 to 16.\n Returns: CamException in case of errors, \"ok\" otherwise." | 18 | false | eraclitux/ipcampy | move | 16,768 | |
LDU_FT/sprockets/sprockets-dynamodb/list_tables | LDU_FT | [
"<BEGIN>\n## `_on_dynamodb_exception`",
"Dynamically handle DynamoDB exceptions, returning HTTP error\n responses.",
" :param exceptions.DynamoDBException error:\n<END>",
"<BEGIN>\n## `marshall`",
"Marshall a `dict` into something DynamoDB likes.",
" :param dict values: The values to mars... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_tables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_tables API.
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... | Invoke the `ListTables`_ function.
Returns an array of table names associated with the current account
and endpoint. The output from *ListTables* is paginated, with each page
returning a maximum of ``100`` table names.
:param str exclusive_start_table_name: The first table name that th... | "Invoke the `ListTables`_ function.\n\n Returns an array of table names associated with the current account\n and endpoint. The output from *ListTables* is paginated, with each page\n returning a maximum of ``100`` table names.\n\n :param str exclusive_start_table_name: The first table name ... | 86 | false | sprockets/sprockets-dynamodb | list_tables | 16,769 | |
LDU_FT/sacrud/sacrud/list_of_lists_to_dict | LDU_FT | [
"<BEGIN>\n## `list_of_lists_to_dict`",
"Convert list of key,value lists to dict",
" [['id', 1], ['id', 2], ['id', 3], ['foo': 4]]\n {'id': [1, 2, 3], 'foo': [4]}\n<END>",
"<BEGIN>\n## `get_m2m_value`",
"Set m2m value for model obj from request params like \"group[]\"",
" :Parameters:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_of_lists_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_of_lists_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.
... | Convert list of key,value lists to dict
[['id', 1], ['id', 2], ['id', 3], ['foo': 4]]
{'id': [1, 2, 3], 'foo': [4]} | "Convert list of key,value lists to dict\n\n [['id', 1], ['id', 2], ['id', 3], ['foo': 4]]\n {'id': [1, 2, 3], 'foo': [4]}" | 63 | false | sacrud/sacrud | list_of_lists_to_dict | 16,770 | |
LDU_FT/heuer/cablemap/parse_signed_by | LDU_FT | [
"<BEGIN>\n## `cable_to_text`",
"\\\n Returns the header/content of the cable as text.\n<END>",
"<BEGIN>\n## `generate_text_files`",
"\\\n Walks through the `in_dir` and generates text versions of\n the cables in the `out_dir`.\n<END>",
"<BEGIN>\n## `generate_csv`",
"\\\n Walks through the `pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_signed_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_signed_by API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | \
Returns a maybe empty iterable of signers of the cable.
`content`
The cable's content.
`canonicalize`
Indicates if the signers should be canonicalized (upper-case the
string and remove typos) (enabled by default). | "\\\n Returns a maybe empty iterable of signers of the cable.\n\n `content`\n The cable's content.\n `canonicalize`\n Indicates if the signers should be canonicalized (upper-case the\n string and remove typos) (enabled by default)." | 206 | false | heuer/cablemap | parse_signed_by | 16,771 | |
LDU_FT/decentfox/aioh2/send_trailers | LDU_FT | [
"<BEGIN>\n## `set_handler`",
"Connect with a coroutine, which is scheduled when connection is made.",
" This function will create a task, and when connection is closed,\n the task will be canceled.\n :param handler:\n :return: None\n<END>",
"<BEGIN>\n## `start_request`",
"Start a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_trailers API.
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 send_trailers API.
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... | Send trailers on the given stream, closing the stream locally.
This may block until the underlying transport becomes writable, or
other coroutines release the wlock on this stream.
:param stream_id: Which stream to send trailers on.
:param headers: A list of key-value tuples as trailer... | "Send trailers on the given stream, closing the stream locally.\n\n This may block until the underlying transport becomes writable, or\n other coroutines release the wlock on this stream.\n\n :param stream_id: Which stream to send trailers on.\n :param headers: A list of key-value tuples as ... | 43 | false | decentfox/aioh2 | send_trailers | 16,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.