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/indico/indico-plugins/get_records_from_basket
LDU_FT
[ "<BEGIN>\n## `available_backends`", "Lists the currently available backend types\n<END>", "<BEGIN>\n## `initial_export`", "Performs the initial data export for an agent\n<END>", "<BEGIN>\n## `get_result`", "Perform the call and return the graph data", " :return: Encoded PNG graph data string to b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_records_from_basket 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_records_from_basket 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 the records from the (public) basket with given bskid
"Returns the records from the (public) basket with given bskid"
173
false
indico/indico-plugins
get_records_from_basket
25,873
LDU_FT/gwastro/pycbc/write_acceptance_fraction
LDU_FT
[ "<BEGIN>\n## `compute_u_val_for_sky_loc_stat`", "The max-over-sky location detection statistic maximizes over a phase,\n an amplitude and the ratio of F+ and Fx, encoded in a variable called u.\n Here we return the value of u for the given indices.\n<END>", "<BEGIN>\n## `compute_max_snr_over_sky_loc_stat_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_acceptance_fraction 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 write_acceptance_fraction API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Write acceptance_fraction data to file. Results are written to ``[sampler_group]/acceptance_fraction``; the resulting dataset has shape (ntemps, nwalkers). Parameters ----------- acceptance_fraction : numpy.ndarray Array of acceptance fractions to write. Must have s...
"Write acceptance_fraction data to file.\n\n Results are written to ``[sampler_group]/acceptance_fraction``; the\n resulting dataset has shape (ntemps, nwalkers).\n\n Parameters\n -----------\n acceptance_fraction : numpy.ndarray\n Array of acceptance fractions to write. Mu...
4,120
true
gwastro/pycbc
write_acceptance_fraction
25,874
LDU_FT/wooey/Wooey/toggle_favorite
LDU_FT
[ "<BEGIN>\n## `toggle_favorite`", "Add/remove an object to the user's favorites. Checks for existance and adds if not, else removes.\n This is the underlying mechanism for adding items to the user 'scrapbook' and favorite scripts.", " :param request:\n :param file_id:\n :return:\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toggle_favorite API. 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 toggle_favorite API. 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...
Add/remove an object to the user's favorites. Checks for existance and adds if not, else removes. This is the underlying mechanism for adding items to the user 'scrapbook' and favorite scripts. :param request: :param file_id: :return:
"Add/remove an object to the user's favorites. Checks for existance and adds if not, else removes.\n This is the underlying mechanism for adding items to the user 'scrapbook' and favorite scripts.\n\n :param request:\n :param file_id:\n :return:"
13
false
wooey/Wooey
toggle_favorite
25,875
LDU_FT/rdo-management/python-rdomanager-oscplugin/check_hypervisor_stats
LDU_FT
[ "<BEGIN>\n## `_csv_to_nodes_dict`", "Convert CSV to a list of dicts formatted for os_cloud_config", " Given a CSV file in the format below, convert it into the\n structure expected by os_could_config JSON files.", " pm_type, pm_addr, pm_user, pm_password, mac\n<END>", "<BEGIN>\n## `build_option_par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_hypervisor_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_hypervisor_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....
Check the Hypervisor stats meet a minimum value Check the hypervisor stats match the required counts. This is an implementation of a command in TripleO with the same name. :param compute_client: Instance of Nova client :type compute_client: novaclient.client.v2.Client :param nodes: The number of...
"Check the Hypervisor stats meet a minimum value\n\n Check the hypervisor stats match the required counts. This is an\n implementation of a command in TripleO with the same name.\n\n :param compute_client: Instance of Nova client\n :type compute_client: novaclient.client.v2.Client\n\n :param nodes: The ...
85
false
rdo-management/python-rdomanager-oscplugin
check_hypervisor_stats
25,876
LDU_FT/tBaxter/python-card-me/foldOneLine
LDU_FT
[ "<BEGIN>\n## `dateTimeToString`", "Ignore tzinfo unless convertToUTC. Output string.\n<END>", "<BEGIN>\n## `getrruleset`", "Get an rruleset created from self.", " If addRDate is True, add an RDATE for dtstart if it's not included in\n an RRULE, and count is decremented if it exists.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the foldOneLine API. 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 foldOneLine API. 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...
Folding line procedure that ensures multi-byte utf-8 sequences are not broken across lines TO-DO: This all seems odd. Is it still needed, especially in python3?
"Folding line procedure that ensures multi-byte utf-8 sequences are not broken across lines\n\n TO-DO: This all seems odd. Is it still needed, especially in python3?"
30
false
tBaxter/python-card-me
foldOneLine
25,877
LDU_FT/senaite/senaite.jsonapi/get_object_by_record
LDU_FT
[ "<BEGIN>\n## `get`", "Get a JSON compatible structure for the named attribute\n<END>", "<BEGIN>\n## `json_data`", "Get a JSON compatible value of the field\n<END>", "<BEGIN>\n## `set`", "Set the attribute to the given value.", " The keyword arguments represent the other attribute values\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_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. ...
Find an object by a given record Inspects request the record to locate an object :param record: A dictionary representation of an object :type record: dict :returns: Found Object or None :rtype: object
"Find an object by a given record\n\n Inspects request the record to locate an object\n\n :param record: A dictionary representation of an object\n :type record: dict\n :returns: Found Object or None\n :rtype: object"
205
false
senaite/senaite.jsonapi
get_object_by_record
25,878
LDU_FT/ManiacalLabs/PixelWeb/forms
LDU_FT
[ "<BEGIN>\n## `_re_flatten`", "Turn all capturing groups in a regular expression pattern into\n non-capturing groups.\n<END>", "<BEGIN>\n## `redirect`", "Aborts execution and causes a 303 or 302 redirect, depending on\n the HTTP protocol version.\n<END>", "<BEGIN>\n## `_file_iter_range`", "Yi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forms API. 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 forms API. 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...
Form values parsed from an `url-encoded` or `multipart/form-data` encoded POST or PUT request body. The result is returned as a :class:`FormsDict`. All keys and values are strings. File uploads are stored separately in :attr:`files`.
"Form values parsed from an `url-encoded` or `multipart/form-data`\n encoded POST or PUT request body. The result is returned as a\n :class:`FormsDict`. All keys and values are strings. File uploads\n are stored separately in :attr:`files`."
100
false
ManiacalLabs/PixelWeb
forms
25,879
LDU_FT/OpenAssets/openassets/asset_asset_swap
LDU_FT
[ "<BEGIN>\n## `issue`", "Creates a transaction for issuing an asset.", " :param TransferParameters issuance_spec: The parameters of the issuance.\n :param bytes metadata: The metadata to be embedded in the transaction.\n :param int fees: The fees to include in the transaction.\n :retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asset_asset_swap API. 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 asset_asset_swap API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Creates a transaction for swapping an asset for another asset. :param bytes asset1_id: The ID of the first asset. :param TransferParameters asset1_transfer_spec: The parameters of the first asset being transferred. It is also used for paying fees and/or receiving change if any. :par...
"Creates a transaction for swapping an asset for another asset.\n\n :param bytes asset1_id: The ID of the first asset.\n :param TransferParameters asset1_transfer_spec: The parameters of the first asset being transferred.\n It is also used for paying fees and/or receiving change if any.\n ...
60
false
OpenAssets/openassets
asset_asset_swap
25,880
LDU_FT/razor-x/scipy-data_fitting/add_symbol
LDU_FT
[ "<BEGIN>\n## `add_symbol`", "Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.", " [1]: http://docs.sympy.org/dev/modules/core.html#id4\n<END>", "<BEGIN>\n## `replac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_symbol API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_symbol API. 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...
Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`. Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1], otherwise `name` is used. [1]: http://docs.sympy.org/dev/modules/core.html#id4
"Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.\n\n [1]: http://docs.sympy.org/dev/modules/core.html#id4"
163
false
razor-x/scipy-data_fitting
add_symbol
25,881
LDU_FT/sveetch/boussole/is_allowed
LDU_FT
[ "<BEGIN>\n## `clean`", "Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.", " Args:\n settings (dict): Loaded settings.", " Returns:\n dict: Settings object filtered.\n<END>", "<BEGIN>\n## `set_settings`", "Set every given settings...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_allowed API. 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 is_allowed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Check from exclude patterns if a relative filepath is allowed Args: filepath (str): A relative file path. (exclude patterns are allways based from the source directory). Keyword Arguments: excludes (list): A list of excluding (glob) patterns. If filepath ...
"Check from exclude patterns if a relative filepath is allowed\n\n Args:\n filepath (str): A relative file path. (exclude patterns are\n allways based from the source directory).\n\n Keyword Arguments:\n excludes (list): A list of excluding (glob) patterns. If filepath...
289
false
sveetch/boussole
is_allowed
25,882
LDU_FT/OCHA-DAP/hdx-python-utilities/temp_dir
LDU_FT
[ "<BEGIN>\n## `raisefrom`", "Call Python 3 raise from or emulate it for Python 2", " Args:\n exc_type (Any): Type of Exception\n message (str): Error message to display\n exc (BaseException): original exception", " Returns:\n None\n<END>", "<BEGIN>\n## `get_session`", "Set...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temp_dir API. 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 temp_dir API. 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...
Get a temporary directory optionally with folder appended (and created if it doesn't exist) Args: folder (Optional[str]): Folder to create in temporary folder. Defaults to None. delete (bool): Whether to delete folder on exiting with statement Returns: str: A temporary directory
"Get a temporary directory optionally with folder appended (and created if it doesn't exist)\n\n Args:\n folder (Optional[str]): Folder to create in temporary folder. Defaults to None.\n delete (bool): Whether to delete folder on exiting with statement\n\n Returns:\n str: A temporary director...
232
false
OCHA-DAP/hdx-python-utilities
temp_dir
25,883
LDU_FT/timknip/pyswf/get_dependencies
LDU_FT
[ "<BEGIN>\n## `export`", "Export this SWF using the specified exporter. \n When no exporter is passed in the default exporter used \n is swf.export.SVGExporter.", " Exporters should extend the swf.export.BaseExporter class.", " @param exporter : the exporter to use\n @param f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dependencies API. 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_dependencies API. 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 the character ids this tag refers to
"Returns the character ids this tag refers to"
43
false
timknip/pyswf
get_dependencies
25,884
LDU_FT/Galarzaa90/tibia.py/parse_tibia_date
LDU_FT
[ "<BEGIN>\n## `ranks`", ":class:`list` of :class:`str`: Ranks in their hierarchical order.\n<END>", "<BEGIN>\n## `from_content`", "Creates an instance of the class from the HTML content of the guild's page.", " Parameters\n -----------\n content: :class:`str`\n The HTML conten...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_tibia_date API. 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_tibia_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Parses a date from the format used in Tibia.com Accepted format: - ``MMM DD YYYY``, e.g. ``Jul 23 2015`` Parameters ----------- date_str: :class:`str` The date as represented in Tibia.com Returns ----------- :class:`datetime.date`, optional The represented date.
"Parses a date from the format used in Tibia.com\n\n Accepted format:\n\n - ``MMM DD YYYY``, e.g. ``Jul 23 2015``\n\n Parameters\n -----------\n date_str: :class:`str`\n The date as represented in Tibia.com\n\n Returns\n -----------\n :class:`datetime.date`, optional\n The represen...
254
false
Galarzaa90/tibia.py
parse_tibia_date
25,885
LDU_FT/laysakura/relshell/colindex_by_colname
LDU_FT
[ "<BEGIN>\n## `colindex_by_colname`", "Return column index whose name is :param:`column`", " :raises: `ValueError` when no column with :param:`colname` found\n<END>", "<BEGIN>\n## `run`", "Run shell operator synchronously to eat `in_batches`", " :param in_batches: `tuple` of batches to proces...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colindex_by_colname 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 colindex_by_colname 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...
Return column index whose name is :param:`column` :raises: `ValueError` when no column with :param:`colname` found
"Return column index whose name is :param:`column`\n\n :raises: `ValueError` when no column with :param:`colname` found"
46
false
laysakura/relshell
colindex_by_colname
25,886
LDU_FT/UDST/urbansim/_max_form
LDU_FT
[ "<BEGIN>\n## `log_start_finish`", "A context manager to log messages with \"start: \" and \"finish: \"\n prefixes before and after a block.", " Parameters\n ----------\n msg : str\n Will be prefixed with \"start: \" and \"finish: \".\n logger : logging.Logger\n level : int, optional\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _max_form API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _max_form API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Assumes dataframe with hierarchical columns with first index equal to the use and second index equal to the attribute. e.g. f.columns equal to:: mixedoffice building_cost building_revenue building_size max_prof...
"Assumes dataframe with hierarchical columns with first index equal to the\n use and second index equal to the attribute.\n\n e.g. f.columns equal to::\n\n mixedoffice building_cost\n building_revenue\n building_size\n ...
461
false
UDST/urbansim
_max_form
25,887
LDU_FT/vsoch/helpme/write_config
LDU_FT
[ "<BEGIN>\n## `main`", "the main entry point for the HelpMe Command line application. Currently,\n the user can request help or set config values for a particular helper.\n<END>", "<BEGIN>\n## `write_config`", "use configparser to write a config object to filename\n<END>", "<BEGIN>\n## `generate_tempor...
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...
use configparser to write a config object to filename
"use configparser to write a config object to filename"
121
false
vsoch/helpme
write_config
25,888
LDU_FT/CivicSpleen/ckcache/get_logger
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 get_logger API. 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_logger API. 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...
Get a logger by name if file_name is specified, and the dirname() of the file_name exists, it will write to that file. If the dirname dies not exist, it will silently ignre it.
"Get a logger by name\n\n if file_name is specified, and the dirname() of the file_name exists, it will\n write to that file. If the dirname dies not exist, it will silently ignre it."
70
false
CivicSpleen/ckcache
get_logger
25,889
LDU_FT/django-haystack/pysolr/ping
LDU_FT
[ "<BEGIN>\n## `force_unicode`", "Forces a bytestring to become a Unicode string.\n<END>", "<BEGIN>\n## `force_bytes`", "Forces a Unicode string to become a bytestring.\n<END>", "<BEGIN>\n## `unescape_html`", "Removes HTML or XML character references and entities from a text string.", " @param text The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Sends a ping request. Usage:: solr.ping()
"Sends a ping request.\n\n Usage::\n\n solr.ping()"
102
false
django-haystack/pysolr
ping
25,890
LDU_FT/apple/turicreate/conditional_lhs
LDU_FT
[ "<BEGIN>\n## `ReadTag`", "Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.", " We return the raw bytes of the tag rather than decoding them. The raw\n bytes can then be used to look up the proper decoder. This effectively allows\n us to trade some work that would be done in pure-python ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_lhs API. 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 conditional_lhs API. 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...
Group outputs into conditional and stable :param node: ast node :returns: tuple of (conditional, stable)
"Group outputs into conditional and stable\n :param node: ast node \n \n :returns: tuple of (conditional, stable)"
7,340
true
apple/turicreate
conditional_lhs
25,891
LDU_FT/jochym/Elastic/get_lattice_type
LDU_FT
[ "<BEGIN>\n## `regular`", "Equation matrix generation for the regular (cubic) lattice.\n The order of constants is as follows:", " .. math::\n C_{11}, C_{12}, C_{44}", " :param u: vector of deformations:\n [ :math:`u_{xx}, u_{yy}, u_{zz}, u_{yz}, u_{xz}, u_{xy}` ]", " :returns: Symme...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lattice_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lattice_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Find the symmetry of the crystal using spglib symmetry finder. Derive name of the space group and its number extracted from the result. Based on the group number identify also the lattice type and the Bravais lattice of the crystal. The lattice type numbers are (the numbering starts from 1): Tricl...
"Find the symmetry of the crystal using spglib symmetry finder.\n\n Derive name of the space group and its number extracted from the result.\n Based on the group number identify also the lattice type and the Bravais\n lattice of the crystal. The lattice type numbers are\n (the numbering starts from 1):\n\n ...
76
false
jochym/Elastic
get_lattice_type
25,892
LDU_FT/tehmaze/natural/luhn_checksum
LDU_FT
[ "<BEGIN>\n## `ordinal`", "Converts a number to its ordinal representation.", " :param value: number", " >>> print(ordinal(1))\n 1st\n >>> print(ordinal(11))\n 11th\n >>> print(ordinal(101))\n 101st\n >>> print(ordinal(104))\n 104th\n >>> print(ordinal(113))\n 113th\n >>> pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the luhn_checksum API. 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 luhn_checksum API. 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...
Calculates the Luhn checksum for `number` :param number: string or int :param chars: string >>> luhn_checksum(1234) 4
"Calculates the Luhn checksum for `number`\n\n :param number: string or int\n :param chars: string\n\n >>> luhn_checksum(1234)\n 4"
153
false
tehmaze/natural
luhn_checksum
25,893
LDU_FT/taxpon/pymesh/rotate_x
LDU_FT
[ "<BEGIN>\n## `set_initial_values`", "Set initial values form existing self.data value\n :return: None\n<END>", "<BEGIN>\n## `rotate_x`", "Rotate mesh around x-axis", " :param float deg: Rotation angle (degree)\n :return:\n<END>", "<BEGIN>\n## `translate_x`", "Translate mesh for x-di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotate_x API. 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 rotate_x API. 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...
Rotate mesh around x-axis :param float deg: Rotation angle (degree) :return:
"Rotate mesh around x-axis\n\n :param float deg: Rotation angle (degree)\n :return:"
28
false
taxpon/pymesh
rotate_x
25,894
LDU_FT/ashmastaflash/kal-wrapper/determine_device
LDU_FT
[ "<BEGIN>\n## `scan_band`", "Run Kalibrate for a band.", " Supported keyword arguments:\n gain -- Gain in dB\n device -- Index of device to be used\n error -- Initial frequency error in ppm\n<END>", "<BEGIN>\n## `scan_channel`", "Run Kalibrate.", " Supported keyword...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the determine_device API. 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 determine_device API. 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 and return device from scan results.
"Extract and return device from scan results."
25
false
ashmastaflash/kal-wrapper
determine_device
25,895
LDU_FT/Richienb/quilt/shellinput
LDU_FT
[ "<BEGIN>\n## `userinput`", "Get the input of the user via a universally secure method.", " :type prompttext: string\n :param prompttext: The text to display while receiving the data.", " :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shellinput API. 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 shellinput API. 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...
Give the user a shell-like interface to enter commands which are returned as a multi-part list containing the command and each of the arguments. :type initialtext: string :param initialtext: Set the text to be displayed as the prompt. :type splitpart: string :param splitpart: The character to ...
"Give the user a shell-like interface to enter commands which\n are returned as a multi-part list containing the command\n and each of the arguments.\n\n :type initialtext: string\n :param initialtext: Set the text to be displayed as the prompt.\n\n :type splitpart: string\n :param splitpart: The char...
210
false
Richienb/quilt
shellinput
25,896
LDU_FT/occrp-attic/exactitude/clean_text
LDU_FT
[ "<BEGIN>\n## `clean`", "The classic: date parsing, every which way.\n<END>", "<BEGIN>\n## `fuzzy_date_parser`", "Thin wrapper around ``parsedatetime`` and ``dateutil`` modules.\n Since there's no upstream suppport for multiple locales, this wrapper\n exists.\n :param str text: Text to par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_text API. 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 clean_text API. 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...
Try to extract only the domain bit from the
"Try to extract only the domain bit from the"
34
false
occrp-attic/exactitude
clean_text
25,897
LDU_FT/emory-libraries/eulfedora/getDatastream
LDU_FT
[ "<BEGIN>\n## `file_md5sum`", "Calculate and returns an MD5 checksum for the specified file. Any file\n errors (non-existent file, read error, etc.) are not handled here but should\n be caught where this method is called.", " :param filename: full path to the file for which a checksum should be calcula...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDatastream API. 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 getDatastream API. 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...
Get information about a single datastream on a Fedora object; optionally, get information for the version of the datastream as of a particular date time. :param pid: object pid :param dsID: datastream id :param asOfDateTime: optional datetime; ``must`` be a non-naive datetime ...
"Get information about a single datastream on a Fedora object; optionally,\n get information for the version of the datastream as of a particular date time.\n\n :param pid: object pid\n :param dsID: datastream id\n :param asOfDateTime: optional datetime; ``must`` be a non-naive datetime\n ...
312
false
emory-libraries/eulfedora
getDatastream
25,898
LDU_FT/pallets/werkzeug/_is_range_request_processable
LDU_FT
[ "<BEGIN>\n## `mimetype`", "The mimetype (content type without charset etc.)\n<END>", "<BEGIN>\n## `mimetype_params`", "The mimetype parameters as dict. For example if the\n content type is ``text/html; charset=utf-8`` the params would be\n ``{'charset': 'utf-8'}``.", " .. versionadded::...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_range_request_processable API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_range_request_processable API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Return ``True`` if `Range` header is present and if underlying resource is considered unchanged when compared with `If-Range` header.
"Return ``True`` if `Range` header is present and if underlying\n resource is considered unchanged when compared with `If-Range` header."
541
false
pallets/werkzeug
_is_range_request_processable
25,899
LDU_FT/pjanis/funtool/analysis_collection_and_parameter_meta
LDU_FT
[ "<BEGIN>\n## `_wrap_measure`", "Creates a function on a state_collection, which creates analysis_collections for each state in the collection.", " Optionally sorts the collection if the state_measure has a sort_by parameter (see funtool.lib.general.sort_states for details)\n<END>", "<BEGIN>\n## `analysis_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analysis_collection_and_parameter_meta API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analysis_collection_and_parameter_meta API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
Decorator for State Measures that only require the analysis_collection and parameters Saves return value to analysis_collection.state.meta with the State Measure's name as the key
"Decorator for State Measures that only require the analysis_collection and parameters\n\n Saves return value to analysis_collection.state.meta with the State Measure's name as the key"
40
false
pjanis/funtool
analysis_collection_and_parameter_meta
25,900
LDU_FT/Jetsetter/graphyte/stop
LDU_FT
[ "<BEGIN>\n## `stop`", "Tell the sender thread to finish and wait for it to stop sending\n (should be at most \"timeout\" seconds).\n<END>", "<BEGIN>\n## `build_message`", "Build a Graphite message to send and return it as a byte string.\n<END>", "<BEGIN>\n## `send`", "Send given metric and (int or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. 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 stop API. 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...
Tell the sender thread to finish and wait for it to stop sending (should be at most "timeout" seconds).
"Tell the sender thread to finish and wait for it to stop sending\n (should be at most \"timeout\" seconds)."
11
false
Jetsetter/graphyte
stop
25,901
LDU_FT/goerz/clusterjob/get_job_id
LDU_FT
[ "<BEGIN>\n## `resource_headers`", "Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script\n<END>", "<BEGIN>\n## `replace_body_vars`", "Given a multiline string that is the body of the jo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Given the stdout from the command returned by :meth:`cmd_submit`, return a job ID
"Given the stdout from the command returned by :meth:`cmd_submit`,\n return a job ID"
69
false
goerz/clusterjob
get_job_id
25,902
LDU_FT/GeospatialPython/pyshp/__getFileObj
LDU_FT
[ "<BEGIN>\n## `signed_area`", "Return the signed area enclosed by a ring using the linear time\r\n algorithm. A value >= 0 indicates a counter-clockwise oriented ring.\n<END>", "<BEGIN>\n## `as_dict`", "Returns this Record as a dictionary using the field names as keys\r\n :return: dict\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __getFileObj API. 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 __getFileObj API. 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...
Safety handler to verify file-like objects
"Safety handler to verify file-like objects"
82
false
GeospatialPython/pyshp
__getFileObj
25,903
LDU_FT/thombashi/SimpleSQLite/rollback
LDU_FT
[ "<BEGIN>\n## `set_log_level`", "Set logging level of this module. Using\n `logbook <https://logbook.readthedocs.io/en/stable/>`__ module for logging.", " :param int log_level:\n One of the log level of\n `logbook <https://logbook.readthedocs.io/en/stable/api/base.html>`__.\n Disabled ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rollback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rollback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
.. seealso:: :py:meth:`sqlite3.Connection.rollback`
".. seealso:: :py:meth:`sqlite3.Connection.rollback`"
185
false
thombashi/SimpleSQLite
rollback
25,904
LDU_FT/hadrianl/huobi/repay_loan
LDU_FT
[ "<BEGIN>\n## `async_request`", "异步并发请求\n :param reqs: 请求列表\n :return:\n<END>", "<BEGIN>\n## `get_kline`", "获取KLine\n :param symbol\n :param period: 可选值:{1min, 5min, 15min, 30min, 60min, 1day, 1mon, 1week, 1year }\n :param size: 可选值: [1,2000]\n :return:\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repay_loan API. 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 repay_loan API. 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...
归还借贷 :param order_id: :param amount: :return:
"归还借贷\n :param order_id:\n :param amount:\n :return:"
108
false
hadrianl/huobi
repay_loan
25,905
LDU_FT/nikhilkumarsingh/content-downloader/read_bytes
LDU_FT
[ "<BEGIN>\n## `download_parallel_gui`", "called when paralled downloading is true\n<END>", "<BEGIN>\n## `download_series_gui`", "called when user wants serial downloading\n<END>", "<BEGIN>\n## `start`", "function to initialize thread for downloading\n<END>", "<BEGIN>\n## `read_bytes`", "reading bytes; ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_bytes API. 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 read_bytes API. 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...
reading bytes; update progress bar after 1 ms
"reading bytes; update progress bar after 1 ms"
37
false
nikhilkumarsingh/content-downloader
read_bytes
25,906
LDU_FT/bokeh/bokeh/view
LDU_FT
[ "<BEGIN>\n## `notify_owner`", "A decorator for mutating methods of property container classes\n that notifies owners of the property container about mutating changes.", " Args:\n func (callable) : the container method to wrap in a notification", " Returns:\n wrapped method", " Exam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Open a browser to view the specified location. Args: location (str) : Location to open If location does not begin with "http:" it is assumed to be a file path on the local filesystem. browser (str or None) : what browser to use (default: None) ...
"Open a browser to view the specified location.\n\n Args:\n location (str) : Location to open\n If location does not begin with \"http:\" it is assumed\n to be a file path on the local filesystem.\n browser (str or None) : what browser to use (default: None)\n ...
2,090
true
bokeh/bokeh
view
25,907
LDU_FT/datastax/python-driver/_ensure_core_connections
LDU_FT
[ "<BEGIN>\n## `check_applied`", "Raises LWTException if it looks like a failed LWT request. A LWTException\n won't be raised in the special case in which there are several failed LWT\n in a :class:`~cqlengine.query.BatchQuery`.\n<END>", "<BEGIN>\n## `add_callback`", "Add a function and arguments to be p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_core_connections 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 _ensure_core_connections API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
If any host has fewer than the configured number of core connections open, attempt to open connections until that number is met.
"If any host has fewer than the configured number of core connections\n open, attempt to open connections until that number is met."
603
false
datastax/python-driver
_ensure_core_connections
25,908
LDU_FT/aws/aws-encryption-sdk-python/_read_bytes_to_non_framed_body
LDU_FT
[ "<BEGIN>\n## `_encryption_context_hash`", "Generates the expected hash for the provided encryption context.", " :param hasher: Existing hasher to use\n :type hasher: cryptography.hazmat.primitives.hashes.Hash\n :param dict encryption_context: Encryption context to hash\n :returns: Complete hash\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_bytes_to_non_framed_body API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_bytes_to_non_framed_body API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Reads the requested number of bytes from source to a streaming non-framed message body. :param int b: Number of bytes to read :returns: Encrypted bytes from source stream :rtype: bytes
"Reads the requested number of bytes from source to a streaming non-framed message body.\n\n :param int b: Number of bytes to read\n :returns: Encrypted bytes from source stream\n :rtype: bytes"
364
false
aws/aws-encryption-sdk-python
_read_bytes_to_non_framed_body
25,909
LDU_FT/Atomistica/atomistica/read_cyc
LDU_FT
[ "<BEGIN>\n## `read`", "Convenience function: Detect file extension and read via Atomistica or ASE.\n If reading a NetCDF files, frame numbers can be appended via '@'.\n e.g., a = read('traj.nc@5')\n<END>", "<BEGIN>\n## `write`", "Convenience function: Detect file extension and write via Atomistica or AS...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_cyc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_cyc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Read the lattice information from a cyc.dat file (i.e., tblmd input file)
"Read the lattice information from a cyc.dat file (i.e., tblmd input file)"
40
false
Atomistica/atomistica
read_cyc
25,910
LDU_FT/metapensiero/metapensiero.signal/run
LDU_FT
[ "<BEGIN>\n## `get_subscribers`", "Get per-instance subscribers from the signal.\n<END>", "<BEGIN>\n## `notify_prepared`", "Like notify allows to pass more options to the underlying\n `Signal.prepare_notification()` method.", " The allowed options are:", " notify_external : bool\n ...
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...
Call all the registered handlers with the arguments passed. If this signal is a class member, call also the handlers registered at class-definition time. If an external publish function is supplied, call it with the provided arguments. :returns: an instance of `~.utils.MultipleResults`
"Call all the registered handlers with the arguments passed.\n If this signal is a class member, call also the handlers registered\n at class-definition time. If an external publish function is\n supplied, call it with the provided arguments.\n\n :returns: an instance of `~.utils.MultipleRes...
47
false
metapensiero/metapensiero.signal
run
25,911
LDU_FT/thunder-project/thunder-registration/apply
LDU_FT
[ "<BEGIN>\n## `apply`", "Apply an n-dimensional displacement by shifting an image or volume.", " Parameters\n ----------\n im : ndarray\n The image or volume to shift\n<END>", "<BEGIN>\n## `compute`", "Compute an optimal displacement between two ndarrays.", " Finds th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API. 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 apply API. 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...
Apply axis-localized displacements. Parameters ---------- im : ndarray The image or volume to shift
"Apply axis-localized displacements.\n\n Parameters\n ----------\n im : ndarray\n The image or volume to shift"
33
false
thunder-project/thunder-registration
apply
25,912
LDU_FT/dpkp/kafka-python/alter_configs
LDU_FT
[ "<BEGIN>\n## `send_fetches`", "Send FetchRequests for all assigned partitions that do not already have\n an in-flight fetch or pending fetch data.", " Returns:\n List of Futures: each future resolves to a FetchResponse\n<END>", "<BEGIN>\n## `reset_offsets_if_needed`", "Lookup and se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alter_configs API. 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 alter_configs API. 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...
Alter configuration parameters of one or more Kafka resources. Warning: This is currently broken for BROKER resources because those must be sent to that specific broker, versus this always picks the least-loaded node. See the comment in the source code for details. ...
"Alter configuration parameters of one or more Kafka resources.\n\n Warning:\n This is currently broken for BROKER resources because those must be\n sent to that specific broker, versus this always picks the\n least-loaded node. See the comment in the source code for details.\n ...
787
false
dpkp/kafka-python
alter_configs
25,913
LDU_FT/thombashi/tabledata/as_dataframe
LDU_FT
[ "<BEGIN>\n## `normalize`", ":return: Sanitized table data.\n :rtype: tabledata.TableData\n<END>", "<BEGIN>\n## `value_matrix`", "Converted rows of tabular data.", " Returns:\n |list| or |tuple|: Table rows.\n<END>", "<BEGIN>\n## `value_dp_matrix`", ":return: DataProperty for tab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_dataframe API. 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 as_dataframe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
:return: Table data as a ``pandas.DataFrame`` instance. :rtype: pandas.DataFrame :Sample Code: .. code-block:: python from tabledata import TableData TableData( "sample", ["a", "b"], [[1, 2], [3.3,...
":return: Table data as a ``pandas.DataFrame`` instance.\n :rtype: pandas.DataFrame\n\n :Sample Code:\n .. code-block:: python\n\n from tabledata import TableData\n\n TableData(\n \"sample\",\n [\"a\", \"b\"],\n ...
32
false
thombashi/tabledata
as_dataframe
25,914
LDU_FT/petebachant/PXL/loadjson
LDU_FT
[ "<BEGIN>\n## `sigmafilter`", "Remove datapoints outside of a specified standard deviation range.\n<END>", "<BEGIN>\n## `psd`", "Compute one-sided power spectral density, subtracting mean automatically.\r", " Parameters\r\n ----------\r\n t : Time array\r\n data : Time series data\r\n window :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadjson API. 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 loadjson API. 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...
Load data from text file in JSON format. Numpy arrays are converted if specified with the `asnparrays` keyword argument. Note that this only works to the second level of the dictionary. Returns a single dict.
"Load data from text file in JSON format.\n\n Numpy arrays are converted if specified with the `asnparrays` keyword\n argument. Note that this only works to the second level of the dictionary.\n Returns a single dict."
65
false
petebachant/PXL
loadjson
25,915
LDU_FT/Aluriak/tergraw/pretty_view
LDU_FT
[ "<BEGIN>\n## `clean`", "Return a copy of given matrix where keys associated\n to space values are discarded\n<END>", "<BEGIN>\n## `next_unwrittable_on_row`", "Return position of the next (in row) letter that is unwrittable\n<END>", "<BEGIN>\n## `next_unwrittable_on_col`", "Return position of the next l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Yield strings, printable view of given graph
"Yield strings, printable view of given graph"
16
false
Aluriak/tergraw
pretty_view
25,916
LDU_FT/eyeseast/python-tablefu/get
LDU_FT
[ "<BEGIN>\n## `sort`", "Sort rows in this table, preserving a record of how that\n sorting is done in TableFu.options['sorted_by']\n<END>", "<BEGIN>\n## `filter`", "Tables can be filtered in one of two ways:\n - Simple keyword arguments return rows where values match *exactly*\n - Pass i...
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...
Return the Datum for column_name, or default.
"Return the Datum for column_name, or default."
51
false
eyeseast/python-tablefu
get
25,917
LDU_FT/sundarnagarajan/py25519/sign
LDU_FT
[ "<BEGIN>\n## `sign`", "msg-->str or bytes\n Returns-->bytes\n<END>", "<BEGIN>\n## `verify`", "sig-->bytes\n msg-->str or bytes\n Returns-->boolean\n<END>", "<BEGIN>\n## `get_dirtree`", "module_name-->str: must be name of a dir under current working dir\n dirlist-->list of str: must...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
msg-->str or bytes Returns-->bytes
"msg-->str or bytes\n Returns-->bytes"
16
false
sundarnagarajan/py25519
sign
25,918
LDU_FT/i3visio/osrframework/from_birth_year
LDU_FT
[ "<BEGIN>\n## `getResults`", "Function to obtain the Dictionarythat represents this object.", " :param parFound: values to return.", " :return: The output format will be like:\n [{\"type\" : \"i3visio.email\", \"value\": \"foo@bar.com\", \"attributes\": [] }, {\"type\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_birth_year API. 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_birth_year API. 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...
Take a person's birth year (int) and return a new DOB object suitable for him.
"Take a person's birth year (int) and return a new DOB object \r\n suitable for him."
598
false
i3visio/osrframework
from_birth_year
25,919
LDU_FT/pikepdf/pikepdf/augments
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 augments API. 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 augments API. 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...
Attach methods of a Python support class to an existing class This monkeypatches all methods defined in the support class onto an existing class. Example: .. code-block:: python @augments(ClassDefinedInCpp) class SupportClass: def foo(self): pass The Pytho...
"Attach methods of a Python support class to an existing class\n\n This monkeypatches all methods defined in the support class onto an\n existing class. Example:\n\n .. code-block:: python\n\n @augments(ClassDefinedInCpp)\n class SupportClass:\n def foo(self):\n pass\n\n...
104
false
pikepdf/pikepdf
augments
25,920
LDU_FT/CLARIAH/grlc/project
LDU_FT
[ "<BEGIN>\n## `project`", "Programs may make use of data in the `dataIn` variable and should\n produce data on the `dataOut` variable.\n<END>", "<BEGIN>\n## `init_prov_graph`", "Initialize PROV graph with all we know at the start of the recording\n<END>", "<BEGIN>\n## `add_used_entity`", "Add the provid...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project API. 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 project API. 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...
Programs may make use of data in the `dataIn` variable and should produce data on the `dataOut` variable.
"Programs may make use of data in the `dataIn` variable and should\n produce data on the `dataOut` variable."
37
false
CLARIAH/grlc
project
25,921
LDU_FT/nalourie/django-macros/parse_macro_params
LDU_FT
[ "<BEGIN>\n## `do_macro`", "the function taking the parsed tag and returning\n a DefineMacroNode object.\n<END>", "<BEGIN>\n## `do_loadmacros`", "The function taking a parsed tag and returning\n a LoadMacrosNode object, while also loading the macros\n into the page.\n<END>", "<BEGIN>\n## `parse_macr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_macro_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_macro_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Common parsing logic for both use_macro and macro_block
"Common parsing logic for both use_macro and macro_block"
14
false
nalourie/django-macros
parse_macro_params
25,922
LDU_FT/SCIP-Interfaces/PySCIPOpt/flp_nonlinear_soco
LDU_FT
[ "<BEGIN>\n## `gpp`", "gpp -- model for the graph partitioning problem\n Parameters:\n - V: set/list of nodes in the graph\n - E: set/list of edges in the graph\n Returns a model, ready to be solved.\n<END>", "<BEGIN>\n## `gpp_soco`", "gpp -- model for the graph partitioning problem in soco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flp_nonlinear_soco 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 flp_nonlinear_soco 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...
flp_nonlinear_soco -- use Parameters: - I: set of customers - J: set of facilities - d[i]: demand for product i - M[j]: capacity of facility j - f[j]: fixed cost for using a facility in point j - c[i,j]: unit cost of servicing demand point i from facility j Retur...
"flp_nonlinear_soco -- use\n Parameters:\n - I: set of customers\n - J: set of facilities\n - d[i]: demand for product i\n - M[j]: capacity of facility j\n - f[j]: fixed cost for using a facility in point j\n - c[i,j]: unit cost of servicing demand point i from facility j\n...
220
false
SCIP-Interfaces/PySCIPOpt
flp_nonlinear_soco
25,923
LDU_FT/mokelly/wabbit_wappa/_get_response
LDU_FT
[ "<BEGIN>\n## `make_command_line`", "Construct a command line for VW, with each named argument corresponding\n to a VW option.\n Single character keys are mapped to single-dash options,\n e.g. 'b=20' yields '-b 20',\n while multiple character keys map to double-dash options:\n 'quiet=True' yield...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
If 'parse_result' is False, ignore the received output and return None.
"If 'parse_result' is False, ignore the received output and return None."
39
false
mokelly/wabbit_wappa
_get_response
25,924
LDU_FT/zyga/json-schema-validator/type
LDU_FT
[ "<BEGIN>\n## `type`", "Type of a valid object.", " Type may be a JSON type name or a list of such names. Valid JSON type\n names are ``string``, ``number``, ``integer``, ``boolean``, ``object``,\n ``array``, ``any`` (default).\n<END>", "<BEGIN>\n## `properties`", "Schema for particular ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Type of a valid object. Type may be a JSON type name or a list of such names. Valid JSON type names are ``string``, ``number``, ``integer``, ``boolean``, ``object``, ``array``, ``any`` (default).
"Type of a valid object.\n\n Type may be a JSON type name or a list of such names. Valid JSON type\n names are ``string``, ``number``, ``integer``, ``boolean``, ``object``,\n ``array``, ``any`` (default)."
48
false
zyga/json-schema-validator
type
25,925
LDU_FT/slok/prometheus-python/marshall
LDU_FT
[ "<BEGIN>\n## `negotiate`", "Process headers dict to return the format class\n (not the instance)\n<END>", "<BEGIN>\n## `add`", "Add works like replace, but only previously pushed metrics with the\n same name (and the same job and instance) will be replaced.\n (It uses HTTP met...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the marshall API. 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 marshall API. 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...
Marshalls a full registry (various collectors)
"Marshalls a full registry (various collectors)"
20
false
slok/prometheus-python
marshall
25,926
LDU_FT/striglia/pyramid_swagger/validate_response
LDU_FT
[ "<BEGIN>\n## `includeme`", ":type config: :class:`pyramid.config.Configurator`\n<END>", "<BEGIN>\n## `validate_swagger_schema`", "Validate the structure of Swagger schemas against the spec.", " **Valid only for Swagger v1.2 spec**", " Note: It is possible that resource_listing is not present in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Validates response against our schemas. :param response: the response object to validate :type response: :class:`pyramid.response.Response` :type validator_map: :class:`pyramid_swagger.load_schema.ValidatorMap`
"Validates response against our schemas.\n\n :param response: the response object to validate\n :type response: :class:`pyramid.response.Response`\n :type validator_map: :class:`pyramid_swagger.load_schema.ValidatorMap`"
101
false
striglia/pyramid_swagger
validate_response
25,927
LDU_FT/Desiiii/weeb.py/generate_status
LDU_FT
[ "<BEGIN>\n## `get_types`", "Gets all available types.", " This function is a coroutine.", " Return Type: `list`\n<END>", "<BEGIN>\n## `get_image`", "Request an image from weeb.sh.", " This function is a coroutine.", " Parameters:\n imgtype: str - the type of imag...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Generate a discord status icon below the image provided. This function is a coroutine. Parameters: status: str - a discord status, must be online, idle, dnd, or streaming avatar: str - http/s url pointing to an avatar, has to have proper headers and be a direct link to an image...
"Generate a discord status icon below the image provided.\n\n This function is a coroutine.\n\n Parameters:\n status: str - a discord status, must be online, idle, dnd, or streaming\n avatar: str - http/s url pointing to an avatar, has to have proper headers and be a direct link to a...
34
false
Desiiii/weeb.py
generate_status
25,928
LDU_FT/ryanpetrello/cleaver/z_score
LDU_FT
[ "<BEGIN>\n## `all_experiments`", "Retrieve every available experiment.", " Returns a list of ``cleaver.experiment.Experiment``s\n<END>", "<BEGIN>\n## `get_experiment`", "Retrieve an experiment by its name and variants (assuming it exists).", " :param name a unique string name for the experim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the z_score API. 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 z_score API. 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...
Calculate the Z-Score between this alternative and the project control. Statistical formulas based on: http://20bits.com/article/statistical-analysis-and-ab-testing
"Calculate the Z-Score between this alternative and the project control.\n\n Statistical formulas based on:\n http://20bits.com/article/statistical-analysis-and-ab-testing"
70
false
ryanpetrello/cleaver
z_score
25,929
LDU_FT/klahnakoski/pyLibrary/add
LDU_FT
[ "<BEGIN>\n## `groupby`", ":param data:\n :param keys:\n :param size:\n :param min_size:\n :param max_size:\n :param contiguous: MAINTAIN THE ORDER OF THE DATA, STARTING THE NEW GROUP WHEN THE SELECTOR CHANGES\n :return: return list of (keys, values) PAIRS, WHERE\n keys IS IN LEAF...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. 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 add API. 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...
:param full_name: dot delimited path to the property (use dot (".") for none) :param repetition_type: one of OPTIONAL or NESTED (REQUIRED is not possible) :param json_type: the json type to store :return:
":param full_name: dot delimited path to the property (use dot (\".\") for none)\n :param repetition_type: one of OPTIONAL or NESTED (REQUIRED is not possible)\n :param json_type: the json type to store\n :return:"
574
false
klahnakoski/pyLibrary
add
25,930
LDU_FT/napalm-automation/napalm-base/hyphen_range
LDU_FT
[ "<BEGIN>\n## `load_template`", "Will load a templated configuration on the device.", " :param cls: Instance of the driver class.\n :param template_name: Identifies the template name.\n :param template_source (optional): Custom config template rendered and loaded on device\n :param te...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hyphen_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hyphen_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 extr...
Expands a string of numbers separated by commas and hyphens into a list of integers. For example: 2-3,5-7,20-21,23,100-200
"Expands a string of numbers separated by commas and hyphens into a list of integers.\n For example: 2-3,5-7,20-21,23,100-200"
47
false
napalm-automation/napalm-base
hyphen_range
25,931
LDU_FT/gawel/irc3/quote
LDU_FT
[ "<BEGIN>\n## `dcc_event`", "Work like :class:`~irc3.dec.event` but occurs during DCC CHATs\n<END>", "<BEGIN>\n## `extend`", "Allow to extend a bot:", " Create a module with some useful routine:", " .. literalinclude:: ../examples/myextends.py\n ..\n >>> import sys\n >>> sys.path.app...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote API. 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 quote API. 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...
send quote to the server %%quote <args>...
"send quote to the server\n\n %%quote <args>..."
95
false
gawel/irc3
quote
25,932
LDU_FT/deanmalmgren/textract/run
LDU_FT
[ "<BEGIN>\n## `get_parser`", "Initialize the parser for the command line interface and bind the\n autocompletion functionality\n<END>", "<BEGIN>\n## `_get_available_encodings`", "Get a list of the available encodings to make it easy to\n tab-complete the command line interface.", " Inspiration from ...
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`` and return the subsequent ``stdout`` and ``stderr`` as a tuple. If the command is not successful, this raises a :exc:`textract.exceptions.ShellError`.
"Run ``command`` and return the subsequent ``stdout`` and ``stderr``\n as a tuple. If the command is not successful, this raises a\n :exc:`textract.exceptions.ShellError`."
36
false
deanmalmgren/textract
run
25,933
LDU_FT/elastic/elasticsearch-py/get_data_frame_transform_stats
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 get_data_frame_transform_stats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_frame_transform_stats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/get-data-frame-transform-stats.html>`_ :arg transform_id: The id of the transform for which to get stats. '_all' or '*' implies all transforms
"`<https://www.elastic.co/guide/en/elasticsearch/reference/current/get-data-frame-transform-stats.html>`_\n\n :arg transform_id: The id of the transform for which to get stats.\n '_all' or '*' implies all transforms"
528
false
elastic/elasticsearch-py
get_data_frame_transform_stats
25,934
LDU_FT/welbornprod/colr/get_all_names
LDU_FT
[ "<BEGIN>\n## `main`", "Main entry point, expects doctopt arg dict as argd.\n<END>", "<BEGIN>\n## `print_err`", "A wrapper for print() that uses stderr by default.\n<END>", "<BEGIN>\n## `walk_dir_animated`", "Walk a directory, printing status updates along the way.\n<END>", "<BEGIN>\n## `walk_dir_progres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Retrieve a tuple of all known color names, basic and 'known names'.
"Retrieve a tuple of all known color names, basic and 'known names'."
316
false
welbornprod/colr
get_all_names
25,935
LDU_FT/deginner/mq-client/add_on_connection_close_callback
LDU_FT
[ "<BEGIN>\n## `_on_message`", "Invoked by pika when a message is delivered from RabbitMQ. The\n channel is passed for your convenience. The basic_deliver object that\n is passed in carries the exchange, routing key, delivery tag and\n a redelivered flag for the message. The properties passed in is an\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_on_connection_close_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_on_connection_close_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Add an on close callback that will be invoked by pika when RabbitMQ closes the connection to the publisher unexpectedly.
"Add an on close callback that will be invoked by pika\n when RabbitMQ closes the connection to the publisher unexpectedly."
61
false
deginner/mq-client
add_on_connection_close_callback
25,936
LDU_FT/jaredLunde/vital-tools/format_size
LDU_FT
[ "<BEGIN>\n## `line`", "Prints a line separator the full width of the terminal.", " @separator: the #str chars to create the line from\n @color: line color from :mod:vital.debug.colors\n @padding: adds extra lines to either the top, bottom or both\n of the line via :func:padd\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Pretty-formats given bytes size in a readable manner @bytes: #int or #float bytes -> #str formatted bytes
"Pretty-formats given bytes size in a readable manner\n @bytes: #int or #float bytes\n\n -> #str formatted bytes"
396
false
jaredLunde/vital-tools
format_size
25,937
LDU_FT/indranilsinharoy/pyzos/replicate_methods
LDU_FT
[ "<BEGIN>\n## `get_callable_method_dict`", "Returns a dictionary of callable methods of object `obj`.", " @param obj: ZOS API Python COM object\n @return: a dictionary of callable methods", " Notes: \n the function only returns the callable attributes that are listed by dir() \n function. Proper...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replicate_methods API. 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 replicate_methods API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Replicate callable methods from a `srcObj` to `dstObj` (generally a wrapper object). @param srcObj: source object @param dstObj: destination object of the same type. @return : none Implementer notes: 1. Once the methods are mapped from the `srcObj` to the `dstObj`, the method calls will ...
"Replicate callable methods from a `srcObj` to `dstObj` (generally a wrapper object). \n \n @param srcObj: source object\n @param dstObj: destination object of the same type.\n @return : none\n \n Implementer notes: \n 1. Once the methods are mapped from the `srcObj` to the `dstObj`, the method cal...
48
false
indranilsinharoy/pyzos
replicate_methods
25,938
LDU_FT/cebel/pyctd/get_pathway
LDU_FT
[ "<BEGIN>\n## `set_mysql`", "Set the SQLAlchemy connection string with MySQL settings\n<END>", "<BEGIN>\n## `_limit_and_df`", "adds a limit (limit==None := no limit) to any query and allow a return as pandas.DataFrame", " :param bool as_df: if is set to True results return as pandas.DataFrame\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pathway API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pathway API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get pathway .. note:: Format of pathway_id is KEGG:X* or REACTOME:X* . X* stands for a sequence of digits :param bool as_df: if set to True result returns as `pandas.DataFrame` :param str pathway_name: pathway name :param str pathway_id: KEGG or REACTOME identifier ...
"Get pathway\n\n .. note::\n Format of pathway_id is KEGG:X* or REACTOME:X* . X* stands for a sequence of digits\n\n :param bool as_df: if set to True result returns as `pandas.DataFrame`\n :param str pathway_name: pathway name\n :param str pathway_id: KEGG or REACTOME identifier\...
126
false
cebel/pyctd
get_pathway
25,939
LDU_FT/edx/completion/db_type
LDU_FT
[ "<BEGIN>\n## `has_permission`", "Returns true if the current request is by the user themselves.", " Note: a 404 is returned for non-staff instead of a 403. This is to prevent\n users from being able to detect the existence of accounts.\n<END>", "<BEGIN>\n## `db_type`", "The type of the field t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
The type of the field to insert into the database.
"The type of the field to insert into the database."
76
false
edx/completion
db_type
25,940
LDU_FT/Alignak-monitoring/alignak/linkify
LDU_FT
[ "<BEGIN>\n## `is_active`", "Know if this result modulation is active now", " :return: True is we are in the period, otherwise False\n :rtype: bool\n<END>", "<BEGIN>\n## `module_return`", "Module the exit code if necessary ::", " * modulation_period is legit\n * exit_code_modula...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the linkify API. 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 linkify API. 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...
Will make timeperiod in exclude with id of the timeperiods :param timeperiods: Timeperiods object :type timeperiods: :return: None
"Will make timeperiod in exclude with id of the timeperiods\n\n :param timeperiods: Timeperiods object\n :type timeperiods:\n :return: None"
3,377
true
Alignak-monitoring/alignak
linkify
25,941
LDU_FT/acorg/pymds/_error_and_gradient
LDU_FT
[ "<BEGIN>\n## `get`", "Returns the current version without importing pymds.\n<END>", "<BEGIN>\n## `_gradient`", "Compute the gradient.", " Args:\n diff (`array-like`): [`m`, `m`] matrix. `D` - `d`\n d (`array-like`): [`m`, `m`] matrix.\n coords (`array-like`): [`m`, `n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _error_and_gradient 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 _error_and_gradient 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...
Compute the error and the gradient. This is the function optimized by :obj:`scipy.optimize.minimize`. Args: x (`array-like`): [`m` * `n`, ] matrix. Returns: `tuple`: containing: - Error (`float`) - Gradient (`np.array`) [`m`, `n`]
"Compute the error and the gradient.\n\n This is the function optimized by :obj:`scipy.optimize.minimize`.\n\n Args:\n x (`array-like`): [`m` * `n`, ] matrix.\n\n Returns:\n `tuple`: containing:\n\n - Error (`float`)\n - Gradient (`np.array`) [`m`...
60
false
acorg/pymds
_error_and_gradient
25,942
LDU_FT/timothydmorton/isochrones/starfit
LDU_FT
[ "<BEGIN>\n## `interp_box`", "box is 8x3 array, though not really a box", " values is length-8 array, corresponding to values at the \"box\" coords", " TODO: should make power `p` an argument\n<END>", "<BEGIN>\n## `interp_values`", "mass_arr, age_arr, feh_arr are all arrays at which values are desire...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starfit API. 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 starfit API. 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...
Runs starfit routine for a given folder.
"Runs starfit routine for a given folder."
314
false
timothydmorton/isochrones
starfit
25,943
LDU_FT/SuperCowPowers/workbench/data_to_unicode
LDU_FT
[ "<BEGIN>\n## `conn_log_graph`", "Build up a graph (nodes and edges from a Bro conn.log)\n<END>", "<BEGIN>\n## `dns_log_graph`", "Build up a graph (nodes and edges from a Bro dns.log)\n<END>", "<BEGIN>\n## `weird_log_graph`", "Build up a graph (nodes and edges from a Bro weird.log)\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_to_unicode API. 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 data_to_unicode API. 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...
Recursively convert a list or dictionary to unicode. Args: data: The data to be unicoded. Returns: Unicoded data.
"Recursively convert a list or dictionary to unicode.\n\n Args:\n data: The data to be unicoded.\n\n Returns:\n Unicoded data."
328
false
SuperCowPowers/workbench
data_to_unicode
25,944
LDU_FT/guma44/GEOparse/__parse_entry
LDU_FT
[ "<BEGIN>\n## `download`", "Download SRA files.", " Returns:\n :obj:`list` of :obj:`str`: List of downloaded files.\n<END>", "<BEGIN>\n## `add_log_file`", "Add log file.", " Args:\n path (:obj:`str`): Path to the log file.\n<END>", "<BEGIN>\n## `_sra_download_worker`", "A wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __parse_entry API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __parse_entry API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Parse the SOFT file entry name line that starts with '^', '!' or '#'. Args: entry_line (:obj:`str`): Line from SOFT to be parsed. Returns: :obj:`2-tuple`: Type of entry, value of entry.
"Parse the SOFT file entry name line that starts with '^', '!' or '#'.\n\n Args:\n entry_line (:obj:`str`): Line from SOFT to be parsed.\n\n Returns:\n :obj:`2-tuple`: Type of entry, value of entry."
142
false
guma44/GEOparse
__parse_entry
25,945
LDU_FT/opendatateam/udata/md
LDU_FT
[ "<BEGIN>\n## `save`", "PeriodicTask is dynamic and save behavior changed\n See: https://github.com/zakird/celerybeat-mongo/commit/dfbbd20edde91134b57f5406d0ce4eac59d6899b\n<END>", "<BEGIN>\n## `has_manifest`", "Verify the existance of a JSON assets manifest\n<END>", "<BEGIN>\n## `from_manifest`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the md API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the md API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Load .md (markdown) file and sanitize it for PyPI. Remove unsupported github tags: - code-block directive - travis ci build badges
"Load .md (markdown) file and sanitize it for PyPI.\n Remove unsupported github tags:\n - code-block directive\n - travis ci build badges"
476
false
opendatateam/udata
md
25,946
LDU_FT/openeemeter/eemeter/day_counts
LDU_FT
[ "<BEGIN>\n## `as_freq`", "Resample data to a different frequency.", " This method can be used to upsample or downsample meter data. The\n assumption it makes to do so is that meter data is constant and averaged\n over the given periods. For instance, to convert billing-period data to\n daily data, t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the day_counts API. 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 day_counts API. 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...
Days between DatetimeIndex values as a :any:`pandas.Series`. Parameters ---------- index : :any:`pandas.DatetimeIndex` The index for which to get day counts. Returns ------- day_counts : :any:`pandas.Series` A :any:`pandas.Series` with counts of days between periods. Counts are...
"Days between DatetimeIndex values as a :any:`pandas.Series`.\n\n Parameters\n ----------\n index : :any:`pandas.DatetimeIndex`\n The index for which to get day counts.\n\n Returns\n -------\n day_counts : :any:`pandas.Series`\n A :any:`pandas.Series` with counts of days between periods....
213
false
openeemeter/eemeter
day_counts
25,947
LDU_FT/erikvw/django-collect-offline/register_for_app
LDU_FT
[ "<BEGIN>\n## `save`", "Saves a deserialized model object.", " Uses save_base to avoid running code in model.save() and\n to avoid triggering signals (if raw=True).\n<END>", "<BEGIN>\n## `deserialize_transactions`", "Deserializes the encrypted serialized model\n instances, tx, in a queryset of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_for_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_for_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 ...
Registers all models for this app_label.
"Registers all models for this app_label."
43
false
erikvw/django-collect-offline
register_for_app
25,948
LDU_FT/flashingpumpkin/django-socialregistration/request_access_token
LDU_FT
[ "<BEGIN>\n## `get_next`", "Returns a url to redirect to after the login / signup.\n<END>", "<BEGIN>\n## `create_profile`", "Create a profile model.", " :param user: A user object\n :param save: If this is set, the profile will\n be saved to DB straight away\n :type save: bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_access_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_access_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Google requires correct content-type for POST requests
"Google requires correct content-type for POST requests"
72
false
flashingpumpkin/django-socialregistration
request_access_token
25,949
LDU_FT/utiasSTARS/pykitti/_load_calib
LDU_FT
[ "<BEGIN>\n## `to_array_list`", "Converts a dataframe to a list of arrays, with one array for every unique index entry.\n Index is assumed to be 0-based contiguous. If there is a missing index entry, an empty\n numpy array is returned for it.\n Elements in the arrays are sorted by their id.\n :param df...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_calib API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_calib API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Load and compute intrinsic and extrinsic calibration parameters.
"Load and compute intrinsic and extrinsic calibration parameters."
25
false
utiasSTARS/pykitti
_load_calib
25,950
LDU_FT/serge-sans-paille/pythran/generate_cxx
LDU_FT
[ "<BEGIN>\n## `check_specs`", "Does nothing but raising PythranSyntaxError if specs\n are incompatible with the actual code\n<END>", "<BEGIN>\n## `check_exports`", "Does nothing but raising PythranSyntaxError if specs\n references an undefined global\n<END>", "<BEGIN>\n## `visit_Import`", "Check if i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_cxx API. 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 generate_cxx API. 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...
python + pythran spec -> c++ code returns a PythonModule object and an error checker the error checker can be used to print more detailed info on the origin of a compile error (e.g. due to bad typing)
"python + pythran spec -> c++ code\n returns a PythonModule object and an error checker\n\n the error checker can be used to print more detailed info on the origin of\n a compile error (e.g. due to bad typing)"
547
false
serge-sans-paille/pythran
generate_cxx
25,951
LDU_FT/Britefury/batchup/download
LDU_FT
[ "<BEGIN>\n## `num_batches`", "Compute the number of mini-batches required to cover a data set of\n size `n` using batches of size `batch_size`.", " Parameters\n ----------\n n: int\n the number of samples in the data set\n batch_size: int\n the mini-batch size", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Download a file to a given path from a given URL, if it does not exist. Parameters ---------- path: str The (destination) path of the file on the local filesystem source_url: str The URL from which to download the file Returns ------- str The path of the file
"Download a file to a given path from a given URL, if it does not exist.\n\n Parameters\n ----------\n path: str\n The (destination) path of the file on the local filesystem\n source_url: str\n The URL from which to download the file\n\n Returns\n -------\n str\n The path of th...
194
false
Britefury/batchup
download
25,952
LDU_FT/JohnVinyard/zounds/mono
LDU_FT
[ "<BEGIN>\n## `validate`", "Ensure that the size of the dimension matches the number of bands in the\n scale", " Raises:\n ValueError: when the dimension size and number of bands don't match\n<END>", "<BEGIN>\n## `resampled`", "Create a basic processing pipeline that can resample al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mono API. 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 mono API. 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 this instance summed to mono. If the instance is already mono, this is a no-op.
"Return this instance summed to mono. If the instance is already mono,\n this is a no-op."
97
false
JohnVinyard/zounds
mono
25,953
LDU_FT/numenta/nupic.core/main
LDU_FT
[ "<BEGIN>\n## `fixPath`", "Ensures paths are correct for linux and windows\n<END>", "<BEGIN>\n## `findRequirements`", "Read the requirements.txt file and parse into requirements for setup's\n install_requirements option.\n<END>", "<BEGIN>\n## `main`", "Measure capnp serialization performance of a network ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Measure capnp serialization performance of a network containing a simple python region that in-turn contains a Random instance.
"Measure capnp serialization performance of a network containing a simple\n python region that in-turn contains a Random instance."
42
false
numenta/nupic.core
main
25,954
LDU_FT/altair-viz/pdvega/lag_plot
LDU_FT
[ "<BEGIN>\n## `infer_vegalite_type`", "From an array-like input, infer the correct vega typecode\n ('ordinal', 'nominal', 'quantitative', or 'temporal')", " Parameters\n ----------\n data: Numpy array or Pandas Series\n data for which the type will be inferred\n ordinal_threshold: integer (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lag_plot API. 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 lag_plot API. 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...
Lag plot for time series. Parameters ---------- data: pandas.Series the time series to plot lag: integer The lag of the scatter plot, default=1 kind: string The kind of plot to use (e.g. 'scatter', 'line') **kwds: Additional keywords passed to data.vgplot.scatter...
"Lag plot for time series.\n\n Parameters\n ----------\n data: pandas.Series\n the time series to plot\n lag: integer\n The lag of the scatter plot, default=1\n kind: string\n The kind of plot to use (e.g. 'scatter', 'line')\n **kwds:\n Additional keywords passed to data.vg...
48
false
altair-viz/pdvega
lag_plot
25,955
LDU_FT/intuition-io/intuition/_is_interactive
LDU_FT
[ "<BEGIN>\n## `update`", "Actualizes the portfolio universe with the alog state\n<END>", "<BEGIN>\n## `trade_signals_handler`", "Process buy and sell signals from the simulation\n<END>", "<BEGIN>\n## `advise`", "General parameters or user settings\n (maw_weigth, max_assets, max_frequency, commission...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_interactive API. 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 _is_interactive API. 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...
Prevent middlewares and orders to work outside live mode
"Prevent middlewares and orders to work outside live mode"
73
false
intuition-io/intuition
_is_interactive
25,956
LDU_FT/hootnot/oanda-api-v20/endpoint
LDU_FT
[ "<BEGIN>\n## `dyndoc_insert`", "docstring_insert - a decorator to insert API-docparts dynamically.\n<END>", "<BEGIN>\n## `endpoint`", "endpoint - decorator to manipulate the REST-service endpoint.", " The endpoint decorator sets the endpoint and the method for the class\n to access the REST-service.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the endpoint API. 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 endpoint API. 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...
endpoint - decorator to manipulate the REST-service endpoint. The endpoint decorator sets the endpoint and the method for the class to access the REST-service.
"endpoint - decorator to manipulate the REST-service endpoint.\n\n The endpoint decorator sets the endpoint and the method for the class\n to access the REST-service."
42
false
hootnot/oanda-api-v20
endpoint
25,957
LDU_FT/viveksck/changepoint/ts_stats_significance_bootstrap
LDU_FT
[ "<BEGIN>\n## `estimate_cp`", "Estimate changepoints in a time series by using R.\n<END>", "<BEGIN>\n## `estimate_cp_pval`", "Estimate changepoints in a time series by using R.\n<END>", "<BEGIN>\n## `get_ts_stats_significance`", "Returns the statistics, pvalues and the actual number of bootstrap\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ts_stats_significance_bootstrap 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 ts_stats_significance_bootstrap API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Compute the statistical significance of a test statistic at each point of the time series by using timeseries boootstrap.
"Compute the statistical significance of a test statistic at each point\n of the time series by using timeseries boootstrap."
28
false
viveksck/changepoint
ts_stats_significance_bootstrap
25,958
LDU_FT/SmileyChris/django-countries/name
LDU_FT
[ "<BEGIN>\n## `get_option`", "Get a configuration option, trying the options attribute first and\n falling back to a Django project setting.\n<END>", "<BEGIN>\n## `countries`", "Return the a dictionary of countries, modified by any overriding\n options.", " The result is cached so future...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return the name of a country, based on the code. If no match is found, returns an empty string.
"Return the name of a country, based on the code.\n\n If no match is found, returns an empty string."
42
false
SmileyChris/django-countries
name
25,959
LDU_FT/josiah-wolf-oberholtzer/uqbar/on_builder_inited
LDU_FT
[ "<BEGIN>\n## `_build_mappings`", "Collect all bases and organize into parent/child mappings.\n<END>", "<BEGIN>\n## `_collect_classes`", "Collect all classes defined in/under ``package_paths``.\n<END>", "<BEGIN>\n## `find_common_prefix`", "Find the common prefix of two or more paths.", " ::", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_builder_inited API. 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 on_builder_inited API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Hooks into Sphinx's ``builder-inited`` event. Used for copying over CSS files to theme directory.
"Hooks into Sphinx's ``builder-inited`` event.\n\n Used for copying over CSS files to theme directory."
123
false
josiah-wolf-oberholtzer/uqbar
on_builder_inited
25,960
LDU_FT/lemieuxl/pyGenClean/count_markers_samples
LDU_FT
[ "<BEGIN>\n## `main`", "The main function of the module.", " :param argString: the options.", " :type argString: list", " These are the steps:", " 1. Prints the options.\n 2. If there are ``summarized_intensities`` provided, reads the files\n (:py:func:`read_summarized_intensities`) an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_markers_samples API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_markers_samples API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Counts the number of markers and samples in plink file. :param prefix: the prefix of the files. :param file_type: the file type. :type prefix: str :type file_type: str :returns: the number of markers and samples (in a tuple).
"Counts the number of markers and samples in plink file.\n\n :param prefix: the prefix of the files.\n :param file_type: the file type.\n\n :type prefix: str\n :type file_type: str\n\n :returns: the number of markers and samples (in a tuple)."
1,109
true
lemieuxl/pyGenClean
count_markers_samples
25,961
LDU_FT/srittau/python-asserts/assert_not_in
LDU_FT
[ "<BEGIN>\n## `assert_true`", "Fail the test unless the expression is truthy.", " >>> assert_true(\"Hello World!\")\n >>> assert_true(\"\")\n Traceback (most recent call last):\n ...\n AssertionError: '' is not truthy", " The following msg_fmt arguments are supported:\n * msg - the def...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_not_in API. 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 assert_not_in API. 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...
Fail if first is in a collection second. >>> assert_not_in("bar", [4, "foo", {}]) >>> assert_not_in("foo", [4, "foo", {}]) Traceback (most recent call last): ... AssertionError: 'foo' is in [4, 'foo', {}] The following msg_fmt arguments are supported: * msg - the default error message ...
"Fail if first is in a collection second.\n\n >>> assert_not_in(\"bar\", [4, \"foo\", {}])\n >>> assert_not_in(\"foo\", [4, \"foo\", {}])\n Traceback (most recent call last):\n ...\n AssertionError: 'foo' is in [4, 'foo', {}]\n\n The following msg_fmt arguments are supported:\n * msg - the defa...
131
false
srittau/python-asserts
assert_not_in
25,962
LDU_FT/LionelAuroux/cnorm/declallfuncs
LDU_FT
[ "<BEGIN>\n## `declfuncs`", "generator on all declaration of functions\n<END>", "<BEGIN>\n## `func`", "return the first func defined named name\n<END>", "<BEGIN>\n## `type`", "return the first complete definition of type 'name\n<END>", "<BEGIN>\n## `declallfuncs`", "generator on all declaration of func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declallfuncs API. 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 declallfuncs API. 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...
generator on all declaration of function
"generator on all declaration of function"
10
false
LionelAuroux/cnorm
declallfuncs
25,963
LDU_FT/sacherjj/array_devices/set_load_resistance
LDU_FT
[ "<BEGIN>\n## `setting`", "Load setting (Amps, Watts, or Ohms depending on program mode)\n<END>", "<BEGIN>\n## `partial_steps_data`", "Iterates 5 steps from start position and\n provides tuple for packing into buffer.", " returns (0, 0) if stpe doesn't exist.", " :param start: Position...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_load_resistance 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_load_resistance 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...
Changes load to resistance mode and sets resistance value. Rounds to nearest 0.01 Ohms :param resistance: Load Resistance in Ohms (0-500 ohms) :return: None
"Changes load to resistance mode and sets resistance value.\n Rounds to nearest 0.01 Ohms\n\n :param resistance: Load Resistance in Ohms (0-500 ohms)\n :return: None"
44
false
sacherjj/array_devices
set_load_resistance
25,964
LDU_FT/xflr6/features/join
LDU_FT
[ "<BEGIN>\n## `uniqued`", "Return unique list of items preserving order.", " >>> uniqued([3, 2, 1, 3, 2, 1, 0])\n [3, 2, 1, 0]\n<END>", "<BEGIN>\n## `butlast`", "Yield all items from ``iterable`` except the last one.", " >>> list(butlast(['spam', 'eggs', 'ham']))\n ['spam', 'eggs']", " >>>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API. 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 join API. 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 the nearest featureset that subsumes all given ones.
"Return the nearest featureset that subsumes all given ones."
33
false
xflr6/features
join
25,965
LDU_FT/kdeldycke/maildir-deduplicate/run
LDU_FT
[ "<BEGIN>\n## `check_differences`", "In-depth check of mail differences.", " Compare all mails of the duplicate set with each other, both in size\n and content. Raise an error if we're not within the limits imposed by\n the threshold setting.\n<END>", "<BEGIN>\n## `diff`", "Return differ...
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 the deduplication process. We apply the removal strategy one duplicate set at a time to keep memory footprint low and make the log of actions easier to read.
"Run the deduplication process.\n\n We apply the removal strategy one duplicate set at a time to keep\n memory footprint low and make the log of actions easier to read."
68
false
kdeldycke/maildir-deduplicate
run
25,966
LDU_FT/AshleySetter/optoanalysis/get_time_slice
LDU_FT
[ "<BEGIN>\n## `InterpretWaveform`", "Take the raw binary from a file saved from the LeCroy, read from a file using \n the 2 lines:\n with open(filename, \"rb\") as file:\n raw = file.read()\n And extracts various properties of the saved time trace.", " Parameters\n -----...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time_slice API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time_slice API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Get slice of time, z and (if provided) zdot from timeStart to timeEnd. Parameters ---------- time : ndarray array of time values z : ndarray array of z values zdot : ndarray, optional array of zdot (velocity) values. timeStart : float, optional time at which to ...
"Get slice of time, z and (if provided) zdot from timeStart to timeEnd.\n\n Parameters\n ----------\n time : ndarray\n array of time values \n z : ndarray\n array of z values\n zdot : ndarray, optional\n array of zdot (velocity) values.\n timeStart : float, optional\n time ...
402
false
AshleySetter/optoanalysis
get_time_slice
25,967
LDU_FT/internetarchive/brozzler/support_in_progress_warcs
LDU_FT
[ "<BEGIN>\n## `elapsed`", "Returns elapsed crawl time as a float in seconds.", " This metric includes all the time that a site was in active rotation,\n including any time it spent waiting for its turn to be brozzled.", " In contrast `Site.active_brozzling_time` only counts time when a\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the support_in_progress_warcs 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 support_in_progress_warcs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Monkey-patch pywb.warc.pathresolvers.PrefixResolver to include warcs still being written to (warcs having ".open" suffix). This way if a cdx entry references foo.warc.gz, pywb will try both foo.warc.gz and foo.warc.gz.open.
"Monkey-patch pywb.warc.pathresolvers.PrefixResolver to include warcs still\n being written to (warcs having \".open\" suffix). This way if a cdx entry\n references foo.warc.gz, pywb will try both foo.warc.gz and\n foo.warc.gz.open."
110
false
internetarchive/brozzler
support_in_progress_warcs
25,968
LDU_FT/daknuett/py_register_machine2/register_device
LDU_FT
[ "<BEGIN>\n## `int_to_bytes`", ".. _int_to_bytes:", "\tConverts the ``int`` ``int_`` to a ``bytes`` object.\n\t``len(result) == width``.", "\tIf ``width`` is None, a number of bytes that is able to hold the\n\tnumber is choosen, depending on ``int_.bit_length()``.", "\tSee also: bytes_to_int_\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_device API. 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 register_device API. 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...
.. _register_device: Register the WordDevice_ ``word_device`` in the bus returns the start address of the device. raises: BUSSetupError_, if the device cannot be registered.
".. _register_device:\n\n\t\tRegister the WordDevice_ ``word_device`` in the bus\n\t\treturns the start address of the device.\n\n\t\traises: BUSSetupError_, if the device cannot be registered."
154
false
daknuett/py_register_machine2
register_device
25,969
LDU_FT/productml/blurr/_snapshot
LDU_FT
[ "<BEGIN>\n## `run_evaluate`", "Overrides the base evaluation to set the value to the evaluation result of the value\n expression in the schema\n<END>", "<BEGIN>\n## `set`", "Sets the value of a key to a supplied value\n<END>", "<BEGIN>\n## `increment`", "Increments the value set against a key. If ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _snapshot API. 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 _snapshot API. 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...
Implements snapshot for collections by recursively invoking snapshot of all child items
"Implements snapshot for collections by recursively invoking snapshot of all child items"
119
false
productml/blurr
_snapshot
25,970
LDU_FT/draperunner/fjlc/load_options
LDU_FT
[ "<BEGIN>\n## `string_chain`", "Chain several filters after each other, applies the filter on the entire string\n :param text: String to format\n :param filters: Sequence of filters to apply on String\n :return: The formatted String\n<END>", "<BEGIN>\n## `token_chain`", "Chain several filt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_options API. 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...
Loads options from a JSON file. The file should contain general classifier options, intensifier words with their intensification values, negation words and stop words. @param file_name Name of file containing the options @throws IOException
"Loads options from a JSON file. The file should contain general classifier options, intensifier words with their\n intensification values, negation words and stop words.\n\n @param file_name Name of file containing the options\n @throws IOException"
50
false
draperunner/fjlc
load_options
25,971
LDU_FT/davidmcclure/textplot/kde
LDU_FT
[ "<BEGIN>\n## `build_graph`", "Tokenize a text, index a term matrix, and build out a graph.", " Args:\n path (str): The file path.\n term_depth (int): Consider the N most frequent terms.\n skim_depth (int): Connect each word to the N closest siblings.\n d_weights (bool): If true, g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kde API. 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 kde API. 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...
Estimate the kernel density of the instances of term in the text. Args: term (str): A stemmed term. bandwidth (int): The kernel bandwidth. samples (int): The number of evenly-spaced sample points. kernel (str): The kernel function. Returns: n...
"Estimate the kernel density of the instances of term in the text.\n\n Args:\n term (str): A stemmed term.\n bandwidth (int): The kernel bandwidth.\n samples (int): The number of evenly-spaced sample points.\n kernel (str): The kernel function.\n\n Returns:\n ...
71
false
davidmcclure/textplot
kde
25,972