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/rtfd/sphinx-autoapi/resolve_spec_identifier | LDU_FT | [
"<BEGIN>\n## `load`",
"Load objects from the filesystem into the ``paths`` dictionary.\n<END>",
"<BEGIN>\n## `read_file`",
"Read file input into memory, returning deserialized objects",
" :param path: Path of file to read\n :param \\**kwargs:\n * ignore (``list``): List of file patt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_spec_identifier 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 resolve_spec_identifier API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Find reference name based on spec identifier
Spec identifiers are used in parameter and return type definitions, but
should be a user-friendly version instead. Use docfx ``references``
lookup mapping for resolution.
If the spec identifier reference has a ``spec.csharp`` key, this impli... | "Find reference name based on spec identifier\n\n Spec identifiers are used in parameter and return type definitions, but\n should be a user-friendly version instead. Use docfx ``references``\n lookup mapping for resolution.\n\n If the spec identifier reference has a ``spec.csharp`` key, thi... | 169 | false | rtfd/sphinx-autoapi | resolve_spec_identifier | 30,273 | |
LDU_FT/obriencj/python-javatools/squash_children | 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 squash_children API.
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 squash_children API.
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... | reduces the memory footprint of this super-change by converting
all child changes into squashed changes | "reduces the memory footprint of this super-change by converting\n all child changes into squashed changes" | 357 | false | obriencj/python-javatools | squash_children | 30,274 | |
LDU_FT/inorton/junit2html/get_css | LDU_FT | [
"<BEGIN>\n## `anchor`",
"Generate a html anchor name\n :return:\n<END>",
"<BEGIN>\n## `html`",
"Render this test class as html\n :return:\n<END>",
"<BEGIN>\n## `html`",
"Render those properties as html\n :return:\n<END>",
"<BEGIN>\n## `html`",
"Render this test case as HTML\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_css API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_css API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the content of the css file
:return: | "Return the content of the css file\n :return:" | 22 | false | inorton/junit2html | get_css | 30,275 | |
LDU_FT/emin63/eyap/make_url | LDU_FT | [
"<BEGIN>\n## `make_anchor_id`",
"Return string to use as URL anchor for this comment.\n<END>",
"<BEGIN>\n## `make_url`",
"Make URL to this comment.",
" :arg my_request: The request object where this comment is seen from.",
" :arg anchor_id=None: Optional anchor id. If None, we use\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Make URL to this comment.
:arg my_request: The request object where this comment is seen from.
:arg anchor_id=None: Optional anchor id. If None, we use
self.make_anchor_id()
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
:returns: Str... | "Make URL to this comment.\n\n :arg my_request: The request object where this comment is seen from.\n\n :arg anchor_id=None: Optional anchor id. If None, we use\n self.make_anchor_id()\n\n ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-\n\n :returns:... | 126 | false | emin63/eyap | make_url | 30,276 | |
LDU_FT/corydodt/Crosscap/enter | LDU_FT | [
"<BEGIN>\n## `enter`",
"Delegate a rule to another class which instantiates a Klein app",
" This also memoizes the resource instance on the handler function itself\n<END>",
"<BEGIN>\n## `openAPIDoc`",
"Update a function's docstring to include the OpenAPI Yaml generated by running the openAPIGraph object\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enter API.
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 enter API.
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... | Delegate a rule to another class which instantiates a Klein app
This also memoizes the resource instance on the handler function itself | "Delegate a rule to another class which instantiates a Klein app\n\n This also memoizes the resource instance on the handler function itself" | 26 | false | corydodt/Crosscap | enter | 30,277 | |
LDU_FT/marccarre/py_sak/concurrent_class_factory | LDU_FT | [
"<BEGIN>\n## `log_debug`",
"Wrap call of provided function with debug log statements.\n<END>",
"<BEGIN>\n## `try_catch`",
"Wrap call of provided function with try/except block and debug log statements.\n If an instance of 'Exception' (or one of its subclasses) is thrown by 'func',\n it is caught, and th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concurrent_class_factory 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 concurrent_class_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Dynamically creates a thread-safe class which exposes the same API as
the provided thread-unsafe class, but for which all public methods now:
- accept an iterable of inputs,
- parallelize processing of this iterable on a pool of workers.
The resulting class's __init__ method optionally accepts: %s | "Dynamically creates a thread-safe class which exposes the same API as\n the provided thread-unsafe class, but for which all public methods now:\n - accept an iterable of inputs,\n - parallelize processing of this iterable on a pool of workers.\n\n The resulting class's __init__ method optionally accepts: %... | 13 | false | marccarre/py_sak | concurrent_class_factory | 30,278 | |
LDU_FT/SoCo/SoCo/add_uri_to_queue | LDU_FT | [
"<BEGIN>\n## `_post`",
"Try 3 times to request the content.",
" :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_uri_to_queue API.
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 add_uri_to_queue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Add the URI to the queue.
For arguments and return value see `add_to_queue`. | "Add the URI to the queue.\n\n For arguments and return value see `add_to_queue`." | 663 | false | SoCo/SoCo | add_uri_to_queue | 30,279 | |
LDU_FT/shexSpec/grammar/visitShapeDefinition | LDU_FT | [
"<BEGIN>\n## `visitNodeConstraintLiteral`",
"nodeConstraint: KW_LITERAL xsFacet* # nodeConstraintLiteral\n<END>",
"<BEGIN>\n## `visitNodeConstraintNonLiteral`",
"nodeConstraint: nonLiteralKind stringFacet* # nodeConstraintNonLiteral\n<END>",
"<BEGIN>\n## `visitNodeConstraintDatatype`",
"nodeConstraint: d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visitShapeDefinition 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 visitShapeDefinition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | shapeDefinition: qualifier* '{' oneOfShape? '}' annotation* semanticActions | "shapeDefinition: qualifier* '{' oneOfShape? '}' annotation* semanticActions" | 93 | false | shexSpec/grammar | visitShapeDefinition | 30,280 | |
LDU_FT/softvar/simplegist/fork | LDU_FT | [
"<BEGIN>\n## `star`",
"star any gist by providing gistID or gistname(for authenticated user)\n<END>",
"<BEGIN>\n## `fork`",
"fork any gist by providing gistID or gistname(for authenticated user)\n<END>",
"<BEGIN>\n## `checkifstar`",
"Check a gist if starred by providing gistID or gistname(for authenticate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fork API.
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 fork API.
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... | fork any gist by providing gistID or gistname(for authenticated user) | "fork any gist by providing gistID or gistname(for authenticated user)" | 18 | false | softvar/simplegist | fork | 30,281 | |
LDU_FT/sethmlarson/virtualbox-python/directory_create | LDU_FT | [
"<BEGIN>\n## `register_on_network_adapter_changed`",
"Set the callback function to consume on network adapter changed\n events.",
" Callback receives a INetworkAdapterChangedEvent object.",
" Returns the callback_id\n<END>",
"<BEGIN>\n## `register_on_serial_port_changed`",
"Set the ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directory_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.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directory_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.
The ... | Creates a directory in the guest.
in path of type str
Path to the directory directory to be created. Guest path style.
in mode of type int
The UNIX-style access mode mask to create the directory with.
Whether/how all three access groups and associated access rights ... | "Creates a directory in the guest.\n\n in path of type str\n Path to the directory directory to be created. Guest path style.\n\n in mode of type int\n The UNIX-style access mode mask to create the directory with.\n Whether/how all three access groups and associated access... | 2,484 | true | sethmlarson/virtualbox-python | directory_create | 30,282 | |
LDU_FT/liftoff/pyminifier/remove_docstrings | LDU_FT | [
"<BEGIN>\n## `obfuscation_machine`",
"A generator that returns short sequential combinations of lower and\n upper-case letters that will never repeat.",
" If *use_unicode* is ``True``, use nonlatin cryllic, arabic, and syriac\n letters instead of the usual ABCs.",
" The *identifier_length* represe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_docstrings API.
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 remove_docstrings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Removes docstrings from *tokens* which is expected to be a list equivalent
of `tokenize.generate_tokens()` (so we can update in-place). | "Removes docstrings from *tokens* which is expected to be a list equivalent\n of `tokenize.generate_tokens()` (so we can update in-place)." | 160 | false | liftoff/pyminifier | remove_docstrings | 30,283 | |
LDU_FT/zencoder/zencoder-py/create | LDU_FT | [
"<BEGIN>\n## `delete`",
"Executes an HTTP DELETE request for the given URL.",
" ``params`` should be a dictionary\n<END>",
"<BEGIN>\n## `get`",
"Executes an HTTP GET request for the given URL.",
" ``data`` should be a dictionary of url parameters\n<END>",
"<BEGIN>\n## `post`",
"E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted ... | Creates an account with Zencoder, no API Key necessary.
https://app.zencoder.com/docs/api/accounts/create | "Creates an account with Zencoder, no API Key necessary.\n\n https://app.zencoder.com/docs/api/accounts/create" | 33 | false | zencoder/zencoder-py | create | 30,284 | |
LDU_FT/SuperCowPowers/workbench/tag_match | LDU_FT | [
"<BEGIN>\n## `conn_log_graph`",
"Build up a graph (nodes and edges from a Bro conn.log)\n<END>",
"<BEGIN>\n## `dns_log_graph`",
"Build up a graph (nodes and edges from a Bro dns.log)\n<END>",
"<BEGIN>\n## `weird_log_graph`",
"Build up a graph (nodes and edges from a Bro weird.log)\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_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 extract... | List all samples that match the tags or all if tags are not specified.
Args:
tags: Match samples against these tags (or all if not specified)
Returns:
List of the md5s for the matching samples | "List all samples that match the tags or all if tags are not specified.\n\n Args:\n tags: Match samples against these tags (or all if not specified)\n\n Returns:\n List of the md5s for the matching samples" | 328 | false | SuperCowPowers/workbench | tag_match | 30,285 | |
LDU_FT/darothen/xbpch/_read_header | LDU_FT | [
"<BEGIN>\n## `from_model`",
"Define a grid using the specifications of a given model.",
" Parameters\n ----------\n model_name : string\n Name the model (see :func:`get_supported_models` for available\n model names).\n Supports multiple formats (e.g., 'GEOS5... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Process the header information (data model / grid spec) | "Process the header information (data model / grid spec)" | 122 | false | darothen/xbpch | _read_header | 30,286 | |
LDU_FT/seomoz/shovel/get | LDU_FT | [
"<BEGIN>\n## `heirarchical_helper`",
"Return a list of tuples of (fullname, docstring, level) for all the\n tasks in the provided shovel\n<END>",
"<BEGIN>\n## `heirarchical_help`",
"Given a shovel of tasks, display a heirarchical list of the tasks\n<END>",
"<BEGIN>\n## `shovel_help`",
"Return a string ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Evaluate this argspec with the provided arguments | "Evaluate this argspec with the provided arguments" | 26 | false | seomoz/shovel | get | 30,287 | |
LDU_FT/lxyu/pinyin/init | LDU_FT | [
"<BEGIN>\n## `_pinyin_generator`",
"Generate pinyin for chars, if char is not chinese character,\n itself will be returned.\n Chars must be unicode list.\n<END>",
"<BEGIN>\n## `get`",
"Return pinyin of string, the string must be unicode\n<END>",
"<BEGIN>\n## `get_initial`",
"Return the 1st char of p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
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 init API.
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... | Load in the Chinese-English dictionary. This takes 1-2 seconds. It
is done when the other functions are used, but this is public since
preloading sometimes makes sense. | "Load in the Chinese-English dictionary. This takes 1-2 seconds. It\n is done when the other functions are used, but this is public since\n preloading sometimes makes sense." | 16 | false | lxyu/pinyin | init | 30,288 | |
LDU_FT/spotify/luigi/get_bite | LDU_FT | [
"<BEGIN>\n## `_fetch_json`",
"Returns the json representation of the dep graph\n<END>",
"<BEGIN>\n## `prefix_search`",
"Searches for jobs matching the given ``job_name_prefix``.\n<END>",
"<BEGIN>\n## `status_search`",
"Searches for jobs matching the given ``status``.\n<END>",
"<BEGIN>\n## `move`",
"Mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bite API.
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_bite API.
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... | If Luigi has forked, we have a different PID, and need to reconnect. | "If Luigi has forked, we have a different PID, and need to reconnect." | 765 | false | spotify/luigi | get_bite | 30,289 | |
LDU_FT/mfussenegger/cr8/parse_version | LDU_FT | [
"<BEGIN>\n## `to_int`",
"converts a string to an integer",
" >>> to_int('1_000_000')\n 1000000",
" >>> to_int('1e6')\n 1000000",
" >>> to_int('1000')\n 1000\n<END>",
"<BEGIN>\n## `dicts_from_lines`",
"returns a generator producing dicts from json lines",
" 1 JSON object per line i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parse a string formatted X[.Y.Z] version number into a tuple
>>> parse_version('10.2.3')
(10, 2, 3)
>>> parse_version('12')
(12, 0, 0) | "Parse a string formatted X[.Y.Z] version number into a tuple\n\n >>> parse_version('10.2.3')\n (10, 2, 3)\n\n >>> parse_version('12')\n (12, 0, 0)" | 146 | false | mfussenegger/cr8 | parse_version | 30,290 | |
LDU_FT/caktus/django-timepiece/get_headers | LDU_FT | [
"<BEGIN>\n## `add_timezone`",
"If the value is naive, then the timezone is added to it.",
" If no timezone is given, timezone.get_current_timezone() is used.\n<END>",
"<BEGIN>\n## `get_active_entry`",
"Returns the user's currently-active entry, or None.\n<END>",
"<BEGIN>\n## `get_month_start`",
"Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_headers API.
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_headers API.
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... | Adjust date headers & get range headers. | "Adjust date headers & get range headers." | 88 | false | caktus/django-timepiece | get_headers | 30,291 | |
LDU_FT/MisterWil/abodepy/is_on | LDU_FT | [
"<BEGIN>\n## `map_event_code`",
"Map a specific event_code to an event group.\n<END>",
"<BEGIN>\n## `desc`",
"Get a short description of the automation.\n<END>",
"<BEGIN>\n## `_get_numeric_status`",
"Extract the numeric value from the statuses object.\n<END>",
"<BEGIN>\n## `is_on`",
"Get sensor state.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_on API.
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 is_on API.
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 sensor state.
Assume offline or open (worst case). | "Get sensor state.\n\n Assume offline or open (worst case)." | 53 | false | MisterWil/abodepy | is_on | 30,292 | |
LDU_FT/wakatime/wakatime/_format_lines | LDU_FT | [
"<BEGIN>\n## `wrap`",
"[MS-NLMP] v28.0 2016-07-14",
" 3.4.6 GSS_WrapEx()\n Emulates the GSS_Wrap() implementation to sign and seal messages if the correct flags\n are set.",
" @param message: The message data that will be wrapped\n @return message: The message that has been ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_lines API.
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 _format_lines API.
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... | Just format the tokens, without any wrapping tags.
Yield individual lines. | "Just format the tokens, without any wrapping tags.\n Yield individual lines." | 623 | false | wakatime/wakatime | _format_lines | 30,293 | |
LDU_FT/coursera/courseraoauth2client/add_logging_parser | LDU_FT | [
"<BEGIN>\n## `add_logging_parser`",
"Build an argparse argument parser to parse the command line.\n<END>",
"<BEGIN>\n## `set_logging_level`",
"Computes and sets the logging level from the parsed arguments.\n<END>",
"<BEGIN>\n## `authorize`",
"Authorizes Coursera's OAuth2 client for using coursera.org API ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_logging_parser 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 add_logging_parser 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... | Build an argparse argument parser to parse the command line. | "Build an argparse argument parser to parse the command line." | 31 | false | coursera/courseraoauth2client | add_logging_parser | 30,294 | |
LDU_FT/JelteF/PyLaTeX/add_image | LDU_FT | [
"<BEGIN>\n## `fill_document`",
"Add a section, a subsection and some text to the document.",
" :param doc: the document\n :type doc: :class:`pylatex.document.Document` instance\n<END>",
"<BEGIN>\n## `dumps_content`",
"r\"\"\"Represent the container as a string in LaTeX syntax.",
" Args\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add an image to the subfigure.
Args
----
filename: str
Filename of the image.
width: str
Width of the image in LaTeX terms.
placement: str
Placement of the figure, `None` is also accepted. | "Add an image to the subfigure.\n\n Args\n ----\n filename: str\n Filename of the image.\n width: str\n Width of the image in LaTeX terms.\n placement: str\n Placement of the figure, `None` is also accepted." | 183 | false | JelteF/PyLaTeX | add_image | 30,295 | |
LDU_FT/Photonios/pyasar/extract | LDU_FT | [
"<BEGIN>\n## `extract`",
"Extracts the contents of the archive to the specifed directory.",
" Args:\n destination (str):\n Path to an empty directory to extract the files to.\n<END>",
"<BEGIN>\n## `__extract_directory`",
"Extracts a single directory to the specified director... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API.
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 extract API.
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... | Extracts the contents of the archive to the specifed directory.
Args:
destination (str):
Path to an empty directory to extract the files to. | "Extracts the contents of the archive to the specifed directory.\n\n Args:\n destination (str):\n Path to an empty directory to extract the files to." | 21 | false | Photonios/pyasar | extract | 30,296 | |
LDU_FT/clld/pycdstar/create_object | LDU_FT | [
"<BEGIN>\n## `c_metadata`",
"Set or get metadata associated with an object::",
" usage: cdstar metadata <URL> [<JSON>]",
" <JSON> Path to metadata in JSON, or JSON literal.\n<END>",
"<BEGIN>\n## `c_delete`",
"Delete an object::",
" usage: cdstar delete <URL>\n<END>",
"<BEGIN>\n## `c_ls`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_object API.
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 create_object API.
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... | Create an object using the CDSTAR API, with the file content as bitstream.
:param api:
:return: | "Create an object using the CDSTAR API, with the file content as bitstream.\n\n :param api:\n :return:" | 27 | false | clld/pycdstar | create_object | 30,297 | |
LDU_FT/xenon-middleware/pyxenon/make_static_request | LDU_FT | [
"<BEGIN>\n## `make_exception`",
"Creates an exception for a given method, and RpcError.\n<END>",
"<BEGIN>\n## `get_field_type`",
"Obtain the type name of a GRPC Message field.\n<END>",
"<BEGIN>\n## `get_field_description`",
"Get the type description of a GRPC Message field.\n<END>",
"<BEGIN>\n## `make_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_static_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_static_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Creates a request from a static method function call. | "Creates a request from a static method function call." | 35 | false | xenon-middleware/pyxenon | make_static_request | 30,298 | |
LDU_FT/TrafficSenseMSD/SumoTools/slowDown | LDU_FT | [
"<BEGIN>\n## `getDistance2D`",
"getDistance2D(double, double, double, double, boolean, boolean) -> double",
" Returns the distance between the two coordinate pairs (x1,y1) and (x2,y2)",
" If isGeo=True, coordinates are interpreted as longitude and latitude rather\n than cartesian coordina... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slowDown API.
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 slowDown API.
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... | slowDown(string, double, int) -> None
Changes the speed smoothly to the given value over the given amount
of time in ms (can also be used to increase speed). | "slowDown(string, double, int) -> None\n\n Changes the speed smoothly to the given value over the given amount\n of time in ms (can also be used to increase speed)." | 475 | false | TrafficSenseMSD/SumoTools | slowDown | 30,299 | |
LDU_FT/geertj/pyskiplist/insert | LDU_FT | [
"<BEGIN>\n## `remove`",
"Remove a node from the list.",
" The *node* argument must be a node that was previously inserted in the\n list\n<END>",
"<BEGIN>\n## `insert`",
"Insert a key-value pair in the list.",
" The pair is inserted at the correct location so that the list remains\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API.
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 insert API.
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 ... | Insert a key-value pair in the list.
The pair is inserted at the correct location so that the list remains
sorted on *key*. If a pair with the same key is already in the list,
then the pair is appended after all other pairs with that key. | "Insert a key-value pair in the list.\n\n The pair is inserted at the correct location so that the list remains\n sorted on *key*. If a pair with the same key is already in the list,\n then the pair is appended after all other pairs with that key." | 34 | false | geertj/pyskiplist | insert | 30,300 | |
LDU_FT/AnthonyBloomer/daftlistings/set_open_viewing | LDU_FT | [
"<BEGIN>\n## `set_address`",
"Set the address.\n :param address:\n<END>",
"<BEGIN>\n## `set_min_lease`",
"Set the minimum lease period in months.\n :param min_lease: int\n<END>",
"<BEGIN>\n## `set_added_since`",
"Set this to retrieve ads that are a given number of days old.\n For exam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_open_viewing API.
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 set_open_viewing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Set to True to only search for properties that have upcoming 'open for viewing' dates.
:param open_viewing:
:return: | "Set to True to only search for properties that have upcoming 'open for viewing' dates.\n :param open_viewing:\n :return:" | 96 | false | AnthonyBloomer/daftlistings | set_open_viewing | 30,301 | |
LDU_FT/openeventdata/mordecai/ranker | LDU_FT | [
"<BEGIN>\n## `country_list_maker`",
"Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>",
"<BEGIN>\n## `make_skip_list`",
"Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ranker API.
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 ranker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Sort the place features list by the score of its relevance. | "Sort the place features list by the score of its relevance." | 110 | false | openeventdata/mordecai | ranker | 30,302 | |
LDU_FT/SylvanasSun/python-common-cache/with_cache_writer | LDU_FT | [
"<BEGIN>\n## `_enable_lock`",
"The decorator for ensuring thread-safe when current cache instance is concurrent status.\n<END>",
"<BEGIN>\n## `_enable_cleanup`",
"Execute cleanup operation when the decorated function completed.\n<END>",
"<BEGIN>\n## `_enable_thread_pool`",
"Use thread pool for executing a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_cache_writer API.
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 with_cache_writer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | >>> cache = Cache(log_level=logging.WARNING)
>>> def cache_writer(key): pass
>>> cache.with_cache_writer(cache_writer)
False
>>> def cache_writer(key, value): pass
>>> cache.with_cache_writer(cache_writer)
True | ">>> cache = Cache(log_level=logging.WARNING)\n >>> def cache_writer(key): pass\n >>> cache.with_cache_writer(cache_writer)\n False\n >>> def cache_writer(key, value): pass\n >>> cache.with_cache_writer(cache_writer)\n True" | 71 | false | SylvanasSun/python-common-cache | with_cache_writer | 30,303 | |
LDU_FT/ravendb/ravendb-python-client/drop_connection | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"This function will use the custom JsonDecoder and the conventions.mappers to recreate your custom object\n in the parse json string state just call this method with the json_string your complete object_type and with your\n mappers dict.\n the mappers dict must contain in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Force server to close current client subscription connection to the server
@param str name: The name of the subscription
@param str database: The name of the database | "Force server to close current client subscription connection to the server\n @param str name: The name of the subscription\n @param str database: The name of the database" | 29 | false | ravendb/ravendb-python-client | drop_connection | 30,304 | |
LDU_FT/kieferk/dfply/var | LDU_FT | [
"<BEGIN>\n## `select_if`",
"Selects columns where fun(ction) is true\n Args:\n fun: a function that will be applied to columns\n<END>",
"<BEGIN>\n## `drop_if`",
"Drops columns where fun(ction) is true\n Args:\n fun: a function that will be applied to columns\n<END>",
"<BEGIN>\n## `mean`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the var API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the var API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns the variance of values in a series.
Args:
series (pandas.Series): column to summarize. | "Returns the variance of values in a series.\n\n Args:\n series (pandas.Series): column to summarize." | 149 | false | kieferk/dfply | var | 30,305 | |
LDU_FT/ethereum/eth-abi/unregister | LDU_FT | [
"<BEGIN>\n## `abbr`",
"Converts a value into its string representation and abbreviates that\n representation based on the given length `limit` if necessary.\n<END>",
"<BEGIN>\n## `invalidate_value`",
"Throws a standard exception for when a value is not encodable by an\n encoder.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Unregisters the entries in the encoder and decoder registries which
have the label ``label``. | "Unregisters the entries in the encoder and decoder registries which\n have the label ``label``." | 57 | false | ethereum/eth-abi | unregister | 30,306 | |
LDU_FT/alfredodeza/remoto/check | LDU_FT | [
"<BEGIN>\n## `extend_env`",
"get the remote environment's env so we can explicitly add the path without\n wiping out everything\n<END>",
"<BEGIN>\n## `run`",
"A real-time-logging implementation of a remote subprocess.Popen call where\n a command is just executed on the remote end and no other handling i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Execute a remote command with ``subprocess.Popen`` but report back the
results in a tuple with three items: stdout, stderr, and exit status.
This helper function *does not* provide any logging as it is the caller's
responsibility to do so. | "Execute a remote command with ``subprocess.Popen`` but report back the\n results in a tuple with three items: stdout, stderr, and exit status.\n\n This helper function *does not* provide any logging as it is the caller's\n responsibility to do so." | 27 | false | alfredodeza/remoto | check | 30,307 | |
LDU_FT/Rockhopper-Technologies/enlighten/write | LDU_FT | [
"<BEGIN>\n## `_check_bool`",
"Used as an error handler for Windows calls\n Gets last error if call is not successful\n<END>",
"<BEGIN>\n## `get_csbi`",
"Returns a CONSOLE_SCREEN_BUFFER_INFO structure for the given console or stdout\n<END>",
"<BEGIN>\n## `enable_vt_mode`",
"Enables virtual terminal proc... | 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 to local file and update progress bar | "Write to local file and update progress bar" | 104 | false | Rockhopper-Technologies/enlighten | write | 30,308 | |
LDU_FT/diyan/pywinrm/run_command | LDU_FT | [
"<BEGIN>\n## `prepare_encrypted_request`",
"Creates a prepared request to send to the server with an encrypted message\n and correct headers",
" :param session: The handle of the session to prepare requests with\n :param endpoint: The endpoint/server to prepare requests to\n :param m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Run a command on a machine with an open shell
@param string shell_id: The shell id on the remote machine.
See #open_shell
@param string command: The command to run on the remote machine
@param iterable of string arguments: An array of arguments for this
command
@param b... | "Run a command on a machine with an open shell\n @param string shell_id: The shell id on the remote machine.\n See #open_shell\n @param string command: The command to run on the remote machine\n @param iterable of string arguments: An array of arguments for this\n command\n @... | 20 | false | diyan/pywinrm | run_command | 30,309 | |
LDU_FT/pydanny-archive/django-uni-form/do_uni_form | LDU_FT | [
"<BEGIN>\n## `as_uni_form`",
"The original and still very useful way to generate a uni-form form/formset::",
" {% load uni_form_tags %}",
" <form class=\"uniForm\" action=\"post\">\n {% csrf_token %}\n {{ myform|as_uni_form }}\n </form>\n<END>",
"<BEGIN>\n## `as_un... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_uni_form API.
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 do_uni_form API.
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 need to pass in at least the form/formset object, and can also pass in the
optional `uni_form.helpers.FormHelper` object.
helper (optional): A `uni_form.helpers.FormHelper` object.
Usage::
{% include uni_form_tags %}
{% uni_form my-form my_helper %} | "You need to pass in at least the form/formset object, and can also pass in the\n optional `uni_form.helpers.FormHelper` object. \n\n helper (optional): A `uni_form.helpers.FormHelper` object.\n\n Usage::\n \n {% include uni_form_tags %}\n\n {% uni_form my-form my_helper %}" | 36 | false | pydanny-archive/django-uni-form | do_uni_form | 30,310 | |
LDU_FT/e7dal/bubble3/step_command_output_should_not_contain_text | LDU_FT | [
"<BEGIN>\n## `cli`",
"Show example for doing some task in bubble(experimental)\n<END>",
"<BEGIN>\n## `cli`",
"Bubble: command line tool for bubbling information between services",
" .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.\\n\n Making single point to point API connections:\\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_command_output_should_not_contain_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_command_output_should_not_contain_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | EXAMPLE:
...
then the command output should not contain "TEXT" | "EXAMPLE:\n ...\n then the command output should not contain \"TEXT\"" | 171 | false | e7dal/bubble3 | step_command_output_should_not_contain_text | 30,311 | |
LDU_FT/ResidentMario/geoplot/_get_envelopes_min_maxes | LDU_FT | [
"<BEGIN>\n## `load`",
"A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.",
" Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_envelopes_min_maxes 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 _get_envelopes_min_maxes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Returns the extrema of the inputted polygonal envelopes. Used for setting chart extent where appropriate. Note
tha the ``Quadtree.bounds`` object property serves a similar role.
Parameters
----------
envelopes : GeoSeries
The envelopes of the given geometries, as would be returned by e.g. ``dat... | "Returns the extrema of the inputted polygonal envelopes. Used for setting chart extent where appropriate. Note\n tha the ``Quadtree.bounds`` object property serves a similar role.\n\n Parameters\n ----------\n envelopes : GeoSeries\n The envelopes of the given geometries, as would be returned by e.g... | 404 | false | ResidentMario/geoplot | _get_envelopes_min_maxes | 30,312 | |
LDU_FT/zabertech/python-izaber/cfg_ | LDU_FT | [
"<BEGIN>\n## `initialize`",
"Loads the globally shared YAML configuration\n<END>",
"<BEGIN>\n## `config_find`",
"Attempt to use the config dir/config_filenames to\n locate the configuration file requested. Some folks\n would prefer to keep their config in ~ where it's in\n pla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cfg_ API.
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 cfg_ API.
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... | Getter/Setter of configuration data. This can be used
to update and modify the configuration file on the system
by new applications. | "Getter/Setter of configuration data. This can be used\n to update and modify the configuration file on the system\n by new applications." | 38 | false | zabertech/python-izaber | cfg_ | 30,313 | |
LDU_FT/joeferraro/mm/_setEndpoint | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Parse a JSON file\n First remove comments and then use the json module package\n Comments look like :\n // ...\n or\n /*\n ...\n */\n<END>",
"<BEGIN>\n## `get_meta_type_by_dir`",
"> quick and dirty fix for users expe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setEndpoint API.
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 _setEndpoint API.
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... | Set the endpoint after when Salesforce returns the URL after successful login() | "Set the endpoint after when Salesforce returns the URL after successful login()" | 71 | false | joeferraro/mm | _setEndpoint | 30,314 | |
LDU_FT/fedora-infra/fedmsg_meta_fedora_infrastructure/avatar_url_from_email | LDU_FT | [
"<BEGIN>\n## `relative_playbook`",
"Returns a tuple (controlled, playbook).",
" - controlled is a boolean indicating whether or not we think that the\n playbook being run was checked in to our ansible git repo.\n - playbook is the relative file path of the playbook.\n<END>",
"<BEGIN>\n## `_casual_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the avatar_url_from_email 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 avatar_url_from_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Our own implementation since fas doesn't support this nicely yet. | "Our own implementation since fas doesn't support this nicely yet." | 24 | false | fedora-infra/fedmsg_meta_fedora_infrastructure | avatar_url_from_email | 30,315 | |
LDU_FT/fjwCode/cerium/install | LDU_FT | [
"<BEGIN>\n## `version`",
"Show the version number of Android Debug Bridge.\n<END>",
"<BEGIN>\n## `devices_l`",
"List connected devices (-l for long output).\n<END>",
"<BEGIN>\n## `connect`",
"Connect to a device via TCP/IP directly.\n<END>",
"<BEGIN>\n## `disconnect`",
"Disconnect from given TCP/IP de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
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 install API.
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... | Push package to the device and install it.
Args:
option:
-l: forward lock application
-r: replace existing application
-t: allow test packages
-s: install application on sdcard
-d: allow version code downgrade (debuggab... | "Push package to the device and install it.\n\n Args:\n option:\n -l: forward lock application\n -r: replace existing application\n -t: allow test packages\n -s: install application on sdcard\n -d: allow version code downgrade ... | 95 | false | fjwCode/cerium | install | 30,316 | |
LDU_FT/wharris/dougrain/url | LDU_FT | [
"<BEGIN>\n## `add_curie`",
"Adds a CURIE definition.",
" A CURIE link with the given ``name`` and ``href`` is added to the\n document.",
" This method returns self, allowing it to be chained with additional\n method calls.\n<END>",
"<BEGIN>\n## `add_link`",
"Adds a link to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns the URL for the resource based on the ``self`` link.
This method returns the ``href`` of the document's ``self`` link if it
has one, or ``None`` if the document lacks a ``self`` link, or the
``href`` of the document's first ``self`` link if it has more than one. | "Returns the URL for the resource based on the ``self`` link.\n\n This method returns the ``href`` of the document's ``self`` link if it\n has one, or ``None`` if the document lacks a ``self`` link, or the\n ``href`` of the document's first ``self`` link if it has more than one." | 94 | false | wharris/dougrain | url | 30,317 | |
LDU_FT/sigvaldm/frmt/format_time | LDU_FT | [
"<BEGIN>\n## `format_fit`",
"Fits a piece of text to ``width`` characters by truncating too long text and\n padding too short text with spaces. Defaults to terminal width. Truncation\n is indicated by a customizable suffix. ``align`` specifies the alignment of\n the contents if it is padded, and can be:"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Formats a string from time given in seconds. For large times
(``abs(seconds) >= 60``) the format is::
dd:hh:mm:ss
For small times (``abs(seconds) < 60``), the result is given in 3
significant figures, with units given in seconds and a suitable SI-prefix. | "Formats a string from time given in seconds. For large times\n (``abs(seconds) >= 60``) the format is::\n\n dd:hh:mm:ss\n\n For small times (``abs(seconds) < 60``), the result is given in 3\n significant figures, with units given in seconds and a suitable SI-prefix." | 31 | false | sigvaldm/frmt | format_time | 30,318 | |
LDU_FT/scott-maddox/openbandparams/meff_hh_110 | LDU_FT | [
"<BEGIN>\n## `GaP_Eg_Gamma`",
"Returns the Gamma-valley bandgap, Eg_Gamma, in electron Volts at a\n given temperature, T, in Kelvin (default: 300 K).",
" GaP has a unique Gamma-gap temperature dependence.\n<END>",
"<BEGIN>\n## `_has_x`",
"Returns True if x is explicitly defined in kwargs\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meff_hh_110 API.
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 meff_hh_110 API.
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... | Returns the heavy-hole band effective mass in the [110] direction,
meff_hh_110, in units of electron mass. | "Returns the heavy-hole band effective mass in the [110] direction,\n meff_hh_110, in units of electron mass." | 68 | false | scott-maddox/openbandparams | meff_hh_110 | 30,319 | |
LDU_FT/hovren/crisp/pick_manual | LDU_FT | [
"<BEGIN>\n## `sync_camera_gyro`",
"Get time offset that aligns image timestamps with gyro timestamps.",
" Given an image sequence, and gyroscope data, with their respective timestamps,\n calculate the offset that aligns the image data with the gyro data.\n The timestamps must only differ by an offset, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pick_manual API.
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 pick_manual API.
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... | Select N matching sequences and return data indices.
Parameters
---------------
image_sequence : list_like
A list, or generator, of image data
imu_gyro : (3, N) ndarray
Gyroscope data (angular velocities)
num_sequences : int
The number of matching sequences t... | "Select N matching sequences and return data indices.\n \n Parameters\n ---------------\n image_sequence : list_like\n A list, or generator, of image data\n imu_gyro : (3, N) ndarray\n Gyroscope data (angular velocities)\n num_sequences : int\n The number of matching s... | 252 | false | hovren/crisp | pick_manual | 30,320 | |
LDU_FT/PyFilesystem/pyfilesystem2/remove | LDU_FT | [
"<BEGIN>\n## `install`",
"Install an opener.",
" Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.",
" Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Removed all matched paths.
Returns:
int: Number of file and directories removed.
Example:
>>> import fs
>>> fs.open_fs('~/projects/my_project').glob('**/*.pyc').remove()
29 | "Removed all matched paths.\n\n Returns:\n int: Number of file and directories removed.\n\n Example:\n >>> import fs\n >>> fs.open_fs('~/projects/my_project').glob('**/*.pyc').remove()\n 29" | 320 | false | PyFilesystem/pyfilesystem2 | remove | 30,321 | |
LDU_FT/obilaniu/Nauka/strategyKLogN | LDU_FT | [
"<BEGIN>\n## `_parseSpec`",
"Split the argument string. Example:",
"\t--arg name:value0,value1,key2=value2,key3=value3",
"\tgets split into",
"\tname, args, kwargs = (\n\t \"name\",\n\t (value0, value1),\n\t {\"key2\":value2, \"key3\":value3},\n\t)\n<END>",
"<BEGIN>\n## `fromScratch`",
"Start a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strategyKLogN API.
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 strategyKLogN API.
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... | Return the directory names to preserve under the KLogN purge strategy. | "Return the directory names to preserve under the KLogN purge strategy." | 36 | false | obilaniu/Nauka | strategyKLogN | 30,322 | |
LDU_FT/inveniosoftware/invenio-pidstore/reserve | LDU_FT | [
"<BEGIN>\n## `recid_fetcher`",
"Fetch a record's identifiers.",
" :param record_uuid: The record UUID.\n :param data: The record metadata.\n :returns: A :data:`invenio_pidstore.fetchers.FetchedPID` instance.\n<END>",
"<BEGIN>\n## `get_object`",
"Get an object behind persistent identifier.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reserve API.
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 reserve API.
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... | Reserve a DOI (amounts to upload metadata, but not to mint).
:param doc: Set metadata for DOI.
:returns: `True` if is reserved successfully. | "Reserve a DOI (amounts to upload metadata, but not to mint).\n\n :param doc: Set metadata for DOI.\n :returns: `True` if is reserved successfully." | 118 | false | inveniosoftware/invenio-pidstore | reserve | 30,323 | |
LDU_FT/TomasTomecek/sen/refresh | LDU_FT | [
"<BEGIN>\n## `quit`",
"This could be called from another thread, so let's do this via alarm\n<END>",
"<BEGIN>\n## `_set_main_widget`",
"add provided widget to widget list and display it",
" :param widget:\n :return:\n<END>",
"<BEGIN>\n## `display_buffer`",
"display provided buffer",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API.
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 refresh API.
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... | explicitely refresh user interface; useful when changing widgets dynamically | "explicitely refresh user interface; useful when changing widgets dynamically" | 85 | false | TomasTomecek/sen | refresh | 30,324 | |
LDU_FT/jochym/Elastic/get_vecang_cell | LDU_FT | [
"<BEGIN>\n## `regular`",
"Equation matrix generation for the regular (cubic) lattice.\n The order of constants is as follows:",
" .. math::\n C_{11}, C_{12}, C_{44}",
" :param u: vector of deformations:\n [ :math:`u_{xx}, u_{yy}, u_{zz}, u_{yz}, u_{xz}, u_{xy}` ]",
" :returns: Symme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vecang_cell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vecang_cell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Compute A,B,C, alpha,beta,gamma cell params
from the unit cell matrix (uc) or cryst.
Angles in radians. | "Compute A,B,C, alpha,beta,gamma cell params\n from the unit cell matrix (uc) or cryst.\n Angles in radians." | 76 | false | jochym/Elastic | get_vecang_cell | 30,325 | |
LDU_FT/bitprophet/releases/construct_entry_with_release | LDU_FT | [
"<BEGIN>\n## `add_family`",
"Expand to a new release line with given ``major_number``.",
" This will flesh out mandatory buckets like ``unreleased_bugfix`` and do\n other necessary bookkeeping.\n<END>",
"<BEGIN>\n## `has_stable_releases`",
"Returns whether stable (post-0.x) releases seem to ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_entry_with_release API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_entry_with_release API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Releases 'eat' the entries in their line's list and get added to the
final data structure. They also inform new release-line 'buffers'.
Release lines, once the release obj is removed, should be empty or a
comma-separated list of issue numbers. | "Releases 'eat' the entries in their line's list and get added to the\n final data structure. They also inform new release-line 'buffers'.\n Release lines, once the release obj is removed, should be empty or a\n comma-separated list of issue numbers." | 76 | false | bitprophet/releases | construct_entry_with_release | 30,326 | |
LDU_FT/kevinconway/iface/_ensure_ifaces_tuple | LDU_FT | [
"<BEGIN>\n## `property`",
"Wrap a function as a property.",
" This differs from attribute by identifying properties explicitly listed\n in the class definition rather than named attributes defined on instances\n of a class at init time.\n<END>",
"<BEGIN>\n## `classattribute`",
"Wrap a function as a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_ifaces_tuple API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_ifaces_tuple API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert to a tuple of interfaces and raise if not interfaces. | "Convert to a tuple of interfaces and raise if not interfaces." | 19 | false | kevinconway/iface | _ensure_ifaces_tuple | 30,327 | |
LDU_FT/heikomuller/sco-engine/delete_model | LDU_FT | [
"<BEGIN>\n## `handle_request`",
"Convert a model run request from the buffer into a message in a RabbitMQ\n queue.",
" Parameters\n ----------\n request : dict\n Buffer entry containing 'connector' and 'request' field\n<END>",
"<BEGIN>\n## `from_dict`",
"Create a model output file object ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_model API.
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 delete_model API.
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... | Delete the model with given identifier in the database. Returns the
handle for the deleted model or None if object identifier is unknown.
Parameters
----------
model_id : string
Unique model identifier
erase : Boolean, optinal
If true, the record will be ... | "Delete the model with given identifier in the database. Returns the\n handle for the deleted model or None if object identifier is unknown.\n\n Parameters\n ----------\n model_id : string\n Unique model identifier\n erase : Boolean, optinal\n If true, the record... | 66 | false | heikomuller/sco-engine | delete_model | 30,328 | |
LDU_FT/justinabrahms/imhotep/get_pr_info | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Main entrypoint for all plugins.",
" Returns results in the format of:",
" {'filename': {\n 'line_number': [\n 'error1',\n 'error2'\n ]\n }\n }\n<END>",
"<BEGIN>\n## `process_line`",
"Processes a line return a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pr_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pr_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns the PullRequest as a PRInfo object | "Returns the PullRequest as a PRInfo object" | 29 | false | justinabrahms/imhotep | get_pr_info | 30,329 | |
LDU_FT/woolfson-group/isambard/parse_individual | LDU_FT | [
"<BEGIN>\n## `covalent_bonds`",
"Returns all the covalent bonds in a list of `Atom` pairs.",
" Notes\n -----\n Uses information `element_data`, which can be accessed directly\n through this module i.e. `isambard.ampal.interactions.element_data`.",
" Parameters\n ----------\n atoms : [(`At... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_individual API.
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 parse_individual API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Converts a deap individual into a full list of parameters.
Parameters
----------
individual: deap individual from optimization
Details vary according to type of optimization, but
parameters within deap individual are always between -1
and 1. This function con... | "Converts a deap individual into a full list of parameters.\n\n Parameters\n ----------\n individual: deap individual from optimization\n Details vary according to type of optimization, but\n parameters within deap individual are always between -1\n and 1. This func... | 880 | false | woolfson-group/isambard | parse_individual | 30,330 | |
LDU_FT/nerdvegas/rez/get_resolved_package | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resolved_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resolved_package 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 a `Variant` object or None if the package is not in the
resolve. | "Returns a `Variant` object or None if the package is not in the\n resolve." | 2,330 | true | nerdvegas/rez | get_resolved_package | 30,331 | |
LDU_FT/edx/edx-oauth2-provider/_collect_names | LDU_FT | [
"<BEGIN>\n## `_clean_required_args`",
"Validate and clean the command's arguments.",
" Arguments:\n url (str): Client's application URL.\n redirect_uri (str): Client application's OAuth2 callback URI.\n client_type (str): Client's type, indicating whether the Client appli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _collect_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _collect_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get the names of the claims supported by the handlers for the requested scope. | "Get the names of the claims supported by the handlers for the requested scope." | 56 | false | edx/edx-oauth2-provider | _collect_names | 30,332 | |
LDU_FT/slundberg/shap/_human_score_map | LDU_FT | [
"<BEGIN>\n## `imagenet50`",
"This is a set of 50 images representative of ImageNet images.",
" This dataset was collected by randomly finding a working ImageNet link and then pasting the\n original ImageNet image into Google image search restricted to images licensed for reuse. A\n similar image (now w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _human_score_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _human_score_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Converts human agreement differences to numerical scores for coloring. | "Converts human agreement differences to numerical scores for coloring." | 299 | false | slundberg/shap | _human_score_map | 30,333 | |
LDU_FT/facebookresearch/fastText/quantize | LDU_FT | [
"<BEGIN>\n## `cpp_flag`",
"Return the -std=c++[0x/11/14] compiler flag.\n The c++14 is preferred over c++0x/11 (when it is available).\n<END>",
"<BEGIN>\n## `find_nearest_neighbor`",
"query is a 1d numpy array corresponding to the vector to which you want to\n find the closest vector\n vectors is a 2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quantize API.
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 quantize API.
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... | Quantize the model reducing the size of the model and
it's memory footprint. | "Quantize the model reducing the size of the model and\n it's memory footprint." | 32 | false | facebookresearch/fastText | quantize | 30,334 | |
LDU_FT/tgbugs/pyontutils/get_data_from_ilx | LDU_FT | [
"<BEGIN>\n## `build_transgenic_lines`",
"init class | \"transgenic_line_source_name\":\"stock_number\" a Class\n add superClass | rdfs:subClassOf ilxtr:transgenicLine\n add *order* | ilxtr:useObjectProperty ilxtr:<order>\n add name | rdfs:label \"name\"\n add def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_from_ilx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_from_ilx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Gets full meta data (expect their annotations and relationships) from is ILX ID | "Gets full meta data (expect their annotations and relationships) from is ILX ID" | 301 | false | tgbugs/pyontutils | get_data_from_ilx | 30,335 | |
LDU_FT/smarie/python-valid8/between | LDU_FT | [
"<BEGIN>\n## `instance_of`",
"This type validation function can be used in two modes:\n * providing two arguments (x, ref_type), it returns `True` if isinstance(x, ref_type) and raises a HasWrongType\n error if not. If ref_type is a set of types, any match with one of the included types will do\n * pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the between API.
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 between API.
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... | 'Is between' validation_function generator.
Returns a validation_function to check that min_val <= x <= max_val (default). open_right and open_left flags allow
to transform each side into strict mode. For example setting open_left=True will enforce min_val < x <= max_val
:param min_val: minimum value for x... | "'Is between' validation_function generator.\n Returns a validation_function to check that min_val <= x <= max_val (default). open_right and open_left flags allow\n to transform each side into strict mode. For example setting open_left=True will enforce min_val < x <= max_val\n\n :param min_val: minimum value ... | 229 | false | smarie/python-valid8 | between | 30,336 | |
LDU_FT/estnltk/estnltk/verb_chain_starts | LDU_FT | [
"<BEGIN>\n## `templatesCollector`",
"leaves related articles and wikitables in place\n<END>",
"<BEGIN>\n## `assert_legal_arguments`",
"Assert that PrettyPrinter arguments are correct.",
" Raises\n ------\n ValueError\n In case there are unknown arguments or a single layer is mapped to more t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verb_chain_starts API.
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 verb_chain_starts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | The start positions of ``verb_chains`` elements. | "The start positions of ``verb_chains`` elements." | 1,003 | false | estnltk/estnltk | verb_chain_starts | 30,337 | |
LDU_FT/workforce-data-initiative/skills-utils/datetime_to_year_quarter | LDU_FT | [
"<BEGIN>\n## `quarter_boundaries`",
"Returns first and last day of a quarter",
" Args:\n quarter (str) quarter, in format '2015Q1'",
" Returns: (tuple) datetime.dates for the first and last days of the quarter\n<END>",
"<BEGIN>\n## `metta_config`",
"Returns metta metadata for a quarter's SOC ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datetime_to_year_quarter 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 datetime_to_year_quarter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Args:
dt: a datetime
Returns:
tuple of the datetime's year and quarter | "Args:\n dt: a datetime\n Returns:\n tuple of the datetime's year and quarter" | 63 | false | workforce-data-initiative/skills-utils | datetime_to_year_quarter | 30,338 | |
LDU_FT/kennethreitz/records/bulk_query_file | LDU_FT | [
"<BEGIN>\n## `isexception`",
"Given an object, return a boolean indicating whether it is an instance\n or subclass of :py:class:`Exception`.\n<END>",
"<BEGIN>\n## `_reduce_datetimes`",
"Receives a row, converts datetimes to strings.\n<END>",
"<BEGIN>\n## `as_dict`",
"Returns the row as a dictionary, as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_query_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_query_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Like Database.bulk_query, but takes a filename to load a query from. | "Like Database.bulk_query, but takes a filename to load a query from." | 30 | false | kennethreitz/records | bulk_query_file | 30,339 | |
LDU_FT/epfl-lts2/pygsp/evaluate | LDU_FT | [
"<BEGIN>\n## `compute_avg_adj_deg`",
"r\"\"\"\n Compute the average adjacency degree for each node.",
" The average adjacency degree is the average of the degrees of a node and\n its neighbors.",
" Parameters\n ----------\n G: Graph\n Graph on which the statistic is extracted\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
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 evaluate API.
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... | r"""Evaluate the kernels at given frequencies.
Parameters
----------
x : array_like
Graph frequencies at which to evaluate the filter.
Returns
-------
y : ndarray
Frequency response of the filters. Shape ``(g.Nf, len(x))``.
Examples
... | "r\"\"\"Evaluate the kernels at given frequencies.\n\n Parameters\n ----------\n x : array_like\n Graph frequencies at which to evaluate the filter.\n\n Returns\n -------\n y : ndarray\n Frequency response of the filters. Shape ``(g.Nf, len(x))``.\n\n ... | 617 | false | epfl-lts2/pygsp | evaluate | 30,340 | |
LDU_FT/blockstack/blockstack-files/file_sign | LDU_FT | [
"<BEGIN>\n## `file_key_lookup`",
"Get the file-encryption GPG key for the given blockchain ID, by index.",
" if index == 0, then give back the current key\n if index > 0, then give back an older (revoked) key.\n if key_id is given, index and hostname will be ignored",
" Return {'status': True, 'ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Sign a file with the current blockchain ID's host's public key.
@config_path should be for the *client*, not blockstack-file
Return {'status': True, 'sender_key_id': ..., 'sig': ...} on success, and write ciphertext to output_path
Return {'error': ...} on error | "Sign a file with the current blockchain ID's host's public key.\n @config_path should be for the *client*, not blockstack-file\n Return {'status': True, 'sender_key_id': ..., 'sig': ...} on success, and write ciphertext to output_path\n Return {'error': ...} on error" | 28 | false | blockstack/blockstack-files | file_sign | 30,341 | |
LDU_FT/pylast/pylast/get_recent_tracks | LDU_FT | [
"<BEGIN>\n## `cleanup_nodes`",
"Remove text nodes containing only whitespace\n<END>",
"<BEGIN>\n## `_collect_nodes`",
"Returns a sequence of dom.Node objects about as close to limit as possible\n<END>",
"<BEGIN>\n## `_extract_all`",
"Extracts all the values from the xml string. returning a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_recent_tracks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_recent_tracks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns this user's played track as a sequence of PlayedTrack objects
in reverse order of playtime, all the way back to the first track.
Parameters:
limit : If None, it will try to pull all the available data.
from (Optional) : Beginning timestamp of a range - only display
scrob... | "Returns this user's played track as a sequence of PlayedTrack objects\n in reverse order of playtime, all the way back to the first track.\n\n Parameters:\n limit : If None, it will try to pull all the available data.\n from (Optional) : Beginning timestamp of a range - only display\n ... | 146 | false | pylast/pylast | get_recent_tracks | 30,342 | |
LDU_FT/T-002/pycast/from_twodim_list | LDU_FT | [
"<BEGIN>\n## `local_error`",
"Calculates the error between the two given values.",
" :param list originalValue: List containing the values of the original data.\n :param list calculatedValue: List containing the values of the calculated TimeSeries that\n corresponds to originalVal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_twodim_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_twodim_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Creates a new MultiDimensionalTimeSeries instance from the data stored inside a two dimensional list.
:param list datalist: List containing multiple iterables with at least two values.
The first item will always be used as timestamp in the predefined format,
the second is a list, con... | "Creates a new MultiDimensionalTimeSeries instance from the data stored inside a two dimensional list.\n\n :param list datalist: List containing multiple iterables with at least two values.\n The first item will always be used as timestamp in the predefined format,\n the second is a list... | 338 | false | T-002/pycast | from_twodim_list | 30,343 | |
LDU_FT/keras-rl/keras-rl/get_config | LDU_FT | [
"<BEGIN>\n## `fit`",
"Trains the agent on the given environment.",
" # Arguments\n env: (`Env` instance): Environment that the agent interacts with. See [Env](#env) for details.\n nb_steps (integer): Number of training steps to be performed.\n action_repetition (integer):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return configurations of LinearAnnealedPolicy
# Returns
Dict of config | "Return configurations of LinearAnnealedPolicy\n\n # Returns\n Dict of config" | 113 | false | keras-rl/keras-rl | get_config | 30,344 | |
LDU_FT/williballenthin/python-evtx/lxml | LDU_FT | [
"<BEGIN>\n## `xml_records`",
"If the second return value is not None, then it is an\n Exception encountered during parsing. The first return value\n will be the XML string.",
" @type filename str\n @rtype: generator of (etree.Element or str), (None or Exception)\n<END>",
"<BEGIN>\n## `templat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lxml API.
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 lxml API.
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... | render the record into a lxml document.
this is useful for querying data from the record using xpath, etc.
note: lxml must be installed.
Returns:
lxml.etree.ElementTree: the rendered and parsed xml document.
Raises:
ImportError: if lxml is not installed. | "render the record into a lxml document.\n this is useful for querying data from the record using xpath, etc.\n\n note: lxml must be installed.\n\n Returns:\n lxml.etree.ElementTree: the rendered and parsed xml document.\n\n Raises:\n ImportError: if lxml is not installed." | 73 | false | williballenthin/python-evtx | lxml | 30,345 | |
LDU_FT/HumanCellAtlas/dcp-cli/iter_paths | LDU_FT | [
"<BEGIN>\n## `get_checksum_metadata_tag`",
"Returns a map of checksum values by the name of the hashing function that produced it.\n<END>",
"<BEGIN>\n## `get_credentials`",
"Return a set of credentials that may be used to access the Upload Area folder in the S3 bucket\n :return: a dict containing AWS c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Function that recursively locates files within folder
Note: scandir does not guarantee ordering
:param src_dir: string for directory to be parsed through
:return an iterable of DirEntry objects all files within the src_dir | "Function that recursively locates files within folder\n Note: scandir does not guarantee ordering\n :param src_dir: string for directory to be parsed through\n :return an iterable of DirEntry objects all files within the src_dir" | 140 | false | HumanCellAtlas/dcp-cli | iter_paths | 30,346 | |
LDU_FT/thiagopbueno/tf-rddlsim/_render_trajectories | LDU_FT | [
"<BEGIN>\n## `interm_size`",
"Returns the MDP intermediate state size.\n<END>",
"<BEGIN>\n## `output_size`",
"Returns the simulation cell output size.\n<END>",
"<BEGIN>\n## `_dtype`",
"Converts `tensor` to tf.float32 datatype if needed.\n<END>",
"<BEGIN>\n## `timesteps`",
"Returns the input tensor for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render_trajectories 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 _render_trajectories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Prints the first batch of simulated `trajectories`.
Args:
trajectories: NonFluents, states, actions, interms and rewards. | "Prints the first batch of simulated `trajectories`.\n\n Args:\n trajectories: NonFluents, states, actions, interms and rewards." | 64 | false | thiagopbueno/tf-rddlsim | _render_trajectories | 30,347 | |
LDU_FT/yahoo/TensorFlowOnSpark/_run_model | LDU_FT | [
"<BEGIN>\n## `start`",
"Create a new multiprocess.Manager (or return existing one).",
" Args:\n :authkey: string authorization key\n :queues: *INTERNAL_USE*\n :mode: 'local' indicates that the manager will only be accessible from the same host, otherwise remotely accessible.",
" Returns:\n A TFM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_model API.
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... | mapPartitions function to run single-node inferencing from a checkpoint/saved_model, using the model's input/output mappings.
Args:
:iterator: input RDD partition iterator.
:args: arguments for TFModel, in argparse format
:tf_args: arguments for TensorFlow inferencing code, in argparse or ARGV format.
... | "mapPartitions function to run single-node inferencing from a checkpoint/saved_model, using the model's input/output mappings.\n\n Args:\n :iterator: input RDD partition iterator.\n :args: arguments for TFModel, in argparse format\n :tf_args: arguments for TensorFlow inferencing code, in argparse or ARGV form... | 483 | false | yahoo/TensorFlowOnSpark | _run_model | 30,348 | |
LDU_FT/tryolabs/requestium/ensure_add_cookie | LDU_FT | [
"<BEGIN>\n## `_ensure_click`",
"Ensures a click gets made, because Selenium can be a bit buggy about clicks",
" This method gets added to the selenium element returned in '__ensure_element_by_xpath'.\n We should probably add it to more selenium methods, such as all the 'find**' methods though.",
" I ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_add_cookie API.
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 ensure_add_cookie API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Ensures a cookie gets added to the driver
Selenium needs the driver to be currently at the domain of the cookie
before allowing you to add it, so we need to get through this limitation.
The cookie parameter is a dict which must contain the keys (name, value, domain) and
may contain the... | "Ensures a cookie gets added to the driver\n\n Selenium needs the driver to be currently at the domain of the cookie\n before allowing you to add it, so we need to get through this limitation.\n\n The cookie parameter is a dict which must contain the keys (name, value, domain) and\n may cont... | 26 | false | tryolabs/requestium | ensure_add_cookie | 30,349 | |
LDU_FT/MosesSymeonidis/aggregation_builder/SLICE | LDU_FT | [
"<BEGIN>\n## `add_raw`",
"Adds row aggregation state at the query\n :param raw: list of raw stages or a dict of raw stage\n :return: The current object\n<END>",
"<BEGIN>\n## `project`",
"Adds a projection stage at the query\n :param id: Specifies if the id is in selected fields default va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SLICE API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SLICE API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a subset of an array.
See https://docs.mongodb.com/manual/reference/operator/aggregation/slice/
for more details
:param array: Any valid expression as long as it resolves to an array.
:param n: Any valid expression as long as it resolves to an integer.
:param position: Optional. Any valid ex... | "Returns a subset of an array.\n See https://docs.mongodb.com/manual/reference/operator/aggregation/slice/\n for more details\n :param array: Any valid expression as long as it resolves to an array.\n :param n: Any valid expression as long as it resolves to an integer.\n :param position: Optional. Any va... | 33 | false | MosesSymeonidis/aggregation_builder | SLICE | 30,350 | |
LDU_FT/marshallward/f90nml/write | LDU_FT | [
"<BEGIN>\n## `write`",
"Save a namelist to disk using either a file object or its file path.",
" File object usage:",
" >>> with open(nml_path, 'w') as nml_file:\n >>> f90nml.write(nml, nml_file)",
" File path usage:",
" >>> f90nml.write(nml, 'data.nml')",
" This function is equiva... | 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 Namelist to a Fortran 90 namelist file.
>>> nml = f90nml.read('input.nml')
>>> nml.write('out.nml') | "Write Namelist to a Fortran 90 namelist file.\n\n >>> nml = f90nml.read('input.nml')\n >>> nml.write('out.nml')" | 98 | false | marshallward/f90nml | write | 30,351 | |
LDU_FT/insomnia-lab/libreant/validate | LDU_FT | [
"<BEGIN>\n## `get_def_conf`",
"return default configurations as simple dict\n<END>",
"<BEGIN>\n## `_load_paths`",
"Goes recursevly through the given list of paths\n in order to find and pass all preset files to ```_load_preset()```\n<END>",
"<BEGIN>\n## `_load_preset`",
"load, validate and store a ... | 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... | Checks if `data` respects this preset specification
It will check that every required property is present and
for every property type it will make some specific control. | "Checks if `data` respects this preset specification\n\n It will check that every required property is present and\n for every property type it will make some specific control." | 150 | false | insomnia-lab/libreant | validate | 30,352 | |
LDU_FT/bryanwweber/thermohw/main | LDU_FT | [
"<BEGIN>\n## `process`",
"Process the homework problems in ``prefix`` folder.",
" Arguments\n ---------\n hw_num\n The number of this homework\n problems_to_do, optional\n A list of the problems to be processed\n prefix, optional\n A `~pathlib.Path` to this homework assignmen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Parse arguments and process the exam assignment. | "Parse arguments and process the exam assignment." | 33 | false | bryanwweber/thermohw | main | 30,353 | |
LDU_FT/by46/simplekit/get_containers_by_name | LDU_FT | [
"<BEGIN>\n## `_bin_update_items`",
"Subclassed from omdict._bin_update_items() to make update() and\n updateall() process lists of values as multiple values.",
" <replacements and <leftovers> are modified directly, ala pass by\n reference.\n<END>",
"<BEGIN>\n## `import_string`",
"Import... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_containers_by_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_containers_by_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.... | get all task which relative with task name
:param name: :class:`str`, task name
:return: :class:`list`, container list | "get all task which relative with task name\r\n :param name: :class:`str`, task name\r\n :return: :class:`list`, container list" | 73 | false | by46/simplekit | get_containers_by_name | 30,354 | |
LDU_FT/Robin8Put/pmes/get_reviews | LDU_FT | [
"<BEGIN>\n## `create_table`",
"RPC method for creating table with custom name and fields\n :return event id\n<END>",
"<BEGIN>\n## `insert`",
"RPC method for inserting data to the table\n :return: None\n<END>",
"<BEGIN>\n## `select`",
"RPC method for selecting data from the database\n :return sele... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reviews API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reviews API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Receives all reviews by cid
Accepts:
- cid
- coinid | "Receives all reviews by cid\n\t\tAccepts:\n\t\t- cid\n\t\t- coinid" | 170 | false | Robin8Put/pmes | get_reviews | 30,355 | |
LDU_FT/django-extensions/django-extensions/use_model | LDU_FT | [
"<BEGIN>\n## `_slug_strip`",
"Clean up a slug by removing slug separator characters that occur at\n the beginning or end of a slug.",
" If an alternate separator is used, it will also replace any instances\n of the default '-' separator with the new separator.\n<END>",
"<BEGIN>\n## `to_py... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_model API.
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 use_model API.
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... | Decide whether to use a model, based on the model name and the lists of
models to exclude and include. | "Decide whether to use a model, based on the model name and the lists of\n models to exclude and include." | 191 | false | django-extensions/django-extensions | use_model | 30,356 | |
LDU_FT/richardchien/nonebot/init | LDU_FT | [
"<BEGIN>\n## `handle_cancellation`",
"If the input is a string of cancellation word, finish the command session.\n<END>",
"<BEGIN>\n## `on_command`",
"Decorator to register a function as a command.",
" :param name: command name (e.g. 'echo' or ('random', 'number'))\n :param aliases: aliases of command... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
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 init API.
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... | Initialize NoneBot instance.
This function must be called at the very beginning of code,
otherwise the get_bot() function will return None and nothing
is gonna work properly.
:param config_object: configuration object | "Initialize NoneBot instance.\n\n This function must be called at the very beginning of code,\n otherwise the get_bot() function will return None and nothing\n is gonna work properly.\n\n :param config_object: configuration object" | 105 | false | richardchien/nonebot | init | 30,357 | |
LDU_FT/NicolasLM/atoma/simple_parse_file | LDU_FT | [
"<BEGIN>\n## `parse_atom_file`",
"Parse an Atom feed from a local XML file.\n<END>",
"<BEGIN>\n## `parse_atom_bytes`",
"Parse an Atom feed from a byte-string containing XML data.\n<END>",
"<BEGIN>\n## `_get_link`",
"Attempt to retrieve item link.",
" Use the GUID as a fallback if it is a permalink.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_parse_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_parse_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parse an Atom, RSS or JSON feed from a local file. | "Parse an Atom, RSS or JSON feed from a local file." | 25 | false | NicolasLM/atoma | simple_parse_file | 30,358 | |
LDU_FT/serhatbolsu/robotframework-appiumlibrary/page_should_not_contain_text | LDU_FT | [
"<BEGIN>\n## `zoom`",
"Zooms in on an element a certain amount.\n<END>",
"<BEGIN>\n## `swipe`",
"Swipe from one point to another point, for an optional duration.\r",
" Args:\r\n - start_x - x-coordinate at which to start\r\n - start_y - y-coordinate at which to start\r\n - off... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_should_not_contain_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_should_not_contain_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Verifies that current page not contains `text`.
If this keyword fails, it automatically logs the page source
using the log level specified with the optional `loglevel` argument.
Giving `NONE` as level disables logging. | "Verifies that current page not contains `text`.\r\n\r\n If this keyword fails, it automatically logs the page source\r\n using the log level specified with the optional `loglevel` argument.\r\n Giving `NONE` as level disables logging." | 217 | false | serhatbolsu/robotframework-appiumlibrary | page_should_not_contain_text | 30,359 | |
LDU_FT/dmcc/PyStanfordDependencies/download_if_missing | LDU_FT | [
"<BEGIN>\n## `convert_trees`",
"Convert a list of Penn Treebank formatted strings (ptb_trees)\n into Stanford Dependencies. The dependencies are represented\n as a list of sentences (CoNLL.Corpus), where each sentence\n (CoNLL.Sentence) is itself a list of CoNLL.Token objects.",
" Cu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_if_missing 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 download_if_missing 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... | Download the jar for version into the jar_filename specified
in the constructor. Will not overwrite jar_filename if it already
exists. version defaults to DEFAULT_CORENLP_VERSION (ideally the
latest but we can't guarantee that since PyStanfordDependencies
is distributed separately). | "Download the jar for version into the jar_filename specified\n in the constructor. Will not overwrite jar_filename if it already\n exists. version defaults to DEFAULT_CORENLP_VERSION (ideally the\n latest but we can't guarantee that since PyStanfordDependencies\n is distributed separately).... | 56 | false | dmcc/PyStanfordDependencies | download_if_missing | 30,360 | |
LDU_FT/GoogleCloudPlatform/google-cloud-datastore/_WaitForStartup | LDU_FT | [
"<BEGIN>\n## `get_default_connection`",
"Returns the default datastore connection.",
" Defaults endpoint to helper.get_project_endpoint_from_env() and\n credentials to helper.get_credentials_from_env().",
" Use set_options to override defaults.\n<END>",
"<BEGIN>\n## `get_all`",
"Query for all Todo item... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _WaitForStartup API.
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 _WaitForStartup API.
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... | Waits for the emulator to start.
Args:
deadline: deadline in seconds
Returns:
True if the emulator responds within the deadline, False otherwise. | "Waits for the emulator to start.\n\n Args:\n deadline: deadline in seconds\n\n Returns:\n True if the emulator responds within the deadline, False otherwise." | 94 | false | GoogleCloudPlatform/google-cloud-datastore | _WaitForStartup | 30,361 | |
LDU_FT/blockcypher/blockcypher-python/get_wallet_addresses | LDU_FT | [
"<BEGIN>\n## `script_to_address`",
"Like script_to_address but supports altcoins\n Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236\n<END>",
"<BEGIN>\n## `get_address_details`",
"Takes an address and coin_symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wallet_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wallet_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a list of wallet addresses as well as some meta-data | "Returns a list of wallet addresses as well as some meta-data" | 163 | false | blockcypher/blockcypher-python | get_wallet_addresses | 30,362 | |
LDU_FT/JamesPHoughton/pysd/set_initial_condition | LDU_FT | [
"<BEGIN>\n## `parse`",
"context : <string> 'eqn', 'defn'\n If context is set to equation, lone identifiers will be parsed as calls to elements\n If context is set to definition, lone identifiers will be cleaned and returned.\n<END>",
"<BEGIN>\n## `read_tabular`",
"Reads a vensim ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_initial_condition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_initial_condition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Set the initial conditions of the integration.
Parameters
----------
initial_condition : <string> or <tuple>
Takes on one of the following sets of values:
* 'original'/'o' : Reset to the model-file specified initial condition.
* 'current'/'c' : Use the curre... | "Set the initial conditions of the integration.\n\n Parameters\n ----------\n initial_condition : <string> or <tuple>\n Takes on one of the following sets of values:\n\n * 'original'/'o' : Reset to the model-file specified initial condition.\n * 'current'/'c' : Use ... | 268 | false | JamesPHoughton/pysd | set_initial_condition | 30,363 | |
LDU_FT/botstory/botstory/enter_new_scope | LDU_FT | [
"<BEGIN>\n## `desc`",
"Describe Class Dependency",
" :param reg: should we register this class as well\n :param t: custom type as well\n :return:\n<END>",
"<BEGIN>\n## `get_validator`",
"ask every matcher whether it can serve such filter data",
" :param filter_data:\n :return:\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enter_new_scope API.
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 enter_new_scope API.
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... | we inside new scope with it onw
:param ctx:
:return: | "we inside new scope with it onw\n :param ctx:\n :return:" | 72 | false | botstory/botstory | enter_new_scope | 30,364 | |
LDU_FT/metachris/RPIO/build_gpio | LDU_FT | [
"<BEGIN>\n## `add_tcp_callback`",
"Adds a unix socket server callback, which will be invoked when values\n arrive from a connected socket client. The callback must accept two\n parameters, eg. ``def callback(socket, msg)``.\n<END>",
"<BEGIN>\n## `add_interrupt_callback`",
"Add a callback to be executed ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_gpio API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_gpio API.
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... | Builds source with Python 2.7 and 3.2, and tests import | "Builds source with Python 2.7 and 3.2, and tests import" | 38 | false | metachris/RPIO | build_gpio | 30,365 | |
LDU_FT/MarcoFavorito/pythomata/determinize | LDU_FT | [
"<BEGIN>\n## `from_transitions`",
"Initialize a DFA without explicitly specifying the set of states and the alphabet.",
" :param initial_state: the initial state.\n :param accepting_states: the accepting state.\n :param transition_function: the transition function.\n :return: the DFA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the determinize API.
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 determinize API.
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... | Determinize the NFA
:return: the DFA equivalent to the DFA. | "Determinize the NFA\n\n :return: the DFA equivalent to the DFA." | 16 | false | MarcoFavorito/pythomata | determinize | 30,366 | |
LDU_FT/openstack/networking-hyperv/handle_trunks | LDU_FT | [
"<BEGIN>\n## `handle_trunks`",
"Trunk data model change from the server.\n<END>",
"<BEGIN>\n## `handle_subports`",
"Subport data model change from the server.\n<END>",
"<BEGIN>\n## `_setup_trunk`",
"Sets up VLAN trunk and updates the trunk status.\n<END>",
"<BEGIN>\n## `main`",
"The entry point for ne... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_trunks API.
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 handle_trunks API.
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... | Trunk data model change from the server. | "Trunk data model change from the server." | 45 | false | openstack/networking-hyperv | handle_trunks | 30,367 | |
LDU_FT/opereto/pyopereto/search_agents | LDU_FT | [
"<BEGIN>\n## `get_service_version`",
"get_service_version(self, service_id, mode='production', version='default')",
" | Get a specific version details of a given service. Opereto will try to fetch the requested service version. If not found, it will return the default production version. The \"actual_ver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_agents API.
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 search_agents API.
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... | search_agents(self, start=0, limit=100, filter={}, **kwargs)
Search agents
:Parameters:
* *start* (`int`) -- start index to retrieve from. Default is 0
* *limit* (`int`) -- maximum number of entities to retrieve. Default is 100
* *filter* (`object`) -- free text search pattern ... | "search_agents(self, start=0, limit=100, filter={}, **kwargs)\n\n Search agents\n\n :Parameters:\n * *start* (`int`) -- start index to retrieve from. Default is 0\n * *limit* (`int`) -- maximum number of entities to retrieve. Default is 100\n * *filter* (`object`) -- free text search ... | 220 | false | opereto/pyopereto | search_agents | 30,368 | |
LDU_FT/fakedrake/overlay_parse/copy | LDU_FT | [
"<BEGIN>\n## `rx_int_extra`",
"We didn't just match an int but the int is what we need.\n<END>",
"<BEGIN>\n## `offset_overlays`",
"Generate overlays after offset.\n :param text: The text to be searched.\n :param offset: Match starting that index. If none just search.\n :returns: An overla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Copy the Overlay possibly overriding props. | "Copy the Overlay possibly overriding props." | 35 | false | fakedrake/overlay_parse | copy | 30,369 | |
LDU_FT/mickybart/python-atlasapi/answer | LDU_FT | [
"<BEGIN>\n## `answer`",
"Answer will provide all necessary feedback for the caller",
" Args:\n c (int): HTTP Code\n details (dict): Response payload",
" Returns:\n dict: Response payload",
" Raises:\n ErrAtlasBadRequest\n ErrAtlasUn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the answer API.
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 answer API.
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 ... | Answer will provide all necessary feedback for the caller
Args:
c (int): HTTP Code
details (dict): Response payload
Returns:
dict: Response payload
Raises:
ErrAtlasBadRequest
ErrAtlasUnauthorized
... | "Answer will provide all necessary feedback for the caller\n \n Args:\n c (int): HTTP Code\n details (dict): Response payload\n \n Returns:\n dict: Response payload\n \n Raises:\n ErrAtlasBadRequest\n ErrAtlasUnauthoriz... | 42 | false | mickybart/python-atlasapi | answer | 30,370 | |
LDU_FT/alejandroautalan/pygubu/__regpoly_coords | LDU_FT | [
"<BEGIN>\n## `_autoscroll`",
"Hide and show scrollbar as needed.\n Code from Joe English (JE) at http://wiki.tcl.tk/950\n<END>",
"<BEGIN>\n## `__regpoly_coords`",
"Create the coordinates of the regular polygon specified\n<END>",
"<BEGIN>\n## `get_image`",
"Return tk image corresponding to name which is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __regpoly_coords API.
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 __regpoly_coords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create the coordinates of the regular polygon specified | "Create the coordinates of the regular polygon specified" | 73 | false | alejandroautalan/pygubu | __regpoly_coords | 30,371 | |
LDU_FT/praekeltfoundation/seed-service-rating/post | LDU_FT | [
"<BEGIN>\n## `compile_msg_payload`",
"Determine recipient, message content, return it as\n a dict that can be Posted to the message sender\n<END>",
"<BEGIN>\n## `send_message`",
"Create a post request to the message sender\n<END>",
"<BEGIN>\n## `run`",
"Sends a message about service rating to invit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
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 post API.
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... | Triggers the task that sends invitation messages | "Triggers the task that sends invitation messages" | 10 | false | praekeltfoundation/seed-service-rating | post | 30,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.