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/vimalloc/flask-jwt-extended/set_refresh_cookies | LDU_FT | [
"<BEGIN>\n## `decode_token`",
"Returns the decoded token (python dict) from an encoded JWT. This does all\n the checks to insure that the decoded token is valid before returning it.",
" :param encoded_token: The encoded JWT to decode into a python dict.\n :param csrf_value: Expected CSRF double submit ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_refresh_cookies 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_refresh_cookies 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... | Takes a flask response object, and an encoded refresh token, and configures
the response to set in the refresh token in a cookie. If `JWT_CSRF_IN_COOKIES`
is `True` (see :ref:`Configuration Options`), this will also set the CSRF
double submit values in a separate cookie.
:param response: The Flask resp... | "Takes a flask response object, and an encoded refresh token, and configures\n the response to set in the refresh token in a cookie. If `JWT_CSRF_IN_COOKIES`\n is `True` (see :ref:`Configuration Options`), this will also set the CSRF\n double submit values in a separate cookie.\n\n :param response: The Flas... | 71 | false | vimalloc/flask-jwt-extended | set_refresh_cookies | 13,273 | |
LDU_FT/thespacedoctor/polyglot/inline_link | LDU_FT | [
"<BEGIN>\n## `create`",
"*create the webarchive object*",
" **Key Arguments:**\n - ``url`` -- the url of the webpage to generate the webarchive for\n - ``pathToWebarchive`` -- tthe path to output the the webarchive file to ",
" **Return:**\n - ``webarchive`` -- t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inline_link API.
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 inline_link API.
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... | *generate a MMD sytle link*
**Key Arguments:**
- ``text`` -- the text to link from
- ``url`` -- the url to link to
**Return:**
- ``text`` -- the linked text
**Usage:**
To convert a text and url to MMD link:
.. code-block:: python
... | "*generate a MMD sytle link*\n\n **Key Arguments:**\n - ``text`` -- the text to link from\n - ``url`` -- the url to link to\n\n **Return:**\n - ``text`` -- the linked text\n\n **Usage:**\n\n To convert a text and url to MMD link:\n\n .. code-bl... | 170 | false | thespacedoctor/polyglot | inline_link | 13,274 | |
LDU_FT/lobocv/anonymoususage/get_last | LDU_FT | [
"<BEGIN>\n## `get_average`",
"Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return\n `default`.\n :return: The average count value (count / table rows) or `default` if it cannot be calculated.\n<END>",
"<BEGIN>\n## `elapsed_time_s`",
"Return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last API.
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... | Retrieve the last n rows from the table
:param n: number of rows to return
:return: list of rows | "Retrieve the last n rows from the table\n :param n: number of rows to return\n :return: list of rows" | 60 | false | lobocv/anonymoususage | get_last | 13,275 | |
LDU_FT/petl-developers/petl/selectlt | LDU_FT | [
"<BEGIN>\n## `look`",
"Format a portion of the table as text for inspection in an interactive\n session. E.g.::",
" >>> import petl as etl\n >>> table1 = [['foo', 'bar'],\n ... ['a', 1],\n ... ['b', 2]]\n >>> etl.look(table1)\n +-----+-----+\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selectlt API.
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 selectlt API.
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... | Select rows where the given field is less than the given value. | "Select rows where the given field is less than the given value." | 789 | false | petl-developers/petl | selectlt | 13,276 | |
LDU_FT/lago-project/lago/find_repo_by_name | LDU_FT | [
"<BEGIN>\n## `expose`",
"Decorator to be used with :class:`SDKWrapper`. This decorator indicates\n that the wrapped method or class should be exposed in the proxied object.",
" Args:\n func(types.FunctionType/types.MethodType): function to decorate",
" Returns:\n None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_repo_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_repo_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Searches the given repo name inside the repo_dir (will use the config value
'template_repos' if no repo dir passed), will rise an exception if not
found
Args:
name (str): Name of the repo to search
repo_dir (str): Directory where to search the repo
Return:
str: path to the repo... | "Searches the given repo name inside the repo_dir (will use the config value\n 'template_repos' if no repo dir passed), will rise an exception if not\n found\n\n Args:\n name (str): Name of the repo to search\n repo_dir (str): Directory where to search the repo\n\n Return:\n str: path t... | 718 | false | lago-project/lago | find_repo_by_name | 13,277 | |
LDU_FT/nielstron/pysyncthru/update | LDU_FT | [
"<BEGIN>\n## `construct_url`",
"Construct the URL with a given IP address.\n<END>",
"<BEGIN>\n## `update`",
"Retrieve the data from the printer.\r\n Throws ValueError if host does not support SyncThru\n<END>",
"<BEGIN>\n## `serial_number`",
"Return the serial number of the printer.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Retrieve the data from the printer.
Throws ValueError if host does not support SyncThru | "Retrieve the data from the printer.\r\n Throws ValueError if host does not support SyncThru" | 10 | false | nielstron/pysyncthru | update | 13,278 | |
LDU_FT/upsight/doctor/create_routes | LDU_FT | [
"<BEGIN>\n## `_parse_array`",
"Coerce value into an list.",
" :param str value: Value to parse.\n :returns: list or None if the value is not a JSON array\n :raises: TypeError or ValueError if value appears to be an array but can't\n be parsed as JSON.\n<END>",
"<BEGIN>\n## `_parse_boolean`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_routes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_routes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | A thin wrapper around create_routes that passes in flask specific values.
:param routes: A tuple containing the route and another tuple with
all http methods allowed for the route.
:returns: A list of tuples containing the route and generated handler. | "A thin wrapper around create_routes that passes in flask specific values.\n\n :param routes: A tuple containing the route and another tuple with\n all http methods allowed for the route.\n :returns: A list of tuples containing the route and generated handler." | 236 | false | upsight/doctor | create_routes | 13,279 | |
LDU_FT/chrismattmann/tika-python/from_buffer | LDU_FT | [
"<BEGIN>\n## `from_file`",
"Parses a file for metadata and content\n :param filename: path to file which needs to be parsed\n :param serverEndpoint: Server endpoint url\n :param xmlContent: Whether or not XML content be requested.\n Default is 'False', which results in text content.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_buffer API.
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 from_buffer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse from buffered content
:param string: buffered content
:param serverEndpoint: Tika server URL (Optional)
:return: parsed content | "Parse from buffered content\n :param string: buffered content\n :param serverEndpoint: Tika server URL (Optional)\n :return: parsed content" | 54 | false | chrismattmann/tika-python | from_buffer | 13,280 | |
LDU_FT/jarrekk/imgkit/from_string | LDU_FT | [
"<BEGIN>\n## `_gegetate_args`",
"Generator of args parts based on options specification.\n<END>",
"<BEGIN>\n## `_command`",
"Generator of all command parts\n :type options: object\n :return:\n<END>",
"<BEGIN>\n## `_normalize_options`",
"Generator of 2-tuples (option-key, option-value).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Convert given string/strings to IMG file
:param string:
:param output_path: path to output PDF file/files. False means file will be returned as string
:param options: (optional) dict with wkhtmltopdf global and page options, with or w/o '--'
:param toc: (optional) dict with toc-specific wkhtmltopdf opt... | "Convert given string/strings to IMG file\n\n :param string:\n :param output_path: path to output PDF file/files. False means file will be returned as string\n :param options: (optional) dict with wkhtmltopdf global and page options, with or w/o '--'\n :param toc: (optional) dict with toc-specific wkhtmltop... | 21 | false | jarrekk/imgkit | from_string | 13,281 | |
LDU_FT/benmack/eo-box/block_windows | LDU_FT | [
"<BEGIN>\n## `buildvrt`",
"Build a VRT",
" See also: https://www.gdal.org/gdalbuildvrt.html",
" You can find the possible BuildVRTOptions (**kwargs**) here:\n https://github.com/nextgis/pygdal/blob/78a793057d2162c292af4f6b240e19da5d5e52e2/2.1.0/osgeo/gdal.py#L1051",
" Arguments:\n input_f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_windows API.
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 block_windows API.
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... | Load windows for chunks-wise processing from raster internal tiling (first raster of given resolution).
Arguments:
res {numeric} -- Resolution determining the raster (1st of resolution group) from which to take the tiling. | "Load windows for chunks-wise processing from raster internal tiling (first raster of given resolution).\n\n Arguments:\n res {numeric} -- Resolution determining the raster (1st of resolution group) from which to take the tiling." | 98 | false | benmack/eo-box | block_windows | 13,282 | |
LDU_FT/crackinglandia/pype32/_internalParse | LDU_FT | [
"<BEGIN>\n## `showSectionsHeaders`",
"Prints IMAGE_SECTION_HEADER for every section present in the file.\n<END>",
"<BEGIN>\n## `getFields`",
"Returns all the class attributues.",
" @rtype: dict\n @return: A dictionary containing all the class attributes.\n<END>",
"<BEGIN>\n## `parse`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _internalParse API.
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 _internalParse API.
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... | Populates the attributes of the L{PE} object.
@type readDataInstance: L{ReadData}
@param readDataInstance: A L{ReadData} instance with the data of a PE file. | "Populates the attributes of the L{PE} object. \n \n @type readDataInstance: L{ReadData}\n @param readDataInstance: A L{ReadData} instance with the data of a PE file." | 428 | false | crackinglandia/pype32 | _internalParse | 13,283 | |
LDU_FT/eerimoq/bincopy/remove_data | LDU_FT | [
"<BEGIN>\n## `crc_srec`",
"Calculate the CRC for given Motorola S-Record hexstring.\n<END>",
"<BEGIN>\n## `crc_ihex`",
"Calculate the CRC for given Intel HEX hexstring.\n<END>",
"<BEGIN>\n## `pack_srec`",
"Create a Motorola S-Record record of given data.\n<END>",
"<BEGIN>\n## `unpack_srec`",
"Unpack g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Remove given data range from this segment. Returns the second
segment if the removed data splits this segment in two. | "Remove given data range from this segment. Returns the second\n segment if the removed data splits this segment in two." | 88 | false | eerimoq/bincopy | remove_data | 13,284 | |
LDU_FT/lyda/misspell-check/dump_misspelling_list | LDU_FT | [
"<BEGIN>\n## `split_words`",
"Return the list of words contained in a line.\n<END>",
"<BEGIN>\n## `add`",
"Adds files to check.",
" Args:\n files: List of files to check.\n<END>",
"<BEGIN>\n## `check`",
"Checks the files for misspellings.",
" Returns:\n (errors, results)\n errors:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_misspelling_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_misspelling_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a list of misspelled words and corrections. | "Returns a list of misspelled words and corrections." | 14 | false | lyda/misspell-check | dump_misspelling_list | 13,285 | |
LDU_FT/jmgilman/Neolib/add_type | LDU_FT | [
"<BEGIN>\n## `installed`",
"Returns whether or not Google Chrome is installed",
" Determines the application data path for Google Chrome\n and checks if the path exists. If so, returns True, otherwise\n it will return False.",
" Returns\n bool - True if Chrome is installe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extracte... | Adds a custom type to L{TYPE_MAP}. A custom type allows fine grain control
of what to encode to an AMF data stream.
@raise TypeError: Unable to add as a custom type (expected a class or callable).
@raise KeyError: Type already exists.
@see: L{get_type} and L{remove_type} | "Adds a custom type to L{TYPE_MAP}. A custom type allows fine grain control\n of what to encode to an AMF data stream.\n\n @raise TypeError: Unable to add as a custom type (expected a class or callable).\n @raise KeyError: Type already exists.\n @see: L{get_type} and L{remove_type}" | 629 | false | jmgilman/Neolib | add_type | 13,286 | |
LDU_FT/bububa/pyTOP/update | LDU_FT | [
"<BEGIN>\n## `ordersku_update`",
"taobao.trade.ordersku.update 更新交易订单的销售属性",
" 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>",
"<BEGIN>\n## `get`",
"taobao.topats.result.get 获取异步任务结果",
" 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ",
" - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | taobao.fenxiao.discount.update 修改等级折扣
修改等级折扣 | "taobao.fenxiao.discount.update 修改等级折扣\n \n 修改等级折扣" | 619 | false | bububa/pyTOP | update | 13,287 | |
LDU_FT/pndurette/gTTS/end_of_line | LDU_FT | [
"<BEGIN>\n## `tts_langs`",
"Languages Google Text-to-Speech supports.",
" Returns:\n dict: A dictionnary of the type `{ '<lang>': '<name>'}`",
" Where `<lang>` is an IETF language tag such as `en` or `pt-br`,\n and `<name>` is the full English name of the language, such as\n `En... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_of_line API.
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 end_of_line API.
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... | Re-form words cut by end-of-line hyphens.
Remove "<hyphen><newline>". | "Re-form words cut by end-of-line hyphens.\n\n Remove \"<hyphen><newline>\"." | 68 | false | pndurette/gTTS | end_of_line | 13,288 | |
LDU_FT/alephdata/memorious/directory | LDU_FT | [
"<BEGIN>\n## `size`",
"Total operations pending for this crawler\n<END>",
"<BEGIN>\n## `read_word`",
"OCR a single word from an image. Useful for captchas.\n Image should be pre-processed to remove noise etc.\n<END>",
"<BEGIN>\n## `read_char`",
"OCR a single character from an image. Useful for capt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Store the collected files to a given directory. | "Store the collected files to a given directory." | 71 | false | alephdata/memorious | directory | 13,289 | |
LDU_FT/openvax/isovar/most_common_nucleotides | LDU_FT | [
"<BEGIN>\n## `initial_variant_sequences_from_reads`",
"Get all unique sequences from reads spanning a variant locus. This will\n include partial sequences due to reads starting in the middle of the\n sequence around around a variant.\n<END>",
"<BEGIN>\n## `trim_variant_sequences`",
"Trim VariantSequence... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the most_common_nucleotides 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 most_common_nucleotides 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 the most common nucleotide at each offset to the left and
right of a variant.
Parameters
----------
partitioned_read_sequences : list of tuples
Each tuple has three elements:
- sequence before mutant nucleotides
- mutant nucleotides
- sequence after muta... | "Find the most common nucleotide at each offset to the left and\n right of a variant.\n\n Parameters\n ----------\n partitioned_read_sequences : list of tuples\n Each tuple has three elements:\n - sequence before mutant nucleotides\n - mutant nucleotides\n - sequence ... | 333 | false | openvax/isovar | most_common_nucleotides | 13,290 | |
LDU_FT/mitodl/PyLmod/unravel_staff | LDU_FT | [
"<BEGIN>\n## `unravel_sections`",
"Unravels section type dictionary into flat list of sections with\n section type set as an attribute.",
" Args:\n section_data(dict): Data return from py:method::get_sections",
" Returns:\n list: Flat list of sections with ``sectionT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unravel_staff API.
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 unravel_staff API.
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... | Unravels staff role dictionary into flat list of staff
members with ``role`` set as an attribute.
Args:
staff_data(dict): Data return from py:method::get_staff
Returns:
list: Flat list of staff members with ``role`` set to
role type (i.e. course_admin, ... | "Unravels staff role dictionary into flat list of staff\n members with ``role`` set as an attribute.\n\n Args:\n staff_data(dict): Data return from py:method::get_staff\n\n Returns:\n list: Flat list of staff members with ``role`` set to\n role type (i.e. cours... | 190 | false | mitodl/PyLmod | unravel_staff | 13,291 | |
LDU_FT/neuropsychology/NeuroKit.py/eda_scr | LDU_FT | [
"<BEGIN>\n## `complexity`",
"Computes several chaos/complexity indices of a signal (including entropy, fractal dimensions, Hurst and Lyapunov exponent etc.).",
" Parameters\n ----------\n signal : list or array\n List or array of values.\n sampling_rate : int\n Sampling rate (samples/s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eda_scr API.
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 eda_scr API.
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... | Skin-Conductance Responses extraction algorithm.
Parameters
----------
signal : list or array
EDA signal array.
sampling_rate : int
Sampling rate (samples/second).
treshold : float
SCR minimum treshold (in terms of signal standart deviation).
method : str
"fast"... | "Skin-Conductance Responses extraction algorithm.\n\n Parameters\n ----------\n signal : list or array\n EDA signal array.\n sampling_rate : int\n Sampling rate (samples/second).\n treshold : float\n SCR minimum treshold (in terms of signal standart deviation).\n method : str\n ... | 778 | false | neuropsychology/NeuroKit.py | eda_scr | 13,292 | |
LDU_FT/inspirehep/inspire-query-parser/visit_spires_keyword_query | LDU_FT | [
"<BEGIN>\n## `_restructure_if_volume_follows_journal`",
"Remove volume node if it follows a journal logically in the tree hierarchy.",
" Args:\n left (ast.ASTElement): The journal KeywordOp node.\n right (ast.ASTElement): The rest of the tree to be restructured.",
" Return:\n (ast.A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_spires_keyword_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_spires_keyword_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Transform a :class:`SpiresKeywordQuery` into a :class:`KeywordOp`.
Notes:
In case the value being a :class:`SimpleValueBooleanQuery`, the subtree is transformed to chained
:class:`AndOp` queries containing :class:`KeywordOp`, whose keyword is the keyword of the current node and
... | "Transform a :class:`SpiresKeywordQuery` into a :class:`KeywordOp`.\n\n Notes:\n In case the value being a :class:`SimpleValueBooleanQuery`, the subtree is transformed to chained\n :class:`AndOp` queries containing :class:`KeywordOp`, whose keyword is the keyword of the current node and\n ... | 142 | false | inspirehep/inspire-query-parser | visit_spires_keyword_query | 13,293 | |
LDU_FT/explosion/thinc/clone | LDU_FT | [
"<BEGIN>\n## `compounding`",
"Yield an infinite series of compounding values. Each time the\n generator is called, a value is produced by multiplying the previous\n value by the compound rate.",
" EXAMPLE:\n >>> sizes = compounding(1., 10., 1.5)\n >>> assert next(sizes) == 1.\n >>> asser... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
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 clone API.
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... | Construct `n` copies of a layer, with distinct weights.
i.e. `clone(f, 3)(x)` computes `f(f'(f''(x)))`. | "Construct `n` copies of a layer, with distinct weights.\n\n i.e. `clone(f, 3)(x)` computes `f(f'(f''(x)))`." | 75 | false | explosion/thinc | clone | 13,294 | |
LDU_FT/sjkingo/python-freshdesk/list_contacts | LDU_FT | [
"<BEGIN>\n## `get_ticket`",
"Fetches the ticket for the given ticket ID\n<END>",
"<BEGIN>\n## `create_ticket`",
"Creates a ticket\n To create ticket with attachments,\n pass a key 'attachments' with value as list of fully qualified file paths in string format.\n ex: attachment... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_contacts API.
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 list_contacts API.
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... | List all contacts, optionally filtered by a query. Specify filters as
query keyword argument, such as:
email=abc@xyz.com,
mobile=1234567890,
phone=1234567890,
contacts can be filtered by state and company_id such as:
state=[blocked/deleted/unverified/verified]
... | "List all contacts, optionally filtered by a query. Specify filters as\n query keyword argument, such as:\n\n email=abc@xyz.com,\n mobile=1234567890,\n phone=1234567890,\n\n contacts can be filtered by state and company_id such as:\n\n state=[blocked/deleted/unverified/verified... | 57 | false | sjkingo/python-freshdesk | list_contacts | 13,295 | |
LDU_FT/sdss/sdss_access/name | LDU_FT | [
"<BEGIN>\n## `remote`",
"Configures remote access",
" Parameters\n ----------\n remote_base : str\n base URL path for remote repository\n username : str\n user name for remote repository\n password : str\n password for local repository\n<END>",... | 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 directory containing a file of a given type.
Parameters
----------
filetype : str
File type parameter.
Returns
-------
name : str
Name of a file with no directory information. | "Return the directory containing a file of a given type.\n\n Parameters\n ----------\n filetype : str\n File type parameter.\n\n Returns\n -------\n name : str\n Name of a file with no directory information." | 121 | false | sdss/sdss_access | name | 13,296 | |
LDU_FT/ChristianTremblay/BAC0/_batches | LDU_FT | [
"<BEGIN>\n## `sim`",
"Simulate I/O points by setting the Out_Of_Service property, then doing a \r\n WriteProperty to the point's Present_Value.\r",
" :param args: String with <addr> <type> <inst> <prop> <value> [ <indx> ] [ <priority> ]\n<END>",
"<BEGIN>\n## `out_of_service`",
"Set the Out_Of_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _batches API.
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 _batches API.
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... | Generator for creating 'request batches'. Each batch contains a maximum of "points_per_request"
points to read.
:params: request a list of point_name as a list
:params: (int) points_per_request
:returns: (iter) list of point_name of size <= points_per_request | "Generator for creating 'request batches'. Each batch contains a maximum of \"points_per_request\" \r\n points to read.\r\n :params: request a list of point_name as a list\r\n :params: (int) points_per_request\r\n :returns: (iter) list of point_name of size <= points_per_request" | 73 | false | ChristianTremblay/BAC0 | _batches | 13,297 | |
LDU_FT/23andMe/Yamale/_validate | LDU_FT | [
"<BEGIN>\n## `validate`",
"Check if ``value`` is valid.",
" :returns: [errors] If ``value`` is invalid, otherwise [].\n<END>",
"<BEGIN>\n## `_process_schema`",
"Go through a schema and construct validators.\n<END>",
"<BEGIN>\n## `_validate`",
"Run through a schema and a data structure,\n v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Run through a schema and a data structure,
validating along the way.
Ignores fields that are in the data structure, but not in the schema.
Returns an array of errors. | "Run through a schema and a data structure,\n validating along the way.\n\n Ignores fields that are in the data structure, but not in the schema.\n\n Returns an array of errors." | 21 | false | 23andMe/Yamale | _validate | 13,298 | |
LDU_FT/a1ezzz/wasp-general/umount | LDU_FT | [
"<BEGIN>\n## `connect`",
":meth:`.WNetworkClientProto.connect` method implementation\n<END>",
"<BEGIN>\n## `scheme_specification`",
":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>",
"<BEGIN>\n## `upload_file`",
":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the umount API.
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 umount API.
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 ... | Unmount device (or mount directory)
:param device_or_directory: device name or mount directory to unmount
:param cmd_timeout: if specified - timeout with which this unmount command should be evaluated (if \
command isn't complete within the given timeout - an exception will be raised)
:param sudo: whether to u... | "Unmount device (or mount directory)\n\n\t\t:param device_or_directory: device name or mount directory to unmount\n\t\t:param cmd_timeout: if specified - timeout with which this unmount command should be evaluated (if \\\n\t\tcommand isn't complete within the given timeout - an exception will be raised)\n\t\t:param sud... | 917 | false | a1ezzz/wasp-general | umount | 13,299 | |
LDU_FT/bykof/billomapy/get_all_article_properties | LDU_FT | [
"<BEGIN>\n## `_create_get_request`",
"Creates a get request and return the response data\n<END>",
"<BEGIN>\n## `_create_put_request`",
"Creates a put request and return the response data\n<END>",
"<BEGIN>\n## `_create_delete_request`",
"Creates a post request and return the response data\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_article_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_article_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Get all article properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | "Get all article properties\n This will iterate over all pages until it gets all elements.\n So if the rate limit exceeded it will throw an Exception and you will get nothing\n\n :param params: search params\n :return: list" | 502 | false | bykof/billomapy | get_all_article_properties | 13,300 | |
LDU_FT/wummel/dosage/contains_case_insensitive | LDU_FT | [
"<BEGIN>\n## `exception`",
"Write error message with traceback info.\n<END>",
"<BEGIN>\n## `write`",
"Write message with indentation, context and optional timestamp.\n<END>",
"<BEGIN>\n## `contains_case_insensitive`",
"Check if key is in adict. The search is case insensitive.\n<END>",
"<BEGIN>\n## `fini... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains_case_insensitive 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 contains_case_insensitive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Check if key is in adict. The search is case insensitive. | "Check if key is in adict. The search is case insensitive." | 141 | false | wummel/dosage | contains_case_insensitive | 13,301 | |
LDU_FT/toumorokoshi/transmute-core/add_swagger | LDU_FT | [
"<BEGIN>\n## `from_argspec`",
"retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>",
"<BEGIN>\n## `split_args`",
"given a dictionary of arguments, split them into\n args and kwargs",
" note: this destroys the arg_dict passed. if you need it,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_swagger API.
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 add_swagger API.
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... | add a swagger html page, and a swagger.json generated
from the routes added to the app. | "add a swagger html page, and a swagger.json generated\n from the routes added to the app." | 100 | false | toumorokoshi/transmute-core | add_swagger | 13,302 | |
LDU_FT/rtfd/sphinx-autoapi/_expand_wildcard_placeholder | LDU_FT | [
"<BEGIN>\n## `load`",
"Load objects from the filesystem into the ``paths`` dictionary.\n<END>",
"<BEGIN>\n## `read_file`",
"Read file input into memory, returning deserialized objects",
" :param path: Path of file to read\n :param \\**kwargs:\n * ignore (``list``): List of file patt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_wildcard_placeholder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_wildcard_placeholder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Expand a wildcard placeholder to a sequence of named placeholders.
:param original_module: The data dictionary of the module
that the placeholder is imported from.
:type original_module: dict
:param originals_map: A map of the names of children under the module
to their data dictionaries.
... | "Expand a wildcard placeholder to a sequence of named placeholders.\n\n :param original_module: The data dictionary of the module\n that the placeholder is imported from.\n :type original_module: dict\n :param originals_map: A map of the names of children under the module\n to their data dictiona... | 169 | false | rtfd/sphinx-autoapi | _expand_wildcard_placeholder | 13,303 | |
LDU_FT/mfussenegger/cr8/as_bulk_queries | LDU_FT | [
"<BEGIN>\n## `to_int`",
"converts a string to an integer",
" >>> to_int('1_000_000')\n 1000000",
" >>> to_int('1e6')\n 1000000",
" >>> to_int('1000')\n 1000\n<END>",
"<BEGIN>\n## `dicts_from_lines`",
"returns a generator producing dicts from json lines",
" 1 JSON object per line i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_bulk_queries API.
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 as_bulk_queries API.
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 a iterable of (stmt, args) by stmt into (stmt, bulk_args).
bulk_args will be a list of the args grouped by stmt.
len(bulk_args) will be <= bulk_size | "Group a iterable of (stmt, args) by stmt into (stmt, bulk_args).\n\n bulk_args will be a list of the args grouped by stmt.\n\n len(bulk_args) will be <= bulk_size" | 146 | false | mfussenegger/cr8 | as_bulk_queries | 13,304 | |
LDU_FT/sanger-pathogens/ariba/sam_to_fastq | LDU_FT | [
"<BEGIN>\n## `_update_threads`",
"Update available thread count post-construction.\n To be called any number of times from run() method\n<END>",
"<BEGIN>\n## `_report_completion`",
"Update shared counters to signal that we are done with this cluster.\n Call just before exiting run() method (in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sam_to_fastq API.
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 sam_to_fastq API.
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... | Given a pysam alignment, returns the sequence a Fastq object.
Reverse complements as required and add suffix /1 or /2 as appropriate from the flag | "Given a pysam alignment, returns the sequence a Fastq object.\n Reverse complements as required and add suffix /1 or /2 as appropriate from the flag" | 105 | false | sanger-pathogens/ariba | sam_to_fastq | 13,305 | |
LDU_FT/tilezen/tilequeue/_intersect_multipolygon | LDU_FT | [
"<BEGIN>\n## `merge`",
"Retrieve a list of OSciMap4 tile responses and merge them into one.",
" get_tiles() retrieves data and performs basic integrity checks.\n<END>",
"<BEGIN>\n## `_make_valid_if_necessary`",
"attempt to correct invalid shapes if necessary",
" After simplification, even when p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _intersect_multipolygon 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 _intersect_multipolygon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return the parts of the MultiPolygon shape which overlap the tile_bounds,
each clipped to the clip_bounds. This can be used to extract only the
parts of a multipolygon which are actually visible in the tile, while
keeping those parts which extend beyond the tile clipped to avoid huge
polygons. | "Return the parts of the MultiPolygon shape which overlap the tile_bounds,\n each clipped to the clip_bounds. This can be used to extract only the\n parts of a multipolygon which are actually visible in the tile, while\n keeping those parts which extend beyond the tile clipped to avoid huge\n polygons." | 135 | false | tilezen/tilequeue | _intersect_multipolygon | 13,306 | |
LDU_FT/google/grr/ExpirePrefix | LDU_FT | [
"<BEGIN>\n## `Column`",
"Iterates over values of a given column.",
" Args:\n column_name: A nome of the column to retrieve the values for.",
" Yields:\n Values of the specified column.",
" Raises:\n KeyError: If given column is not present in the table.\n<END>",
"<BEGIN>\n## `Check... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ExpirePrefix API.
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 ExpirePrefix API.
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... | Expire all the objects with the key having a given prefix. | "Expire all the objects with the key having a given prefix." | 4,605 | true | google/grr | ExpirePrefix | 13,307 | |
LDU_FT/miracle2k/flask-assets/split_prefix | LDU_FT | [
"<BEGIN>\n## `get_static_folder`",
"Return the static folder of the given Flask app\n instance, or module/blueprint.",
" In newer Flask versions this can be customized, in older\n ones (<=0.6) the folder is fixed.\n<END>",
"<BEGIN>\n## `setdefault`",
"We may not always be connected to an app, but w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_prefix API.
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 split_prefix API.
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... | See if ``item`` has blueprint prefix, return (directory, rel_path). | "See if ``item`` has blueprint prefix, return (directory, rel_path)." | 16 | false | miracle2k/flask-assets | split_prefix | 13,308 | |
LDU_FT/riga/scinum/set_uncertainty | LDU_FT | [
"<BEGIN>\n## `log`",
"log(x, base=e)\n Logarithmic function.\n<END>",
"<BEGIN>\n## `asin`",
"asin(x)\n Trigonometric arc sin function.\n<END>",
"<BEGIN>\n## `acos`",
"acos(x)\n Trigonometric arc cos function.\n<END>",
"<BEGIN>\n## `atan`",
"tan(x)\n Trigonometric arc tan function.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_uncertainty API.
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 set_uncertainty API.
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... | Sets the uncertainty *value* for an uncertainty *name*. *value* should have one of the
formats as described in :py:meth:`uncertainties`. | "Sets the uncertainty *value* for an uncertainty *name*. *value* should have one of the\n formats as described in :py:meth:`uncertainties`." | 90 | false | riga/scinum | set_uncertainty | 13,309 | |
LDU_FT/SeabornGames/Table/pertibate_to_obj | LDU_FT | [
"<BEGIN>\n## `list_to_obj`",
":param list_: list of list or list of dictionary to use as the\n source\n :param columns: list of strings to label the columns when\n converting to str\n :param row_columns: list of columns in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pertibate_to_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pertibate_to_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | This will create and add rows to the table by pertibating the
parameters for the provided columns
:param columns: list of str of columns in the table
:param pertibate_values: dict of {'column': [values]}
:param generated_columns: dict of {'column': func}
:param filter_func: f... | "This will create and add rows to the table by pertibating the\n parameters for the provided columns\n :param columns: list of str of columns in the table\n :param pertibate_values: dict of {'column': [values]}\n :param generated_columns: dict of {'column': func}\n :param filter_f... | 93 | false | SeabornGames/Table | pertibate_to_obj | 13,310 | |
LDU_FT/eddieantonio/perfection/trim_nones_from_right | LDU_FT | [
"<BEGIN>\n## `add_edge`",
"Add edge (u, v) to the graph. Raises InvariantError if adding the edge\n would form a cycle.\n<END>",
"<BEGIN>\n## `edges`",
"Edges of this graph, in canonical order.\n<END>",
"<BEGIN>\n## `ordered_deduplicate`",
"Returns the sequence as a tuple with the duplicates remove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trim_nones_from_right 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 trim_nones_from_right 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 list without all the Nones at the right end.
>>> trim_nones_from_right([1, 2, None, 4, None, 5, None, None])
[1, 2, None, 4, None, 5] | "Returns the list without all the Nones at the right end.\n\n >>> trim_nones_from_right([1, 2, None, 4, None, 5, None, None])\n [1, 2, None, 4, None, 5]" | 64 | false | eddieantonio/perfection | trim_nones_from_right | 13,311 | |
LDU_FT/daler/trackhub/filter_composite_from_subgroups | LDU_FT | [
"<BEGIN>\n## `default_hub`",
"Returns a fully-connected set of hub components using default filenames.",
" Parameters\n ----------",
" hub_name : str\n Name of the hub",
" genome : str\n Assembly name (hg38, dm6, etc)",
" email : str\n Email to include with hub.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_composite_from_subgroups 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 filter_composite_from_subgroups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Given a sorted list of subgroups, return a string appropriate to provide as
the a composite track's `filterComposite` argument
>>> import trackhub
>>> trackhub.helpers.filter_composite_from_subgroups(['cell', 'ab', 'lab', 'knockdown'])
'dimA dimB'
Parameters
----------
s : list
A l... | "Given a sorted list of subgroups, return a string appropriate to provide as\n the a composite track's `filterComposite` argument\n\n >>> import trackhub\n >>> trackhub.helpers.filter_composite_from_subgroups(['cell', 'ab', 'lab', 'knockdown'])\n 'dimA dimB'\n\n Parameters\n ----------\n s : list\n... | 111 | false | daler/trackhub | filter_composite_from_subgroups | 13,312 | |
LDU_FT/SystemRDL/systemrdl-compiler/descendants | LDU_FT | [
"<BEGIN>\n## `derive_coordinates`",
"Depending on the compilation source, some members of the SourceRef\n object may be incomplete.\n Calling this function performs the necessary derivations to complete the\n object.\n<END>",
"<BEGIN>\n## `format_message`",
"Formats the message prior to e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the descendants API.
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 descendants API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns an iterator that provides nodes for all descendants of this
component.
Parameters
----------
unroll : bool
If True, any children that are arrays are unrolled.
skip_not_present : bool
If True, skips children whose 'ispresent' property is set to Fa... | "Returns an iterator that provides nodes for all descendants of this\n component.\n\n Parameters\n ----------\n unroll : bool\n If True, any children that are arrays are unrolled.\n\n skip_not_present : bool\n If True, skips children whose 'ispresent' property is... | 207 | false | SystemRDL/systemrdl-compiler | descendants | 13,313 | |
LDU_FT/reanahub/reana-commons/calculate_file_access_time | LDU_FT | [
"<BEGIN>\n## `click_table_printer`",
"Generate space separated output for click commands.\n<END>",
"<BEGIN>\n## `calculate_job_input_hash`",
"Calculate md5 hash of job specification and workflow json.\n<END>",
"<BEGIN>\n## `calculate_file_access_time`",
"Calculate access times of files in workspace.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_file_access_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_file_access_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Calculate access times of files in workspace. | "Calculate access times of files in workspace." | 45 | false | reanahub/reana-commons | calculate_file_access_time | 13,314 | |
LDU_FT/appknox/pyaxmlparser/_apk_analysis | LDU_FT | [
"<BEGIN>\n## `_decode8`",
"Decode an UTF-8 String at the given offset",
" :param offset: offset of the string inside the data\n :return: str\n<END>",
"<BEGIN>\n## `_decode16`",
"Decode an UTF-16 String at the given offset",
" :param offset: offset of the string inside the data\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apk_analysis API.
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 _apk_analysis API.
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... | Run analysis on the APK file.
This method is usually called by __init__ except if skip_analysis is False.
It will then parse the AndroidManifest.xml and set all fields in the APK class which can be
extracted from the Manifest. | "Run analysis on the APK file.\n\n This method is usually called by __init__ except if skip_analysis is False.\n It will then parse the AndroidManifest.xml and set all fields in the APK class which can be\n extracted from the Manifest." | 63 | false | appknox/pyaxmlparser | _apk_analysis | 13,315 | |
LDU_FT/wind-python/windpowerlib/logarithmic_profile | LDU_FT | [
"<BEGIN>\n## `reduce_wind_speed`",
"r\"\"\"\n Reduces wind speed by a wind efficiency curve.",
" The wind efficiency curves are provided in the windpowerlib and were\n calculated in the dena-Netzstudie II and in the work of Knorr\n (see [1]_ and [2]_).",
" Parameters\n ----------\n wind_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logarithmic_profile 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 logarithmic_profile 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... | r"""
Calculates the wind speed at hub height using a logarithmic wind profile.
The logarithmic height equation is used. There is the possibility of
including the height of the surrounding obstacles in the calculation. This
function is carried out when the parameter `wind_speed_model` of an
instance... | "r\"\"\"\n Calculates the wind speed at hub height using a logarithmic wind profile.\n\n The logarithmic height equation is used. There is the possibility of\n including the height of the surrounding obstacles in the calculation. This\n function is carried out when the parameter `wind_speed_model` of an\n ... | 249 | false | wind-python/windpowerlib | logarithmic_profile | 13,316 | |
LDU_FT/iblancasa/GitHubCity/__exportUsers | LDU_FT | [
"<BEGIN>\n## `export`",
"Export all attributes of the user to a dict.",
" :return: attributes of the user.\n :rtype: dict.\n<END>",
"<BEGIN>\n## `__getContributions`",
"Scrap the contributions from a GitHub profile.",
" :param web: parsed web.\n :type web: BeautifulSoup node.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __exportUsers API.
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 __exportUsers API.
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... | Export the users to a dictionary.
:param sort: field to sort the users
:type sort: str.
:return: exported users.
:rtype: dict. | "Export the users to a dictionary.\n\n :param sort: field to sort the users\n :type sort: str.\n :return: exported users.\n :rtype: dict." | 97 | false | iblancasa/GitHubCity | __exportUsers | 13,317 | |
LDU_FT/hubo1016/namedstruct/packexpr | LDU_FT | [
"<BEGIN>\n## `ip_frag`",
"Not fragments:\n ip_frag(packet) == 0\n not ip_frag(packet)",
" First packet of fragments:\n ip_frag(packet) == IP_FRAG_ANY",
" Not first packet of fragments:\n ip_frag(packet) & IP_FRAG_LATER",
" All fragments:\n ip_frag(packet) & IP_FRA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the packexpr API.
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 packexpr API.
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... | Store a evaluated value to specified property path. Often used in nstruct "prepack" parameter.
:param func: a function which takes a NamedStruct as parameter and returns a value, often a lambda expression
:param properties: specified field name, same as sizefromlen.
:returns: a function which... | "Store a evaluated value to specified property path. Often used in nstruct \"prepack\" parameter.\n \n :param func: a function which takes a NamedStruct as parameter and returns a value, often a lambda expression\n \n :param properties: specified field name, same as sizefromlen.\n \n :returns: a funct... | 149 | false | hubo1016/namedstruct | packexpr | 13,318 | |
LDU_FT/DistrictDataLabs/yellowbrick/radviz | LDU_FT | [
"<BEGIN>\n## `download`",
"Download the dataset from the hosted Yellowbrick data store and save\n it to the location specified by ``get_data_home``. The downloader\n verifies the download completed successfully and safely by comparing\n the expected signature with the SHA 256 signature of the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the radviz API.
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 radviz API.
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 ... | Displays each feature as an axis around a circle surrounding a scatter
plot whose points are each individual instance.
This helper function is a quick wrapper to utilize the RadialVisualizer
(Transformer) for one-off analysis.
Parameters
----------
X : ndarray or DataFrame of shape n x m
... | "Displays each feature as an axis around a circle surrounding a scatter\n plot whose points are each individual instance.\n\n This helper function is a quick wrapper to utilize the RadialVisualizer\n (Transformer) for one-off analysis.\n\n Parameters\n ----------\n\n X : ndarray or DataFrame of shape ... | 1,283 | true | DistrictDataLabs/yellowbrick | radviz | 13,319 | |
LDU_FT/PrefPy/prefpy/get_index_nested | LDU_FT | [
"<BEGIN>\n## `mse`",
"Description:\r\n Calculates the Mean Squared Error (MSE) of\r\n an estimation on flat numpy ndarrays.\r\n Parameters:\r\n mean: actual value (numpy ndarray)\r\n estimator: estimated value of the mean (numpy ndarray)\n<END>",
"<BEGIN>\n## `sse`",
"Descr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_nested API.
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_index_nested API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Description:
Returns the first index of the array (vector) x containing the value i.
Parameters:
x: one-dimensional array
i: search value | "Description:\r\n Returns the first index of the array (vector) x containing the value i.\r\n Parameters:\r\n x: one-dimensional array\r\n i: search value" | 316 | false | PrefPy/prefpy | get_index_nested | 13,320 | |
LDU_FT/danilobellini/audiolazy/newest_file | LDU_FT | [
"<BEGIN>\n## `deprecate`",
"A deprecation warning emmiter as a decorator.\n<END>",
"<BEGIN>\n## `get_module_names`",
"All names in the package directory that matches the given glob, without\n their extension. Repeated names should appear only once.\n<END>",
"<BEGIN>\n## `get_modules`",
"List of module ob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the newest_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the newest_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns the name of the newest file given an iterable of file names. | "Returns the name of the newest file given an iterable of file names." | 578 | false | danilobellini/audiolazy | newest_file | 13,321 | |
LDU_FT/santosjorge/cufflinks/scales | LDU_FT | [
"<BEGIN>\n## `to_df`",
"Extracts the data from a Plotly Figure",
" Parameters\n ----------\n figure : plotly_figure\n Figure from which data will be \n extracted",
" Returns a DataFrame or list of DataFrame\n<END>",
"<BEGIN>\n## `to_rgba`",
"Converts from hex|rgb ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scales API.
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 scales API.
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 ... | Displays a color scale (HTML)
Parameters:
-----------
scale : str
Color scale name
If no scale name is provided then all scales are returned
(max number for each scale)
If scale='all' then all scale combinations... | "Displays a color scale (HTML)\n\n Parameters:\n -----------\n scale : str\n Color scale name\n If no scale name is provided then all scales are returned\n (max number for each scale)\n If scale='all' then all scale com... | 328 | false | santosjorge/cufflinks | scales | 13,322 | |
LDU_FT/thoughtworksarts/EmoPy/_load_dataset | LDU_FT | [
"<BEGIN>\n## `load_data`",
"Loads image and label data from specified csv file path.",
" :return: Dataset object containing image and label data.\n<END>",
"<BEGIN>\n## `_load_dataset`",
"Loads Dataset object with images, labels, and other data.",
" :param images: numpy array of image data\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_dataset API.
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 _load_dataset API.
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... | Loads Dataset object with images, labels, and other data.
:param images: numpy array of image data
:param labels: numpy array of one-hot vector labels
:param emotion_index_map: map linking string/integer emotion class to integer index used in labels vectors
:return: Dataset object cont... | "Loads Dataset object with images, labels, and other data.\n\n :param images: numpy array of image data\n :param labels: numpy array of one-hot vector labels\n :param emotion_index_map: map linking string/integer emotion class to integer index used in labels vectors\n\n :return: Dataset obje... | 53 | false | thoughtworksarts/EmoPy | _load_dataset | 13,323 | |
LDU_FT/simoninireland/epyc/patch | LDU_FT | [
"<BEGIN>\n## `_parametersAsIndex`",
"Private method to turn a parameter dict into a string suitable for\n keying a dict.",
" ps: the parameters as a hash\n returns: a string key\n<END>",
"<BEGIN>\n## `addResult`",
"Add a result. This should be :term:`results dict` as returned from\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API.
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 patch API.
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... | Patch the results dict. The default processes the :attr:`Experiment.START_TIME`
and :attr:`Experiment.END_TIME` metadata fields back into Python `datetime` objects
from ISO strings. This isn't strictly necessary, but it makes notebook
data structure more Pythonic. | "Patch the results dict. The default processes the :attr:`Experiment.START_TIME`\n and :attr:`Experiment.END_TIME` metadata fields back into Python `datetime` objects\n from ISO strings. This isn't strictly necessary, but it makes notebook\n data structure more Pythonic." | 116 | false | simoninireland/epyc | patch | 13,324 | |
LDU_FT/BoGoEngine/bogo-python/_transform | LDU_FT | [
"<BEGIN>\n## `append_comps`",
"Append a character to `comps` following this rule: a vowel is added to the\n vowel part if there is no last consonant, else to the last consonant part;\n a consonant is added to the first consonant part if there is no vowel, and\n to the last consonant part if the vowel par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transform API.
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 _transform API.
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... | Transform the given string with transform type trans | "Transform the given string with transform type trans" | 55 | false | BoGoEngine/bogo-python | _transform | 13,325 | |
LDU_FT/giancosta86/Iris/safeMakeDirs | LDU_FT | [
"<BEGIN>\n## `getFlag`",
"Creates a flag having path <variables dir path><os.sep><flagName>\n<END>",
"<BEGIN>\n## `getFriendlyString`",
"Returns the version, printed in a friendly way.",
" More precisely, it trims trailing zero components.\n<END>",
"<BEGIN>\n## `getVersions`",
"Returns the versio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safeMakeDirs API.
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 safeMakeDirs API.
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... | Creates the given directory path, as well as intermediate directories.
Catches any I/O exception, returning False in that case; otherwise,
True is returned. | "Creates the given directory path, as well as intermediate directories.\n Catches any I/O exception, returning False in that case; otherwise,\n True is returned." | 45 | false | giancosta86/Iris | safeMakeDirs | 13,326 | |
LDU_FT/edeposit/edeposit.amqp.ftp/decode | LDU_FT | [
"<BEGIN>\n## `load_users`",
"Read passwd file and return dict with users and all their settings.",
" Args:\n path (str, default settings.LOGIN_FILE): path of the file,\n which will be loaded (default :attr:`ftp.settings.LOGIN_FILE`).",
" Returns:\n (dict): username: {pass_hash, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
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 decode API.
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 ... | Handles decoding of the JSON `data`.
Args:
data (str): Data which will be decoded.
Returns:
dict: Dictionary with decoded data. | "Handles decoding of the JSON `data`.\n\n Args:\n data (str): Data which will be decoded.\n\n Returns:\n dict: Dictionary with decoded data." | 166 | false | edeposit/edeposit.amqp.ftp | decode | 13,327 | |
LDU_FT/vingd/vingd-api-python/create_order | LDU_FT | [
"<BEGIN>\n## `request`",
"Generic Vingd-backend authenticated request (currently HTTP Basic Auth\n over HTTPS, but OAuth1 in the future).",
" :returns: Data ``dict``, or raises exception.\n<END>",
"<BEGIN>\n## `_extract_id_from_batch_response`",
"Unholy, forward-compatible, mess for extraction... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_order API.
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... | CREATES a single order for object ``oid``, with price set to ``price``
and validity until ``expires``.
:type oid: ``bigint``
:param oid:
Object ID.
:type price: ``bigint``
:param price:
Vingd amount (in cents) the user/buyer shall be charged upon
... | "CREATES a single order for object ``oid``, with price set to ``price``\n and validity until ``expires``.\n \n :type oid: ``bigint``\n :param oid:\n Object ID.\n :type price: ``bigint``\n :param price:\n Vingd amount (in cents) the user/buyer shall be char... | 116 | false | vingd/vingd-api-python | create_order | 13,328 | |
LDU_FT/thecynic/pylutron/subscribe | LDU_FT | [
"<BEGIN>\n## `_send_locked`",
"Sends the specified command to the lutron controller.",
" Assumes self._lock is held.\n<END>",
"<BEGIN>\n## `_do_login_locked`",
"Executes the login procedure (telnet) as well as setting up some\n connection defaults like turning off the prompt, etc.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe API.
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 subscribe API.
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... | Subscribes to events from this entity.
handler: A callable object that takes the following arguments (in order)
obj: the LutrongEntity object that generated the event
context: user-supplied (to subscribe()) context object
event: the LutronEvent that was generated.
... | "Subscribes to events from this entity.\n\n handler: A callable object that takes the following arguments (in order)\n obj: the LutrongEntity object that generated the event\n context: user-supplied (to subscribe()) context object\n event: the LutronEvent that was generated.\n ... | 73 | false | thecynic/pylutron | subscribe | 13,329 | |
LDU_FT/bitprophet/releases/default_spec | LDU_FT | [
"<BEGIN>\n## `add_family`",
"Expand to a new release line with given ``major_number``.",
" This will flesh out mandatory buckets like ``unreleased_bugfix`` and do\n other necessary bookkeeping.\n<END>",
"<BEGIN>\n## `has_stable_releases`",
"Returns whether stable (post-0.x) releases seem to ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Given the current release-lines structure, return a default Spec.
Specifics:
* For feature-like issues, only the highest major release is used, so
given a ``manager`` with top level keys of ``[1, 2]``, this would
return ``Spec(">=2")``.
* When ``releases_always_forward... | "Given the current release-lines structure, return a default Spec.\n\n Specifics:\n\n * For feature-like issues, only the highest major release is used, so\n given a ``manager`` with top level keys of ``[1, 2]``, this would\n return ``Spec(\">=2\")``.\n\n * When ``releases_alw... | 76 | false | bitprophet/releases | default_spec | 13,330 | |
LDU_FT/PMBio/limix-backup/smartAppend | LDU_FT | [
"<BEGIN>\n## `PCA`",
"run PCA, retrieving the first (components) principle components\n\treturn [s0, eig, w0]\n\ts0: factors\n\tw0: weights\n<END>",
"<BEGIN>\n## `PC_varExplained`",
"Run PCA and calculate the cumulative fraction of variance\n Args:\n Y: phenotype values\n standardize: if True... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smartAppend API.
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 smartAppend API.
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... | helper function for apppending in a dictionary | "helper function for apppending in a dictionary" | 428 | false | PMBio/limix-backup | smartAppend | 13,331 | |
LDU_FT/splitkeycoffee/pyhottop/_generate_config | LDU_FT | [
"<BEGIN>\n## `_generate_config`",
"Generate a configuration that can be sent to the Hottop roaster.",
" Configuration settings need to be represented inside of a byte array\n that is then written to the serial interface. Much of the configuration\n is static, but control settings are also i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_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 ... | Generate a configuration that can be sent to the Hottop roaster.
Configuration settings need to be represented inside of a byte array
that is then written to the serial interface. Much of the configuration
is static, but control settings are also included and pulled from the
shared dict... | "Generate a configuration that can be sent to the Hottop roaster.\n\n Configuration settings need to be represented inside of a byte array\n that is then written to the serial interface. Much of the configuration\n is static, but control settings are also included and pulled from the\n share... | 89 | false | splitkeycoffee/pyhottop | _generate_config | 13,332 | |
LDU_FT/htm-community/menorah/populateCsv | LDU_FT | [
"<BEGIN>\n## `swarm`",
"Runs a swarm in the giving working directory, assuming it was created by \n Menorah.\n :param workingDir: absolute or relative path to working directory created by\n Menorah\n<END>",
"<BEGIN>\n## `load`",
"Loads this stream by calling River View for data.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populateCsv API.
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 populateCsv API.
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... | Writes data from streams into CSV in working directory.
:return: | "Writes data from streams into CSV in working directory.\n :return:" | 30 | false | htm-community/menorah | populateCsv | 13,333 | |
LDU_FT/marrow/mongo/prolong | LDU_FT | [
"<BEGIN>\n## `process_fields`",
"Process a list of simple string field definitions and assign their order based on prefix.\n<END>",
"<BEGIN>\n## `create`",
"Create this index in the specified collection; keyword arguments are passed to PyMongo.",
"\t\thttp://api.mongodb.com/python/current/api/pymongo/collec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prolong API.
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 prolong API.
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... | Prolong the working duration of an already held lock.
Attempting to prolong a lock not already owned will result in a Locked exception. | "Prolong the working duration of an already held lock.\n\t\t\n\t\tAttempting to prolong a lock not already owned will result in a Locked exception." | 175 | false | marrow/mongo | prolong | 13,334 | |
LDU_FT/psphere-project/psphere/login | LDU_FT | [
"<BEGIN>\n## `get_options`",
"Get the options that have been set.",
" Called after the user has added all their own options\n and is ready to use the variables.\n<END>",
"<BEGIN>\n## `_get_dataobject`",
"This function only gets called if the decorated property\n doesn't have a value in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
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 login API.
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... | Login to a vSphere server.
>>> client.login(username='Administrator', password='strongpass')
:param username: The username to authenticate as.
:type username: str
:param password: The password to authenticate with.
:type password: str | "Login to a vSphere server.\n\n >>> client.login(username='Administrator', password='strongpass')\n\n :param username: The username to authenticate as.\n :type username: str\n :param password: The password to authenticate with.\n :type password: str" | 82 | false | psphere-project/psphere | login | 13,335 | |
LDU_FT/tempodb/tempodb-python/get_series | LDU_FT | [
"<BEGIN>\n## `from_json`",
"Deserialize a JSON object into this object. This method will\n check that the JSON object has the required keys and will set each\n of the keys in that JSON object as an instance attribute of this\n object.",
" :param json_text: the JSON text or object to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_series API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_series API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get a series object from TempoDB given its key.
:param string key: a string name for the series
:rtype: :class:`tempodb.response.Response` with a
:class:`tempodb.protocol.objects.Series` data payload | "Get a series object from TempoDB given its key.\n\n :param string key: a string name for the series\n :rtype: :class:`tempodb.response.Response` with a\n :class:`tempodb.protocol.objects.Series` data payload" | 99 | false | tempodb/tempodb-python | get_series | 13,336 | |
LDU_FT/iopipe/iopipe-python/get_collector_path | LDU_FT | [
"<BEGIN>\n## `upload_profiler_report`",
"Uploads a profiler report to IOpipe",
" :param url: The signed URL\n :param filename: The profiler report file\n :param config: The IOpipe config\n<END>",
"<BEGIN>\n## `read_pid_stat`",
"Mocks read_pid_stat as this is a Linux-specific operation.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collector_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collector_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the IOpipe collector's path. By default this is `/v0/event`.
:param base_url: An optional base URL to use.
:returns: The collector's path.
:rtype: str | "Returns the IOpipe collector's path. By default this is `/v0/event`.\n\n :param base_url: An optional base URL to use.\n :returns: The collector's path.\n :rtype: str" | 93 | false | iopipe/iopipe-python | get_collector_path | 13,337 | |
LDU_FT/Parsely/birding/process | LDU_FT | [
"<BEGIN>\n## `main`",
"Do the default action of `twitter` command.\n<END>",
"<BEGIN>\n## `from_oauth_file`",
"Get an object bound to the Twitter API using your own credentials.",
" The `twitter` library ships with a `twitter` command that uses PIN\n OAuth. Generate your own OAuth credentials b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
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 process API.
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... | Process steps:
1. Stream in (term, timestamp, search_result).
2. Perform :meth:`~birding.search.SearchManager.lookup_search_result`.
3. Emit (term, timestamp, lookup_result). | "Process steps:\n\n 1. Stream in (term, timestamp, search_result).\n 2. Perform :meth:`~birding.search.SearchManager.lookup_search_result`.\n 3. Emit (term, timestamp, lookup_result)." | 88 | false | Parsely/birding | process | 13,338 | |
LDU_FT/sci-bots/pygtkhelpers/get_first_builder_window | LDU_FT | [
"<BEGIN>\n## `gcall`",
"Calls a function, with the given arguments inside Gtk's main loop.\n Example::\n gcall(lbl.set_text, \"foo\")",
" If this call would be made in a thread there could be problems, using\n it inside Gtk's main loop makes it thread safe.\n<END>",
"<BEGIN>\n## `invoke_in_mai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first_builder_window API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first_builder_window API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get the first toplevel widget in a gtk.Builder hierarchy.
This is mostly used for guessing purposes, and an explicit naming is
always going to be a better situation. | "Get the first toplevel widget in a gtk.Builder hierarchy.\n\n This is mostly used for guessing purposes, and an explicit naming is\n always going to be a better situation." | 240 | false | sci-bots/pygtkhelpers | get_first_builder_window | 13,339 | |
LDU_FT/squidsoup/muddle.py/delete | LDU_FT | [
"<BEGIN>\n## `valid_options`",
"Checks that kwargs are valid API options\n<END>",
"<BEGIN>\n## `create`",
"Create a new course",
" :param string fullname: The course's fullname\n :param string shortname: The course's shortname\n :param int category_id: The course's category",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Deletes a category. Optionally moves content to new category.
Note: If category is in root, new_parent must be specified.
:param int new_parent: (optional) Category ID of new parent
:param bool recursive: recursively delete contents inside this category
Example Usage::
>>> imp... | "Deletes a category. Optionally moves content to new category.\n Note: If category is in root, new_parent must be specified.\n\n :param int new_parent: (optional) Category ID of new parent\n :param bool recursive: recursively delete contents inside this category\n\n Example Usage::\n\n ... | 44 | false | squidsoup/muddle.py | delete | 13,340 | |
LDU_FT/snowblink14/smatch/get_best_match | LDU_FT | [
"<BEGIN>\n## `build_arg_parser`",
"Build an argument parser using argparse. Use it when python version is 2.7 or later.\n<END>",
"<BEGIN>\n## `build_arg_parser2`",
"Build an argument parser using optparse. Use it when python version is 2.5 or 2.6.\n<END>",
"<BEGIN>\n## `get_best_match`",
"Get the highest ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_best_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_best_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get the highest triple match number between two sets of triples via hill-climbing.
Arguments:
instance1: instance triples of AMR 1 ("instance", node name, node value)
attribute1: attribute triples of AMR 1 (attribute name, node name, attribute value)
relation1: relation triples of AMR 1 (rel... | "Get the highest triple match number between two sets of triples via hill-climbing.\n Arguments:\n instance1: instance triples of AMR 1 (\"instance\", node name, node value)\n attribute1: attribute triples of AMR 1 (attribute name, node name, attribute value)\n relation1: relation triples of AMR... | 54 | false | snowblink14/smatch | get_best_match | 13,341 | |
LDU_FT/fredRos/pypmc/multi_evaluate | LDU_FT | [
"<BEGIN>\n## `r_value`",
"Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).",
" The R value can be used to quantify mixing of \"multiple iterative\n simulations\" (e.g. Markov Chains) in parameter space. An R value\n \"close to one\" indicates that all chains explored the same region\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Evaluate log of the density to propose ``x``, namely log(q(x))
for each row in x.
:param x:
Matrix-like array; the proposed points. Expect i-th accessible
as ``x[i]``.
:param out:
Vector-like array, length==``len(x)``, optional; If provided,
th... | "Evaluate log of the density to propose ``x``, namely log(q(x))\n for each row in x.\n\n :param x:\n\n Matrix-like array; the proposed points. Expect i-th accessible\n as ``x[i]``.\n\n :param out:\n\n Vector-like array, length==``len(x)``, optional; If provided,\n ... | 279 | false | fredRos/pypmc | multi_evaluate | 13,342 | |
LDU_FT/hfaran/progressive/full_line_width | LDU_FT | [
"<BEGIN>\n## `simple`",
"Simple example using just the Bar class",
" This example is intended to show usage of the Bar class at the lowest\n level.\n<END>",
"<BEGIN>\n## `draw`",
"Draw ``tree`` to the terminal",
" :type tree: dict\n :param tree: ``tree`` should be a tree representing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_line_width API.
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 full_line_width API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Find actual length of bar_str
e.g., Progress [ | ] 10/10 | "Find actual length of bar_str\n\n e.g., Progress [ | ] 10/10" | 48 | false | hfaran/progressive | full_line_width | 13,343 | |
LDU_FT/openfisca/openfisca-survey-manager/set_parameters | LDU_FT | [
"<BEGIN>\n## `read_dbf`",
"Read a dbf file as a pandas.DataFrame, optionally selecting the index\n variable and which columns are to be loaded.",
" __author__ = \"Dani Arribas-Bel <darribas@asu.edu> \"\n ...",
" Arguments\n ---------\n dbf_path : str\n Path to the DBF fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_parameters API.
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 set_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set parameters value
:param parameter: the parameter to be set
:param value: the valeu used to set the parameter | "Set parameters value\n\n :param parameter: the parameter to be set\n :param value: the valeu used to set the parameter" | 80 | false | openfisca/openfisca-survey-manager | set_parameters | 13,344 | |
LDU_FT/oasis-open/cti-pattern-validator/inspect | LDU_FT | [
"<BEGIN>\n## `run_validator`",
"Validates a pattern against the STIX Pattern grammar. Error messages are\n returned in a list. The test passed if the returned list is empty.\n<END>",
"<BEGIN>\n## `validate`",
"Wrapper for run_validator function that returns True if the user_input\n contains a valid ST... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect API.
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 inspect API.
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... | Inspect a pattern. This gives information regarding the sorts of
operations, content, etc in use in the pattern.
:return: Pattern information | "Inspect a pattern. This gives information regarding the sorts of\n operations, content, etc in use in the pattern.\n\n :return: Pattern information" | 17 | false | oasis-open/cti-pattern-validator | inspect | 13,345 | |
LDU_FT/Rapptz/discord.py/on_error | LDU_FT | [
"<BEGIN>\n## `_retrieve_messages_before_strategy`",
"Retrieve messages using before parameter.\n<END>",
"<BEGIN>\n## `_retrieve_messages_after_strategy`",
"Retrieve messages using after parameter.\n<END>",
"<BEGIN>\n## `_retrieve_messages_around_strategy`",
"Retrieve messages using around parameter.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | |coro|
The default error handler provided by the client.
By default this prints to :data:`sys.stderr` however it could be
overridden to have a different implementation.
Check :func:`discord.on_error` for more details. | "|coro|\n\n The default error handler provided by the client.\n\n By default this prints to :data:`sys.stderr` however it could be\n overridden to have a different implementation.\n Check :func:`discord.on_error` for more details." | 1,325 | true | Rapptz/discord.py | on_error | 13,346 | |
LDU_FT/orsinium/textdistance/_get_sequences | LDU_FT | [
"<BEGIN>\n## `optimize`",
"Sort algorithm implementations by speed.\n<END>",
"<BEGIN>\n## `_dynamic`",
"https://github.com/chrislit/abydos/blob/master/abydos/distance/_lcsseq.py\n http://www.dis.uniroma1.it/~bonifaci/algo/LCSSEQ.py\n http://rosettacode.org/wiki/Longest_common_subsequence#Dynamic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_sequences API.
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_sequences API.
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... | Prepare sequences.
qval=None: split text by words
qval=1: do not split sequences. For text this is mean comparing by letters.
qval>1: split sequences by q-grams | "Prepare sequences.\n\n qval=None: split text by words\n qval=1: do not split sequences. For text this is mean comparing by letters.\n qval>1: split sequences by q-grams" | 15 | false | orsinium/textdistance | _get_sequences | 13,347 | |
LDU_FT/colab/colab/get_env_setting | LDU_FT | [
"<BEGIN>\n## `delete`",
"Remove an email address, validated or not.\n<END>",
"<BEGIN>\n## `update`",
"Set an email address as primary address.\n<END>",
"<BEGIN>\n## `is_logged`",
"Check if a logged user is trying to access the register page.\n If so, redirect him/her to his/her profile\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_env_setting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_env_setting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get the environment setting or return exception | "Get the environment setting or return exception" | 19 | false | colab/colab | get_env_setting | 13,348 | |
LDU_FT/joferkington/mpldatacursor/three_dim_props | LDU_FT | [
"<BEGIN>\n## `_event_ignored`",
"Decide whether or not to ignore a click/hover event.\n<END>",
"<BEGIN>\n## `_show_annotation_box`",
"Update an existing box or create an annotation box for an event.\n<END>",
"<BEGIN>\n## `event_info`",
"Get a dict of info for the artist selected by \"event\".\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the three_dim_props API.
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 three_dim_props API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get information for a pick event on a 3D artist.
Parameters
-----------
event : PickEvent
The pick event to process
Returns
--------
A dict with keys:
`x`: The estimated x-value of the click on the artist
`y`: The estimated y-value of the click on the artist
`z`... | "Get information for a pick event on a 3D artist.\n\n Parameters\n -----------\n event : PickEvent\n The pick event to process\n\n Returns\n --------\n A dict with keys:\n `x`: The estimated x-value of the click on the artist\n `y`: The estimated y-value of the click on the artist... | 80 | false | joferkington/mpldatacursor | three_dim_props | 13,349 | |
LDU_FT/PedalPi/PluginsManager/build | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the index file and reorder the banks based in order listed in index",
" :param list[Indexable] indexables: Banks that will be reordered based in index file\n :return list[Bank]: Banks reordered\n<END>",
"<BEGIN>\n## `register`",
"Register an observer for it be notif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
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 build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a new :class:`.Lv2Effect` by the valid lv2_uri
:param string lv2_uri:
:return Lv2Effect: Effect created | "Returns a new :class:`.Lv2Effect` by the valid lv2_uri\n\n :param string lv2_uri:\n :return Lv2Effect: Effect created" | 139 | false | PedalPi/PluginsManager | build | 13,350 | |
LDU_FT/twitterdev/twitter-python-ads-sdk/queue_async_stats_job | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Returns the content-type value determined by file extension.\n<END>",
"<BEGIN>\n## `__init_chunked_upload`",
"Initialization for a multi-chunk upload.\n<END>",
"<BEGIN>\n## `__upload_chunk`",
"Uploads a single chunk of a multi-chunk upload.\n<END>",
"<BEGIN>\n## `save`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue_async_stats_job 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 queue_async_stats_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Queues a list of metrics for a specified set of object IDs asynchronously | "Queues a list of metrics for a specified set of object IDs asynchronously" | 74 | false | twitterdev/twitter-python-ads-sdk | queue_async_stats_job | 13,351 | |
LDU_FT/klmitch/tendril/_track_tendril | LDU_FT | [
"<BEGIN>\n## `send_frame`",
"Sends a frame to the other end of the connection.\n<END>",
"<BEGIN>\n## `start`",
"Starts the TendrilManager.",
" :param acceptor: If given, specifies a callable that will be\n called with each newly received Tendril;\n that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _track_tendril API.
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 _track_tendril API.
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... | Adds the tendril to the set of tracked tendrils. | "Adds the tendril to the set of tracked tendrils." | 92 | false | klmitch/tendril | _track_tendril | 13,352 | |
LDU_FT/pipermerriam/ethereum-client-utils/new_filter | LDU_FT | [
"<BEGIN>\n## `process_requests`",
"Loop that runs in a thread to process requests synchronously.\n<END>",
"<BEGIN>\n## `default_from_address`",
"Cache the coinbase address so that we don't make two requests for every\n single transaction.\n<END>",
"<BEGIN>\n## `get_balance`",
"https://github.com/et... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_filter API.
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 new_filter API.
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... | https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter
Create a new filter object to be notified of changes in the
state of the EVM through the logs.
This command returns a filter ID that can be referenced by
other commands to get log information. | "https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter\n Create a new filter object to be notified of changes in the\n state of the EVM through the logs.\n This command returns a filter ID that can be referenced by\n other commands to get log information." | 18 | false | pipermerriam/ethereum-client-utils | new_filter | 13,353 | |
LDU_FT/SuperCowPowers/workbench/execute | 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 execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | This worker puts the output of pe_features into a dictionary of dataframes | "This worker puts the output of pe_features into a dictionary of dataframes" | 328 | false | SuperCowPowers/workbench | execute | 13,354 | |
LDU_FT/silver-castle/mach9/get_disconnect_message | LDU_FT | [
"<BEGIN>\n## `get_connect_message`",
"http://channels.readthedocs.io/en/stable/asgi/www.html#connection\n<END>",
"<BEGIN>\n## `get_receive_message`",
"http://channels.readthedocs.io/en/stable/asgi/www.html#receive\n<END>",
"<BEGIN>\n## `get_disconnect_message`",
"http://channels.readthedocs.io/en/stable/a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_disconnect_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_disconnect_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | http://channels.readthedocs.io/en/stable/asgi/www.html#disconnection | "http://channels.readthedocs.io/en/stable/asgi/www.html#disconnection" | 78 | false | silver-castle/mach9 | get_disconnect_message | 13,355 | |
LDU_FT/fedora-infra/fedora-messaging/_shutdown | LDU_FT | [
"<BEGIN>\n## `cli`",
"The fedora-messaging command line interface.\n<END>",
"<BEGIN>\n## `consume`",
"Consume messages from an AMQP queue using a Python callback.\n<END>",
"<BEGIN>\n## `_consume_errback`",
"Handle any errors that occur during consumer registration.\n<END>",
"<BEGIN>\n## `_consume_callba... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _shutdown API.
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 _shutdown API.
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... | Gracefully shut down the consumer and exit. | "Gracefully shut down the consumer and exit." | 302 | false | fedora-infra/fedora-messaging | _shutdown | 13,356 | |
LDU_FT/nuSTORM/gnomon/set_json | LDU_FT | [
"<BEGIN>\n## `objwalk`",
"Traverse a dictionary recursively and save path",
" Taken from:\n http://code.activestate.com/recipes/577982-recursively-walk-python-objects/\n<END>",
"<BEGIN>\n## `lookup_cc_partner`",
"Lookup the charge current partner",
" Takes as an input neutrino nu_pid is a PDG c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Permanently set the JSON configuration
Unable to call twice. | "Permanently set the JSON configuration\n\n Unable to call twice." | 43 | false | nuSTORM/gnomon | set_json | 13,357 | |
LDU_FT/agoragames/kairos/delete | LDU_FT | [
"<BEGIN>\n## `_resolve_time`",
"Resolve the time in seconds of a configuration value.\n<END>",
"<BEGIN>\n## `step_size`",
"Return the time in seconds of a step. If a begin and end timestamp,\n return the time in seconds between them after adjusting for what buckets\n they alias to. If t1 and t0 resolve ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Delete time series by name across all intervals. Returns the number of
records deleted. | "Delete time series by name across all intervals. Returns the number of\n records deleted." | 74 | false | agoragames/kairos | delete | 13,358 | |
LDU_FT/mlouielu/twstock/best_four_point | LDU_FT | [
"<BEGIN>\n## `cal_continue`",
"計算持續天數",
" :rtype: int\n :returns: 向量數值:正數向上、負數向下。\n<END>",
"<BEGIN>\n## `ma_bias_ratio`",
"計算乖離率(均價)\n date1 - date2",
" :param int data1: n 日\n :param int data2: m 日\n :rtype: 序列 舊→新\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the best_four_point API.
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 best_four_point API.
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... | 判斷買點或賣點
:rtype: tuple
:returns: (bool, str) | "判斷買點或賣點\n\n :rtype: tuple\n :returns: (bool, str)" | 17 | false | mlouielu/twstock | best_four_point | 13,359 | |
LDU_FT/ssato/python-anyconfig/_iterparse | LDU_FT | [
"<BEGIN>\n## `_load_plugins_itr`",
".. seealso:: the doc of :func:`load_plugins`\n<END>",
"<BEGIN>\n## `select_by_key`",
":param items: A list of tuples of keys and values, [([key], val)]\n :return: A list of tuples of key and values, [(key, [val])]",
" >>> select_by_key([([\"a\", \"aaa\"], 1), ([\"b\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iterparse API.
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 _iterparse API.
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... | Avoid bug in python 3.{2,3}. See http://bugs.python.org/issue9257.
:param xmlfile: XML file or file-like object | "Avoid bug in python 3.{2,3}. See http://bugs.python.org/issue9257.\n\n :param xmlfile: XML file or file-like object" | 534 | false | ssato/python-anyconfig | _iterparse | 13,360 | |
LDU_FT/jmoiron/speedparser/xpath | LDU_FT | [
"<BEGIN>\n## `strip_outer_tag`",
"Strips the outer tag, if text starts with a tag. Not entity aware;\n designed to quickly strip outer tags from lxml cleaner output. Only\n checks for <p> and <div> outer tags.\n<END>",
"<BEGIN>\n## `munge_author`",
"If an author contains an email and a name in it, mak... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xpath API.
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 xpath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | A safe xpath that only uses namespaces if available. | "A safe xpath that only uses namespaces if available." | 32 | false | jmoiron/speedparser | xpath | 13,361 | |
LDU_FT/csirtgadgets/csirtgsdk-py/create_bulk | LDU_FT | [
"<BEGIN>\n## `show`",
"Show a specific indicator by id",
" :param user: feed username\n :param feed: feed name\n :param id: indicator endpoint id [INT]\n :return: dict",
" Example:\n ret = Indicator.show('csirtgadgets','port-scanners', '1234')\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_bulk API.
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 create_bulk API.
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... | Submit action against the IndicatorBulk endpoint
:param indicators: list of Indicator Objects
:param user: feed username
:param feed: feed name
:return: list of Indicator Objects submitted
from csirtgsdk.client import Client
from csirtgsdk.indicator import Indicator
... | "Submit action against the IndicatorBulk endpoint\n\n :param indicators: list of Indicator Objects\n :param user: feed username\n :param feed: feed name\n :return: list of Indicator Objects submitted\n\n from csirtgsdk.client import Client\n from csirtgsdk.indicator import Indi... | 52 | false | csirtgadgets/csirtgsdk-py | create_bulk | 13,362 | |
LDU_FT/Microsoft/knack/get_cli_argument | LDU_FT | [
"<BEGIN>\n## `ensure_new_style_deprecation`",
"Helper method to make the previous string-based deprecate_info kwarg\n work with the new style.\n<END>",
"<BEGIN>\n## `prompt_choice_list`",
"Prompt user to select from a list of possible choices.",
" :param msg:A message displayed to the user bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cli_argument API.
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_cli_argument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the argument for the command after applying the scope hierarchy
:param command: The command that we want the argument for
:type command: str
:param name: The name of the argument
:type name: str
:return: The CLI command after all overrides in the scope hierarchy have been ap... | "Get the argument for the command after applying the scope hierarchy\n\n :param command: The command that we want the argument for\n :type command: str\n :param name: The name of the argument\n :type name: str\n :return: The CLI command after all overrides in the scope hierarchy have ... | 88 | false | Microsoft/knack | get_cli_argument | 13,363 | |
LDU_FT/rckclmbr/pyportify/long_to_bytes | LDU_FT | [
"<BEGIN>\n## `perform_master_login`",
"Perform a master login, which is what Android does when you first add a\n Google account.",
" Return a dict, eg::",
" {\n 'Auth': '...',\n 'Email': 'email@gmail.com',\n 'GooglePlusUpgrade': '1',\n 'LSID': '...',\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the long_to_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the long_to_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 ext... | Packs the lnum (which must be convertable to a long) into a
byte string 0 padded to a multiple of padmultiple bytes in size. 0
means no padding whatsoever, so that packing 0 result in an empty
string. The resulting byte string is the big-endian two's
complement representation of the passed ... | "Packs the lnum (which must be convertable to a long) into a\n byte string 0 padded to a multiple of padmultiple bytes in size. 0\n means no padding whatsoever, so that packing 0 result in an empty\n string. The resulting byte string is the big-endian two's\n complement representation of the pa... | 57 | false | rckclmbr/pyportify | long_to_bytes | 13,364 | |
LDU_FT/ReFirmLabs/binwalk/_do_math | LDU_FT | [
"<BEGIN>\n## `process_kwargs`",
"Convenience wrapper around binwalk.core.module.Modules.kwargs.",
" @obj - The class object (an instance of a sub-class of binwalk.core.module.Module).\n @kwargs - The kwargs provided to the object's __init__ method.",
" Returns None.\n<END>",
"<BEGIN>\n## `show_h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_math API.
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 _do_math API.
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... | Parses and evaluates complex expressions, e.g., "(4.l+12)", "(6*32)", etc.
@offset - The offset inside self.data that the current signature starts at.
@expressions - The expression to evaluate.
Returns an integer value that is the result of the evaluated expression. | "Parses and evaluates complex expressions, e.g., \"(4.l+12)\", \"(6*32)\", etc.\n\n @offset - The offset inside self.data that the current signature starts at.\n @expressions - The expression to evaluate.\n\n Returns an integer value that is the result of the evaluated expression." | 211 | false | ReFirmLabs/binwalk | _do_math | 13,365 | |
LDU_FT/anttttti/Wordbatch/shuffle_batch | LDU_FT | [
"<BEGIN>\n## `make_union`",
"Construct a FeatureUnion from the given transformers.",
" This is a shorthand for the FeatureUnion constructor; it does not require,\n and does not permit, naming the transformers. Instead, they will be given\n names automatically based on their types. It also does not allo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shuffle_batch API.
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 shuffle_batch API.
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... | Shuffle a list of samples, as well as the labels if specified
Parameters
----------
texts: list-like
List of samples to shuffle
labels: list-like (optional)
List of labels to shuffle, should be correspondent to the samples given
seed: int
The seed of the pseudo random number generator to use for s... | "Shuffle a list of samples, as well as the labels if specified\n\n\t\tParameters\n\t\t----------\n\t\ttexts: list-like\n\t\t\tList of samples to shuffle\n\n\t\tlabels: list-like (optional)\n\t\t\tList of labels to shuffle, should be correspondent to the samples given\n\n\t\tseed: int\n\t\t\tThe seed of the pseudo rando... | 42 | false | anttttti/Wordbatch | shuffle_batch | 13,366 | |
LDU_FT/polyaxon/hestia/to_percentage | LDU_FT | [
"<BEGIN>\n## `format_date`",
"Creates a string representing the date information provided by the\n given `timestamp` object.\n<END>",
"<BEGIN>\n## `format_datetime`",
"Creates a string representing the date and time information provided by\n the given `timestamp` object.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_percentage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_percentage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates a percentage string representation from the given `number`. The
number is multiplied by 100 before adding a '%' character.
Raises `ValueError` if `number` cannot be converted to a number. | "Creates a percentage string representation from the given `number`. The\n number is multiplied by 100 before adding a '%' character.\n\n Raises `ValueError` if `number` cannot be converted to a number." | 42 | false | polyaxon/hestia | to_percentage | 13,367 | |
LDU_FT/signalfx/signalfx-python/hist_calls_with_dims | LDU_FT | [
"<BEGIN>\n## `gauge`",
"Adds gauge with dimensions to the global pyformance registry\n<END>",
"<BEGIN>\n## `count_calls_with_dims`",
"Decorator to track the number of times a function is called\n with with dimensions.\n<END>",
"<BEGIN>\n## `meter_calls_with_dims`",
"Decorator to track the rate at which... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hist_calls_with_dims 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 hist_calls_with_dims API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Decorator to check the distribution of return values of a
function with dimensions. | "Decorator to check the distribution of return values of a\n function with dimensions." | 139 | false | signalfx/signalfx-python | hist_calls_with_dims | 13,368 | |
LDU_FT/kdeldycke/maildir-deduplicate/delete_matching_path | 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 delete_matching_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_matching_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Delete all duplicates whose file path match the regexp. | "Delete all duplicates whose file path match the regexp." | 68 | false | kdeldycke/maildir-deduplicate | delete_matching_path | 13,369 | |
LDU_FT/klahnakoski/mo-logs/alarm | LDU_FT | [
"<BEGIN>\n## `_deep_json_to_string`",
":param value: SOME STRUCTURE\n :param depth: THE MAX DEPTH OF PROPERTIES, DEEPER WILL BE STRING-IFIED\n :return: FLATTER STRUCTURE\n<END>",
"<BEGIN>\n## `read_settings`",
":param filename: Force load a file\n :param defs: arguments you want to accept\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alarm API.
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 alarm API.
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... | :param template: *string* human readable string with placeholders for parameters
:param default_params: *dict* parameters to fill in template
:param stack_depth: *int* how many calls you want popped off the stack to report the *true* caller
:param log_context: *dict* extra key:value pairs for y... | ":param template: *string* human readable string with placeholders for parameters\n :param default_params: *dict* parameters to fill in template\n :param stack_depth: *int* how many calls you want popped off the stack to report the *true* caller\n :param log_context: *dict* extra key:value pairs f... | 74 | false | klahnakoski/mo-logs | alarm | 13,370 | |
LDU_FT/WojciechMula/pyahocorasick/iter_long | LDU_FT | [
"<BEGIN>\n## `__get_node`",
"Private function retrieving a final node of trie\n\t\tfor given word",
"\t\tReturns node or None, if the trie doesn't contain the word.\n<END>",
"<BEGIN>\n## `get`",
"Retrieves output value associated with word.",
"\t\tIf there is no word returns default value,\n\t\tand if def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_long API.
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 iter_long API.
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... | Generator performs a modified Aho-Corasick search string algorithm,
which maches only the longest word. | "Generator performs a modified Aho-Corasick search string algorithm,\n\t\twhich maches only the longest word." | 23 | false | WojciechMula/pyahocorasick | iter_long | 13,371 | |
LDU_FT/frejanordsiek/hdf5storage/escape_path | LDU_FT | [
"<BEGIN>\n## `update_type_lookups`",
"Update type and typestring lookup dicts.",
" Must be called once the ``types`` and ``python_type_strings``\n attributes are set so that ``type_to_typestring`` and\n ``typestring_to_type`` are constructed.",
" .. versionadded:: 0.2",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_path API.
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 escape_path API.
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... | Hex/unicode escapes a path.
Escapes a path so that it can be represented faithfully in an HDF5
file without changing directories. This means that leading ``'.'``
must be escaped. ``'/'`` and null must be escaped to. Backslashes
are escaped as double backslashes. Other escaped characters are
replace... | "Hex/unicode escapes a path.\n\n Escapes a path so that it can be represented faithfully in an HDF5\n file without changing directories. This means that leading ``'.'``\n must be escaped. ``'/'`` and null must be escaped to. Backslashes\n are escaped as double backslashes. Other escaped characters are\n ... | 264 | false | frejanordsiek/hdf5storage | escape_path | 13,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.