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/MartijnBraam/pyElectronics/set_range | LDU_FT | [
"<BEGIN>\n## `read`",
"Read the pin state of an input pin.\n Make sure you put the pin in input modus with the IODIR* register or direction_* attribute first.",
" :Example:",
" >>> expander = MCP23017I2C(gw)\n >>> # Read the logic level on pin B3\n >>> expander.read('B3')\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_range API.
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 set_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Set the measurement range for the accel and gyro MEMS. Higher range means less resolution.
:param accel: a RANGE_ACCEL_* constant
:param gyro: a RANGE_GYRO_* constant
:Example:
.. code-block:: python
sensor = MPU6050I2C(gateway_class_instance)
sensor.set_range... | "Set the measurement range for the accel and gyro MEMS. Higher range means less resolution.\n\n :param accel: a RANGE_ACCEL_* constant\n :param gyro: a RANGE_GYRO_* constant\n\n :Example:\n\n .. code-block:: python\n\n sensor = MPU6050I2C(gateway_class_instance)\n senso... | 88 | false | MartijnBraam/pyElectronics | set_range | 34,573 | |
LDU_FT/spyder-ide/conda-manager/update_repodata | LDU_FT | [
"<BEGIN>\n## `get_package_versions`",
"Gives all the compatible package canonical name",
" name : str\n Name of the package\n<END>",
"<BEGIN>\n## `closing_plugin`",
"Perform actions before parent main window is closed.\n<END>",
"<BEGIN>\n## `get_conf_path`",
"Return absolute path for c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_repodata API.
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 update_repodata API.
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... | Update repodata from channels or use condarc channels if None. | "Update repodata from channels or use condarc channels if None." | 160 | false | spyder-ide/conda-manager | update_repodata | 34,574 | |
LDU_FT/ethereum/py-evm/prepare_child_message | LDU_FT | [
"<BEGIN>\n## `new_transaction`",
"Create and return a transaction sending amount from <from_> to <to>.",
" The transaction will be signed with the given private key.\n<END>",
"<BEGIN>\n## `idfn`",
"Function for pytest to produce uniform names for fixtures.\n<END>",
"<BEGIN>\n## `get_fixtures_file_hash`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_child_message 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 prepare_child_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Helper method for creating a child computation. | "Helper method for creating a child computation." | 422 | false | ethereum/py-evm | prepare_child_message | 34,575 | |
LDU_FT/GetmeUK/MongoFrames/get_collection | LDU_FT | [
"<BEGIN>\n## `to_json_type`",
"Return a dictionary for the document with values converted to JSON safe\n types.\n<END>",
"<BEGIN>\n## `_path_to_value`",
"Return a value from a dictionary at the given path\n<END>",
"<BEGIN>\n## `_remove_keys`",
"Remove a list of keys from a dictionary.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a reference to the database collection for the class | "Return a reference to the database collection for the class" | 121 | false | GetmeUK/MongoFrames | get_collection | 34,576 | |
LDU_FT/SeabornGames/RequestClient/post | LDU_FT | [
"<BEGIN>\n## `reinstantiate_endpoints`",
"This will re-instantiate the endpoints with the connection this time\n :param endpoint: Endpoint object to instantiate the sub endpoint in.\n :return: None\n<END>",
"<BEGIN>\n## `_pre_process_call`",
"This is called by the method_decorator within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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... | This takes two parameters a key and a value and temporarily stores them on the server
:param key: str of key to store the value under
:param value: str of the value to store
:return: Echo dict of the key value stored | "This takes two parameters a key and a value and temporarily stores them on the server\n :param key: str of key to store the value under\n :param value: str of the value to store\n :return: Echo dict of the key value stored" | 148 | false | SeabornGames/RequestClient | post | 34,577 | |
LDU_FT/qubole/qds-sdk-py/set_presto_settings | LDU_FT | [
"<BEGIN>\n## `_parse_list`",
"Parse command line arguments to construct a dictionary of cluster\n parameters that can be used to determine which clusters to list.",
" Args:\n `args`: sequence of arguments",
" Returns:\n Dictionary that can be used to determine which ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_presto_settings 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 set_presto_settings 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... | Kwargs:
`enable_presto`: Enable Presto on the cluster.
`presto_custom_config`: Custom Presto configuration overrides. | "Kwargs:\n\n `enable_presto`: Enable Presto on the cluster.\n\n `presto_custom_config`: Custom Presto configuration overrides." | 316 | false | qubole/qds-sdk-py | set_presto_settings | 34,578 | |
LDU_FT/Othernet-Project/chainable-validators/spec_validator | LDU_FT | [
"<BEGIN>\n## `chainable`",
"Make function a chainable validator",
" The returned function is a chainable validator factory which takes the next\n function in the chain and returns a chained version of the original\n validator: ``fn(next(value))``.",
" The chainable validators are used with the ``m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spec_validator API.
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 spec_validator API.
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... | Take a spec in dict form, and return a function that validates objects
The spec maps each object's key to a chain of validator functions.
The ``key`` argument can be used to customize the way value matching a spec
key from the object. By default, it uses ``operator.itemgetter``. It should
be assigned ... | "Take a spec in dict form, and return a function that validates objects\n\n The spec maps each object's key to a chain of validator functions.\n\n The ``key`` argument can be used to customize the way value matching a spec\n key from the object. By default, it uses ``operator.itemgetter``. It should\n be as... | 16 | false | Othernet-Project/chainable-validators | spec_validator | 34,579 | |
LDU_FT/cs50/style50/run | LDU_FT | [
"<BEGIN>\n## `get_terminal_size`",
"Return tuple containing columns and rows of controlling terminal, trying harder\n than shutil.get_terminal_size to find a tty before returning fallback.",
" Theoretically, stdout, stderr, and stdin could all be different ttys that could\n cause us to get the wrong me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run `command` passing it stdin from `input`, throwing a DependencyError if comand is not found.
Throws Error if exit code of command is not `exit` (unless `exit` is None). | "Run `command` passing it stdin from `input`, throwing a DependencyError if comand is not found.\n Throws Error if exit code of command is not `exit` (unless `exit` is None)." | 25 | false | cs50/style50 | run | 34,580 | |
LDU_FT/mrallen1/pygett/put | LDU_FT | [
"<BEGIN>\n## `get`",
"**get**",
" Make a GET call to a remote endpoint",
" Input:\n * An endpoint relative to the ``base_url``",
" Output:\n * A :py:mod:`pygett.request.GettResponse` object\n<END>",
"<BEGIN>\n## `post`",
"**post**",
" Make a POST call ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | **put**
Make a PUT call to a remove endpoint
Input:
* An absolute endpoint
* A data stream
Output:
* A :py:mod:`pygett.request.GettResponse` object | "**put**\n\n Make a PUT call to a remove endpoint\n\n Input:\n * An absolute endpoint\n * A data stream\n\n Output:\n * A :py:mod:`pygett.request.GettResponse` object" | 117 | false | mrallen1/pygett | put | 34,581 | |
LDU_FT/wndhydrnt/python-oauth2/compare | LDU_FT | [
"<BEGIN>\n## `fetch_by_code`",
"Returns data belonging to an authorization code from redis or\n ``None`` if no data was found.",
" See :class:`oauth2.store.AuthCodeStore`.\n<END>",
"<BEGIN>\n## `save_code`",
"Stores the data belonging to an authorization code token in redis.",
" See :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare API.
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 compare API.
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... | Compares the scopes read from request with previously issued scopes.
:param previous_scopes: A list of scopes.
:return: ``True`` | "Compares the scopes read from request with previously issued scopes.\n\n :param previous_scopes: A list of scopes.\n :return: ``True``" | 165 | false | wndhydrnt/python-oauth2 | compare | 34,582 | |
LDU_FT/ibis-project/ibis/category_label | LDU_FT | [
"<BEGIN>\n## `compile`",
"Force compilation of expression for the SQLite target\n<END>",
"<BEGIN>\n## `find_names`",
"Return the unique :class:`ast.Name` instances in an AST.",
" Parameters\n ----------\n node : ast.AST",
" Returns\n -------\n unique_names : List[ast.Name]",
" Examp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the category_label API.
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 category_label API.
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... | Format a known number of categories as strings
Parameters
----------
labels : list of string
nulls : string, optional
How to label any null values among the categories
Returns
-------
string_categories : string value expression | "Format a known number of categories as strings\n\n Parameters\n ----------\n labels : list of string\n nulls : string, optional\n How to label any null values among the categories\n\n Returns\n -------\n string_categories : string value expression" | 1,079 | true | ibis-project/ibis | category_label | 34,583 | |
LDU_FT/dragnet-org/dragnet/extract | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit :class`Extractor` features and model to a training dataset.",
" Args:\n blocks (List[Block])\n labels (``np.ndarray``)\n weights (``np.ndarray``)",
" Returns:\n :class`Extractor`\n<END>",
"<BEGIN>\n## `get_html_labels_weight... | 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... | Extract the main content and/or comments from an HTML document and
return it as a string or as a sequence of block objects.
Args:
html (str): HTML document as a string.
encoding (str): Encoding of ``html``. If None (encoding unknown), the
original encoding will b... | "Extract the main content and/or comments from an HTML document and\n return it as a string or as a sequence of block objects.\n\n Args:\n html (str): HTML document as a string.\n encoding (str): Encoding of ``html``. If None (encoding unknown), the\n original encoding... | 134 | false | dragnet-org/dragnet | extract | 34,584 | |
LDU_FT/toomore/grs/get_stock_comps_list | LDU_FT | [
"<BEGIN>\n## `real`",
"Real time data",
" :rtype: dict\n :returns:",
" :name: 股票名稱 Unicode\n :no: 股票代碼\n :range: 漲跌價\n :ranges: 漲跌判斷 True, False\n :time: 取得時間\n :max: 漲停價\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stock_comps_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stock_comps_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.
... | 回傳日常交易的類別代碼與名稱
:rtype: dict
.. versionadded:: 0.5.6 | "回傳日常交易的類別代碼與名稱\n\n :rtype: dict\n\n .. versionadded:: 0.5.6" | 88 | false | toomore/grs | get_stock_comps_list | 34,585 | |
LDU_FT/cggh/scikit-allel/to_gt | LDU_FT | [
"<BEGIN>\n## `mean_pairwise_difference`",
"Calculate for each variant the mean number of pairwise differences\n between chromosomes sampled from within a single population.",
" Parameters\n ----------",
" ac : array_like, int, shape (n_variants, n_alleles)\n Allele counts array.\n an : a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_gt API.
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 to_gt API.
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... | Convert genotype calls to VCF-style string representation.
Returns
-------
gt : ndarray, string, shape (n_variants, n_samples)
Examples
--------
>>> import allel
>>> g = allel.GenotypeArray([[[0, 0], [0, 1]],
... [[0, 2], [1, 1]... | "Convert genotype calls to VCF-style string representation.\n\n Returns\n -------\n gt : ndarray, string, shape (n_variants, n_samples)\n\n Examples\n --------\n\n >>> import allel\n >>> g = allel.GenotypeArray([[[0, 0], [0, 1]],\n ... [[0... | 1,142 | true | cggh/scikit-allel | to_gt | 34,586 | |
LDU_FT/jeffknupp/sandman2/get_app | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"Return a dictionary representation of the exception.\n<END>",
"<BEGIN>\n## `required`",
"Return a list of all columns required by the database to create the\n resource.",
" :param cls: The Model class to gather attributes from\n :rtype: list\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return an application instance connected to the database described in
*database_uri*.
:param str database_uri: The URI connection string for the database
:param list exclude_tables: A list of tables to exclude from the API
service
:param list user_models: A list of user-... | "Return an application instance connected to the database described in\n *database_uri*.\n\n :param str database_uri: The URI connection string for the database\n :param list exclude_tables: A list of tables to exclude from the API\n service\n :param list user_models: A list o... | 74 | false | jeffknupp/sandman2 | get_app | 34,587 | |
LDU_FT/VasilyStepanov/pywidl/p_Dictionary | LDU_FT | [
"<BEGIN>\n## `p_Interface`",
"Interface : interface IDENTIFIER Inheritance \"{\" InterfaceMembers \"}\" \";\"\n<END>",
"<BEGIN>\n## `p_Dictionary`",
"Dictionary : dictionary IDENTIFIER Inheritance \"{\" DictionaryMembers \"}\" \";\"\n<END>",
"<BEGIN>\n## `p_DictionaryMember`",
"DictionaryMember : Type IDE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_Dictionary API.
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 p_Dictionary API.
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... | Dictionary : dictionary IDENTIFIER Inheritance "{" DictionaryMembers "}" ";" | "Dictionary : dictionary IDENTIFIER Inheritance \"{\" DictionaryMembers \"}\" \";\"" | 34 | false | VasilyStepanov/pywidl | p_Dictionary | 34,588 | |
LDU_FT/nitely/kua/_unwrap | LDU_FT | [
"<BEGIN>\n## `normalize_url`",
"Remove leading and trailing slashes from a URL",
" :param url: URL\n :return: URL with no leading and trailing slashes",
" :private:\n<END>",
"<BEGIN>\n## `_unwrap`",
"Yield URL parts. The given parts are usually in reverse order.\n<END>",
"<BEGIN>\n## `make_para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unwrap API.
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 _unwrap API.
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... | Yield URL parts. The given parts are usually in reverse order. | "Yield URL parts. The given parts are usually in reverse order." | 27 | false | nitely/kua | _unwrap | 34,589 | |
LDU_FT/ampl/amplpy/solveAsync | LDU_FT | [
"<BEGIN>\n## `getData`",
"Get the data corresponding to the display statements. The statements\n can be AMPL expressions, or entities. It captures the equivalent of the\n command:",
" .. code-block:: ampl",
" display ds1, ..., dsn;",
" where ds1, ..., dsn are the ``dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solveAsync API.
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 solveAsync API.
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... | Solve the current model asynchronously.
Args:
callback: Callback to be executed when the solver is done. | "Solve the current model asynchronously.\n\n Args:\n callback: Callback to be executed when the solver is done." | 205 | false | ampl/amplpy | solveAsync | 34,590 | |
LDU_FT/elastic/elasticsearch-py/delete_calendar_event | LDU_FT | [
"<BEGIN>\n## `clear_cursor`",
"`<Clear SQL cursor>`_",
" :arg body: Specify the cursor value in the `cursor` element to clean the\n cursor.\n<END>",
"<BEGIN>\n## `query`",
"`<Execute SQL>`_",
" :arg body: Use the `query` element to start a query. Use the `cursor`\n elem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_calendar_event 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 delete_calendar_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | `<>`_
:arg calendar_id: The ID of the calendar to modify
:arg event_id: The ID of the event to remove from the calendar | "`<>`_\n\n :arg calendar_id: The ID of the calendar to modify\n :arg event_id: The ID of the event to remove from the calendar" | 528 | false | elastic/elasticsearch-py | delete_calendar_event | 34,591 | |
LDU_FT/veripress/veripress/parse_toc | LDU_FT | [
"<BEGIN>\n## `generate_pages_by_file`",
"Generates custom pages of 'file' storage type.\n<END>",
"<BEGIN>\n## `fix_relative_url`",
"Fix post or page relative url to a standard, uniform format.",
" :param publish_type: publish type ('post' or 'page')\n :param rel_url: relative url to fix\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_toc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_toc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Parse TOC of HTML content if the SHOW_TOC config is true.
:param html_content: raw HTML content
:return: tuple(processed HTML, toc list, toc HTML unordered list) | "Parse TOC of HTML content if the SHOW_TOC config is true.\n\n :param html_content: raw HTML content\n :return: tuple(processed HTML, toc list, toc HTML unordered list)" | 109 | false | veripress/veripress | parse_toc | 34,592 | |
LDU_FT/bambinos/bambi/reset | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset PyMC3 model and all tracked distributions and parameters.\n<END>",
"<BEGIN>\n## `build`",
"Compile the PyMC3 model from an abstract model specification.\n Args:\n spec (Model): A bambi Model instance containing the abstract\n specification of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
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 reset API.
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... | Reset PyMC3 model and all tracked distributions and parameters. | "Reset PyMC3 model and all tracked distributions and parameters." | 88 | false | bambinos/bambi | reset | 34,593 | |
LDU_FT/andrewsnowden/dota2py/parse_game_event | LDU_FT | [
"<BEGIN>\n## `load_heroes`",
"Load hero details from JSON file into memoy\n<END>",
"<BEGIN>\n## `load_items`",
"Load item details fom JSON file into memory\n<END>",
"<BEGIN>\n## `debug_dump`",
"Utility while developing to dump message data to play with in the\n interpreter\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_game_event API.
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_game_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | So CSVCMsg_GameEventList is a list of all events that can happen.
A game event has an eventid which maps to a type of event that happened | "So CSVCMsg_GameEventList is a list of all events that can happen.\n A game event has an eventid which maps to a type of event that happened" | 45 | false | andrewsnowden/dota2py | parse_game_event | 34,594 | |
LDU_FT/Aula13/poloniex/returnTradeHistory | LDU_FT | [
"<BEGIN>\n## `clear`",
"Release the semaphore of all of its bounds, setting the internal\n counter back to its original bind limit. Notify an equivalent amount\n of threads that they can run.\n<END>",
"<BEGIN>\n## `_api_wrapper`",
"API function decorator that performs rate limiting and error che... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the returnTradeHistory 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 returnTradeHistory 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... | Returns the past 200 trades for a given market, or up to 50,000
trades between a range specified in UNIX timestamps by the "start"
and "end" GET parameters. | "Returns the past 200 trades for a given market, or up to 50,000\n trades between a range specified in UNIX timestamps by the \"start\"\n and \"end\" GET parameters." | 37 | false | Aula13/poloniex | returnTradeHistory | 34,595 | |
LDU_FT/OSSOS/MOP/getExpInfo | LDU_FT | [
"<BEGIN>\n## `set_ds9`",
"Set the default values on the ds9 display.\n<END>",
"<BEGIN>\n## `cfht_megacam_tap_query`",
"Do a query of the CADC Megacam table.",
" Get all observations inside the box (right now it turns width/height into a radius, should not do this).",
" @rtype : Table\n @param ra_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getExpInfo API.
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 getExpInfo API.
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 a dictionary of information about a particular exposure | "Return a dictionary of information about a particular exposure" | 717 | false | OSSOS/MOP | getExpInfo | 34,596 | |
LDU_FT/naphatkrit/easyci/get_installed_version | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get the signature of the current state of the repository",
" TODO right now `get_signature` is an effectful process in that\n it adds all untracked file to staging. This is the only way to get\n accruate diff on new files. This is ok because we only use it on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_installed_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_installed_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.
... | Get the installed version for this project.
Args:
vcs (easyci.vcs.base.Vcs)
Returns:
str - version number
Raises:
VersionNotInstalledError | "Get the installed version for this project.\n\n Args:\n vcs (easyci.vcs.base.Vcs)\n\n Returns:\n str - version number\n\n Raises:\n VersionNotInstalledError" | 94 | false | naphatkrit/easyci | get_installed_version | 34,597 | |
LDU_FT/Toilal/rebulk/string | LDU_FT | [
"<BEGIN>\n## `formatters`",
"Chain formatter functions.\n :param chained_formatters:\n :type chained_formatters:\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `_default_conflict_solver`",
"Default conflict solver for matches, shorter matches if they conflicts with longer ones",
" :param conflict... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string API.
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 string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Add string pattern
:param pattern:
:type pattern:
:param kwargs:
:type kwargs:
:return:
:rtype: | "Add string pattern\n\n :param pattern:\n :type pattern:\n :param kwargs:\n :type kwargs:\n :return:\n :rtype:" | 174 | false | Toilal/rebulk | string | 34,598 | |
LDU_FT/msuozzo/Aduro/from_str | LDU_FT | [
"<BEGIN>\n## `calc_update_events`",
"Calculate and return an iterable of `KindleEvent`s which, when\n applied to the current snapshot, result in the the current snapshot\n reflecting the progress state of the `asin_to_progress` mapping.",
" Functionally, this method generates `AddEvent`s an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Generate a `SetFinishedEvent` object from a string | "Generate a `SetFinishedEvent` object from a string" | 29 | false | msuozzo/Aduro | from_str | 34,599 | |
LDU_FT/pyvisa/pyvisa/do_attr | LDU_FT | [
"<BEGIN>\n## `pass_control`",
"Tell the GPIB device at the specified address to become controller in charge (CIC).",
" Corresponds to viGpibPassControl function of the VISA library.",
" :param primary_address: Primary address of the GPIB device to which you want to pass control.\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_attr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_attr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get or set the state for a visa attribute.
List all attributes:
attr
Get an attribute state:
attr <name>
Set an attribute state:
attr <name> <state> | "Get or set the state for a visa attribute.\n\n List all attributes:\n\n attr\n\n Get an attribute state:\n\n attr <name>\n\n Set an attribute state:\n\n attr <name> <state>" | 529 | false | pyvisa/pyvisa | do_attr | 34,600 | |
LDU_FT/briancappello/flask-unchained/get_param_tuples | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an instance of a model.",
" :param instance: The created model instance.\n :param errors: Any errors.\n :return: The created model instance, or a dictionary of errors.\n<END>",
"<BEGIN>\n## `patch`",
"Partially update a model instance.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_param_tuples API.
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_param_tuples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a list of parameter tuples in a URL rule, eg::
url_rule = '/users/<string:username>/roles/<int:id>'
param_tuples = get_param_tuples(url_rule)
assert param_tuples == [('string', 'username'), ('int', 'id')] | "Returns a list of parameter tuples in a URL rule, eg::\n\n url_rule = '/users/<string:username>/roles/<int:id>'\n param_tuples = get_param_tuples(url_rule)\n assert param_tuples == [('string', 'username'), ('int', 'id')]" | 597 | false | briancappello/flask-unchained | get_param_tuples | 34,601 | |
LDU_FT/pydsigner/taskit/set_result | LDU_FT | [
"<BEGIN>\n## `_wait`",
"Based upon an extract from threading.Condition().wait(). Immediately \n tries to acquire the lock, and then sleeps for a period of time (going \n 1/2ms..1ms..2ms..4ms...50ms..50ms), repeating until the lock is \n acquired or the timeout limit is reached.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | The worker thread should call this if it was successful. Unlike normal
functions, which will return None if execution is allowed to fall off
the end, either set_result() or self_error() must be called, or the
the get()ing side will hang. | "The worker thread should call this if it was successful. Unlike normal \n functions, which will return None if execution is allowed to fall off \n the end, either set_result() or self_error() must be called, or the \n the get()ing side will hang." | 59 | false | pydsigner/taskit | set_result | 34,602 | |
LDU_FT/acutesoftware/virtual-AI-simulator/load_from_file | LDU_FT | [
"<BEGIN>\n## `calc_basics`",
"calculate various aspects of the structure\n<END>",
"<BEGIN>\n## `bld_rafter_deflection`",
"calculate rafter deflections - see test_calc_building_design.py for \n Sample values for equations below from Structures II course\n<END>",
"<BEGIN>\n## `main`",
"Prototype to see h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | OVERWRITES the current character object from stats in file | "OVERWRITES the current character object from stats in file" | 86 | false | acutesoftware/virtual-AI-simulator | load_from_file | 34,603 | |
LDU_FT/gtaylor/paypal-python/transaction_search | LDU_FT | [
"<BEGIN>\n## `_check_required`",
"Checks kwargs for the values specified in 'requires', which is a tuple\n of strings. These strings are the NVP names of the required values.\n<END>",
"<BEGIN>\n## `_call`",
"Wrapper method for executing all API commands over HTTP. This method is\n further used t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Shortcut for the TransactionSearch method.
Returns a PayPalResponseList object, which merges the L_ syntax list
to a list of dictionaries with properly named keys.
Note that the API will limit returned transactions to 100.
Required Kwargs
---------------
* STARTDATE
... | "Shortcut for the TransactionSearch method.\n Returns a PayPalResponseList object, which merges the L_ syntax list\n to a list of dictionaries with properly named keys.\n\n Note that the API will limit returned transactions to 100.\n\n Required Kwargs\n ---------------\n * STAR... | 78 | false | gtaylor/paypal-python | transaction_search | 34,604 | |
LDU_FT/andreasjansson/head-in-the-clouds/_make_record | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new base with specified field names\r\n A keyword argument mode can be specified ; it is used if a file\r\n with the base name already exists\r\n - if mode = 'open' : open the existing base, ignore the fields\r\n - if mode = 'override' : erase the exis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_record API.
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 _make_record API.
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... | Make a record dictionary from the result of a fetch_ | "Make a record dictionary from the result of a fetch_" | 101 | false | andreasjansson/head-in-the-clouds | _make_record | 34,605 | |
LDU_FT/CivicSpleen/ckcache/list | LDU_FT | [
"<BEGIN>\n## `put`",
"Copy a file to the repository",
" Args:\n source: Absolute path to the source file, or a file-like object\n rel_path: path relative to the root of the repository\n<END>",
"<BEGIN>\n## `put_stream`",
"return a file object to write into the cache. The caller\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | get a list of all of the files in the repository | "get a list of all of the files in the repository" | 70 | false | CivicSpleen/ckcache | list | 34,606 | |
LDU_FT/barrust/pyspellchecker/remove | LDU_FT | [
"<BEGIN>\n## `export`",
"Export the word frequency list for import in the future",
" Args:\n filepath (str): The filepath to the exported dictionary\n encoding (str): The encoding of the resulting output\n gzipped (bool): Whether to gzip the dictionary or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove a word from the word frequency list
Args:
word (str): The word to remove | "Remove a word from the word frequency list\n\n Args:\n word (str): The word to remove" | 57 | false | barrust/pyspellchecker | remove | 34,607 | |
LDU_FT/ooici/elasticpy/match | LDU_FT | [
"<BEGIN>\n## `ids`",
"http://www.elasticsearch.org/guide/reference/query-dsl/ids-filter.html\nFilters documents that only have the provided ids. Note, this filter does not require the _id field to be indexed since it works using the _uid field.\n<END>",
"<BEGIN>\n## `geo_bounding_box`",
"http://www.elasticsea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | A family of match queries that accept text/numerics/dates, analyzes it, and constructs a query out of it. For example:
{
"match" : {
"message" : "this is a test"
}
}
Note, message is the name of a field, you can subsitute the name of any field (including ... | "A family of match queries that accept text/numerics/dates, analyzes it, and constructs a query out of it. For example:\n\n {\n \"match\" : {\n \"message\" : \"this is a test\"\n }\n }\n Note, message is the name of a field, you can subsitute the name of any fie... | 89 | false | ooici/elasticpy | match | 34,608 | |
LDU_FT/googleapis/google-cloud-python/to_api_repr | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_api_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_api_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Build an API representation of this object.
Returns:
Dict[str, Any]:
A dictionary in the format used by the BigQuery API. | "Build an API representation of this object.\n\n Returns:\n Dict[str, Any]:\n A dictionary in the format used by the BigQuery API." | 7,029 | true | googleapis/google-cloud-python | to_api_repr | 34,609 | |
LDU_FT/kpdyer/regex2dfa/Scripts | LDU_FT | [
"<BEGIN>\n## `MakeRanges`",
"Turn a list like [1,2,3,7,8,9] into a range list [[1,3], [7,9]]\n<END>",
"<BEGIN>\n## `PrintRanges`",
"Print the ranges as an array of type named name.\n<END>",
"<BEGIN>\n## `PrintGroup`",
"Print the data structures for the group of codes.\n Return a UGroup literal for the gr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Scripts API.
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 Scripts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns dict mapping script names to code lists.
Args:
unicode_dir: Unicode data directory
Returns:
dict mapping script names to code lists | "Returns dict mapping script names to code lists.\n\n Args:\n unicode_dir: Unicode data directory\n\n Returns:\n dict mapping script names to code lists" | 163 | false | kpdyer/regex2dfa | Scripts | 34,610 | |
LDU_FT/aegirhall/console-menu/set_border_style_type | LDU_FT | [
"<BEGIN>\n## `set_border_style`",
"Set the border style using the specified MenuBorderStyle instance.\n :param border_style: the instance of MenuBorderStyle to use for border style formatting.\n<END>",
"<BEGIN>\n## `set_border_style_type`",
"Set the border style using the specified border style type. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_border_style_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_border_style_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Set the border style using the specified border style type. The border style type should be an
integer value recognized by the border style factory for this formatter instance.
The built-in border style types are provided by the `MenuBorderStyleType` class, or custom
border style types can be pr... | "Set the border style using the specified border style type. The border style type should be an\n integer value recognized by the border style factory for this formatter instance.\n The built-in border style types are provided by the `MenuBorderStyleType` class, or custom\n border style types can b... | 107 | false | aegirhall/console-menu | set_border_style_type | 34,611 | |
LDU_FT/edelooff/sqlalchemy-json/coerce | LDU_FT | [
"<BEGIN>\n## `changed`",
"Marks the object as changed.",
" If a `parent` attribute is set, the `changed()` method on the parent\n will be called, propagating the change notification up the chain.",
" The message (if provided) will be debug logged.\n<END>",
"<BEGIN>\n## `register`",
"D... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coerce API.
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 coerce API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Convert plain dictionary to NestedMutable. | "Convert plain dictionary to NestedMutable." | 17 | false | edelooff/sqlalchemy-json | coerce | 34,612 | |
LDU_FT/arista-eosplus/pyeapi/set_hostname | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns the VRF configuration as a resource dict.",
" Args:\n value (string): The vrf name to retrieve from the\n running configuration.",
" Returns:\n A Python dict object containing the VRF attributes as\n key/value pair... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_hostname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_hostname API.
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... | Configures the global system hostname setting
EosVersion:
4.13.7M
Args:
value (str): The hostname value
default (bool): Controls use of the default keyword
disable (bool): Controls the use of the no keyword
Returns:
bool: True if the... | "Configures the global system hostname setting\n\n EosVersion:\n 4.13.7M\n\n Args:\n value (str): The hostname value\n default (bool): Controls use of the default keyword\n disable (bool): Controls the use of the no keyword\n\n Returns:\n bool:... | 853 | false | arista-eosplus/pyeapi | set_hostname | 34,613 | |
LDU_FT/brunato/lograptor/matcher | LDU_FT | [
"<BEGIN>\n## `make_text`",
"Make the text representation of a report data element.\n<END>",
"<BEGIN>\n## `make_html`",
"Make the text representation of a report element as html.\n<END>",
"<BEGIN>\n## `make_csv`",
"Get the text representation of a report element as csv.\n<END>",
"<BEGIN>\n## `make_format... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matcher API.
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 matcher API.
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... | Matcher engine: ruled, unruled, unparsed. | "Matcher engine: ruled, unruled, unparsed." | 121 | false | brunato/lograptor | matcher | 34,614 | |
LDU_FT/jashort/SmartFileSorter/load_rules | LDU_FT | [
"<BEGIN>\n## `do_action`",
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>",
"<BEGIN>\n## `add_match_rule`",
"Adds the given ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Load rules from YAML configuration in the given stream object
:param filename: Filename of rule YAML file
:return: rules object | "Load rules from YAML configuration in the given stream object\n :param filename: Filename of rule YAML file\n :return: rules object" | 38 | false | jashort/SmartFileSorter | load_rules | 34,615 | |
LDU_FT/Titan-C/slaveparticles/bethe_fermi | LDU_FT | [
"<BEGIN>\n## `destruct`",
"Fermion annihilation operator in matrix representation for a indexed\n particle in a bounded N-particles fermion fock space\n<END>",
"<BEGIN>\n## `plot_degbandshalffill`",
"Plot of Quasiparticle weight for degenerate\n half-filled bands, showing the Mott transition\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bethe_fermi API.
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 bethe_fermi API.
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... | product of the bethe lattice dos, fermi distribution | "product of the bethe lattice dos, fermi distribution" | 78 | false | Titan-C/slaveparticles | bethe_fermi | 34,616 | |
LDU_FT/baguette-io/baguette-messaging/migrate | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Convert a model into a json using the playhouse shortcut.\n<END>",
"<BEGIN>\n## `run`",
"Consume the event stream.\n :param timeout: Duration of the connection timeout.\n :type timeout: int\n :param limit: Number of events to consume.\n :type limit: int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the migrate API.
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 migrate API.
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... | Entrypoint to migrate the schema.
For the moment only create tables. | "Entrypoint to migrate the schema.\n For the moment only create tables." | 44 | false | baguette-io/baguette-messaging | migrate | 34,617 | |
LDU_FT/fabioz/PyDev.Debugger/leaves | LDU_FT | [
"<BEGIN>\n## `convert`",
"Note:",
" If the shellcode starts with '66' controls, it needs to be changed to add [BITS 32] or\n [BITS 64] to the start.",
" To use:",
" convert(\"\"\"\n 55\n 53\n 50\n BDE97F071E\n FFD5\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the leaves API.
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 leaves API.
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 ... | Generator that returns the leaves of the tree | "Generator that returns the leaves of the tree" | 3,640 | true | fabioz/PyDev.Debugger | leaves | 34,618 | |
LDU_FT/Jarn/jarn.mkrelease/getoutputencoding | LDU_FT | [
"<BEGIN>\n## `walk_revctrl`",
"Return files found by the file-finder 'ff'.\n<END>",
"<BEGIN>\n## `cleanup_pycache`",
"Remove .pyc files we leave around because of import.\n<END>",
"<BEGIN>\n## `run`",
"Run setup.py with monkey patches applied.\n<END>",
"<BEGIN>\n## `getinputencoding`",
"Return preferr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getoutputencoding API.
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 getoutputencoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return preferred encoding for writing to ``stream``.
``stream`` defaults to sys.stdout. | "Return preferred encoding for writing to ``stream``.\n\n ``stream`` defaults to sys.stdout." | 46 | false | Jarn/jarn.mkrelease | getoutputencoding | 34,619 | |
LDU_FT/shaypal5/barn/dataset_dirpath | LDU_FT | [
"<BEGIN>\n## `data_dirpath`",
"Get the path of the corresponding data directory.",
" Parameters\n ----------\n task : str, optional\n The task for which datasets in the desired directory are used for. If\n not given, a path for the corresponding task-agnostic directory is\n returne... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataset_dirpath API.
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 dataset_dirpath API.
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... | Get the path of the corresponding dataset file.
Parameters
----------
dataset_name : str, optional
The name of the dataset. Used to define a sub-directory to contain all
instances of the dataset. If not given, a dataset-agnostic directory
path is returned.
task : str, optional
... | "Get the path of the corresponding dataset file.\n\n Parameters\n ----------\n dataset_name : str, optional\n The name of the dataset. Used to define a sub-directory to contain all\n instances of the dataset. If not given, a dataset-agnostic directory\n path is returned.\n task : str, o... | 51 | false | shaypal5/barn | dataset_dirpath | 34,620 | |
LDU_FT/salu133445/pypianoroll/pad | LDU_FT | [
"<BEGIN>\n## `plot_pianoroll`",
"Plot a pianoroll given as a numpy array.",
" Parameters\n ----------\n ax : matplotlib.axes.Axes object\n A :class:`matplotlib.axes.Axes` object where the pianoroll will be\n plotted on.\n pianoroll : np.ndarray\n A pianoroll to be plotted. The v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pad API.
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 pad API.
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... | Pad the pianoroll with zeros at the end along the time axis.
Parameters
----------
pad_length : int
The length to pad with zeros along the time axis. | "Pad the pianoroll with zeros at the end along the time axis.\n\n Parameters\n ----------\n pad_length : int\n The length to pad with zeros along the time axis." | 196 | false | salu133445/pypianoroll | pad | 34,621 | |
LDU_FT/toumorokoshi/sprinter/add_inputs_from_inputstring | LDU_FT | [
"<BEGIN>\n## `whitespace_smart_split`",
"Split a command by whitespace, taking care to not split on\n whitespace within quotes.",
" >>> whitespace_smart_split(\"test this \\\\\\\"in here\\\\\\\" again\")\n ['test', 'this', '\"in here\"', 'again']\n<END>",
"<BEGIN>\n## `sync`",
"execute the steps re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_inputs_from_inputstring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_inputs_from_inputstring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Add inputs using the input string format:
gitroot==~/workspace
username
password?
main_branch==comp_main | "Add inputs using the input string format:\n\n gitroot==~/workspace\n username\n password?\n main_branch==comp_main" | 150 | false | toumorokoshi/sprinter | add_inputs_from_inputstring | 34,622 | |
LDU_FT/latchset/jwcrypto/add_recipient | LDU_FT | [
"<BEGIN>\n## `encrypt`",
"Encrypt according to the selected encryption and hashing\n functions.",
" :param k: Encryption key (optional)\n :param a: Additional Authentication Data\n :param m: Plaintext",
" Returns a dictionary with the computed data.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_recipient API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_recipient API.
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... | Encrypt the plaintext with the given key.
:param key: A JWK key or password of appropriate type for the 'alg'
provided in the JOSE Headers.
:param header: A JSON string representing the per-recipient header.
:raises ValueError: if the plaintext is missing or not of type bytes.
... | "Encrypt the plaintext with the given key.\n\n :param key: A JWK key or password of appropriate type for the 'alg'\n provided in the JOSE Headers.\n :param header: A JSON string representing the per-recipient header.\n\n :raises ValueError: if the plaintext is missing or not of type bytes.\... | 101 | false | latchset/jwcrypto | add_recipient | 34,623 | |
LDU_FT/hsolbrig/jsonasobj/as_json | LDU_FT | [
"<BEGIN>\n## `loads`",
"Convert a json_str into a JsonObj",
" :param s: a str instance containing a JSON document\n :param kwargs: arguments see: json.load for details\n :return: JsonObj representing the json string\n<END>",
"<BEGIN>\n## `load`",
"Deserialize a JSON source.",
" :param source: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Convert obj to json string representation.
:param obj: pseudo 'self'
:param indent: indent argument to dumps
:param kwargs: other arguments for dumps
:return: JSON formatted string | "Convert obj to json string representation.\n\n :param obj: pseudo 'self'\n :param indent: indent argument to dumps\n :param kwargs: other arguments for dumps\n :return: JSON formatted string" | 26 | false | hsolbrig/jsonasobj | as_json | 34,624 | |
LDU_FT/stephantul/somber/_pre_train | LDU_FT | [
"<BEGIN>\n## `_calculate_influence`",
"Pre-calculate the influence for a given value of sigma.",
" The neighborhood has size num_neurons * num_neurons, so for a\n 30 * 30 map, the neighborhood will be size (900, 900).",
" Parameters\n ----------\n neighborhood : float\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pre_train API.
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 _pre_train API.
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... | Set parameters and constants before training. | "Set parameters and constants before training." | 123 | false | stephantul/somber | _pre_train | 34,625 | |
LDU_FT/lltk/lltk/_first | LDU_FT | [
"<BEGIN>\n## `pos`",
"Tries to decide about the part of speech.\n<END>",
"<BEGIN>\n## `articles`",
"Tries to scrape the correct articles for singular and plural from uitmuntend.nl.\n<END>",
"<BEGIN>\n## `plural`",
"Tries to scrape the plural version from uitmuntend.nl.\n<END>",
"<BEGIN>\n## `warning`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _first API.
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 _first API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns the first element with required POS-tag. | "Returns the first element with required POS-tag." | 80 | false | lltk/lltk | _first | 34,626 | |
LDU_FT/rgs1/zk_shell/get | LDU_FT | [
"<BEGIN>\n## `extract_acl`",
"parse an individual ACL (i.e.: world:anyone:cdrwa)\n<END>",
"<BEGIN>\n## `check_path_exists_foreach`",
"check that paths exist (unless we are in a transaction)\n<END>",
"<BEGIN>\n## `check_path_absent`",
"check path doesn't exist (unless we are in a txn or it's sequential)",
... | 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... | Paths matching exclude_recurse will not be recursed. | "Paths matching exclude_recurse will not be recursed." | 379 | false | rgs1/zk_shell | get | 34,627 | |
LDU_FT/scraperwiki/data-services-helpers/_download_without_backoff | LDU_FT | [
"<BEGIN>\n## `update_status`",
"Set the status endpoint on ScraperWiki to the latest entry e.g.\n 'Latest entry: 2013-10-01'\n<END>",
"<BEGIN>\n## `install_cache`",
"Patches the requests library with requests_cache.\n<END>",
"<BEGIN>\n## `download_url`",
"Get the content of a URL and return a file-like... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_without_backoff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_without_backoff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Get the content of a URL and return a file-like object. | "Get the content of a URL and return a file-like object." | 10 | false | scraperwiki/data-services-helpers | _download_without_backoff | 34,628 | |
LDU_FT/hackthefed/govtrack2csv/lis_to_bio_map | LDU_FT | [
"<BEGIN>\n## `import_legislators`",
"Read the legislators from the csv files into a single Dataframe. Intended\n for importing new data.\n<END>",
"<BEGIN>\n## `import_committees`",
"Read the committees from the csv files into a single Dataframe. Intended for importing new data.\n<END>",
"<BEGIN>\n## `mov... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lis_to_bio_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lis_to_bio_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 ex... | Senators have a lis_id that is used in some places. That's dumb. Build a
dict from lis_id to bioguide_id which every member of congress has. | "Senators have a lis_id that is used in some places. That's dumb. Build a\n dict from lis_id to bioguide_id which every member of congress has." | 24 | false | hackthefed/govtrack2csv | lis_to_bio_map | 34,629 | |
LDU_FT/limodou/uliweb/create_model | LDU_FT | [
"<BEGIN>\n## `get_frame_info`",
"Return a dict of information about a given traceback.\n<END>",
"<BEGIN>\n## `get_sort_field`",
"Get sort column info according request, the data format just likes:\r",
" ?sort=fieldA.asc&sort=fieldB.desc\r",
" or:\r",
" ?sort=fieldA&sort=fieldB&order... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 create_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... | Create model dynamically
:param fields: Just format like [
{'name':name, 'type':type, ...},
...
]
type should be a string, eg. 'str', 'int', etc
kwargs will be passed to Property.__init__() according fie... | "Create model dynamically\n\n :param fields: Just format like [\n {'name':name, 'type':type, ...},\n ...\n ]\n type should be a string, eg. 'str', 'int', etc\n kwargs will be passed to Property.__init__() accor... | 886 | false | limodou/uliweb | create_model | 34,630 | |
LDU_FT/quantopian/trading_calendars/register_calendar | LDU_FT | [
"<BEGIN>\n## `days_at_time`",
"Create an index of days at time ``t``, interpreted in timezone ``tz``.",
" The returned index is localized to UTC.",
" Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_calendar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_calendar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Registers a calendar for retrieval by the get_calendar method.
Parameters
----------
name: str
The key with which to register this calendar.
calendar: TradingCalendar
The calendar to be registered for retrieval.
force : bool, optional
If True,... | "Registers a calendar for retrieval by the get_calendar method.\n\n Parameters\n ----------\n name: str\n The key with which to register this calendar.\n calendar: TradingCalendar\n The calendar to be registered for retrieval.\n force : bool, optional\n ... | 150 | false | quantopian/trading_calendars | register_calendar | 34,631 | |
LDU_FT/OCR-D/core/_validate_mets_file_group_names | LDU_FT | [
"<BEGIN>\n## `xmllint_format`",
"Pretty-print XML like ``xmllint`` does.",
" Arguments:\n xml (string): Serialized XML\n<END>",
"<BEGIN>\n## `download_to_directory`",
"Download a file to the workspace.",
" Early Shortcut: If url is a file://-URL and that file is already in the directory, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_mets_file_group_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_mets_file_group_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Ensure ``USE`` attributes of ``mets:fileGrp`` conform to OCR-D naming schema..
See `spec <https://ocr-d.github.io/mets#file-group-use-syntax>`_. | "Ensure ``USE`` attributes of ``mets:fileGrp`` conform to OCR-D naming schema..\n\n See `spec <https://ocr-d.github.io/mets#file-group-use-syntax>`_." | 176 | false | OCR-D/core | _validate_mets_file_group_names | 34,632 | |
LDU_FT/tomduck/pandoc-xnos/detach_attrs_factory | LDU_FT | [
"<BEGIN>\n## `_repeat`",
"Repeats func(...) call until something other than None is returned.\n<END>",
"<BEGIN>\n## `init`",
"Sets or determines the pandoc version. This must be called.",
" The pandoc version is needed for multi-version support.\n See: https://github.com/jgm/pandoc/issues/2640",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detach_attrs_factory 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 detach_attrs_factory 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 detach_attrs(key, value, fmt, meta) action that detaches
attributes attached to elements of type f (e.g. pandocfilters.Math, etc).
Attributes provided natively by pandoc will be left as is. | "Returns detach_attrs(key, value, fmt, meta) action that detaches\n attributes attached to elements of type f (e.g. pandocfilters.Math, etc).\n Attributes provided natively by pandoc will be left as is." | 63 | false | tomduck/pandoc-xnos | detach_attrs_factory | 34,633 | |
LDU_FT/kiwiz/gkeepapi/all | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate to Google with the provided credentials.",
" Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.",
" Raises:\n LoginException: If there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API.
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 all API.
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... | Get all collaborators.
Returns:
List[str]: Collaborators. | "Get all collaborators.\n\n Returns:\n List[str]: Collaborators." | 164 | false | kiwiz/gkeepapi | all | 34,634 | |
LDU_FT/deshima-dev/decode/r_division | LDU_FT | [
"<BEGIN>\n## `xarrayfunc`",
"Make a function compatible with xarray.DataArray.",
" This function is intended to be used as a decorator like::",
" >>> @dc.xarrayfunc\n >>> def func(array):\n ... # do something\n ... return newarray\n >>>\n >>> result = func(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r_division API.
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 r_division API.
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... | Apply R division.
Args:
onarray (decode.array): Decode array of on-point observations.
offarray (decode.array): Decode array of off-point observations.
rarray (decode.array): Decode array of R observations.
mode (str): Method for the selection of nominal R value.
'mean':... | "Apply R division.\n\n Args:\n onarray (decode.array): Decode array of on-point observations.\n offarray (decode.array): Decode array of off-point observations.\n rarray (decode.array): Decode array of R observations.\n mode (str): Method for the selection of nominal R value.\n ... | 137 | false | deshima-dev/decode | r_division | 34,635 | |
LDU_FT/stbraun/fuzzing/__parse_app_list | LDU_FT | [
"<BEGIN>\n## `step_impl03`",
"Check assertions.",
" :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl`",
"Check assertions.",
" :param max_modified: maximum expected number of modifications.\n :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl06`",
"Execute fuzzer.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __parse_app_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 __parse_app_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 ... | Parse list of apps for arguments.
:param app_list: list of apps with optional arguments.
:return: list of apps and assigned argument dict.
:rtype: [String], {String: [String]} | "Parse list of apps for arguments.\n\n :param app_list: list of apps with optional arguments.\n :return: list of apps and assigned argument dict.\n :rtype: [String], {String: [String]}" | 79 | false | stbraun/fuzzing | __parse_app_list | 34,636 | |
LDU_FT/innogames/polysh/handle_read | LDU_FT | [
"<BEGIN>\n## `process_input_buffer`",
"Send the content of the input buffer to all remote processes, this must\n be called in the main thread\n<END>",
"<BEGIN>\n## `write_main_socket`",
"Synchronous write to the main socket, wait for ACK\n<END>",
"<BEGIN>\n## `get_stdin_pid`",
"Try to get the PID of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Handle all the available character commands in the socket | "Handle all the available character commands in the socket" | 66 | false | innogames/polysh | handle_read | 34,637 | |
LDU_FT/iblancasa/GitHubCity/__getJoin | LDU_FT | [
"<BEGIN>\n## `export`",
"Export all attributes of the user to a dict.",
" :return: attributes of the user.\n :rtype: dict.\n<END>",
"<BEGIN>\n## `__getContributions`",
"Scrap the contributions from a GitHub profile.",
" :param web: parsed web.\n :type web: BeautifulSoup node.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __getJoin API.
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 __getJoin API.
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... | Scrap the join date from a GitHub profile.
:param web: parsed web.
:type web: BeautifulSoup node. | "Scrap the join date from a GitHub profile.\n\n :param web: parsed web.\n :type web: BeautifulSoup node." | 97 | false | iblancasa/GitHubCity | __getJoin | 34,638 | |
LDU_FT/pymacaron/pymacaron-core/_responsify | LDU_FT | [
"<BEGIN>\n## `merge`",
"Try merging all the bravado_core models across all loaded APIs. If\n duplicates occur, use the same bravado-core model to represent each, so\n bravado-core won't treat them as different models when passing them\n from one PyMacaron client stub to an other or when retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _responsify API.
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 _responsify API.
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... | Take a bravado-core model representing an error, and return a Flask Response
with the given error code and error instance as body | "Take a bravado-core model representing an error, and return a Flask Response\n with the given error code and error instance as body" | 33 | false | pymacaron/pymacaron-core | _responsify | 34,639 | |
LDU_FT/klmitch/policies/push_rule | LDU_FT | [
"<BEGIN>\n## `rule`",
"Allows evaluation of another rule while evaluating a rule.",
" :param ctxt: The evaluation context for the rule.\n :param name: The name of the rule to evaluate.\n<END>",
"<BEGIN>\n## `resolve`",
"Resolve a symbol encountered during a rule evaluation into the\n actual val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Allow one rule to be evaluated in the context of another.
This allows keeping track of the rule names during nested rule
evaluation.
:param name: The name of the nested rule to be evaluated.
:returns: A context manager, suitable for use with the
``with`` statement. N... | "Allow one rule to be evaluated in the context of another.\n This allows keeping track of the rule names during nested rule\n evaluation.\n\n :param name: The name of the nested rule to be evaluated.\n\n :returns: A context manager, suitable for use with the\n ``with`` state... | 50 | false | klmitch/policies | push_rule | 34,640 | |
LDU_FT/danielperna84/pyhomematic/get_effect | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the server thread if it wasn't created with autostart = True.\n<END>",
"<BEGIN>\n## `getSystemVariable`",
"Get single system variable from CCU / Homegear\n<END>",
"<BEGIN>\n## `deleteSystemVariable`",
"Delete a system variable from CCU / Homegear\n<END>",
"<BEGIN>\n## `setI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_effect API.
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_effect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the current color change program of the light. | "Return the current color change program of the light." | 83 | false | danielperna84/pyhomematic | get_effect | 34,641 | |
LDU_FT/DiamondLightSource/python-workflows/parse_band_status_update | LDU_FT | [
"<BEGIN>\n## `_wrap_subscription`",
"Internal method to create an intercepting function for incoming messages\n to interpret recipes. This function is then used to subscribe to a channel\n on the transport layer.\n :param transport_layer: Reference to underlying transport object.\n :param subscrip... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_band_status_update 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 parse_band_status_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Process incoming status updates from the service. | "Process incoming status updates from the service." | 160 | false | DiamondLightSource/python-workflows | parse_band_status_update | 34,642 | |
LDU_FT/acoomans/flask-autodoc/html | LDU_FT | [
"<BEGIN>\n## `add_custom_nl2br_filters`",
"Add a custom filter nl2br to jinja2\n Replaces all newline to <BR>\n<END>",
"<BEGIN>\n## `doc`",
"Add flask route to autodoc for automatic documentation",
" Any route decorated with this method will be added to the list of\n routes to be docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return an html string of the routes specified by the doc() method
A template can be specified. A list of routes is available under the
'autodoc' value (refer to the documentation for the generate() for a
description of available values). If no template is specified, a
default template i... | "Return an html string of the routes specified by the doc() method\n\n A template can be specified. A list of routes is available under the\n 'autodoc' value (refer to the documentation for the generate() for a\n description of available values). If no template is specified, a\n default temp... | 20 | false | acoomans/flask-autodoc | html | 34,643 | |
LDU_FT/bmwcarit/zubbi/prettydate | LDU_FT | [
"<BEGIN>\n## `verify_signature`",
"Verify that the payload was sent from our GitHub instance.\n<END>",
"<BEGIN>\n## `parse_job_files`",
"Check for job definitions in known zuul files.\n<END>",
"<BEGIN>\n## `_initialize_repo_cache`",
"Initialize the repository cache used for scraping.",
" Retrieves a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prettydate API.
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 prettydate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the relative timeframe between the given date and now.
e.g. 'Just now', 'x days ago', 'x hours ago', ...
When the difference is greater than 7 days, the timestamp will be returned
instead. | "Return the relative timeframe between the given date and now.\n\n e.g. 'Just now', 'x days ago', 'x hours ago', ...\n\n When the difference is greater than 7 days, the timestamp will be returned\n instead." | 22 | false | bmwcarit/zubbi | prettydate | 34,644 | |
LDU_FT/pyhys/minimalmodbus/read_register | LDU_FT | [
"<BEGIN>\n## `_checkSetpointValue`",
"Check that the given setpointvalue is valid.",
" Args:\n * setpointvalue (numerical): The setpoint value to be checked. Must be positive.\n * maxvalue (numerical): Upper limit for setpoint value. Must be positive.",
" Raises:\n TypeError, ValueE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Read an integer from one 16-bit register in the slave, possibly scaling it.
The slave register can hold integer values in the range 0 to 65535 ("Unsigned INT16").
Args:
* registeraddress (int): The slave register address (use decimal numbers, not hex).
* numberOfDecimals (int):... | "Read an integer from one 16-bit register in the slave, possibly scaling it.\n\n The slave register can hold integer values in the range 0 to 65535 (\"Unsigned INT16\").\n\n Args:\n * registeraddress (int): The slave register address (use decimal numbers, not hex).\n * numberOfDecima... | 357 | false | pyhys/minimalmodbus | read_register | 34,645 | |
LDU_FT/slarse/pdfebc-core/write_config | LDU_FT | [
"<BEGIN>\n## `send_with_attachments`",
"Send an email from the user (a gmail) to the receiver.",
" Args:\n subject (str): Subject of the email.\n message (str): A message.\n filepaths (list(str)): Filepaths to files to be attached.\n config (defaultdict): A defaultdict.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extr... | Write the config to the output path.
Creates the necessary directories if they aren't there.
Args:
config (configparser.ConfigParser): A ConfigParser. | "Write the config to the output path.\n Creates the necessary directories if they aren't there.\n\n Args:\n config (configparser.ConfigParser): A ConfigParser." | 56 | false | slarse/pdfebc-core | write_config | 34,646 | |
LDU_FT/sjkingo/virtualenv-api/upgrade_all | LDU_FT | [
"<BEGIN>\n## `_python_rpath`",
"The relative path (from environment root) to python.\n<END>",
"<BEGIN>\n## `_create`",
"Executes `virtualenv` to create a new environment.\n<END>",
"<BEGIN>\n## `_execute_pip`",
"Executes pip commands.",
" :param args: Arguments to pass to pip (list[str])\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upgrade_all API.
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 upgrade_all API.
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... | Upgrades all installed packages to their latest versions. | "Upgrades all installed packages to their latest versions." | 38 | false | sjkingo/virtualenv-api | upgrade_all | 34,647 | |
LDU_FT/jsvine/spectra/RgbToYuv | LDU_FT | [
"<BEGIN>\n## `cmyk`",
"Create a spectra.Color object in the CMYK color space.",
" :param float c: c coordinate.\n :param float m: m coordinate.\n :param float y: y coordinate.\n :param float k: k coordinate.",
" :rtype: Color\n :returns: A spectra.Color object in the CMYK color space.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RgbToYuv API.
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 RgbToYuv API.
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... | Convert the color from RGB coordinates to YUV.
Parameters:
:r:
The Red component value [0...1]
:g:
The Green component value [0...1]
:b:
The Blue component value [0...1]
Returns:
The color as an (y, u, v) tuple in the range:
y[0...1],
u[-0.436...0.43... | "Convert the color from RGB coordinates to YUV.\n\n Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]\n\n Returns:\n The color as an (y, u, v) tuple in the range:\n y[0...1],\n u... | 265 | false | jsvine/spectra | RgbToYuv | 34,648 | |
LDU_FT/letuananh/chirptext/read_file | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a file at $url and save it to $path\n<END>",
"<BEGIN>\n## `parse`",
"Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>",
"<BEGIN>\n## `flex_update_obj`",
"Pull data from source to target.\n Target's __dict__ (object data) w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Read a configuration file and return configuration data | "Read a configuration file and return configuration data" | 80 | false | letuananh/chirptext | read_file | 34,649 | |
LDU_FT/pytroll/pyorbital/ascat | LDU_FT | [
"<BEGIN>\n## `gmst`",
"Greenwich mean sidereal utc_time, in radians.",
" As defined in the AIAA 2006 implementation:\n http://www.celestrak.com/publications/AIAA/2006-6753/\n<END>",
"<BEGIN>\n## `sun_ecliptic_longitude`",
"Ecliptic longitude of the sun at *utc_time*.\n<END>",
"<BEGIN>\n## `sun_ra_de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ascat API.
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 ascat API.
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... | ASCAT make two scans one to the left and one to the right of the
sub-satellite track. | "ASCAT make two scans one to the left and one to the right of the\n sub-satellite track." | 83 | false | pytroll/pyorbital | ascat | 34,650 | |
LDU_FT/vicenteneto/python-cartolafc/times | LDU_FT | [
"<BEGIN>\n## `set_credentials`",
"Realiza a autenticação no sistema do CartolaFC utilizando o email e password informados.",
" Args:\n email (str): O email do usuário\n password (str): A senha do usuário",
" Raises:\n cartolafc.CartolaFCError: Se o conjunto (emai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the times API.
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 times API.
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... | Retorna o resultado da busca ao Cartola por um determinado termo de pesquisa.
Args:
query (str): Termo para utilizar na busca.
Returns:
Uma lista de instâncias de cartolafc.TimeInfo, uma para cada time contento o termo utilizado na busca. | "Retorna o resultado da busca ao Cartola por um determinado termo de pesquisa.\n\n Args:\n query (str): Termo para utilizar na busca.\n\n Returns:\n Uma lista de instâncias de cartolafc.TimeInfo, uma para cada time contento o termo utilizado na busca." | 33 | false | vicenteneto/python-cartolafc | times | 34,651 | |
LDU_FT/svven/summary/extract | LDU_FT | [
"<BEGIN>\n## `load_raw_rules`",
"Load raw rules from url or package file.\n<END>",
"<BEGIN>\n## `get_image`",
"Returned Image instance has response url.\r\n This might be different than the url param because of redirects.\n<END>",
"<BEGIN>\n## `check_color`",
"Just check if raw_image is completely ... | 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... | Extract http-equiv refresh url to follow. | "Extract http-equiv refresh url to follow." | 41 | false | svven/summary | extract | 34,652 | |
LDU_FT/mosdef-hub/foyer/_check_independent_residues | LDU_FT | [
"<BEGIN>\n## `_find_chordless_cycles`",
"Find all chordless cycles (i.e. rings) in the bond graph",
" Traverses the bond graph to determine all cycles (i.e. rings) each\n atom is contained within. Algorithm has been adapted from:\n https://stackoverflow.com/questions/4022662/find-all-chordless-cycles-i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_independent_residues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_independent_residues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Check to see if residues will constitute independent graphs. | "Check to see if residues will constitute independent graphs." | 53 | false | mosdef-hub/foyer | _check_independent_residues | 34,653 | |
LDU_FT/minorg/pastpy/read | LDU_FT | [
"<BEGIN>\n## `read`",
"Read a new object from the given input protocol and return the object.",
" :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.impl.dbf.objects_dbf_record.ObjectsDbfRecord\n<END>",
"<BEGIN>\n## `write`",
"Write this object to the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Read a new object from the given input protocol and return the object.
:type iprot: thryft.protocol._input_protocol._InputProtocol
:rtype: pastpy.gen.database.database_configuration.DatabaseConfiguration | "Read a new object from the given input protocol and return the object.\n\n :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.database_configuration.DatabaseConfiguration" | 42 | false | minorg/pastpy | read | 34,654 | |
LDU_FT/openeventdata/mordecai/query_geonames_country | 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 query_geonames_country 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 query_geonames_country API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Like query_geonames, but this time limited to a specified country. | "Like query_geonames, but this time limited to a specified country." | 110 | false | openeventdata/mordecai | query_geonames_country | 34,655 | |
LDU_FT/Microsoft/ApplicationInsights-Python/node_name | LDU_FT | [
"<BEGIN>\n## `track_pageview`",
"Send information about the page viewed in the application (a web page for instance).",
" Args:\n name (str). the name of the page that was viewed.\\n\n url (str). the URL of the page that was viewed.\\n\n duration (int). the duration of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | The node_name property.
Args:
value (string). the property value. | "The node_name property.\n \n Args:\n value (string). the property value." | 268 | false | Microsoft/ApplicationInsights-Python | node_name | 34,656 | |
LDU_FT/pikepdf/pikepdf/_from_pil_image | LDU_FT | [
"<BEGIN>\n## `encode_pdf_date`",
"Encode Python datetime object as PDF date string",
" From Adobe pdfmark manual:\n (D:YYYYMMDDHHmmSSOHH'mm')\n D: is an optional prefix. YYYY is the year. All fields after the year are\n optional. MM is the month (01-12), DD is the day (01-31), HH is the\n hour (0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _from_pil_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _from_pil_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 e... | Insert a PIL image into a PDF (rudimentary)
:param pdf: the PDF to attach the image to
:type pdf: pikepdf.Pdf
:param page: the page to attach the image to
:param name: the name to set the image
:param image: image
:type image: PIL.Image.Image | "Insert a PIL image into a PDF (rudimentary)\n\n :param pdf: the PDF to attach the image to\n :type pdf: pikepdf.Pdf\n :param page: the page to attach the image to\n :param name: the name to set the image\n :param image: image\n :type image: PIL.Image.Image" | 104 | false | pikepdf/pikepdf | _from_pil_image | 34,657 | |
LDU_FT/Gorialis/jishaku/jsk_vc_volume | LDU_FT | [
"<BEGIN>\n## `get_var_dict_from_ctx`",
"Returns the dict to be used in REPL for a given Context.\n<END>",
"<BEGIN>\n## `background_reader`",
"Reads a stream and forwards each line to an async callback.\n<END>",
"<BEGIN>\n## `make_reader_task`",
"Create a reader executor task for a stream.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsk_vc_volume API.
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 jsk_vc_volume API.
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... | Adjusts the volume of an audio source if it is supported. | "Adjusts the volume of an audio source if it is supported." | 161 | false | Gorialis/jishaku | jsk_vc_volume | 34,658 | |
LDU_FT/myusuf3/delorean/localize | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses a datetime string and returns a `Delorean` object.",
" :param datetime_str: The string to be interpreted into a `Delorean` object.\n :param timezone: Pass this parameter and the returned Delorean object will be normalized to this timezone. Any\n offsets passed as part... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localize API.
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 localize API.
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... | Given a naive datetime object this method will return a localized
datetime object | "Given a naive datetime object this method will return a localized\n datetime object" | 85 | false | myusuf3/delorean | localize | 34,659 | |
LDU_FT/xenadevel/PyXenaManager/get_flat_stats | LDU_FT | [
"<BEGIN>\n## `sendQuery`",
"Send command, wait for response (single or multi lines), test for errors and return the returned code.",
" :param cmd: command to send\n :param multilines: True - multiline response, False - single line response.\n :return: command return value.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flat_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flat_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | :return: statistics as flat table {port/strea,/tpld name {group_stat name: value}} | ":return: statistics as flat table {port/strea,/tpld name {group_stat name: value}}" | 140 | false | xenadevel/PyXenaManager | get_flat_stats | 34,660 | |
LDU_FT/miyakogi/wdom/html | LDU_FT | [
"<BEGIN>\n## `get_class_list`",
"Get class-level class list, including all super class's.\n<END>",
"<BEGIN>\n## `removeClass`",
"[Not Standard] Remove classes from this node.\n<END>",
"<BEGIN>\n## `appendChild`",
"Append child node at the last of child nodes.",
" If this instance is connected to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return html-escaped string representation of this node. | "Return html-escaped string representation of this node." | 233 | false | miyakogi/wdom | html | 34,661 | |
LDU_FT/pandas-dev/pandas/_align_series | LDU_FT | [
"<BEGIN>\n## `to_offset`",
"Return DateOffset object from string or tuple representation\n or datetime.timedelta object",
" Parameters\n ----------\n freq : str, tuple, datetime.timedelta, DateOffset or None",
" Returns\n -------\n DateOffset\n None if freq is None.",
" Raises... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _align_series API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _align_series API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parameters
----------
indexer : tuple, slice, scalar
The indexer used to get the locations that will be set to
`ser`
ser : pd.Series
The values to assign to the locations specified by `indexer`
multiindex_indexer : boolean, optional
Defau... | "Parameters\n ----------\n indexer : tuple, slice, scalar\n The indexer used to get the locations that will be set to\n `ser`\n\n ser : pd.Series\n The values to assign to the locations specified by `indexer`\n\n multiindex_indexer : boolean, optional\n ... | 8,110 | true | pandas-dev/pandas | _align_series | 34,662 | |
LDU_FT/Tenchi2xh/Almonds/set_cursor | LDU_FT | [
"<BEGIN>\n## `extrema`",
"Returns the minimum and maximum values contained in a given area.",
" :param x0: Starting x index.\n :param y0: Starting y index.\n :param w: Width of the area to scan.\n :param h: Height of the area to scan.\n :return: Tuple containing the minimu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cursor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cursor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Sets the cursor to the desired position.
:param x: X position
:param y: Y position | "Sets the cursor to the desired position.\n\n :param x: X position\n :param y: Y position" | 79 | false | Tenchi2xh/Almonds | set_cursor | 34,663 | |
LDU_FT/mdscruggs/ga/copy | LDU_FT | [
"<BEGIN>\n## `eval_fitness`",
"Convert a 1-gene chromosome into an integer and calculate its fitness\n by checking it against each required factor.",
" return: fitness value\n<END>",
"<BEGIN>\n## `translate_chromosome`",
"Translate all the genes in a chromosome.",
" chromosome: a ``... | 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... | Return a new instance of this chromosome by copying its genes. | "Return a new instance of this chromosome by copying its genes." | 94 | false | mdscruggs/ga | copy | 34,664 | |
LDU_FT/NoneGG/aredis/release | LDU_FT | [
"<BEGIN>\n## `merge_result`",
"Merge all items in `res` into a list.",
" This command is used when sending a command to multiple nodes\n and they result from each node should be merged into a single list.\n<END>",
"<BEGIN>\n## `first_key`",
"Returns the first result for the given command.",
" If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API.
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 release API.
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... | Releases the connection back to the pool | "Releases the connection back to the pool" | 421 | false | NoneGG/aredis | release | 34,665 | |
LDU_FT/jay-johnson/network-pipeline/start_consumers_for_queue | LDU_FT | [
"<BEGIN>\n## `publish_processed_network_packets`",
"# Redis/RabbitMQ/SQS messaging endpoints for pub-sub\n routing_key = ev(\"PUBLISH_EXCHANGE\",\n \"reporting.accounts\")\n queue_name = ev(\"PUBLISH_QUEUE\",\n \"reporting.accounts\")\n auth_url = ev(\"PUB_BROKER_UR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_consumers_for_queue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_consumers_for_queue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | start_consumers_for_queue
:param prefix_name:
:param num_workers:
:param tasks:
:param queue_to_consume:
:param shutdown_msg:
:param consumer_class:
:param need_response:
:param callback: | "start_consumers_for_queue\n\n :param prefix_name:\n :param num_workers:\n :param tasks:\n :param queue_to_consume:\n :param shutdown_msg:\n :param consumer_class:\n :param need_response:\n :param callback:" | 140 | false | jay-johnson/network-pipeline | start_consumers_for_queue | 34,666 | |
LDU_FT/inveniosoftware/invenio-openaire/fundrefxml2json | LDU_FT | [
"<BEGIN>\n## `get_text_node`",
"Return a text node from given XML tree given an lxml XPath.\n<END>",
"<BEGIN>\n## `iter_grants`",
"Fetch grants from a remote OAI-PMH endpoint.",
" Return the Sickle-provided generator object.\n<END>",
"<BEGIN>\n## `dump`",
"Dump the grant information to a local st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fundrefxml2json API.
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 fundrefxml2json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Convert a FundRef 'skos:Concept' node into JSON. | "Convert a FundRef 'skos:Concept' node into JSON." | 33 | false | inveniosoftware/invenio-openaire | fundrefxml2json | 34,667 | |
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/_fetch_meta_data | LDU_FT | [
"<BEGIN>\n## `update_get_params`",
"Update HTTP GET params with the given fields that user wants to fetch.\n<END>",
"<BEGIN>\n## `_fetch_meta_data`",
"Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>",
"<BEGIN>\n## `_populate_data`",
"Assing some probe's raw meta da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_meta_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_meta_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Makes an API call to fetch meta data for the given probe and stores the raw data. | "Makes an API call to fetch meta data for the given probe and stores the raw data." | 62 | false | RIPE-NCC/ripe-atlas-cousteau | _fetch_meta_data | 34,668 | |
LDU_FT/edeposit/edeposit.amqp.aleph/from_xml | LDU_FT | [
"<BEGIN>\n## `from_xml`",
"Pick informations from :class:`.MARCXMLRecord` object and use it to\n build :class:`.SemanticInfo` structure.",
" Args:\n xml (str/MARCXMLRecord): MarcXML which will be converted to\n SemanticInfo. In case of str, ``<record>`` tag is required.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_xml API.
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 from_xml API.
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... | Pick informations from :class:`.MARCXMLRecord` object and use it to
build :class:`.SemanticInfo` structure.
Args:
xml (str/MARCXMLRecord): MarcXML which will be converted to
SemanticInfo. In case of str, ``<record>`` tag is required.
Returns:
structure: ... | "Pick informations from :class:`.MARCXMLRecord` object and use it to\n build :class:`.SemanticInfo` structure.\n\n Args:\n xml (str/MARCXMLRecord): MarcXML which will be converted to\n SemanticInfo. In case of str, ``<record>`` tag is required.\n\n Returns:\n st... | 102 | false | edeposit/edeposit.amqp.aleph | from_xml | 34,669 | |
LDU_FT/20c/grainy/container | LDU_FT | [
"<BEGIN>\n## `int_flags`",
"Converts string permission flags into integer permission flags as\n specified in const.PERM_STRING_MAP\n Arguments:\n - flags <str>: one or more flags\n For example: \"crud\" or \"ru\" or \"r\"\n - mapper <list=const.PERM_STRING_MAP>: a list containing tu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the container API.
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 container API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Creates a dict built from the keys of this namespace
Returns the dict created as well as the tail in a tuple
Example:
self.value = "a.b.c"
container, tail = self.container()
#{"a":{"b":{"c":{}}}, {}
container, tail = self.container({"d":123})
... | "Creates a dict built from the keys of this namespace\n\n Returns the dict created as well as the tail in a tuple\n\n Example:\n\n self.value = \"a.b.c\"\n\n container, tail = self.container()\n #{\"a\":{\"b\":{\"c\":{}}}, {}\n\n container, tail = self.container... | 47 | false | 20c/grainy | container | 34,670 | |
LDU_FT/mozilla/elasticutils/_process_query | LDU_FT | [
"<BEGIN>\n## `chunked`",
"Returns chunks of n length of iterable",
" If len(iterable) % n != 0, then the last chunk will have length\n less than n.",
" Example:",
" >>> chunked([1, 2, 3, 4, 5], 2)\n [(1, 2), (3, 4), (5,)]\n<END>",
"<BEGIN>\n## `format_explanation`",
"Return explanation in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_query API.
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... | Takes a key/val pair and returns the Elasticsearch code for it | "Takes a key/val pair and returns the Elasticsearch code for it" | 208 | false | mozilla/elasticutils | _process_query | 34,671 | |
LDU_FT/elifesciences/elife-article/build_self_uri_list | LDU_FT | [
"<BEGIN>\n## `build_contributors`",
"Given a list of authors from the parser, instantiate contributors\n objects and build them\n<END>",
"<BEGIN>\n## `build_datasets`",
"Given datasets in JSON format, build and return a list of dataset objects\n<END>",
"<BEGIN>\n## `build_data_availability`",
"Given da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_self_uri_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_self_uri_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.
T... | parse the self-uri tags, build Uri objects | "parse the self-uri tags, build Uri objects" | 44 | false | elifesciences/elife-article | build_self_uri_list | 34,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.