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/toomore/goristock/Cmd_display | LDU_FT | [
"<BEGIN>\n## `output`",
"re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>",
"<BEGIN>\n## `Rt_display`",
"For real time stock display\n 即時盤用,顯示目... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Cmd_display API.
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 Cmd_display API.
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... | For Task overall stock display
一行顯示資訊,用於終端機顯示樣式。 | "For Task overall stock display\n 一行顯示資訊,用於終端機顯示樣式。" | 62 | false | toomore/goristock | Cmd_display | 8,473 | |
LDU_FT/scivision/gridaurora/doBandTrapz | LDU_FT | [
"<BEGIN>\n## `to_ut1unix`",
"converts time inputs to UT1 seconds since Unix epoch\n<END>",
"<BEGIN>\n## `chapman_profile`",
"Z0: altitude [km] of intensity peak\n zKM: altitude grid [km]\n H: scale height [km]",
" example:\n pz = chapman_profile(110,np.arange(90,200,1),20)\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the doBandTrapz API.
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 doBandTrapz API.
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... | ver dimensions: wavelength, altitude, time
A and lambda dimensions:
axis 0 is upper state vib. level (nu')
axis 1 is bottom state vib level (nu'')
there is a Franck-Condon parameter (variable fc) for each upper state nu' | "ver dimensions: wavelength, altitude, time\n\n A and lambda dimensions:\n axis 0 is upper state vib. level (nu')\n axis 1 is bottom state vib level (nu'')\n there is a Franck-Condon parameter (variable fc) for each upper state nu'" | 36 | false | scivision/gridaurora | doBandTrapz | 8,474 | |
LDU_FT/opennode/waldur-core/get_entity_description | LDU_FT | [
"<BEGIN>\n## `subfield_get`",
"Verbatim copy from:\n https://github.com/django/django/blob/1.9.13/django/db/models/fields/subclassing.py#L38\n<END>",
"<BEGIN>\n## `_preprocess_kwargs`",
"Replace generic key related attribute with filters by object_id and content_type fields\n<END>",
"<BEGIN>\n## `list`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_description 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_entity_description 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 description in format:
* entity human readable name
* docstring | "Returns description in format:\n * entity human readable name\n * docstring" | 526 | false | opennode/waldur-core | get_entity_description | 8,475 | |
LDU_FT/cds-astro/ipyaladin/add_moc_from_dict | LDU_FT | [
"<BEGIN>\n## `add_catalog_from_URL`",
"load a VOTable table from an url and load its data into the widget \n Args:\n votable_URL: string url\n votable_options: dictionary object\n<END>",
"<BEGIN>\n## `add_moc_from_URL`",
"load a MOC from a URL and display it in Aladin ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_moc_from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_moc_from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | load a MOC from a dict object and display it in Aladin Lite widget
Arguments:
moc_dict: the dict containing the MOC cells. Key are the HEALPix orders,
values are the pixel indexes, eg: {"1":[1,2,4], "2":[12,13,14,21,23,25]}
moc_options: dictionary object | "load a MOC from a dict object and display it in Aladin Lite widget\n Arguments:\n moc_dict: the dict containing the MOC cells. Key are the HEALPix orders,\n values are the pixel indexes, eg: {\"1\":[1,2,4], \"2\":[12,13,14,21,23,25]} \n moc_options: dictionary obje... | 12 | false | cds-astro/ipyaladin | add_moc_from_dict | 8,476 | |
LDU_FT/ns1/ns1-python/loadDHCPOptions | LDU_FT | [
"<BEGIN>\n## `delete`",
"Delete the record from the zone, including all advanced configuration,\n meta data, etc.\n<END>",
"<BEGIN>\n## `update`",
"Update record configuration. Pass list of keywords and their values to\n update. For the list of keywords available for zone configuration, see\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadDHCPOptions API.
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 loadDHCPOptions API.
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... | Create a high level DHCPOptions object
:param str address_family: Address family of the options. Can be either dhcpv4 or dhcpv6
:param dict options: Dictionary containing the option set to apply for this address family. Note: only those specified will be applied. Allowed options can be found in :attr:`... | "Create a high level DHCPOptions object\n\n :param str address_family: Address family of the options. Can be either dhcpv4 or dhcpv6\n :param dict options: Dictionary containing the option set to apply for this address family. Note: only those specified will be applied. Allowed options can be found in :at... | 159 | false | ns1/ns1-python | loadDHCPOptions | 8,477 | |
LDU_FT/dropbox/pyannotate/_dump_impl | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Deserialize a JSON file containing runtime collected types.",
" The input JSON is expected to to have a list of RawEntry items.\n<END>",
"<BEGIN>\n## `tokenize`",
"Translate a type comment into a list of tokens.\n<END>",
"<BEGIN>\n## `generate_annotations_json_string`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dump_impl API.
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 _dump_impl API.
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... | Internal implementation for dump_stats and dumps_stats | "Internal implementation for dump_stats and dumps_stats" | 93 | false | dropbox/pyannotate | _dump_impl | 8,478 | |
LDU_FT/andrea-cuttone/geoplotlib/graph | LDU_FT | [
"<BEGIN>\n## `__voronoi_finite_polygons_2d`",
"Reconstruct infinite voronoi regions in a 2D diagram to finite\n regions.",
" Parameters\n ----------\n vor : Voronoi\n Input diagram\n radius : float, optional\n Distance to 'points at infinity'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graph API.
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 graph API.
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... | Create a graph drawing a line between each pair of (src_lat, src_lon) and (dest_lat, dest_lon)
:param data: data access object
:param src_lat: field name of source latitude
:param src_lon: field name of source longitude
:param dest_lat: field name of destination latitude
:param dest_lon: field name... | "Create a graph drawing a line between each pair of (src_lat, src_lon) and (dest_lat, dest_lon)\n\n :param data: data access object\n :param src_lat: field name of source latitude\n :param src_lon: field name of source longitude\n :param dest_lat: field name of destination latitude\n :param dest_lon: fie... | 82 | false | andrea-cuttone/geoplotlib | graph | 8,479 | |
LDU_FT/IBMStreams/pypi.streamsx/get_jobs | LDU_FT | [
"<BEGIN>\n## `get_application_configuration`",
"Get a named application configuration.",
" An application configuration is a named set of securely stored properties\n where each key and its value in the property set is a string.",
" An application configuration object is used to store information tha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_jobs API.
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_jobs API.
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... | Retrieves jobs running on this resource in its instance.
Args:
name (str, optional): Only return jobs containing property **name** that matches `name`. `name` can be a
regular expression. If `name` is not supplied, then all jobs are returned.
Returns:
list(Job):... | "Retrieves jobs running on this resource in its instance.\n\n Args:\n name (str, optional): Only return jobs containing property **name** that matches `name`. `name` can be a\n regular expression. If `name` is not supplied, then all jobs are returned.\n\n Returns:\n li... | 651 | false | IBMStreams/pypi.streamsx | get_jobs | 8,480 | |
LDU_FT/gpagliuca/pyfas/extract_stripchart | LDU_FT | [
"<BEGIN>\n## `extract_geometry`",
"It adds to self.geometries a specific geometry as (x, y)\n<END>",
"<BEGIN>\n## `to_excel`",
"Dump all the data to excel, fname and path can be passed as args\n<END>",
"<BEGIN>\n## `PI_read`",
"Read function for PI server. It has to be executed by python 32 bit.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_stripchart 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 extract_stripchart 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... | Extract a specific stripchard and exposes the data in the namespace | "Extract a specific stripchard and exposes the data in the namespace" | 32 | false | gpagliuca/pyfas | extract_stripchart | 8,481 | |
LDU_FT/scidash/sciunit/add_code_cell | LDU_FT | [
"<BEGIN>\n## `mean`",
"Compute a total score for each model over all the tests.",
" Uses the `norm_score` attribute, since otherwise direct comparison\n across different kinds of scores would not be possible.\n<END>",
"<BEGIN>\n## `to_html`",
"Extend Pandas built in `to_html` method for render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_code_cell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_code_cell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Add a code cell containing `source` to the notebook. | "Add a code cell containing `source` to the notebook." | 128 | false | scidash/sciunit | add_code_cell | 8,482 | |
LDU_FT/subdownloader/subdownloader/window_iterator | LDU_FT | [
"<BEGIN>\n## `do_po`",
"Update all po files with the data in the pot reference file.\n<END>",
"<BEGIN>\n## `configuration_get_default_folder`",
"Return the default folder where user-specific data is stored.\n This depends of the system on which Python is running,\n :return: path to the user-specific con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the window_iterator API.
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 window_iterator API.
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... | Instead of iterating element by element, get a number of elements at each iteration step.
:param data: data to iterate on
:param width: maximum number of elements to get in each iteration step
:return: | "Instead of iterating element by element, get a number of elements at each iteration step.\n :param data: data to iterate on\n :param width: maximum number of elements to get in each iteration step\n :return:" | 87 | false | subdownloader/subdownloader | window_iterator | 8,483 | |
LDU_FT/curious-containers/cc-core/print_exception | LDU_FT | [
"<BEGIN>\n## `brief_exception_text`",
"Returns the Exception class and the message of the exception as string.",
" :param exception: The exception to format\n :param secret_values: Values to hide in output\n<END>",
"<BEGIN>\n## `print_exception`",
"Prints the exception message and the name of the exce... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_exception API.
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 print_exception API.
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... | Prints the exception message and the name of the exception class to stderr.
:param exception: The exception to print
:param secret_values: Values to hide in output | "Prints the exception message and the name of the exception class to stderr.\n\n :param exception: The exception to print\n :param secret_values: Values to hide in output" | 96 | false | curious-containers/cc-core | print_exception | 8,484 | |
LDU_FT/useblocks/sphinxcontrib-needs/_fix_list_dyn_func | LDU_FT | [
"<BEGIN>\n## `row_col_maker`",
"Creates and returns a column.",
" :param app: current sphinx app\n :param fromdocname: current document\n :param all_needs: Dictionary of all need objects\n :param need_info: need_info object, which stores all related need data\n :param need_key: The key to access ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fix_list_dyn_func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fix_list_dyn_func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | This searches a list for dynamic function fragments, which may have been cut by generic searches for ",|;".
Example:
`link_a, [[copy('links', need_id)]]` this will be splitted in list of 3 parts:
#. link_a
#. [[copy('links'
#. need_id)]]
This function fixes the above list to the following:
... | "This searches a list for dynamic function fragments, which may have been cut by generic searches for \",|;\".\n\n Example:\n `link_a, [[copy('links', need_id)]]` this will be splitted in list of 3 parts:\n\n #. link_a\n #. [[copy('links'\n #. need_id)]]\n\n This function fixes the above list to the f... | 155 | false | useblocks/sphinxcontrib-needs | _fix_list_dyn_func | 8,485 | |
LDU_FT/cslarsen/crianza/weighted_tanimoto | LDU_FT | [
"<BEGIN>\n## `xcompile`",
"Parses Crianza source code and returns a native Python function.",
" Args:\n args: The resulting function's number of input parameters.",
" Returns:\n A callable Python function.\n<END>",
"<BEGIN>\n## `xeval`",
"Compiles to native Python bytecode and runs pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weighted_tanimoto API.
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 weighted_tanimoto API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Same as the Tanimoto coefficient, but wit weights for each dimension. | "Same as the Tanimoto coefficient, but wit weights for each dimension." | 106 | false | cslarsen/crianza | weighted_tanimoto | 8,486 | |
LDU_FT/littlemo/moear-spider-zhihudaily/parse_post | LDU_FT | [
"<BEGIN>\n## `register`",
"调用方可根据主键字段进行爬虫的创建或更新操作",
" :return: 返回符合接口定义的字典数据\n :rtype: dict\n<END>",
"<BEGIN>\n## `crawl`",
"执行爬取操作,并阻塞直到爬取完成,返回结果数据。\n 此处考虑到 Scrapy 本身的并发特性,故通过临时文件方式做数据传递,\n 将临时路径传递到爬虫业务中,并在爬取结束后对文件进行读取、 JSON 反序列化,返回",
" :return: 返回符合接口定义的字典对象\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | 根据 :meth:`.ZhihuDailySpider.parse` 中生成的具体文章地址,获取到文章内容,
并对其进行格式化处理,结果填充到对象属性 ``item_list`` 中
:param Response response: 由 ``Scrapy`` 调用并传入的请求响应对象 | "根据 :meth:`.ZhihuDailySpider.parse` 中生成的具体文章地址,获取到文章内容,\n 并对其进行格式化处理,结果填充到对象属性 ``item_list`` 中\n\n :param Response response: 由 ``Scrapy`` 调用并传入的请求响应对象" | 19 | false | littlemo/moear-spider-zhihudaily | parse_post | 8,487 | |
LDU_FT/ionelmc/python-cogen/request_generic | LDU_FT | [
"<BEGIN>\n## `run_op`",
"Handle the operation:",
" * if coro is in STATE_RUNNING, send or throw the given op\r",
" * if coro is in STATE_NEED_INIT, call the init function and if it\r\n doesn't return a generator, set STATE_COMPLETED and set the result\r\n to whatever the functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_generic API.
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 request_generic API.
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... | Performs an overlapped request (via `perform` callable) and saves
the token and the (`overlapped`, `perform`, `complete`) trio. | "Performs an overlapped request (via `perform` callable) and saves\r\n the token and the (`overlapped`, `perform`, `complete`) trio." | 175 | false | ionelmc/python-cogen | request_generic | 8,488 | |
LDU_FT/EventTeam/beliefs/get_paths_for_attribute_set | LDU_FT | [
"<BEGIN>\n## `size`",
"Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.",
" The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension\n<END>",
"<BEGIN>\n## `update`",
"Updates intensio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_paths_for_attribute_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_paths_for_attribute_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Given a list/set of keys (or one key), returns the parts that have
all of the keys in the list.
Because on_targets=True, this DOES NOT WORK WITH TOP LEVEL PROPERTIES,
only those of targets.
These paths are not pointers to the objects themselves, but tuples of
attribute names th... | "Given a list/set of keys (or one key), returns the parts that have\n all of the keys in the list.\n\n Because on_targets=True, this DOES NOT WORK WITH TOP LEVEL PROPERTIES,\n only those of targets.\n\n These paths are not pointers to the objects themselves, but tuples of\n attribute ... | 158 | false | EventTeam/beliefs | get_paths_for_attribute_set | 8,489 | |
LDU_FT/materialsvirtuallab/monty/remove | LDU_FT | [
"<BEGIN>\n## `zopen`",
"This function wraps around the bz2, gzip and standard python's open\n function to deal intelligently with bzipped, gzipped or standard text\n files.",
" Args:\n filename (str/Path): filename or pathlib.Path.\n \\*args: Standard args for python open(..). E.g., 'r' f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Implements an remove function that will delete files, folder trees and symlink trees
1.) Remove a file
2.) Remove a symlink and follow into with a recursive rm if follow_symlink
3.) Remove directory with rmtree
Args:
path (str): path to remove
follow_symlink(bool): follow symlinks and ... | "Implements an remove function that will delete files, folder trees and symlink trees\n\n 1.) Remove a file\n 2.) Remove a symlink and follow into with a recursive rm if follow_symlink\n 3.) Remove directory with rmtree\n\n Args:\n path (str): path to remove\n follow_symlink(bool): follow syml... | 238 | false | materialsvirtuallab/monty | remove | 8,490 | |
LDU_FT/shaypal5/barn/add_local | LDU_FT | [
"<BEGIN>\n## `data_dirpath`",
"Get the path of the corresponding data directory.",
" Parameters\n ----------\n task : str, optional\n The task for which datasets in the desired directory are used for. If\n not given, a path for the corresponding task-agnostic directory is\n returne... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_local API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_local API.
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... | Copies a given file into local store as an instance of this dataset.
Parameters
----------
source_fpath : str
The full path for the source file to use.
version: str, optional
The version of the instance of this dataset.
tags : list of str, optional
... | "Copies a given file into local store as an instance of this dataset.\n\n Parameters\n ----------\n source_fpath : str\n The full path for the source file to use.\n version: str, optional\n The version of the instance of this dataset.\n tags : list of str, option... | 51 | false | shaypal5/barn | add_local | 8,491 | |
LDU_FT/Infinidat/infi.clickhouse_orm/create_ad_hoc_field | LDU_FT | [
"<BEGIN>\n## `_range_check`",
"Utility method to check that the given value is between min_value and max_value.\n<END>",
"<BEGIN>\n## `get_sql`",
"Returns an SQL expression describing the field (e.g. for CREATE TABLE).\n :param with_default_expression: If True, adds default value to sql.\n I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ad_hoc_field 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 create_ad_hoc_field 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... | Give an SQL column description such as "Enum8('apple' = 1, 'banana' = 2, 'orange' = 3)"
this method returns a matching enum field. | "Give an SQL column description such as \"Enum8('apple' = 1, 'banana' = 2, 'orange' = 3)\"\n this method returns a matching enum field." | 86 | false | Infinidat/infi.clickhouse_orm | create_ad_hoc_field | 8,492 | |
LDU_FT/openvax/varlens/allele_support_df | LDU_FT | [
"<BEGIN>\n## `load_from_args`",
"Return a Loci object giving the loci specified on the command line.",
" If no loci-related arguments are specified, return None. This makes it\n possible to distinguish an empty set of loci, for example due to filters\n removing all loci, from the case where the user di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allele_support_df API.
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 allele_support_df API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns a DataFrame of allele counts for all given loci in the read sources | "Returns a DataFrame of allele counts for all given loci in the read sources" | 130 | false | openvax/varlens | allele_support_df | 8,493 | |
LDU_FT/vertexproject/synapse/bruteVersionStr | LDU_FT | [
"<BEGIN>\n## `openDatFile`",
"Open a file-like object using a pkg relative path.",
" Example:",
" fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>",
"<BEGIN>\n## `scrape`",
"Scrape types from a blob of text and return node tuples.",
" Args:\n text (str): Text to scrape.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bruteVersionStr API.
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 bruteVersionStr API.
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... | Brute force the version out of a string.
Args:
valu (str): String to attempt to get version information for.
Notes:
This first attempts to parse strings using the it:semver normalization
before attempting to extract version parts out of the string.
Returns:... | "Brute force the version out of a string.\n\n Args:\n valu (str): String to attempt to get version information for.\n\n Notes:\n This first attempts to parse strings using the it:semver normalization\n before attempting to extract version parts out of the string.\n\n ... | 1,135 | true | vertexproject/synapse | bruteVersionStr | 8,494 | |
LDU_FT/tapilab/brandelion/compute_rarity_scores | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Yield screen_name, text tuples from a json file.\n<END>",
"<BEGIN>\n## `extract_tweets`",
"Yield screen_name, string tuples, where the string is the\n concatenation of all tweets of this user.\n<END>",
"<BEGIN>\n## `preprocess`",
">>> preprocess('#hi there http://www.foo.co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_rarity_scores 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 compute_rarity_scores API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Compute a score for each follower that is sum_i (1/n_i), where n_i is
the degree of the ith exemplar they follow.
>>> compute_rarity_scores({'e1':{1,2,3,4}, 'e2':{4,5}}).items()
[(1, 0.25), (2, 0.25), (3, 0.25), (4, 0.75), (5, 0.5)] | "Compute a score for each follower that is sum_i (1/n_i), where n_i is\n the degree of the ith exemplar they follow.\n >>> compute_rarity_scores({'e1':{1,2,3,4}, 'e2':{4,5}}).items()\n [(1, 0.25), (2, 0.25), (3, 0.25), (4, 0.75), (5, 0.5)]" | 47 | false | tapilab/brandelion | compute_rarity_scores | 8,495 | |
LDU_FT/pacificclimate/cfmeta/get_joined_dir_name | LDU_FT | [
"<BEGIN>\n## `get_dir_meta`",
"Pop path information and map to supplied atts\n<END>",
"<BEGIN>\n## `get_fp_meta`",
"Processes a CMIP3 style file path.",
" The standard CMIP3 directory structure:",
" <experiment>/<variable_name>/<model>/<ensemble_member>/<CMOR filename>.nc",
" Filename is of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_joined_dir_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_joined_dir_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.
T... | Returns a joined path populated with the supplied attribute names | "Returns a joined path populated with the supplied attribute names" | 56 | false | pacificclimate/cfmeta | get_joined_dir_name | 8,496 | |
LDU_FT/dbrattli/OSlash/call_cc | LDU_FT | [
"<BEGIN>\n## `map`",
"r\"\"\"Map a function over the Reader.",
" Haskell:\n fmap f m = Reader $ \\r -> f (runReader m r).\n fmap f g = (\\x -> f (g x))\n<END>",
"<BEGIN>\n## `bind`",
"r\"\"\"Bind a monadic function to the Reader.",
" Haskell:\n Reader: m >>= k = Reader ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_cc API.
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 call_cc API.
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... | r"""call-with-current-continuation.
Haskell: callCC f = Cont $ \c -> runCont (f (\a -> Cont $ \_ -> c a )) c | "r\"\"\"call-with-current-continuation.\n\n Haskell: callCC f = Cont $ \\c -> runCont (f (\\a -> Cont $ \\_ -> c a )) c" | 76 | false | dbrattli/OSlash | call_cc | 8,497 | |
LDU_FT/TyVik/YaDiskClient/mkdir | LDU_FT | [
"<BEGIN>\n## `ls`",
"Return list of files/directories. Each item is a dict. \n Keys: 'path', 'creationdate', 'displayname', 'length', 'lastmodified', 'isDir'.\n<END>",
"<BEGIN>\n## `df`",
"Return dict with size of Ya.Disk. Keys: 'available', 'used'.\n<END>",
"<BEGIN>\n## `mkdir`",
"Create directory... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdir API.
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 mkdir API.
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... | Create directory. All part of path must be exists. Raise exception when path already exists. | "Create directory. All part of path must be exists. Raise exception when path already exists." | 10 | false | TyVik/YaDiskClient | mkdir | 8,498 | |
LDU_FT/ethereum/py-evm/pack_block | LDU_FT | [
"<BEGIN>\n## `new_transaction`",
"Create and return a transaction sending amount from <from_> to <to>.",
" The transaction will be signed with the given private key.\n<END>",
"<BEGIN>\n## `idfn`",
"Function for pytest to produce uniform names for fixtures.\n<END>",
"<BEGIN>\n## `get_fixtures_file_hash`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_block API.
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 pack_block API.
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... | Pack block for mining.
:param bytes coinbase: 20-byte public address to receive block reward
:param bytes uncles_hash: 32 bytes
:param bytes state_root: 32 bytes
:param bytes transaction_root: 32 bytes
:param bytes receipt_root: 32 bytes
:param int bloom:
:param ... | "Pack block for mining.\n\n :param bytes coinbase: 20-byte public address to receive block reward\n :param bytes uncles_hash: 32 bytes\n :param bytes state_root: 32 bytes\n :param bytes transaction_root: 32 bytes\n :param bytes receipt_root: 32 bytes\n :param int bloom:\n ... | 422 | false | ethereum/py-evm | pack_block | 8,499 | |
LDU_FT/Min-ops/cruddy/bulk_delete | LDU_FT | [
"<BEGIN>\n## `describe`",
"Returns descriptive information about this cruddy handler and the\n methods supported by it.\n<END>",
"<BEGIN>\n## `search`",
"Cruddy provides a limited but useful interface to search GSI indexes in\n DynamoDB with the following limitations (hopefully some of these wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_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 extra... | Perform a search and delete all items that match. | "Perform a search and delete all items that match." | 36 | false | Min-ops/cruddy | bulk_delete | 8,500 | |
LDU_FT/sdispater/eloquent/compile_insert | LDU_FT | [
"<BEGIN>\n## `get_last`",
"Get the last migration batch.",
" :rtype: list\n<END>",
"<BEGIN>\n## `compile_insert`",
"Compile an insert SQL statement",
" :param query: A QueryBuilder instance\n :type query: QueryBuilder",
" :param values: The values to insert\n :type val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_insert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_insert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Compile an insert SQL statement
:param query: A QueryBuilder instance
:type query: QueryBuilder
:param values: The values to insert
:type values: dict or list
:return: The compiled statement
:rtype: str | "Compile an insert SQL statement\n\n :param query: A QueryBuilder instance\n :type query: QueryBuilder\n\n :param values: The values to insert\n :type values: dict or list\n\n :return: The compiled statement\n :rtype: str" | 498 | false | sdispater/eloquent | compile_insert | 8,501 | |
LDU_FT/abseil/abseil-py/unparse_flags | LDU_FT | [
"<BEGIN>\n## `_register_bounds_validator_if_needed`",
"Enforces lower and upper bounds for numeric flags.",
" Args:\n parser: NumericParser (either FloatParser or IntegerParser), provides lower\n and upper bounds, and help text to display.\n name: str, name of the flag\n flag_values: FlagValues... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unparse_flags API.
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 unparse_flags API.
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... | Unparses all flags to the point before any FLAGS(argv) was called. | "Unparses all flags to the point before any FLAGS(argv) was called." | 432 | false | abseil/abseil-py | unparse_flags | 8,502 | |
LDU_FT/datacamp/antlr-ast/materialize | LDU_FT | [
"<BEGIN>\n## `simplify_tree`",
"Recursively unpack single-item lists and objects where fields and labels only reference a single child",
" :param tree: the tree to simplify (mutating!)\n :param unpack_lists: whether single-item lists should be replaced by that item\n :param in_list: this is used to pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the materialize API.
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 materialize API.
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... | Replace indices by actual elements in a reference mapping
:param reference_dict: mapping str -> int | int[]
:param source: list of elements
:return: mapping str -> element | element[] | "Replace indices by actual elements in a reference mapping\n :param reference_dict: mapping str -> int | int[]\n :param source: list of elements\n :return: mapping str -> element | element[]" | 19 | false | datacamp/antlr-ast | materialize | 8,503 | |
LDU_FT/masfaraud/BMSpy/PartialDynamicSystem | LDU_FT | [
"<BEGIN>\n## `_AddInput`",
"Add one more variable as an input of the block",
" :param variable: variable (or signal as it is also a variable)\n<END>",
"<BEGIN>\n## `_AddOutput`",
"Add one more variable as an output of the block",
" :param variable: variable (or signal as it is also a var... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PartialDynamicSystem 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 PartialDynamicSystem 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 dynamical system blocks associated to output variable | "returns dynamical system blocks associated to output variable" | 39 | false | masfaraud/BMSpy | PartialDynamicSystem | 8,504 | |
LDU_FT/skorokithakis/django-annoying/get_prep_value | LDU_FT | [
"<BEGIN>\n## `get_object_or_None`",
"Uses get() to return an object or None if the object does not exist.",
" klass may be a Model, Manager, or QuerySet object. All other passed\n arguments and keyword arguments are used in the get() query.",
" Note: Like with get(), a MultipleObjectsReturned will be... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prep_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prep_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert the value to a string so it can be stored in the database. | "Convert the value to a string so it can be stored in the database." | 30 | false | skorokithakis/django-annoying | get_prep_value | 8,505 | |
LDU_FT/tipsi/aiozk/of | LDU_FT | [
"<BEGIN>\n## `deserialize`",
"Deserializes the given raw bytes into an instance.",
" Since this is a subclass of ``Part`` but a top-level one (i.e. no other\n subclass of ``Part`` would have a ``Response`` as a part) this merely\n has to parse the raw bytes and discard the resulting offset.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | Creates a new class with the ``item_class`` attribute properly set. | "Creates a new class with the ``item_class`` attribute properly set." | 38 | false | tipsi/aiozk | of | 8,506 | |
LDU_FT/minio/minio-py/listen_bucket_notification | LDU_FT | [
"<BEGIN>\n## `run`",
"Continously receive tasks and execute them\n<END>",
"<BEGIN>\n## `result`",
"Stop threads and return the result of all called tasks\n<END>",
"<BEGIN>\n## `xml_marshal_bucket_constraint`",
"Marshal's bucket constraint based on *region*.",
" :param region: Region name of a given b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen_bucket_notification 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 listen_bucket_notification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Yeilds new event notifications on a bucket, caller should iterate
to read new notifications.
NOTE: Notification is retried in case of `JSONDecodeError` otherwise
the function raises an exception.
:param bucket_name: Bucket name to listen event notifications from.
:param prefix:... | "Yeilds new event notifications on a bucket, caller should iterate\n to read new notifications.\n\n NOTE: Notification is retried in case of `JSONDecodeError` otherwise\n the function raises an exception.\n\n :param bucket_name: Bucket name to listen event notifications from.\n :param... | 331 | false | minio/minio-py | listen_bucket_notification | 8,507 | |
LDU_FT/Knoema/knoema-python-driver/upload | LDU_FT | [
"<BEGIN>\n## `is_equal_strings_ignore_case`",
"The function compares strings ignoring case\n<END>",
"<BEGIN>\n## `find_dimension_by_name`",
"the method searching dimension with a given name\n<END>",
"<BEGIN>\n## `find_dimension_by_id`",
"the method searching dimension with a given id\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API.
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 upload API.
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 ... | Use this function to upload data to Knoema dataset. | "Use this function to upload data to Knoema dataset." | 48 | false | Knoema/knoema-python-driver | upload | 8,508 | |
LDU_FT/jorisroovers/gitlint/get_rule_option | LDU_FT | [
"<BEGIN>\n## `find_rule_classes`",
"Searches a given directory or python module for rule classes. This is done by\n adding the directory path to the python path, importing the modules and then finding\n any Rule class in those modules.",
" :param extra_path: absolute directory or file path to search fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rule_option API.
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_rule_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns the value of a given option for a given rule. LintConfigErrors will be raised if the
rule or option don't exist. | "Returns the value of a given option for a given rule. LintConfigErrors will be raised if the\n rule or option don't exist." | 58 | false | jorisroovers/gitlint | get_rule_option | 8,509 | |
LDU_FT/miyakogi/wdom/removeEventListener | LDU_FT | [
"<BEGIN>\n## `get_class_list`",
"Get class-level class list, including all super class's.\n<END>",
"<BEGIN>\n## `removeClass`",
"[Not Standard] Remove classes from this node.\n<END>",
"<BEGIN>\n## `appendChild`",
"Append child node at the last of child nodes.",
" If this instance is connected to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the removeEventListener 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 removeEventListener 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... | Remove an event listener of this node.
The listener is removed only when both event type and listener is
matched. | "Remove an event listener of this node.\n\n The listener is removed only when both event type and listener is\n matched." | 233 | false | miyakogi/wdom | removeEventListener | 8,510 | |
LDU_FT/jasonlaska/spherecluster/_movMF | LDU_FT | [
"<BEGIN>\n## `sample_vMF`",
"Generate num_samples N-dimensional samples from von Mises Fisher\n distribution around center mu \\in R^N with concentration kappa.\n<END>",
"<BEGIN>\n## `_sample_weight`",
"Rejection sampling scheme for sampling distance from center on\n surface of the sphere.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _movMF API.
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 _movMF API.
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 ... | Mixture of von Mises Fisher clustering.
Implements the algorithms (i) and (ii) from
"Clustering on the Unit Hypersphere using von Mises-Fisher Distributions"
by Banerjee, Dhillon, Ghosh, and Sra.
TODO: Currently only supports Banerjee et al 2005 approximation of kappa,
however, there ar... | "Mixture of von Mises Fisher clustering.\n\n Implements the algorithms (i) and (ii) from\n\n \"Clustering on the Unit Hypersphere using von Mises-Fisher Distributions\"\n by Banerjee, Dhillon, Ghosh, and Sra.\n\n TODO: Currently only supports Banerjee et al 2005 approximation of kappa,\n howeve... | 93 | false | jasonlaska/spherecluster | _movMF | 8,511 | |
LDU_FT/FutunnOpen/futuquant/binary2str | LDU_FT | [
"<BEGIN>\n## `unpack_rsp`",
"Convert from PLS response to user response\n<END>",
"<BEGIN>\n## `getJsonPath`",
"获取JSON配置文件的路径:\n 1. 优先从当前工作目录查找JSON文件\n 2. 若无法找到则前往模块所在目录查找\n<END>",
"<BEGIN>\n## `set_client_info`",
".. py:function:: set_client_info(cls, client_id, client_ver)",
" 设置调用api的客户端... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binary2str API.
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 binary2str API.
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... | Transfer binary to string
:param b: binary content to be transformed to string
:return: string | "Transfer binary to string\n :param b: binary content to be transformed to string\n :return: string" | 288 | false | FutunnOpen/futuquant | binary2str | 8,512 | |
LDU_FT/mobolic/facebook-sdk/get_app_access_token | LDU_FT | [
"<BEGIN>\n## `get_user_from_cookie`",
"Parses the cookie set by the official Facebook JavaScript SDK.",
" cookies should be a dictionary-like object mapping cookie names to\n cookie values.",
" If the user is logged in via Facebook, we return a dictionary with\n the keys \"uid\" and \"access_token... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get the application's access token as a string.
If offline=True, use the concatenated app ID and secret
instead of making an API call.
<https://developers.facebook.com/docs/facebook-login/
access-tokens#apptokens> | "Get the application's access token as a string.\n If offline=True, use the concatenated app ID and secret\n instead of making an API call.\n <https://developers.facebook.com/docs/facebook-login/\n access-tokens#apptokens>" | 56 | false | mobolic/facebook-sdk | get_app_access_token | 8,513 | |
LDU_FT/python-security/pyt/find_triggers | LDU_FT | [
"<BEGIN>\n## `_connect_control_flow_node`",
"Connect a ControlFlowNode properly to the next_node.\n<END>",
"<BEGIN>\n## `extract_left_hand_side`",
"Extract the left hand side variable from a target.",
" Removes list indexes, stars and other left hand side elements.\n<END>",
"<BEGIN>\n## `get_first_node... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_triggers API.
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 find_triggers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Find triggers from the trigger_word_list in the nodes.
Args:
nodes(list[Node]): the nodes to find triggers in.
trigger_word_list(list[Union[Sink, Source]]): list of trigger words to look for.
nosec_lines(set): lines with # nosec whitelisting
Returns:
List of found TriggerNodes | "Find triggers from the trigger_word_list in the nodes.\n\n Args:\n nodes(list[Node]): the nodes to find triggers in.\n trigger_word_list(list[Union[Sink, Source]]): list of trigger words to look for.\n nosec_lines(set): lines with # nosec whitelisting\n\n Returns:\n List of found Trig... | 177 | false | python-security/pyt | find_triggers | 8,514 | |
LDU_FT/tyiannak/pyAudioAnalysis/computePreRec | LDU_FT | [
"<BEGIN>\n## `recordAnalyzeAudio`",
"recordAnalyzeAudio(duration, outputWavFile, midTermBufferSizeSec, modelName, modelType)",
"\tThis function is used to record and analyze audio segments, in a fix window basis.",
"\tARGUMENTS: \n\t- duration\t\t\ttotal recording duration\n\t- outputWavFile\t\t\tpath of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the computePreRec API.
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 computePreRec API.
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... | This function computes the precision, recall and f1 measures,
given a confusion matrix | "This function computes the precision, recall and f1 measures,\n given a confusion matrix" | 99 | false | tyiannak/pyAudioAnalysis | computePreRec | 8,515 | |
LDU_FT/OnroerendErfgoed/crabpy/_parse_bounding_box | LDU_FT | [
"<BEGIN>\n## `crab_gateway_request`",
"Utility function that helps making requests to the CRAB service.",
" This is a specialised version of :func:`crabpy.client.crab_request` that\n allows adding extra functionality for the calls made by the gateway.",
" :param client: A :class:`suds.client.Client` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_bounding_box API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_bounding_box API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Parse response bounding box from the CapakeyRestGateway to (MinimumX, MinimumY, MaximumX, MaximumY)
:param bounding_box: response bounding box from the CapakeyRestGateway
:return: (MinimumX, MinimumY, MaximumX, MaximumY) | "Parse response bounding box from the CapakeyRestGateway to (MinimumX, MinimumY, MaximumX, MaximumY)\n \n :param bounding_box: response bounding box from the CapakeyRestGateway\n :return: (MinimumX, MinimumY, MaximumX, MaximumY)" | 196 | false | OnroerendErfgoed/crabpy | _parse_bounding_box | 8,516 | |
LDU_FT/trailofbits/protofuzz/from_file | LDU_FT | [
"<BEGIN>\n## `find_protoc`",
"Traverse a path ($PATH by default) to find the protoc compiler\n<END>",
"<BEGIN>\n## `from_string`",
"Produce a Protobuf module from a string description.\r",
" Return the module if successfully compiled, otherwise raise a BadProtobuf\r\n exception.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Take a filename |protoc_file|, compile it via the Protobuf
compiler, and import the module.
Return the module if successfully compiled, otherwise raise either
a ProtocNotFound or BadProtobuf exception. | "Take a filename |protoc_file|, compile it via the Protobuf\r\n compiler, and import the module.\r\n\r\n Return the module if successfully compiled, otherwise raise either\r\n a ProtocNotFound or BadProtobuf exception." | 52 | false | trailofbits/protofuzz | from_file | 8,517 | |
LDU_FT/tarmstrong/nbdiff/words_diff | LDU_FT | [
"<BEGIN>\n## `merge`",
"Generate unmerged series of changes (including conflicts).",
" By diffing the two diffs, we find *changes* that are\n on the local branch, the remote branch, or both.\n We arbitrarily choose the \"local\" branch to be the \"before\"\n and the \"remote\" branch to be the \"aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the words_diff API.
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 words_diff API.
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... | Diff the words in two strings.
This is intended for use in diffing prose and other forms of text
where line breaks have little semantic value.
Parameters
----------
before_words : str
A string to be used as the baseline version.
after_words : str
A string to be compared against... | "Diff the words in two strings.\n\n This is intended for use in diffing prose and other forms of text\n where line breaks have little semantic value.\n\n Parameters\n ----------\n before_words : str\n A string to be used as the baseline version.\n after_words : str\n A string to be compa... | 41 | false | tarmstrong/nbdiff | words_diff | 8,518 | |
LDU_FT/mdavidsaver/p4p/periodic | LDU_FT | [
"<BEGIN>\n## `_sync`",
"I will wait until all pending handlers cothreads have completed\n<END>",
"<BEGIN>\n## `close`",
"Close PV, disconnecting any clients.",
" :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the periodic API.
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 periodic API.
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... | Start a daemon thread which will periodically print GC stats
:param period: Update period in seconds
:param file: A writable file-like object | "Start a daemon thread which will periodically print GC stats\n\n :param period: Update period in seconds\n :param file: A writable file-like object" | 201 | false | mdavidsaver/p4p | periodic | 8,519 | |
LDU_FT/jmcarp/betfair.py/replace_orders | LDU_FT | [
"<BEGIN>\n## `get_chunks`",
"Split sequence into chunks.",
" :param list sequence:\n :param int chunk_size:\n<END>",
"<BEGIN>\n## `get_kwargs`",
"Get all keys and values from dictionary where key is not `self`.",
" :param dict kwargs: Input parameters\n<END>",
"<BEGIN>\n## `check_status_code`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_orders API.
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 replace_orders API.
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... | This operation is logically a bulk cancel followed by a bulk place.
The cancel is completed first then the new orders are placed.
:param str market_id: The market id these orders are to be placed on
:param list instructions: List of `ReplaceInstruction` objects
:param str customer_ref: ... | "This operation is logically a bulk cancel followed by a bulk place.\n The cancel is completed first then the new orders are placed.\n\n :param str market_id: The market id these orders are to be placed on\n :param list instructions: List of `ReplaceInstruction` objects\n :param str customer... | 68 | false | jmcarp/betfair.py | replace_orders | 8,520 | |
LDU_FT/kkroening/ffmpeg-python/_do_watch_progress | LDU_FT | [
"<BEGIN>\n## `get_args`",
"Build command-line arguments to be passed to ffmpeg.\n<END>",
"<BEGIN>\n## `compile`",
"Build command-line for invoking ffmpeg.",
" The :meth:`run` function uses this to build the commnad line\n arguments and should work in most cases, but calling this function\n directly... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_watch_progress 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 _do_watch_progress 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... | Function to run in a separate gevent greenlet to read progress
events from a unix-domain socket. | "Function to run in a separate gevent greenlet to read progress\n events from a unix-domain socket." | 149 | false | kkroening/ffmpeg-python | _do_watch_progress | 8,521 | |
LDU_FT/QUANTAXIS/QUANTAXIS/bestExponent | LDU_FT | [
"<BEGIN>\n## `start_market`",
"start the market thread and register backtest broker thread\n QAMarket 继承QATrader, QATrader 中有 trade_engine属性 , trade_engine类型是QA_Engine从 QA_Thread继承\n<END>",
"<BEGIN>\n## `message`",
"the standard message which can be transfer\n<END>",
"<BEGIN>\n## `init_hold_with_acco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bestExponent API.
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 bestExponent API.
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... | :type seriesLenght: int
:rtype: int | ":type seriesLenght: int\n :rtype: int" | 835 | false | QUANTAXIS/QUANTAXIS | bestExponent | 8,522 | |
LDU_FT/esheldon/fitsio/write_var_column | LDU_FT | [
"<BEGIN>\n## `is_little_endian`",
"Return True if array is little endian, False otherwise.",
" Parameters\n ----------\n array: numpy array\n A numerical python array.",
" Returns\n -------\n Truth value:\n True for little-endian",
" Notes\n -----\n Strings are neith... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_var_column API.
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 write_var_column API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Write data to a variable-length column in this HDU
This HDU must be a table HDU.
parameters
----------
column: scalar string/integer
The column in which to write. Can be the name or number (0 offset)
column: ndarray
Numerical python array to write. Thi... | "Write data to a variable-length column in this HDU\n\n This HDU must be a table HDU.\n\n parameters\n ----------\n column: scalar string/integer\n The column in which to write. Can be the name or number (0 offset)\n column: ndarray\n Numerical python array to w... | 294 | false | esheldon/fitsio | write_var_column | 8,523 | |
LDU_FT/stuaxo/vext/run | LDU_FT | [
"<BEGIN>\n## `do_enable`",
"Uncomment any lines that start with #import in the .pth file\n<END>",
"<BEGIN>\n## `do_disable`",
"Comment any lines that start with import in the .pth file\n<END>",
"<BEGIN>\n## `do_check`",
"Attempt to import everything in the 'test-imports' section of specified\n vext_fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Need to find any pre-existing vext contained in dependent packages
and install them
example:
you create a setup.py with install_requires["vext.gi"]:
- vext.gi gets installed using bdist_egg
- vext itself is now called with bdist_egg and we end up here
Vext now needs t... | "Need to find any pre-existing vext contained in dependent packages\n and install them\n\n example:\n\n you create a setup.py with install_requires[\"vext.gi\"]:\n\n - vext.gi gets installed using bdist_egg\n - vext itself is now called with bdist_egg and we end up here\n\n Vex... | 64 | false | stuaxo/vext | run | 8,524 | |
LDU_FT/briney/abutils/get_logger | LDU_FT | [
"<BEGIN>\n## `cluster`",
"Perform sequence clustering with CD-HIT.",
" Args:",
" seqs (list): An iterable of sequences, in any format that `abutils.utils.sequence.Sequence()`\n can handle",
" threshold (float): Clustering identity threshold. Default is `0.975`.",
" out_f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get a logging handle.
As with ``setup_logging``, a stream handler is added to the
log handle.
Arguments:
name (str): Name of the log handle. Default is ``None``. | "Get a logging handle.\n\n As with ``setup_logging``, a stream handler is added to the\n log handle.\n\n Arguments:\n\n name (str): Name of the log handle. Default is ``None``." | 445 | false | briney/abutils | get_logger | 8,525 | |
LDU_FT/influxdata/influxdb-python/alter_retention_policy | LDU_FT | [
"<BEGIN>\n## `_get_unicode`",
"Try to return a text aka unicode object from the given data.\n<END>",
"<BEGIN>\n## `make_lines`",
"Extract points from given dict.",
" Extracts the points from the given dict and returns a Unicode string\n matching the line protocol introduced in InfluxDB 0.9.0.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alter_retention_policy 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 alter_retention_policy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Modify an existing retention policy for a database.
:param name: the name of the retention policy to modify
:type name: str
:param database: the database for which the retention policy is
modified. Defaults to current client's database
:type database: str
:param dura... | "Modify an existing retention policy for a database.\n\n :param name: the name of the retention policy to modify\n :type name: str\n :param database: the database for which the retention policy is\n modified. Defaults to current client's database\n :type database: str\n :pa... | 205 | false | influxdata/influxdb-python | alter_retention_policy | 8,526 | |
LDU_FT/BD2KGenomics/protect/index_bamfile | LDU_FT | [
"<BEGIN>\n## `generate_unique_key`",
"This module will take a master key and a url, and then make a new key specific to the url, based\n off the master.\n :param str master_key: Path to the master key used for encryption.\n :param str url: Full URL to the potential file location in S3.\n :returns new_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_bamfile API.
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 index_bamfile API.
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... | Index `bamfile` using samtools
:param toil.fileStore.FileID bamfile: fsID for the bam file
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal options used by almost all tools
:param dict samtools_options: Options specific to samtool... | "Index `bamfile` using samtools\n\n :param toil.fileStore.FileID bamfile: fsID for the bam file\n :param str sample_type: Description of the sample to inject into the filename\n :param dict univ_options: Dict of universal options used by almost all tools\n :param dict samtools_options: Options specific to s... | 510 | false | BD2KGenomics/protect | index_bamfile | 8,527 | |
LDU_FT/pyvisa/pyvisa/rc_notfound | LDU_FT | [
"<BEGIN>\n## `pass_control`",
"Tell the GPIB device at the specified address to become controller in charge (CIC).",
" Corresponds to viGpibPassControl function of the VISA library.",
" :param primary_address: Primary address of the GPIB device to which you want to pass control.\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rc_notfound API.
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 rc_notfound API.
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... | Exception used when no resource class is provided and no default is found. | "Exception used when no resource class is provided and no default is found." | 529 | false | pyvisa/pyvisa | rc_notfound | 8,528 | |
LDU_FT/yatiml/yatiml/__recognize_user_class | LDU_FT | [
"<BEGIN>\n## `class_subobjects`",
"Find the aggregated subobjects of an object.",
" These are the public attributes.",
" Args:\n class_: The class whose subobjects to return.",
" Yields:\n Tuples (name, type, required) describing subobjects.\n<END>",
"<BEGIN>\n## `__sweeten`",
"Ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __recognize_user_class 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 __recognize_user_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Recognize a user-defined class in the node.
This tries to recognize only exactly the specified class. It \
recurses down into the class's attributes, but not to its \
subclasses. See also __recognize_user_classes().
Args:
node: The node to recognize.
expected_ty... | "Recognize a user-defined class in the node.\n\n This tries to recognize only exactly the specified class. It \\\n recurses down into the class's attributes, but not to its \\\n subclasses. See also __recognize_user_classes().\n\n Args:\n node: The node to recognize.\n ... | 224 | false | yatiml/yatiml | __recognize_user_class | 8,529 | |
LDU_FT/rmorshea/dstruct/datafield | LDU_FT | [
"<BEGIN>\n## `datafield`",
"A decorator that defines a field for data within a :class:`DataStruct`",
" The decorated function becomes the parser for a :class:`DataField` which\n will be assigned to a data structure under the function's defined name.",
" Parameters\n ----------\n path: tuple\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datafield API.
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 datafield API.
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... | A decorator that defines a field for data within a :class:`DataStruct`
The decorated function becomes the parser for a :class:`DataField` which
will be assigned to a data structure under the function's defined name.
Parameters
----------
path: tuple
The path to a value within a raw piece o... | "A decorator that defines a field for data within a :class:`DataStruct`\n\n The decorated function becomes the parser for a :class:`DataField` which\n will be assigned to a data structure under the function's defined name.\n\n Parameters\n ----------\n path: tuple\n The path to a value within a ra... | 16 | false | rmorshea/dstruct | datafield | 8,530 | |
LDU_FT/quantmind/dynts/find_le | LDU_FT | [
"<BEGIN>\n## `jstimestamp_slow`",
"Convert a date or datetime object into a javsacript timestamp\n<END>",
"<BEGIN>\n## `jstimestamp`",
"Convert a date or datetime object into a javsacript timestamp.\n<END>",
"<BEGIN>\n## `rolling`",
"Fast rolling operation with O(log n) updates where n is the\n win... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_le API.
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 find_le API.
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... | Find the index corresponding to the rightmost
value less than or equal to *dt*.
If *dt* is less than :func:`dynts.TimeSeries.end`
a :class:`dynts.exceptions.LeftOutOfBound`
exception will raise.
*dt* must be a python datetime.date instance. | "Find the index corresponding to the rightmost\r\nvalue less than or equal to *dt*.\r\nIf *dt* is less than :func:`dynts.TimeSeries.end`\r\na :class:`dynts.exceptions.LeftOutOfBound`\r\nexception will raise.\r\n\r\n*dt* must be a python datetime.date instance." | 159 | false | quantmind/dynts | find_le | 8,531 | |
LDU_FT/peterbrittain/asciimatics/set_scenes | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset the scene ready for playing.",
" :param old_scene: The previous version of this Scene that was running before the\n application reset - e.g. due to a screen resize.\n :param screen: New screen to use if old_scene is not None.\n<END>",
"<BEGIN>\n## `add_ef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_scenes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_scenes API.
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... | Remember a set of scenes to be played. This must be called before
using :py:meth:`.draw_next_frame`.
:param scenes: a list of :py:obj:`.Scene` objects to play.
:param unhandled_input: Function to call for any input not handled
by the Scenes/Effects being played. Defaults to a func... | "Remember a set of scenes to be played. This must be called before\n using :py:meth:`.draw_next_frame`.\n\n :param scenes: a list of :py:obj:`.Scene` objects to play.\n :param unhandled_input: Function to call for any input not handled\n by the Scenes/Effects being played. Defaults to ... | 355 | false | peterbrittain/asciimatics | set_scenes | 8,532 | |
LDU_FT/MediaFire/mediafire-python-open-sdk/folder_get_info | LDU_FT | [
"<BEGIN>\n## `decode_resumable_upload_bitmap`",
"Decodes bitmap_node to hash of unit_id: is_uploaded",
" bitmap_node -- bitmap node of resumable_upload with\n 'count' number and 'words' containing array\n number_of_units -- number of units we are uploading to\n defi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the folder_get_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the folder_get_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | folder/get_info
http://www.mediafire.com/developers/core_api/1.3/folder/#get_info | "folder/get_info\n\n http://www.mediafire.com/developers/core_api/1.3/folder/#get_info" | 145 | false | MediaFire/mediafire-python-open-sdk | folder_get_info | 8,533 | |
LDU_FT/joferkington/mplstereonet/_get_core_transform | LDU_FT | [
"<BEGIN>\n## `subplots`",
"Identical to matplotlib.pyplot.subplots, except that this will default to\n producing equal-area stereonet axes.",
" This prevents constantly doing:",
" >>> fig, ax = plt.subplot(subplot_kw=dict(projection='stereonet'))",
" or",
" >>> fig = plt.figure()\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_core_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_core_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.
T... | The projection for the stereonet as a matplotlib transform. This is
primarily called by LambertAxes._set_lim_and_transforms. | "The projection for the stereonet as a matplotlib transform. This is\n primarily called by LambertAxes._set_lim_and_transforms." | 362 | false | joferkington/mplstereonet | _get_core_transform | 8,534 | |
LDU_FT/chovanecm/sacredboard/get | LDU_FT | [
"<BEGIN>\n## `get_file`",
"Get a specific file from GridFS.",
" Returns a binary stream response or HTTP 404 if not found.\n<END>",
"<BEGIN>\n## `get_files_zip`",
"Send all artifacts or sources of a run as ZIP.\n<END>",
"<BEGIN>\n## `get`",
"Return the file identified by a file_id string.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return the file identified by a file_id string, its file name and upload date. | "Return the file identified by a file_id string, its file name and upload date." | 128 | false | chovanecm/sacredboard | get | 8,535 | |
LDU_FT/edx/completion/user_course_completion_queryset | LDU_FT | [
"<BEGIN>\n## `has_permission`",
"Returns true if the current request is by the user themselves.",
" Note: a 404 is returned for non-staff instead of a 403. This is to prevent\n users from being able to detect the existence of accounts.\n<END>",
"<BEGIN>\n## `db_type`",
"The type of the field t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_course_completion_queryset 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 user_course_completion_queryset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Returns a Queryset of completions for a given user and course_key. | "Returns a Queryset of completions for a given user and course_key." | 76 | false | edx/completion | user_course_completion_queryset | 8,536 | |
LDU_FT/Tenchi2xh/Almonds/save | LDU_FT | [
"<BEGIN>\n## `extrema`",
"Returns the minimum and maximum values contained in a given area.",
" :param x0: Starting x index.\n :param y0: Starting y index.\n :param w: Width of the area to scan.\n :param h: Height of the area to scan.\n :return: Tuple containing the minimu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
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 save API.
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... | Saves the current parameters to a file.
:param params: Current application parameters.
:return: | "Saves the current parameters to a file.\n\n :param params: Current application parameters.\n :return:" | 79 | false | Tenchi2xh/Almonds | save | 8,537 | |
LDU_FT/nicodv/kmodes/predict | LDU_FT | [
"<BEGIN>\n## `init_huang`",
"Initialize centroids according to method by Huang [1997].\n<END>",
"<BEGIN>\n## `init_cao`",
"Initialize centroids according to method by Cao et al. [2009].",
" Note: O(N * attr * n_clusters**2), so watch out with large n_clusters\n<END>",
"<BEGIN>\n## `move_point_cat`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
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... | Predict the closest cluster each sample in X belongs to.
Parameters
----------
X : array-like, shape = [n_samples, n_features]
New data to predict.
Returns
-------
labels : array, shape [n_samples,]
Index of the cluster each sample belongs to. | "Predict the closest cluster each sample in X belongs to.\n\n Parameters\n ----------\n X : array-like, shape = [n_samples, n_features]\n New data to predict.\n\n Returns\n -------\n labels : array, shape [n_samples,]\n Index of the cluster each sample bel... | 52 | false | nicodv/kmodes | predict | 8,538 | |
LDU_FT/galaxy-genome-annotation/python-apollo/_handle_empty | LDU_FT | [
"<BEGIN>\n## `cli`",
"Set a feature's name",
"Output:",
" A standard apollo feature dictionary ({\"features\": [{...}]})\n<END>",
"<BEGIN>\n## `cli`",
"[UNTESTED] Delete a specific feature alteration",
"Output:",
" A list of sequence alterations(?)\n<END>",
"<BEGIN>\n## `cli`",
"Set a featur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_empty API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_empty API.
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... | Apollo likes to return empty user arrays, even when you REALLY
want a user response back... like creating a user. | "Apollo likes to return empty user arrays, even when you REALLY\n want a user response back... like creating a user." | 564 | false | galaxy-genome-annotation/python-apollo | _handle_empty | 8,539 | |
LDU_FT/abe-winter/pg13-py/fkapply | LDU_FT | [
"<BEGIN>\n## `names_from_exp`",
"Return a list of AttrX and NameX from the expression.\n<END>",
"<BEGIN>\n## `classify_wherex`",
"helper for wherex_to_rowlist. returns [SingleTableCond,...], [CartesianCond,...]\n<END>",
"<BEGIN>\n## `table_to_rowlist`",
"helper for wherex_to_rowlist. (table.Table, [exp, .... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fkapply API.
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 fkapply API.
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... | wrapper for do_* funcs to call process_* with missing handler. Unpacks the FieldKey. | "wrapper for do_* funcs to call process_* with missing handler. Unpacks the FieldKey." | 182 | false | abe-winter/pg13-py | fkapply | 8,540 | |
LDU_FT/kyper-data/python-highcharts/add_data_from_jsonp | LDU_FT | [
"<BEGIN>\n## `jsonp_loader`",
"jsonp_loader is to request (JSON) data from a server in a different domain (JSONP) \n and covert to python readable data. \n 1. url is the url (https) where data is located\n 2. \"prefix_regex\" and \"suffix_regex\" are regex patterns used to \n remove JSONP specific... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_data_from_jsonp 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 add_data_from_jsonp 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... | add data directly from a https source
the data_src is the https link for data using jsonp | "add data directly from a https source\n the data_src is the https link for data using jsonp" | 34 | false | kyper-data/python-highcharts | add_data_from_jsonp | 8,541 | |
LDU_FT/lyst/lightfm/auc_score | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the user/item id and feature name mappings.",
" Calling fit the second time will reset existing mappings.",
" Parameters\n ----------",
" users: iterable of user ids\n items: iterable of item ids\n user_features: iterable of user features, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auc_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auc_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Measure the ROC AUC metric for a model: the probability that a randomly
chosen positive example has a higher score than a randomly chosen negative
example.
A perfect score is 1.0.
Parameters
----------
model: LightFM instance
the fitted model to be evaluated
test_interactions: np.... | "Measure the ROC AUC metric for a model: the probability that a randomly\n chosen positive example has a higher score than a randomly chosen negative\n example.\n A perfect score is 1.0.\n\n Parameters\n ----------\n\n model: LightFM instance\n the fitted model to be evaluated\n test_intera... | 151 | false | lyst/lightfm | auc_score | 8,542 | |
LDU_FT/ev3dev/ev3dev-lang-python/_scale | LDU_FT | [
"<BEGIN>\n## `list_motors`",
"This is a generator function that enumerates all tacho motors that match\n the provided arguments.",
" Parameters:\n name_pattern: pattern that device name should match.\n For example, 'motor*'. Default value: '*'.\n keyword arguments: used for matchi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scale API.
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 _scale API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns value scaling coefficient for the given mode. | "Returns value scaling coefficient for the given mode." | 452 | false | ev3dev/ev3dev-lang-python | _scale | 8,543 | |
LDU_FT/ARMmbed/mbed-cloud-sdk-python/remove_api_keys_from_group | LDU_FT | [
"<BEGIN>\n## `add_resource_subscription`",
"Subscribe to a resource path # noqa: E501",
"The Device Management Connect eventing model consists of observable resources. This means that endpoints can deliver updated resource content, periodically or with a more sophisticated solution-dependent logic. The OMA LwM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_api_keys_from_group 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 remove_api_keys_from_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Remove API keys from a group. # noqa: E501
An endpoint for removing API keys from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/policy-groups/{group-id}/api-keys -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: application/json' -... | "Remove API keys from a group. # noqa: E501\n\n An endpoint for removing API keys from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/policy-groups/{group-id}/api-keys -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: application/json... | 1,479 | true | ARMmbed/mbed-cloud-sdk-python | remove_api_keys_from_group | 8,544 | |
LDU_FT/sigsep/sigsep-mus-eval/bss_eval_sources_framewise | LDU_FT | [
"<BEGIN>\n## `_load_track_estimates`",
"load estimates from disk instead of processing\n<END>",
"<BEGIN>\n## `eval_dir`",
"Compute bss_eval metrics for two given directories assuming file\n names are identical for both, reference source and estimates.",
" Parameters\n ----------\n reference_dir ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bss_eval_sources_framewise 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 bss_eval_sources_framewise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | BSS Eval v3 bss_eval_sources_framewise
Wrapper to ``bss_eval`` with the right parameters.
The call to this function is not recommended. See the description for the
``bsseval_sources`` parameter of ``bss_eval``. | "BSS Eval v3 bss_eval_sources_framewise\n\n Wrapper to ``bss_eval`` with the right parameters.\n The call to this function is not recommended. See the description for the\n ``bsseval_sources`` parameter of ``bss_eval``." | 69 | false | sigsep/sigsep-mus-eval | bss_eval_sources_framewise | 8,545 | |
LDU_FT/rpcope1/PythonConfluenceAPI/get_space_content_by_type | LDU_FT | [
"<BEGIN>\n## `request_patch`",
"Maintains the existing api for Session.request.\n Used by all of the higher level methods, e.g. Session.get.\n The background_callback param allows you to do some processing on the\n response in the background, e.g. call resp.json() so that json parsing\n happens in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_space_content_by_type 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 get_space_content_by_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns the content in this given space with the given type.
:param space_key (string): A string containing the key of the space.
:param content_type (string): The type of content to return with the space. Valid values: "page", "blogpost".
:param depth (string): OPTIONAL: A string indicating if ... | "Returns the content in this given space with the given type.\n :param space_key (string): A string containing the key of the space.\n :param content_type (string): The type of content to return with the space. Valid values: \"page\", \"blogpost\".\n :param depth (string): OPTIONAL: A string indica... | 140 | false | rpcope1/PythonConfluenceAPI | get_space_content_by_type | 8,546 | |
LDU_FT/neo4j/neo4j-python-driver/dehydrate_datetime | LDU_FT | [
"<BEGIN>\n## `basic_auth`",
"Generate a basic auth token for a given user and password.",
" :param user: user name\n :param password: current password\n :param realm: specifies the authentication provider\n :return: auth token for use with :meth:`GraphDatabase.driver`\n<END>",
"<BEGIN>\n## `custom... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dehydrate_datetime 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 dehydrate_datetime 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... | Dehydrator for `datetime` values.
:param value:
:type value: datetime
:return: | "Dehydrator for `datetime` values.\n\n :param value:\n :type value: datetime\n :return:" | 133 | false | neo4j/neo4j-python-driver | dehydrate_datetime | 8,547 | |
LDU_FT/wroberts/pygermanet/read_lexical_file | LDU_FT | [
"<BEGIN>\n## `load_germanet`",
"Loads a GermaNet instance connected to the given MongoDB instance.",
" Arguments:\n - `host`: the hostname of the MongoDB instance\n - `port`: the port number of the MongoDB instance\n - `database_name`: the name of the GermaNet database on the\n MongoDB instance... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_lexical_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_lexical_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... | Reads in a GermaNet lexical information file and returns its
contents as a list of dictionary structures.
Arguments:
- `filename`: the name of the XML file to read | "Reads in a GermaNet lexical information file and returns its\n contents as a list of dictionary structures.\n\n Arguments:\n - `filename`: the name of the XML file to read" | 61 | false | wroberts/pygermanet | read_lexical_file | 8,548 | |
LDU_FT/HacKanCuBa/passphrase-py/randbetween | LDU_FT | [
"<BEGIN>\n## `entropy_bits`",
"Calculate the number of entropy bits in a list or tuple of elements.\n<END>",
"<BEGIN>\n## `entropy_bits_nrange`",
"Calculate the number of entropy bits in a range of numbers.\n<END>",
"<BEGIN>\n## `password_length_needed`",
"Calculate the length of a password for a given en... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randbetween API.
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 randbetween API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a random int in the range [lower, upper].
Raises ValueError if any is lower than 0, and TypeError if any is not an
integer. | "Return a random int in the range [lower, upper].\n\n Raises ValueError if any is lower than 0, and TypeError if any is not an\n integer." | 77 | false | HacKanCuBa/passphrase-py | randbetween | 8,549 | |
LDU_FT/72squared/redpipe/substr | LDU_FT | [
"<BEGIN>\n## `connect_redis`",
"Connect your redis-py instance to redpipe.",
" Example:",
" .. code:: python",
" redpipe.connect_redis(redis.StrictRedis(), name='users')",
" Do this during your application bootstrapping.",
" You can also pass a redis-py-cluster instance to this method... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substr API.
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 substr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a substring of the string at key ``name``. ``start`` and ``end``
are 0-based integers specifying the portion of the string to return.
:param name: str the name of the redis key
:param start: int
:param end: int
:return: Future() | "Return a substring of the string at key ``name``. ``start`` and ``end``\n are 0-based integers specifying the portion of the string to return.\n\n :param name: str the name of the redis key\n :param start: int\n :param end: int\n :return: Future()" | 376 | false | 72squared/redpipe | substr | 8,550 | |
LDU_FT/ONSdigital/sdc-rabbit/connect | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Connect to a RabbitMQ instance",
" :returns: Boolean corresponding to success of connection\n :rtype: bool\n<END>",
"<BEGIN>\n## `_disconnect`",
"Cleanly close a RabbitMQ connection.",
" :returns: None\n<END>",
"<BEGIN>\n## `publish_message`",
"Publish a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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 method connects to RabbitMQ using a SelectConnection object,
returning the connection handle.
When the connection is established, the on_connection_open method
will be invoked by pika.
:rtype: pika.SelectConnection | "This method connects to RabbitMQ using a SelectConnection object,\n returning the connection handle.\n\n When the connection is established, the on_connection_open method\n will be invoked by pika.\n\n :rtype: pika.SelectConnection" | 58 | false | ONSdigital/sdc-rabbit | connect | 8,551 | |
LDU_FT/KyleJamesWalker/yamlsettings/dump | LDU_FT | [
"<BEGIN>\n## `conform_query`",
"Converts the query string from a target uri, uses\n cls.default_query to populate default arguments.",
" :param query: Unparsed query string\n :type query: urllib.parse.unsplit(uri).query\n :returns: Dictionary of parsed values, everything in cls.defau... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
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 dump API.
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... | Serialize YAMLDict into a YAML stream.
If stream is None, return the produced string instead. | "Serialize YAMLDict into a YAML stream.\n If stream is None, return the produced string instead." | 46 | false | KyleJamesWalker/yamlsettings | dump | 8,552 | |
LDU_FT/TissueMAPS/TmClient/upload_workflow_description_file | LDU_FT | [
"<BEGIN>\n## `map_logging_verbosity`",
"Parameters\n ----------\n verbosity: int\n logging verbosity level (0-4)",
" Returns\n -------\n A logging level as exported by `logging` module.\n By default returns logging.NOTSET",
" Raises\n ------\n TypeError\n when `verbosi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_workflow_description_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_workflow_description_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Uploads workflow description from a *YAML* file.
Parameters
----------
filename: str
path to the file from which description should be read
See also
--------
:meth:`tmclient.api.TmClient.upload_workflow_description` | "Uploads workflow description from a *YAML* file.\n\n Parameters\n ----------\n filename: str\n path to the file from which description should be read\n\n See also\n --------\n :meth:`tmclient.api.TmClient.upload_workflow_description`" | 203 | false | TissueMAPS/TmClient | upload_workflow_description_file | 8,553 | |
LDU_FT/Sheeprider/BitBucket-api/url | LDU_FT | [
"<BEGIN>\n## `auth`",
"Return credentials for current Bitbucket user.\n<END>",
"<BEGIN>\n## `authorize`",
"Call this with your consumer key, secret and callback URL, to\n generate a token for verification.\n<END>",
"<BEGIN>\n## `verify`",
"After converting the token into verifier, call this to fina... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Construct and return the URL for a specific API service. | "Construct and return the URL for a specific API service." | 39 | false | Sheeprider/BitBucket-api | url | 8,554 | |
LDU_FT/danilobellini/audiolazy/tee | 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 tee API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tee API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Tee or "T" copy to help working with Stream instances as well as with
numbers.
Parameters
----------
data :
Input to be copied. Can be anything.
n :
Size of returned tuple. Defaults to 2.
Returns
-------
Tuple of n independent Stream instances, if the input is a Stream or an
iterator, otherw... | "Tee or \"T\" copy to help working with Stream instances as well as with\n numbers.\n\n Parameters\n ----------\n data :\n Input to be copied. Can be anything.\n n :\n Size of returned tuple. Defaults to 2.\n\n Returns\n -------\n Tuple of n independent Stream instances, if the input is a Stream or an\n ... | 578 | false | danilobellini/audiolazy | tee | 8,555 | |
LDU_FT/sesh/piprot/build_github_url | LDU_FT | [
"<BEGIN>\n## `build_github_url`",
"Builds a URL to a file inside a Github repository.\n<END>",
"<BEGIN>\n## `get_default_branch`",
"returns the name of the default branch of the repo\n<END>",
"<BEGIN>\n## `get_pypi_url`",
"Get the PyPI url for a given requirement and optional version number and\n PyPI ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_github_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_github_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Builds a URL to a file inside a Github repository. | "Builds a URL to a file inside a Github repository." | 15 | false | sesh/piprot | build_github_url | 8,556 | |
LDU_FT/hamperbot/hamper/runPlugins | LDU_FT | [
"<BEGIN>\n## `signedOn`",
"Called after successfully signing on to the server.\n<END>",
"<BEGIN>\n## `process_action`",
"Called when a message is received from a channel or user.\n<END>",
"<BEGIN>\n## `connectionLost`",
"Called when the connection is lost to the server.\n<END>",
"<BEGIN>\n## `userKicked... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the runPlugins API.
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 runPlugins API.
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... | Run the specified set of plugins against a given protocol. | "Run the specified set of plugins against a given protocol." | 35 | false | hamperbot/hamper | runPlugins | 8,557 | |
LDU_FT/05bit/peewee-async/sync_unwanted | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute *SELECT*, *INSERT*, *UPDATE* or *DELETE* query asyncronously.",
" :param query: peewee query instance created with ``Model.select()``,\n ``Model.update()`` etc.\n :return: result depends on query type, it's the same as for sync\n ``query.execute()`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_unwanted API.
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 sync_unwanted API.
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... | Context manager for preventing unwanted sync queries.
`UnwantedSyncQueryError` exception will raise on such query.
NOTE: sync_unwanted() context manager is **deprecated**, use
database's `.allow_sync()` context manager or `Manager.allow_sync()`
context manager. | "Context manager for preventing unwanted sync queries.\n `UnwantedSyncQueryError` exception will raise on such query.\n\n NOTE: sync_unwanted() context manager is **deprecated**, use\n database's `.allow_sync()` context manager or `Manager.allow_sync()`\n context manager." | 92 | false | 05bit/peewee-async | sync_unwanted | 8,558 | |
LDU_FT/rackerlabs/lambda-uploader/clean_workspace | LDU_FT | [
"<BEGIN>\n## `package_meta`",
"Read __init__.py for global package metadata.\n Do this without importing the package.\n<END>",
"<BEGIN>\n## `subscribe`",
"Subscribes the lambda to the Kinesis stream\n<END>",
"<BEGIN>\n## `_format_vpc_config`",
"Returns {} if the VPC config is set to None by Config,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_workspace API.
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 clean_workspace API.
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... | Clean up the temporary workspace if one exists | "Clean up the temporary workspace if one exists" | 28 | false | rackerlabs/lambda-uploader | clean_workspace | 8,559 | |
LDU_FT/specialunderwear/django-easymode/is_valid | LDU_FT | [
"<BEGIN>\n## `serialize`",
"Serialize a queryset.\n THE OUTPUT OF THIS SERIALIZER IS NOT MEANT TO BE SERIALIZED BACK\n INTO THE DB.\n<END>",
"<BEGIN>\n## `start_serialization`",
"Start serialization -- open the XML document and the root element.\n<END>",
"<BEGIN>\n## `handle_field`",
"Called... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API.
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 is_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | validates a unicode string containing xml | "validates a unicode string containing xml" | 136 | false | specialunderwear/django-easymode | is_valid | 8,560 | |
LDU_FT/bfontaine/crosswords/sanitize_word | LDU_FT | [
"<BEGIN>\n## `sanitize_word`",
"sanitize a word by removing its accents, special characters, etc\n<END>",
"<BEGIN>\n## `init_storage`",
"Initialize the local dictionnaries cache in ~/.crosswords/dicts.\n<END>",
"<BEGIN>\n## `local_list`",
"Return a list of the locally available dictionnaries. Each element... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_word API.
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 sanitize_word API.
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... | sanitize a word by removing its accents, special characters, etc | "sanitize a word by removing its accents, special characters, etc" | 20 | false | bfontaine/crosswords | sanitize_word | 8,561 | |
LDU_FT/TorkamaniLab/metapipe/command | LDU_FT | [
"<BEGIN>\n## `consume`",
"Converts the lexer tokens into valid statements. This process\n also checks command syntax.\n<END>",
"<BEGIN>\n## `_get`",
"Given a type and a dict of parser results, return\n the items as a list.\n<END>",
"<BEGIN>\n## `_parse`",
"Given a type and a list, parse it u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Grammar for commands found in the overall input files. | "Grammar for commands found in the overall input files." | 84 | false | TorkamaniLab/metapipe | command | 8,562 | |
LDU_FT/basilfx/flask-daapserver/main | LDU_FT | [
"<BEGIN>\n## `publish`",
"Publish a given `DAAPServer` instance.",
" The given instances should be fully configured, including the provider.\n By default Zeroconf only advertises the first database, but the DAAP\n protocol has support for multiple databases. Therefore, the parameter\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Run a benchmark for N items. If N is not specified, take 1,000,000 for N. | "Run a benchmark for N items. If N is not specified, take 1,000,000 for N." | 45 | false | basilfx/flask-daapserver | main | 8,563 | |
LDU_FT/r4fek/django-cassandra-engine/_import_management | LDU_FT | [
"<BEGIN>\n## `_discover_models`",
"Return a dict containing a list of cassandra.cqlengine.Model classes\n within installed App.\n<END>",
"<BEGIN>\n## `django_table_names`",
"Returns a list of all table names that have associated cqlengine models\n and are present in settings.INSTALLED_APPS.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _import_management 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 _import_management 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... | Import the 'management' module within each installed app, to register
dispatcher events. | "Import the 'management' module within each installed app, to register\n dispatcher events." | 37 | false | r4fek/django-cassandra-engine | _import_management | 8,564 | |
LDU_FT/ttsteiger/cryptocompy/get_mining_contracts | LDU_FT | [
"<BEGIN>\n## `get_current_price`",
"Get latest trading price or full trading information in display or raw \r\n\tformat for the specified FROM/TO currency pairs.\r",
"\tArgs:\r\n\t\tfsyms: Single string or list of FROM symbols.\r\n\t\ttsyms: Single string or list of TO symbols.\r\n\t\te: Default returns average... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mining_contracts 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_mining_contracts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get all the mining contracts information available.
Returns:
This function returns two major dictionaries. The first one contains
information about the coins for which mining contracts data is
available:
coin_data:
{symbol1: {'BlockNumber': ...,
'BlockReward': ...,
'B... | "Get all the mining contracts information available.\n\n \tReturns:\n \t\tThis function returns two major dictionaries. The first one contains \n \t\tinformation about the coins for which mining contracts data is \n \t\tavailable: \n\n\t\tcoin_data: \n\n\n\t\t\t{symbol1: {'BlockNumber': ...,\n\t\t\t 'BlockRew... | 76 | false | ttsteiger/cryptocompy | get_mining_contracts | 8,565 | |
LDU_FT/rapidpro/dash/filter_dict | LDU_FT | [
"<BEGIN>\n## `intersection`",
"Return the intersection of lists, using the first list to determine item order\n<END>",
"<BEGIN>\n## `union`",
"Return the union of lists, ordering by first seen in any list\n<END>",
"<BEGIN>\n## `filter_dict`",
"Creates a new dict from an existing dict that only has the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Creates a new dict from an existing dict that only has the given keys | "Creates a new dict from an existing dict that only has the given keys" | 55 | false | rapidpro/dash | filter_dict | 8,566 | |
LDU_FT/thespacedoctor/qubits/plot_filter_transmissions | LDU_FT | [
"<BEGIN>\n## `setup`",
"*setup the workspace in the requested location*",
" **Return:**\n - ``None``\n<END>",
"<BEGIN>\n## `random_redshift_array`",
"*Generate a NumPy array of random distances given a sample number and distance limit*",
" **Key Arguments:**\n - ``log`` -- logg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_filter_transmissions 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 plot_filter_transmissions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | *Plot the filters on a single plot*
**Key Arguments:**
- ``log`` -- logger
- ``filterList`` -- list of absolute paths to plain text files containing filter transmission profiles
**Return:**
- None | "*Plot the filters on a single plot*\n\n **Key Arguments:**\n - ``log`` -- logger\n - ``filterList`` -- list of absolute paths to plain text files containing filter transmission profiles\n\n **Return:**\n - None" | 152 | false | thespacedoctor/qubits | plot_filter_transmissions | 8,567 | |
LDU_FT/yunstanford/sanic-transmute/get_blueprint_params | LDU_FT | [
"<BEGIN>\n## `get_blueprint_params`",
"API Description: Multiply, left * right. This will show in the swagger page (localhost:8000/api/v1/).\n<END>",
"<BEGIN>\n## `add_route`",
"a decorator that adds a transmute route to the application\n<END>",
"<BEGIN>\n## `add_swagger`",
"a convenience method for both ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_blueprint_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_blueprint_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | API Description: Multiply, left * right. This will show in the swagger page (localhost:8000/api/v1/). | "API Description: Multiply, left * right. This will show in the swagger page (localhost:8000/api/v1/)." | 10 | false | yunstanford/sanic-transmute | get_blueprint_params | 8,568 | |
LDU_FT/CartoDB/carto-python/read | LDU_FT | [
"<BEGIN>\n## `run`",
"Actually creates the import job on the CARTO server",
" :param import_params: To be send to the Import API, see CARTO's docs\n on Import API for an updated list of accepted\n params\n :type import_params: kwargs",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Reads the information for a specific Batch API request
:param job_id: The id of the job to be read from
:type job_id: str
:return: Response data, either as json or as a regular response.content
object
:rtype: object
:raise: CartoException | "Reads the information for a specific Batch API request\n\n :param job_id: The id of the job to be read from\n :type job_id: str\n\n :return: Response data, either as json or as a regular response.content\n object\n :rtype: object\n\n :raise: CartoException" | 154 | false | CartoDB/carto-python | read | 8,569 | |
LDU_FT/PyGithub/PyGithub/edit | LDU_FT | [
"<BEGIN>\n## `add_membership`",
":calls: `PUT /teams/:id/memberships/:user <http://developer.github.com/v3/orgs/teams>`_\n :param member: :class:`github.Nameduser.NamedUser`\n :param role: string\n :rtype: None\n<END>",
"<BEGIN>\n## `add_to_repos`",
":calls: `PUT /teams/:id/repos/:org/:re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit API.
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 edit API.
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... | :calls: `PATCH /repos/:owner/:repo/pulls/comments/:number <http://developer.github.com/v3/pulls/comments>`_
:param body: string
:rtype: None | ":calls: `PATCH /repos/:owner/:repo/pulls/comments/:number <http://developer.github.com/v3/pulls/comments>`_\n :param body: string\n :rtype: None" | 520 | false | PyGithub/PyGithub | edit | 8,570 | |
LDU_FT/acutesoftware/AIKIF/parse_n3 | LDU_FT | [
"<BEGIN>\n## `where_am_i`",
"high level function that can estimate where user is based \n on predefined setups.\n<END>",
"<BEGIN>\n## `dump_all`",
"prints all attributes and returns them as a dictionary \n (mainly for testing how it will all integrate)\n<END>",
"<BEGIN>\n## `summarise`",
"extrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_n3 API.
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 parse_n3 API.
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... | takes a row from an n3 file and returns the triple
NOTE - currently parses a CSV line already split via
cyc_extract.py | "takes a row from an n3 file and returns the triple\n NOTE - currently parses a CSV line already split via\n cyc_extract.py" | 486 | false | acutesoftware/AIKIF | parse_n3 | 8,571 | |
LDU_FT/aroberge/experimental/get_unique_variable_names | LDU_FT | [
"<BEGIN>\n## `start_console`",
"Starts a console; modified from code.interact\n<END>",
"<BEGIN>\n## `push`",
"Transform and push a line to the interpreter.",
" The line should not have a trailing newline; it may have\n internal newlines. The line is appended to a buffer and the\n inter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_unique_variable_names 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 get_unique_variable_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | returns a list of possible variables names that
are not found in the original text. | "returns a list of possible variables names that\n are not found in the original text." | 54 | false | aroberge/experimental | get_unique_variable_names | 8,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.