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/ocaballeror/LyricFetch/id_source | LDU_FT | [
"<BEGIN>\n## `load_from_file`",
"Load a list of filenames from an external text file.\n<END>",
"<BEGIN>\n## `parse_argv`",
"Parse command line arguments. Settings will be stored in the global\n variables declared above.\n<END>",
"<BEGIN>\n## `exclude_sources`",
"Returns a narrower list of sources.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id_source API.
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 id_source API.
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... | Returns the name of a website-scrapping function. | "Returns the name of a website-scrapping function." | 69 | false | ocaballeror/LyricFetch | id_source | 143,173 | |
LDU_FT/wakatime/wakatime/parse_block_scalar_indent | LDU_FT | [
"<BEGIN>\n## `wrap`",
"[MS-NLMP] v28.0 2016-07-14",
" 3.4.6 GSS_WrapEx()\n Emulates the GSS_Wrap() implementation to sign and seal messages if the correct flags\n are set.",
" @param message: The message data that will be wrapped\n @return message: The message that has been ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_block_scalar_indent 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 parse_block_scalar_indent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Process indentation spaces in a block scalar. | "Process indentation spaces in a block scalar." | 623 | false | wakatime/wakatime | parse_block_scalar_indent | 143,174 | |
LDU_FT/Nic30/hwtGraph/detectRamPorts | LDU_FT | [
"<BEGIN>\n## `extractSplits`",
"convert group of indexed assignments witch are splitting signal to Split node",
" a = sig[0]\n b = sig[1]\n to\n a, b = sig",
" :param toL: dictionary {hdl object: layout object}\n<END>",
"<BEGIN>\n## `getPortSideView`",
"Returns a sublist view for all ports ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detectRamPorts API.
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 detectRamPorts API.
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... | Detect RAM ports in If statement
:param stm: statement to detect the ram ports in
:param current_en: curent en/clk signal | "Detect RAM ports in If statement\n\n :param stm: statement to detect the ram ports in\n :param current_en: curent en/clk signal" | 65 | false | Nic30/hwtGraph | detectRamPorts | 143,175 | |
LDU_FT/chezou/tabula-py/convert_into_by_batch | LDU_FT | [
"<BEGIN>\n## `load_template`",
"Build tabula-py option from template file",
" Args:\n file_like_obj: File like object of Tabula app template",
" Returns:\n `obj`:dict: tabula-py options\n<END>",
"<BEGIN>\n## `_convert_template_option`",
"Convert Tabula app template to tabula-py option"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_into_by_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_into_by_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert tables from PDFs in a directory.
Args:
input_dir (str):
Directory path.
output_format (str, optional):
Output format of this function (csv, json or tsv)
java_options (list, optional):
Set java options like `-Xmx256m`.
kwargs (dict):
... | "Convert tables from PDFs in a directory.\n\n Args:\n input_dir (str):\n Directory path.\n output_format (str, optional):\n Output format of this function (csv, json or tsv)\n java_options (list, optional):\n Set java options like `-Xmx256m`.\n kwargs (dic... | 50 | false | chezou/tabula-py | convert_into_by_batch | 143,176 | |
LDU_FT/InQuest/python-sandboxapi/analyze | LDU_FT | [
"<BEGIN>\n## `_request`",
"Robustness wrapper. Tries up to 3 times to dance with the Sandbox API.",
" :type uri: str\n :param uri: URI to append to base_url.\n :type params: dict\n :param params: Optional parameters for API.\n :type files: dict\n :param f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze API.
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 analyze API.
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... | Submit a file for analysis.
:type handle: File handle
:param handle: Handle to file to upload for analysis.
:type filename: str
:param filename: File name.
:rtype: str
:return: File ID as a string | "Submit a file for analysis.\n\n :type handle: File handle\n :param handle: Handle to file to upload for analysis.\n :type filename: str\n :param filename: File name.\n\n :rtype: str\n :return: File ID as a string" | 93 | false | InQuest/python-sandboxapi | analyze | 143,177 | |
LDU_FT/gijzelaerr/python-snap7/set_string | LDU_FT | [
"<BEGIN>\n## `check_error`",
"check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>",
"<BEGIN>\n## `error_text`",
"Returns a textual explanation of a given error number",
" :param error: an error integer\n :param context: server, client or partner... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set string value
:params value: string data
:params max_size: max possible string size | "Set string value\n\n :params value: string data\n :params max_size: max possible string size" | 150 | false | gijzelaerr/python-snap7 | set_string | 143,178 | |
LDU_FT/eugene-eeo/graphlite/derived | LDU_FT | [
"<BEGIN>\n## `gen_query`",
"Generate an SQL query for the edge object.\n<END>",
"<BEGIN>\n## `derived`",
"Returns a new query object set up correctly with\n the *statement* and *params* appended to the end\n of the new instance's internal query and params,\n along with the current instanc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derived API.
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 derived API.
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 a new query object set up correctly with
the *statement* and *params* appended to the end
of the new instance's internal query and params,
along with the current instance's connection.
:param statement: The SQL query string to append.
:param params: The parameters to app... | "Returns a new query object set up correctly with\n the *statement* and *params* appended to the end\n of the new instance's internal query and params,\n along with the current instance's connection.\n\n :param statement: The SQL query string to append.\n :param params: The parameters... | 19 | false | eugene-eeo/graphlite | derived | 143,179 | |
LDU_FT/OnroerendErfgoed/crabpy_pyramid/conditional_http_tween_factory | LDU_FT | [
"<BEGIN>\n## `range_return`",
"Determine what range of objects to return.",
" Will check fot both `Range` and `X-Range` headers in the request and\n set both `Content-Range` and 'X-Content-Range' headers.",
" :rtype: list\n<END>",
"<BEGIN>\n## `set_http_caching`",
"Set an HTTP Cache Control heade... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_http_tween_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_http_tween_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Tween that adds ETag headers and tells Pyramid to enable
conditional responses where appropriate. | "Tween that adds ETag headers and tells Pyramid to enable \n conditional responses where appropriate." | 72 | false | OnroerendErfgoed/crabpy_pyramid | conditional_http_tween_factory | 143,180 | |
LDU_FT/pschmitt/python-opsview/reload_config | LDU_FT | [
"<BEGIN>\n## `login_required`",
"Definition decorator for all function requiring an active session\n Credit: http://stackoverflow.com/a/7590709\n<END>",
"<BEGIN>\n## `api_version`",
"Get information about the API\n http://docs.opsview.com/doku.php?id=opsview4.6:restapi#api_version_information\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Initiate a config reload. This may take a while on large installations. | "Initiate a config reload. This may take a while on large installations." | 16 | false | pschmitt/python-opsview | reload_config | 143,181 | |
LDU_FT/MatiasSM/fcb/from_image_to_file | LDU_FT | [
"<BEGIN>\n## `delete_unverified_uploads`",
":param destinations: list of Destination.destination",
" For each Destination.destination:\n Deletes all FilesDestinations where the destination is not verified\n Deletes each FilesContainer in the deleted FilesDestinations if not present in a non del... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_image_to_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_image_to_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.
Th... | Expects images created by from_from_file_to_image | "Expects images created by from_from_file_to_image" | 42 | false | MatiasSM/fcb | from_image_to_file | 143,182 | |
LDU_FT/suds-community/suds/resolve | LDU_FT | [
"<BEGIN>\n## `xml`",
"Get xml representation of the object.\n @return: The root node.\n @rtype: L{Element}\n<END>",
"<BEGIN>\n## `skip`",
"Get whether to skip (filter-out) the specified attribute.\n @param attr: An attribute.\n @type attr: I{Attribute}\n @return: True if sho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
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 resolve API.
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... | Resolve the node's type reference and return the referenced type node.
Returns self if the type is defined locally, e.g. as a <complexType>
subnode. Otherwise returns the referenced external node.
@param nobuiltin: Flag indicating whether resolving to XSD built-in
types should not ... | "Resolve the node's type reference and return the referenced type node.\n\n Returns self if the type is defined locally, e.g. as a <complexType>\n subnode. Otherwise returns the referenced external node.\n\n @param nobuiltin: Flag indicating whether resolving to XSD built-in\n types shou... | 466 | false | suds-community/suds | resolve | 143,183 | |
LDU_FT/earwig/mwparserfromhell/_verify_safe | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Return the unicode character represented by the HTML entity.\n<END>",
"<BEGIN>\n## `inheritdoc`",
"Set __doc__ of *method* to __doc__ of *method* in its parent class.",
" Since this is used on :class:`.SmartList`, the \"parent class\" used is\n ``list``. This function can b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_safe API.
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 _verify_safe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Make sure we are not trying to write an invalid character. | "Make sure we are not trying to write an invalid character." | 291 | false | earwig/mwparserfromhell | _verify_safe | 143,184 | |
LDU_FT/syrusakbary/promise/failed_dispatch | LDU_FT | [
"<BEGIN>\n## `dispatch_queue`",
"Given the current state of a Loader instance, perform a batch load\n from its current queue.\n<END>",
"<BEGIN>\n## `failed_dispatch`",
"Do not cache individual loads if the entire batch dispatch fails,\n but still reject each request so they do not hang.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the failed_dispatch API.
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 failed_dispatch API.
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... | Do not cache individual loads if the entire batch dispatch fails,
but still reject each request so they do not hang. | "Do not cache individual loads if the entire batch dispatch fails,\n but still reject each request so they do not hang." | 25 | false | syrusakbary/promise | failed_dispatch | 143,185 | |
LDU_FT/sibson/vncdotool/fillRectangle | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a VNCServer and return a Client instance that is usable\n in the main thread of non-Twisted Python Applications, EXPERIMENTAL.",
" >>> from vncdotool import api\n >>> with api.connect('host') as client\n >>> client.keyPress('c')",
" You may then call any... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fillRectangle API.
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 fillRectangle API.
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... | fill the area with the color. the color is a string in
the pixel format set up earlier | "fill the area with the color. the color is a string in\n the pixel format set up earlier" | 42 | false | sibson/vncdotool | fillRectangle | 143,186 | |
LDU_FT/getsentry/rb/resolve | LDU_FT | [
"<BEGIN>\n## `add_host`",
"Adds a new host to the cluster. This is only really useful for\n unittests as normally hosts are added through the constructor and\n changes after the cluster has been used for the first time are\n unlikely to make sense.\n<END>",
"<BEGIN>\n## `remove_host`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
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 resolve API.
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... | Resolves the promise with the given value. | "Resolves the promise with the given value." | 87 | false | getsentry/rb | resolve | 143,187 | |
LDU_FT/dims/etcd3-gateway/_decode | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Construct a full url to the v3alpha API given a specific path",
" :param path:\n :return: url\n<END>",
"<BEGIN>\n## `post`",
"helper method for HTTP POST",
" :param args:\n :param kwargs:\n :return: json response\n<END>",
"<BEGIN>\n## `lease`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Decode the base-64 encoded string
:param data:
:return: decoded data | "Decode the base-64 encoded string\n\n :param data:\n :return: decoded data" | 75 | false | dims/etcd3-gateway | _decode | 143,188 | |
LDU_FT/LuminosoInsight/langcodes/region_name | LDU_FT | [
"<BEGIN>\n## `parse_tag`",
"Parse the syntax of a language tag, without looking up anything in the\n registry, yet. Returns a list of (type, value) tuples indicating what\n information will need to be looked up.\n<END>",
"<BEGIN>\n## `parse_subtags`",
"Parse everything that comes after the language tag:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the region_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the region_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Describe the region part of the language tag in a natural language. | "Describe the region part of the language tag in a natural language." | 236 | false | LuminosoInsight/langcodes | region_name | 143,189 | |
LDU_FT/kmadac/bitstamp-python-client/buy_limit_order | LDU_FT | [
"<BEGIN>\n## `_construct_url`",
"Adds the orderbook to the url if base and quote are specified.\n<END>",
"<BEGIN>\n## `_request`",
"Make a generic request, adding in any proxy defined by the instance.",
" Raises a ``requests.HTTPError`` if the response status isn't 200, and\n raises a :class:`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buy_limit_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buy_limit_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Order to buy amount of bitcoins for specified price. | "Order to buy amount of bitcoins for specified price." | 47 | false | kmadac/bitstamp-python-client | buy_limit_order | 143,190 | |
LDU_FT/TC01/calcpkg/getFileCategory | LDU_FT | [
"<BEGIN>\n## `structureOutput`",
"Formats the output of a list of packages\n<END>",
"<BEGIN>\n## `count`",
"Counts the number of ticalc.org files containing some search term, doesn't return them\n<END>",
"<BEGIN>\n## `searchHierarchy`",
"Core function to search directory structure for child files and fold... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getFileCategory API.
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 getFileCategory API.
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... | Function to get the file category for file info | "Function to get the file category for file info" | 62 | false | TC01/calcpkg | getFileCategory | 143,191 | |
LDU_FT/bkjones/pyrabbit/do_call | LDU_FT | [
"<BEGIN>\n## `do_call`",
"Send an HTTP request to the REST API.",
" :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_call API.
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... | Send an HTTP request to the REST API.
:param string path: A URL
:param string method: The HTTP method (GET, POST, etc.) to use
in the request.
:param string body: A string representing any data to be sent in the
body of the HTTP request.
:param dictionary headers... | "Send an HTTP request to the REST API.\n\n :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP request.\n :param dictionary... | 112 | false | bkjones/pyrabbit | do_call | 143,192 | |
LDU_FT/googlefonts/ufo2ft/getGDEFGlyphClasses | LDU_FT | [
"<BEGIN>\n## `isValidFeatureWriter`",
"Return True if 'klass' is a valid feature writer class.\n A valid feature writer class is a class (of type 'type'), that has\n two required attributes:\n 1) 'tableTag' (str), which can be \"GSUB\", \"GPOS\", or other similar tags.\n 2) 'write' (bound method), wit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getGDEFGlyphClasses 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 getGDEFGlyphClasses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return GDEF GlyphClassDef base/mark/ligature/component glyphs, or
None if no GDEF table is defined in the feature file. | "Return GDEF GlyphClassDef base/mark/ligature/component glyphs, or\n None if no GDEF table is defined in the feature file." | 224 | false | googlefonts/ufo2ft | getGDEFGlyphClasses | 143,193 | |
LDU_FT/wrobstory/vincent/serialize | LDU_FT | [
"<BEGIN>\n## `fill_opacity`",
"ValueRef : int or float, opacity of the fill (0 to 1)\n<END>",
"<BEGIN>\n## `stroke_width`",
"ValueRef : int, width of the stroke in pixels\n<END>",
"<BEGIN>\n## `stroke_opacity`",
"ValueRef : number, opacity of the stroke (0 to 1)\n<END>",
"<BEGIN>\n## `size`",
"ValueRe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
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 serialize API.
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... | Convert an object into a JSON-serializable value
This is used by the ``from_pandas`` and ``from_numpy`` functions to
convert data to JSON-serializable types when loading. | "Convert an object into a JSON-serializable value\n\n This is used by the ``from_pandas`` and ``from_numpy`` functions to\n convert data to JSON-serializable types when loading." | 139 | false | wrobstory/vincent | serialize | 143,194 | |
LDU_FT/jjjake/iamine/metadata_urls | LDU_FT | [
"<BEGIN>\n## `get_global_rate_limit`",
"Get the global rate limit per client.",
" :rtype: int\n :returns: The global rate limit for each client.\n<END>",
"<BEGIN>\n## `_rate_limited`",
"A rate limit decorator for limiting the number of times the\n decorated :class:`Miner` method can be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata_urls API.
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 metadata_urls API.
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... | An Archive.org metadata URL generator.
:param identifiers: A set of Archive.org identifiers for which to
make metadata URLs.
:type identifiers: iterable
:param protocol: (optional) The HTTP protocol to use. "https://" is
used by default.
:type protocol: str... | "An Archive.org metadata URL generator.\n\n :param identifiers: A set of Archive.org identifiers for which to\n make metadata URLs.\n :type identifiers: iterable\n\n :param protocol: (optional) The HTTP protocol to use. \"https://\" is\n used by default.\n :type pr... | 48 | false | jjjake/iamine | metadata_urls | 143,195 | |
LDU_FT/svven/summary/parse_url | LDU_FT | [
"<BEGIN>\n## `load_raw_rules`",
"Load raw rules from url or package file.\n<END>",
"<BEGIN>\n## `get_image`",
"Returned Image instance has response url.\r\n This might be different than the url param because of redirects.\n<END>",
"<BEGIN>\n## `check_color`",
"Just check if raw_image is completely ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extract... | Return urlparsed url from the given argument (which could be an already
parsed url) | "Return urlparsed url from the given argument (which could be an already\n parsed url)" | 41 | false | svven/summary | parse_url | 143,196 | |
LDU_FT/billy-yoyo/RainbowSixSiege-Python-API/load_operator | LDU_FT | [
"<BEGIN>\n## `connect`",
"|coro|",
" Connect to ubisoft, automatically called when needed\n<END>",
"<BEGIN>\n## `get_players`",
"|coro|",
" get a list of players matching the term on that platform,\n exactly one of uid and name must be given, platform must be given,\n this list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_operator API.
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... | |coro|
Loads the players stats for the operator
Parameters
----------
operator : str
the name of the operator
Returns
-------
:class:`Operator`
the operator object found | "|coro|\n\n Loads the players stats for the operator\n\n Parameters\n ----------\n operator : str\n the name of the operator\n\n Returns\n -------\n :class:`Operator`\n the operator object found" | 87 | false | billy-yoyo/RainbowSixSiege-Python-API | load_operator | 143,197 | |
LDU_FT/quadrismegistus/prosodic/has | LDU_FT | [
"<BEGIN>\n## `loadLanguage`",
"This function loads up a language configuration file and returns\n\tthe configuration to be passed to the syllabify function.\n<END>",
"<BEGIN>\n## `syllabify`",
"Syllabifies the word, given a language configuration loaded with loadLanguage.\n\t word is either a string of phon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has API.
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 has API.
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... | for contr,add_ipa in [("'s","z"), ("'d","d")]:
if word_l.endswith(contr):
word_l_unc = word_l[:-2]
# if the uncontracted in the dictionary
if word_l_unc in self.dict['Word'] and self.dict['Word'][word_l_unc]:
for obj in self.dict['Word'][word_l_unc]:
if type(obj) in [tuple]:
ipa,sylls_t... | "for contr,add_ipa in [(\"'s\",\"z\"), (\"'d\",\"d\")]:\n\t\t\tif word_l.endswith(contr):\n\t\t\t\tword_l_unc = word_l[:-2]\n\t\t\t\t# if the uncontracted in the dictionary\n\t\t\t\tif word_l_unc in self.dict['Word'] and self.dict['Word'][word_l_unc]:\n\t\t\t\t\tfor obj in self.dict['Word'][word_l_unc]:\n\t\t\t\t\t\tif... | 80 | false | quadrismegistus/prosodic | has | 143,198 | |
LDU_FT/toumorokoshi/sprinter/__generate_file | LDU_FT | [
"<BEGIN>\n## `whitespace_smart_split`",
"Split a command by whitespace, taking care to not split on\n whitespace within quotes.",
" >>> whitespace_smart_split(\"test this \\\\\\\"in here\\\\\\\" again\")\n ['test', 'this', '\"in here\"', 'again']\n<END>",
"<BEGIN>\n## `sync`",
"execute the steps re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __generate_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __generate_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generate the file at the file_path desired. Creates any needed
directories on the way. returns the absolute path of the file. | "Generate the file at the file_path desired. Creates any needed\n directories on the way. returns the absolute path of the file." | 150 | false | toumorokoshi/sprinter | __generate_file | 143,199 | |
LDU_FT/StyXman/ayrton/prepare | LDU_FT | [
"<BEGIN>\n## `build_ast`",
"Convert an top level parse tree node into an AST mod.\n<END>",
"<BEGIN>\n## `number_of_statements`",
"Compute the number of AST statements contained in a node.\n<END>",
"<BEGIN>\n## `error`",
"Raise a SyntaxError with the lineno and col_offset set to n's.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
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... | Setup the parser for parsing.
Takes the starting symbol as an argument. | "Setup the parser for parsing.\n\n Takes the starting symbol as an argument." | 107 | false | StyXman/ayrton | prepare | 143,200 | |
LDU_FT/instacart/jardin/replica_lag | LDU_FT | [
"<BEGIN>\n## `index_by`",
"Returns a dict with a key for each value of `field` and the first record with that value as value.\n :param field: Name of the field to index by.\n :type field: string.\n<END>",
"<BEGIN>\n## `destroy`",
"Deletes the record. If the model has ``soft_delete`` activated, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replica_lag API.
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 replica_lag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns the current replication lag in seconds between the master and replica databases.
:returns: float | "Returns the current replication lag in seconds between the master and replica databases.\n\n :returns: float" | 41 | false | instacart/jardin | replica_lag | 143,201 | |
LDU_FT/peterldowns/djoauth2/make_success_redirect | LDU_FT | [
"<BEGIN>\n## `update_parameters`",
"Updates a URL's existing GET parameters.",
" :param url: a base URL to which to add additional parameters.\n :param parameters: a dictionary of parameters, any mix of\n unicode and string objects as the parameters and the values.\n :parameter encoding: the byte encoding... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_success_redirect 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 make_success_redirect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return a Django ``HttpResponseRedirect`` describing the request success.
The custom authorization endpoint should return the result of this method
when the user grants the Client's authorization request. The request is
assumed to have successfully been vetted by the :py:meth:`validate` method. | "Return a Django ``HttpResponseRedirect`` describing the request success.\n\n The custom authorization endpoint should return the result of this method\n when the user grants the Client's authorization request. The request is\n assumed to have successfully been vetted by the :py:meth:`validate` method." | 70 | false | peterldowns/djoauth2 | make_success_redirect | 143,202 | |
LDU_FT/roll/interest-py/exception | LDU_FT | [
"<BEGIN>\n## `match`",
"Return match or None for the request/constraints pair.",
" Parameters\n ----------\n request: :class:`.http.Request`\n Request instance.\n root: str\n HTTP path root.\n path: str\n HTTP path.\n methods: list\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extract... | Log exception event.
Compatible with logging.exception signature. | "Log exception event.\n\n Compatible with logging.exception signature." | 38 | false | roll/interest-py | exception | 143,203 | |
LDU_FT/dadadel/pyment/get_raise_indexes | LDU_FT | [
"<BEGIN>\n## `isin_alone`",
"Check if an element from a list is the only element of a string.",
" :type elems: list\n :type line: str\n<END>",
"<BEGIN>\n## `isin_start`",
"Check if an element from a list starts a string.",
" :type elems: list\n :type line: str\n<END>",
"<BEGIN>\n## `isin`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raise_indexes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raise_indexes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get from a docstring the next raise name indexes.
In javadoc style it is after @raise.
:param data: string to parse
:returns: start and end indexes of found element else (-1, -1)
or else (-2, -2) if try to use params style but no parameters were provided.
Note: the end index... | "Get from a docstring the next raise name indexes.\n In javadoc style it is after @raise.\n\n :param data: string to parse\n :returns: start and end indexes of found element else (-1, -1)\n or else (-2, -2) if try to use params style but no parameters were provided.\n Note: the en... | 165 | false | dadadel/pyment | get_raise_indexes | 143,204 | |
LDU_FT/kennethreitz/clint/sub | LDU_FT | [
"<BEGIN>\n## `_indent`",
"Indent util function, compute new indent_string\n<END>",
"<BEGIN>\n## `open`",
"Returns file object from given filename.\n<END>",
"<BEGIN>\n## `append`",
"Appends given content to given filename.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes given file or directory. If no filenam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sub API.
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 sub API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns AppDir instance for given subdirectory name. | "Returns AppDir instance for given subdirectory name." | 66 | false | kennethreitz/clint | sub | 143,205 | |
LDU_FT/tagcubeio/tagcube-cli/parse_url | LDU_FT | [
"<BEGIN>\n## `create_scans`",
"This method is rather simple, it will group the urls to be scanner together\n based on (protocol, domain and port).",
" :param urls_file: The filename with all the URLs\n :return: A list of scans to be run\n<END>",
"<BEGIN>\n## `parse_url`",
"Parse a URL into the part... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extract... | Parse a URL into the parts I need for processing:
* protocol
* domain
* port
* path
:param url: A string
:return: A tuple containing the above | "Parse a URL into the parts I need for processing:\n * protocol\n * domain\n * port\n * path\n\n :param url: A string\n :return: A tuple containing the above" | 72 | false | tagcubeio/tagcube-cli | parse_url | 143,206 | |
LDU_FT/dourvaris/nano-python/payment_end | LDU_FT | [
"<BEGIN>\n## `signature_unsafe`",
"Not safe to use with secret keys or secret data.\n See module docstring. This function should be used for testing only.\n<END>",
"<BEGIN>\n## `checkvalid`",
"Not safe to use when any argument is secret.\n See module docstring. This function should be used only for\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the payment_end API.
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 payment_end API.
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... | End a payment session. Marks the account as available for use in a
payment session.
:param account: Account to mark available
:type account: str
:param wallet: Wallet to end payment session for
:type wallet: str
:raises: :py:exc:`nano.rpc.RPCException`
>>> rp... | "End a payment session. Marks the account as available for use in a\n payment session.\n\n :param account: Account to mark available\n :type account: str\n\n :param wallet: Wallet to end payment session for\n :type wallet: str\n\n :raises: :py:exc:`nano.rpc.RPCException`\n\n ... | 574 | false | dourvaris/nano-python | payment_end | 143,207 | |
LDU_FT/dedupeio/dedupe/trainingDataDedupe | LDU_FT | [
"<BEGIN>\n## `getCentroid`",
"Takes in a list of attribute values for a field,\n evaluates the centroid using the comparator,\n & returns the centroid (i.e. the 'best' value for the field)\n<END>",
"<BEGIN>\n## `getCanonicalRep`",
"Given a list of records within a duplicate cluster, constructs a\n ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trainingDataDedupe 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 trainingDataDedupe 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... | Construct training data for consumption by the ActiveLearning
markPairs method from an already deduplicated dataset.
Arguments :
data -- Dictionary of records, where the keys are record_ids and
the values are dictionaries with the keys being
field names
... | "Construct training data for consumption by the ActiveLearning\n markPairs method from an already deduplicated dataset.\n\n Arguments :\n data -- Dictionary of records, where the keys are record_ids and\n the values are dictionaries with the keys being\n field n... | 136 | false | dedupeio/dedupe | trainingDataDedupe | 143,208 | |
LDU_FT/skylander86/ycsettings/getbool | LDU_FT | [
"<BEGIN>\n## `parse_n_jobs`",
"This function parses a \"math\"-like string as a function of CPU count.\n It is useful for specifying the number of jobs.",
" For example, on an 8-core machine::",
" assert parse_n_jobs('0.5 * n') == 4\n assert parse_n_jobs('2n') == 16\n assert parse_n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getbool API.
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 getbool API.
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... | Gets the setting value as a :func:`bool` by cleverly recognizing true values.
:rtype: bool | "Gets the setting value as a :func:`bool` by cleverly recognizing true values.\n\n :rtype: bool" | 33 | false | skylander86/ycsettings | getbool | 143,209 | |
LDU_FT/remram44/usagestats/read_config | LDU_FT | [
"<BEGIN>\n## `OPERATING_SYSTEM`",
"General information about the operating system.",
" This is a flag you can pass to `Stats.submit()`.\n<END>",
"<BEGIN>\n## `SESSION_TIME`",
"Total time of this session.",
" Reports the time elapsed from the construction of the `Stats` object to\n this `submit()`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Reads the configuration.
This method can be overloaded to integrate with your application's own
configuration mechanism. By default, a single 'status' file is read
from the reports' directory.
This should set `self.status` to one of the state constants, and make
sure `self.loca... | "Reads the configuration.\n\n This method can be overloaded to integrate with your application's own\n configuration mechanism. By default, a single 'status' file is read\n from the reports' directory.\n\n This should set `self.status` to one of the state constants, and make\n sure `s... | 32 | false | remram44/usagestats | read_config | 143,210 | |
LDU_FT/giancosta86/Iris/dispose | LDU_FT | [
"<BEGIN>\n## `getFlag`",
"Creates a flag having path <variables dir path><os.sep><flagName>\n<END>",
"<BEGIN>\n## `getFriendlyString`",
"Returns the version, printed in a friendly way.",
" More precisely, it trims trailing zero components.\n<END>",
"<BEGIN>\n## `getVersions`",
"Returns the versio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispose API.
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 dispose API.
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... | Disposes every performed registration; the container can then be used again | "Disposes every performed registration; the container can then be used again" | 45 | false | giancosta86/Iris | dispose | 143,211 | |
LDU_FT/MKLab-ITI/reveal-graph-embedding/model_fit | LDU_FT | [
"<BEGIN>\n## `read_adjacency_matrix`",
"Reads an edge list in csv format and returns the adjacency matrix in SciPy Sparse COOrdinate format.",
" Inputs: - file_path: The path where the adjacency matrix is stored.\n - separator: The delimiter among values (e.g. \",\", \"\\t\", \" \")",
" Out... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_fit API.
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 model_fit API.
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... | Fits a Linear Support Vector Classifier to the labelled graph-based features using the LIBLINEAR library.
One-vs-All: http://scikit-learn.org/stable/modules/generated/sklearn.multiclass.OneVsRestClassifier.html
LinearSVC: http://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html
Inputs:... | "Fits a Linear Support Vector Classifier to the labelled graph-based features using the LIBLINEAR library.\n\n One-vs-All: http://scikit-learn.org/stable/modules/generated/sklearn.multiclass.OneVsRestClassifier.html\n LinearSVC: http://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html\n\n I... | 151 | false | MKLab-ITI/reveal-graph-embedding | model_fit | 143,212 | |
LDU_FT/albert12132/templar/get_references | LDU_FT | [
"<BEGIN>\n## `applies`",
"Checks if this rule applies to the given src and dst paths, based on the src pattern and\n dst pattern given in the constructor.",
" If src pattern was None, this rule will apply to any given src path (same for dst).\n<END>",
"<BEGIN>\n## `link`",
"Links the content f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_references API.
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_references API.
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... | Retrieves all link references within the text.
Link references can be defined anywhere in the text, and look like
this:
[id]: www.example.com "optional title"
A link (either <a> or <img>) can then refer to the link reference:
[this is a link][id]
Link IDs are case insensitive. Link ... | "Retrieves all link references within the text.\n\n Link references can be defined anywhere in the text, and look like\n this:\n\n [id]: www.example.com \"optional title\"\n\n A link (either <a> or <img>) can then refer to the link reference:\n\n [this is a link][id]\n\n Link IDs are case inse... | 130 | false | albert12132/templar | get_references | 143,213 | |
LDU_FT/danielfrg/datasciencebox/read_settings | LDU_FT | [
"<BEGIN>\n## `managed`",
"Create and install python requirements in a conda enviroment\n pip is installed by default in the new enviroment",
" name : path to the enviroment to be created\n packages : None\n single package or list of packages to install i.e. numpy, scipy=0.13.3, pandas\n requi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Read the "dsbfile" file
Populates `self.settings` | "Read the \"dsbfile\" file\n Populates `self.settings`" | 45 | false | danielfrg/datasciencebox | read_settings | 143,214 | |
LDU_FT/coin-or/GiMPy/label_correcting_get_cycle | LDU_FT | [
"<BEGIN>\n## `add_root`",
"API: add_root(self, root, **attrs)\n Description:\n Adds root node to the tree with name root and returns root Node\n instance.\n Input:\n root: Root node name.\n attrs: Root node attributes.\n Post:\n Changes s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the label_correcting_get_cycle 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 label_correcting_get_cycle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | API:
label_correcting_get_cycle(self, labelled, pred)
Description:
In label correcting check cycle it is decided pred has a cycle and
nodes in the cycle are labelled. We will create a list of nodes
in the cycle using labelled and pred inputs.
Pre:
... | "API:\n label_correcting_get_cycle(self, labelled, pred)\n Description:\n In label correcting check cycle it is decided pred has a cycle and\n nodes in the cycle are labelled. We will create a list of nodes\n in the cycle using labelled and pred inputs.\n Pre:\n... | 179 | false | coin-or/GiMPy | label_correcting_get_cycle | 143,215 | |
LDU_FT/etingof/pyasn1/isValue | LDU_FT | [
"<BEGIN>\n## `isSameTypeWith`",
"Examine |ASN.1| type for equality with other ASN.1 type.",
" ASN.1 tags (:py:mod:`~pyasn1.type.tag`) and constraints\n (:py:mod:`~pyasn1.type.constraint`) are examined when carrying\n out ASN.1 types comparison.",
" Python class inheritance relation... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isValue API.
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 isValue API.
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... | Indicate that |ASN.1| object represents ASN.1 value.
If *isValue* is `False` then this object represents just ASN.1 schema.
If *isValue* is `True` then, in addition to its ASN.1 schema features,
this object can also be used like a Python built-in object (e.g. `int`,
`str`, `dict` etc.)... | "Indicate that |ASN.1| object represents ASN.1 value.\n\n If *isValue* is `False` then this object represents just ASN.1 schema.\n\n If *isValue* is `True` then, in addition to its ASN.1 schema features,\n this object can also be used like a Python built-in object (e.g. `int`,\n `str`, `dict... | 239 | false | etingof/pyasn1 | isValue | 143,216 | |
LDU_FT/tshlabs/tunic/install | LDU_FT | [
"<BEGIN>\n## `_is_iterable`",
"Ensure that a value is iterable and not some sort of string\n<END>",
"<BEGIN>\n## `download_url`",
"Download the given URL with wget to the provided path. The command is\n run via Fabric on the current remote machine. Therefore, the destination\n path should be for the rem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Install the local artifact into the remote release directory, optionally
with a different name than the artifact had locally.
If the directory for the given release ID does not exist on the remote
system, it will be created. The directory will be created according to
the standard Tunic ... | "Install the local artifact into the remote release directory, optionally\n with a different name than the artifact had locally.\n\n If the directory for the given release ID does not exist on the remote\n system, it will be created. The directory will be created according to\n the standard ... | 73 | false | tshlabs/tunic | install | 143,217 | |
LDU_FT/ArangoDB-Community/pyArango/bulkImport_json | LDU_FT | [
"<BEGIN>\n## `_create`",
"Creates an index of any type according to postData\n<END>",
"<BEGIN>\n## `createVertex`",
"adds a vertex to the graph and returns it\n<END>",
"<BEGIN>\n## `deleteVertex`",
"deletes a vertex from the graph as well as al linked edges\n<END>",
"<BEGIN>\n## `link`",
"A shorthand ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulkImport_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulkImport_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | bulk import from a file repecting arango's key/value format | "bulk import from a file repecting arango's key/value format" | 105 | false | ArangoDB-Community/pyArango | bulkImport_json | 143,218 | |
LDU_FT/OLC-LOC-Bioinformatics/GenomeQAML/find_files | LDU_FT | [
"<BEGIN>\n## `main`",
"Run the appropriate functions in order\n :param sequencepath: path of folder containing FASTA genomes\n :param report: boolean to determine whether a report is to be created\n :param refseq_database: Path to reduced refseq database sketch\n :param num_threads: Number of threads ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_files API.
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 find_files API.
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... | Use glob to find all FASTA files in the provided sequence path. NOTE: FASTA files must have an extension such as
.fasta, .fa, or .fas. Extensions of .fsa, .tfa, ect. are not currently supported
:param sequencepath: path of folder containing FASTA genomes
:return: list of FASTA files | "Use glob to find all FASTA files in the provided sequence path. NOTE: FASTA files must have an extension such as\n .fasta, .fa, or .fas. Extensions of .fsa, .tfa, ect. are not currently supported\n :param sequencepath: path of folder containing FASTA genomes\n :return: list of FASTA files" | 41 | false | OLC-LOC-Bioinformatics/GenomeQAML | find_files | 143,219 | |
LDU_FT/thanethomson/statik/create_template | LDU_FT | [
"<BEGIN>\n## `list_files`",
"Lists all of the files in the given base directory, optionally only\n including whose extension(s) match the ext string/list of strings.\n This is non-recursive.",
" Args:\n base_path: The directory in which to search.\n ext: The extension(s) to match in the g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_template API.
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 create_template API.
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... | Creates a template from the given string based on the specified provider or the provider with
highest precedence.
Args:
s: The string to convert to a template.
provider_name: The name of the provider to use to create the template. | "Creates a template from the given string based on the specified provider or the provider with\n highest precedence.\n\n Args:\n s: The string to convert to a template.\n provider_name: The name of the provider to use to create the template." | 117 | false | thanethomson/statik | create_template | 143,220 | |
LDU_FT/kennethreitz/maya/intervals | LDU_FT | [
"<BEGIN>\n## `comparable`",
"Class decorator that ensures support for the special C{__cmp__} method.\n On Python 2 this does nothing.\n On Python 3, C{__eq__}, C{__lt__}, etc. methods are added to the class,\n relying on C{__cmp__} to implement their comparisons.\n<END>",
"<BEGIN>\n## `validate_class_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intervals API.
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 intervals API.
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... | Yields MayaDT objects between the start and end MayaDTs given,
at a given interval (seconds or timedelta). | "Yields MayaDT objects between the start and end MayaDTs given,\n at a given interval (seconds or timedelta)." | 47 | false | kennethreitz/maya | intervals | 143,221 | |
LDU_FT/intelsdi-x/snap-plugin-lib-py/set | LDU_FT | [
"<BEGIN>\n## `publish`",
"Publishes metrics to a file in JSON format.",
" This method is called by the Snap deamon during the collection phase\n of the execution of a Snap workflow.",
" In this example we are writing the metrics to a file in json format.\n We obtain the path to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
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 set API.
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... | Sets time in seconds since Epoch
Args:
time (:obj:`float`): time in seconds since Epoch (see time.time())
Returns:
None | "Sets time in seconds since Epoch\n\n Args:\n time (:obj:`float`): time in seconds since Epoch (see time.time())\n\n Returns:\n None" | 69 | false | intelsdi-x/snap-plugin-lib-py | set | 143,222 | |
LDU_FT/zabuldon/teslajsonpy/set_temperature | LDU_FT | [
"<BEGIN>\n## `set_temperature`",
"Set both the driver and passenger temperature to temp.\n<END>",
"<BEGIN>\n## `update`",
"Update the charging state of the Tesla Vehicle.\n<END>",
"<BEGIN>\n## `set_standard`",
"Set the charger to standard range for daily commute.\n<END>",
"<BEGIN>\n## `unlock`",
"Unlo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_temperature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_temperature API.
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... | Set both the driver and passenger temperature to temp. | "Set both the driver and passenger temperature to temp." | 40 | false | zabuldon/teslajsonpy | set_temperature | 143,223 | |
LDU_FT/sunlightlabs/django-locksmith/reset_keys | LDU_FT | [
"<BEGIN>\n## `_active_keys_by_month`",
"Returns a dict of (year, month) -> active_keys. The dict will contain a key\n for each month observed in the data.\n<END>",
"<BEGIN>\n## `keys`",
"Lists API keys. Compatible with jQuery DataTables.\n<END>",
"<BEGIN>\n## `resolve_model`",
"model: Model class\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_keys API.
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 reset_keys API.
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... | POST endpoint to reset API keys for a given API
(triggering a request for new keys) | "POST endpoint to reset API keys for a given API\n (triggering a request for new keys)" | 33 | false | sunlightlabs/django-locksmith | reset_keys | 143,224 | |
LDU_FT/mozillazg/baidu-pcs-python-sdk/multi_move | LDU_FT | [
"<BEGIN>\n## `upload`",
"上传单个文件(<2G).",
" | 百度PCS服务目前支持最大2G的单个文件上传。\n | 如需支持超大文件(>2G)的断点续传,请参考下面的“分片文件上传”方法。",
" :param remote_path: 网盘中文件的保存路径(包含文件名)。\n 必须以 /apps/ 开头。",
" .. warning::\n * 路径长度限制为1000;... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_move API.
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 multi_move API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | 批量移动文件或目录.
:param path_list: 源文件地址和目标文件地址对列表:
>>> path_list = [
... ('/apps/test_sdk/test.txt', # 源文件
... '/apps/test_sdk/testmkdir/b.txt' # 目标文件
... ),
... ('/apps/test... | "批量移动文件或目录.\n\n :param path_list: 源文件地址和目标文件地址对列表:\n\n >>> path_list = [\n ... ('/apps/test_sdk/test.txt', # 源文件\n ... '/apps/test_sdk/testmkdir/b.txt' # 目标文件\n ... ),\n ... ('/... | 126 | false | mozillazg/baidu-pcs-python-sdk | multi_move | 143,225 | |
LDU_FT/hobson/pug-dj/normalize_values_queryset | LDU_FT | [
"<BEGIN>\n## `instance`",
"Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>",
"<BEGIN>\n## `_run_task`",
"Tasks a task from tasks.py and runs through the commands on the server\n<END>",
"<BEGIN>\n## `_put_template`",
"Same as _put() but it l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_values_queryset 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 normalize_values_queryset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Shoehorn the values from one database table into another
* Remove padding (leading/trailing spaces) from `CharField` and `TextField` values
* Truncate all `CharField`s to the max_length of the destination `model`
* Subsititue blanks ('') for any None values destined for `null=False` fields
Returns a l... | "Shoehorn the values from one database table into another\n\n * Remove padding (leading/trailing spaces) from `CharField` and `TextField` values\n * Truncate all `CharField`s to the max_length of the destination `model`\n * Subsititue blanks ('') for any None values destined for `null=False` fields\n\n Retu... | 300 | false | hobson/pug-dj | normalize_values_queryset | 143,226 | |
LDU_FT/berkeley-cocosci/Wallace/node_neighbors | LDU_FT | [
"<BEGIN>\n## `submission_successful`",
"Run when a participant submits successfully.\n<END>",
"<BEGIN>\n## `summary`",
"Summarize the participants' status codes.\n<END>",
"<BEGIN>\n## `experiment_property`",
"Get a property of the experiment by name.\n<END>",
"<BEGIN>\n## `ad_address`",
"Get the addre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_neighbors API.
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 node_neighbors API.
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... | Send a GET request to the node table.
This calls the neighbours method of the node
making the request and returns a list of descriptions of
the nodes (even if there is only one).
Required arguments: participant_id, node_id
Optional arguments: type, failed, connection
After getting the neighbou... | "Send a GET request to the node table.\n\n This calls the neighbours method of the node\n making the request and returns a list of descriptions of\n the nodes (even if there is only one).\n Required arguments: participant_id, node_id\n Optional arguments: type, failed, connection\n\n After getting the... | 118 | false | berkeley-cocosci/Wallace | node_neighbors | 143,227 | |
LDU_FT/rm-hull/luma.led_matrix/cleanup | LDU_FT | [
"<BEGIN>\n## `rainbow`",
"A generator that yields 'n' hues from the rainbow in the hex format #RRGGBB.\n By default the saturation and value (from HSV) are both set to 1.\n<END>",
"<BEGIN>\n## `minute_change`",
"When we reach a minute change, animate it.\n<END>",
"<BEGIN>\n## `animation`",
"Animate the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup API.
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 cleanup API.
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... | Attempt to reset the device & switching it off prior to exiting the
python process. | "Attempt to reset the device & switching it off prior to exiting the\n python process." | 29 | false | rm-hull/luma.led_matrix | cleanup | 143,228 | |
LDU_FT/kiwiz/gkeepapi/remove | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate to Google with the provided credentials.",
" Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.",
" Raises:\n LoginException: If there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove the given child node.
Args:
node (gkeepapi.Node): Node to remove.
dirty (bool): Whether this node should be marked dirty. | "Remove the given child node.\n\n Args:\n node (gkeepapi.Node): Node to remove.\n dirty (bool): Whether this node should be marked dirty." | 164 | false | kiwiz/gkeepapi | remove | 143,229 | |
LDU_FT/krukas/Trionyx/render_to_string | LDU_FT | [
"<BEGIN>\n## `auto_load_model_menu`",
"Auto load model menu entries, can be configured in `trionyx.config.ModelConfig`:",
" - menu_name\n - menu_icon\n - menu_order\n<END>",
"<BEGIN>\n## `add_item`",
"Add new menu item to menu",
" :param path: Path of menu\n :param name:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Render given template to string and add object to context | "Render given template to string and add object to context" | 88 | false | krukas/Trionyx | render_to_string | 143,230 | |
LDU_FT/buildinspace/peru/enter_async_context | LDU_FT | [
"<BEGIN>\n## `_find_plugin_dir`",
"Find the directory containing the plugin definition for the given type.\n Do this by searching all the paths where plugins can live for a dir that\n matches the type name.\n<END>",
"<BEGIN>\n## `_get_plugin_install_dirs`",
"Return all the places on the filesystem where... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enter_async_context 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 enter_async_context 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... | Enters the supplied async context manager.
If successful, also pushes its __aexit__ method as a callback and
returns the result of the __aenter__ method. | "Enters the supplied async context manager.\n If successful, also pushes its __aexit__ method as a callback and\n returns the result of the __aenter__ method." | 75 | false | buildinspace/peru | enter_async_context | 143,231 | |
LDU_FT/gwpy/gwpy/find_types | LDU_FT | [
"<BEGIN>\n## `canonical_name`",
"Find the canonical name for the given window in scipy.signal",
" Parameters\n ----------\n name : `str`\n the name of the window you want",
" Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_types API.
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 find_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the list of known data types.
This is just the basename of each FFL file found in the
FFL directory (minus the ``.ffl`` extension) | "Return the list of known data types.\n\n This is just the basename of each FFL file found in the\n FFL directory (minus the ``.ffl`` extension)" | 2,764 | true | gwpy/gwpy | find_types | 143,232 | |
LDU_FT/xolox/python-coloredlogs/enable_system_logging | LDU_FT | [
"<BEGIN>\n## `install`",
"Enable colored terminal output for Python's :mod:`logging` module.",
" :param level: The default logging level (an integer or a string with a\n level name, defaults to :data:`DEFAULT_LOG_LEVEL`).\n :param logger: The logger to which the stream handler should be a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_system_logging 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 enable_system_logging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Redirect :mod:`logging` messages to the system log (e.g. ``/var/log/syslog``).
:param programname: The program name to embed in log messages (a string, defaults
to the result of :func:`~coloredlogs.find_program_name()`).
:param fmt: The log format for system log messages (a string, def... | "Redirect :mod:`logging` messages to the system log (e.g. ``/var/log/syslog``).\n\n :param programname: The program name to embed in log messages (a string, defaults\n to the result of :func:`~coloredlogs.find_program_name()`).\n :param fmt: The log format for system log messages (a string... | 191 | false | xolox/python-coloredlogs | enable_system_logging | 143,233 | |
LDU_FT/DecBayComp/RWA-python/not_storable | LDU_FT | [
"<BEGIN>\n## `hdf5_storable`",
"Registers a `Storable` instance in the global service.\n<END>",
"<BEGIN>\n## `isreference`",
"Tell whether a variable is an object reference.",
" Due to garbage collection, some objects happen to get the id of a distinct variable.\n As a consequence, linking is not read... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the not_storable API.
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 not_storable API.
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... | Helper for tagging unserializable types.
Arguments:
_type (type): type to be ignored.
Returns:
Storable: storable instance that does not poke. | "Helper for tagging unserializable types.\n\n Arguments:\n\n _type (type): type to be ignored.\n\n Returns:\n\n Storable: storable instance that does not poke." | 130 | false | DecBayComp/RWA-python | not_storable | 143,234 | |
LDU_FT/SoftwareDefinedBuildings/XBOS/call_cool | LDU_FT | [
"<BEGIN>\n## `fillPelicanHole`",
"Fill a hole in a Pelican thermostat's data stream.",
" Arguments:\n site -- The thermostat's Pelican site name\n username -- The Pelican username for the site\n password -- The Pelican password for the site\n tstat_name -- The name of the thermost... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_cool API.
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 call_cool API.
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... | Adjusts the temperature setpoints in order to call for cooling. Returns
a handler to call when you want to reset the thermostat | "Adjusts the temperature setpoints in order to call for cooling. Returns\n a handler to call when you want to reset the thermostat" | 305 | false | SoftwareDefinedBuildings/XBOS | call_cool | 143,235 | |
LDU_FT/signalfx/signalfx-python/_assign_value_by_type | LDU_FT | [
"<BEGIN>\n## `gauge`",
"Adds gauge with dimensions to the global pyformance registry\n<END>",
"<BEGIN>\n## `count_calls_with_dims`",
"Decorator to track the number of times a function is called\n with with dimensions.\n<END>",
"<BEGIN>\n## `meter_calls_with_dims`",
"Decorator to track the rate at which... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _assign_value_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 conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _assign_value_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 conclusion.
... | Assigns the supplied value to the appropriate protobuf value type | "Assigns the supplied value to the appropriate protobuf value type" | 139 | false | signalfx/signalfx-python | _assign_value_by_type | 143,236 | |
LDU_FT/data61/clkhash/validate_entries | LDU_FT | [
"<BEGIN>\n## `convert_v1_to_v2`",
"Convert v1 schema dict to v2 schema dict.\n :param dict: v1 schema dict\n :return: v2 schema dict\n<END>",
"<BEGIN>\n## `from_json_dict`",
"Create a Schema for v1 or v2 according to dct",
" :param dct: This dictionary must have a `'features'`\n key spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Validate the `data` entries according to the specification in
`fields`.
:param fields: The `FieldSpec` objects forming the
specification.
:param data: The data to validate.
:raises EntryError: When an entry is not valid according to its
:class:`FieldSpec`. | "Validate the `data` entries according to the specification in\n `fields`.\n\n :param fields: The `FieldSpec` objects forming the\n specification.\n :param data: The data to validate.\n :raises EntryError: When an entry is not valid according to its\n :class:`FieldSpec`... | 212 | false | data61/clkhash | validate_entries | 143,237 | |
LDU_FT/StorjOld/pyp2p/connect_handler | LDU_FT | [
"<BEGIN>\n## `set_keep_alive`",
"This function instructs the TCP socket to send a heart beat every n\n seconds to detect dead connections. It's the TCP equivalent of the\n IRC ping-pong protocol and allows for better cleanup / detection\n of dead TCP connections.",
" It activates aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_handler API.
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 connect_handler API.
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... | Master defines who connects if either side can. It's used to
eliminate having multiple connections with the same host. | "Master defines who connects if either side can. It's used to\r\n eliminate having multiple connections with the same host." | 88 | false | StorjOld/pyp2p | connect_handler | 143,238 | |
LDU_FT/abarmat/python-oembed/addUrlScheme | LDU_FT | [
"<BEGIN>\n## `addUrlScheme`",
"Add a url scheme to this endpoint. It takes a url string and create\n the OEmbedUrlScheme object internally.",
" Args:\n url: The url string that represents a url scheme to add.\n<END>",
"<BEGIN>\n## `match`",
"Try to find if url matches against any of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addUrlScheme API.
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 addUrlScheme API.
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... | Add a url scheme to this endpoint. It takes a url string and create
the OEmbedUrlScheme object internally.
Args:
url: The url string that represents a url scheme to add. | "Add a url scheme to this endpoint. It takes a url string and create\n the OEmbedUrlScheme object internally.\n\n Args:\n url: The url string that represents a url scheme to add." | 23 | false | abarmat/python-oembed | addUrlScheme | 143,239 | |
LDU_FT/rackerlabs/simpl/add_argument | LDU_FT | [
"<BEGIN>\n## `scrub`",
"Verify and clean data. Raise error if input fails.\n<END>",
"<BEGIN>\n## `build_text_search`",
"Build mongodb query that performs text search for string(s).",
" This is the backend implementation of the front-end search box on a list.\n It performs text search on a text index a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_argument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_argument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Add an option to a an argparse parser.
:keyword permissive: when true, build a parser that does not validate
required arguments. | "Add an option to a an argparse parser.\n\n :keyword permissive: when true, build a parser that does not validate\n required arguments." | 313 | false | rackerlabs/simpl | add_argument | 143,240 | |
LDU_FT/sprockets/sprockets.mixins.mediatype/add_text_content_type | LDU_FT | [
"<BEGIN>\n## `install`",
"Install the media type management settings.",
" :param tornado.web.Application application: the application to\n install a :class:`.ContentSettings` object into.\n :param str|NoneType default_content_type:\n :param str|NoneType encoding:",
" :returns: the content s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_text_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_text_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add handler for a text content type.
:param tornado.web.Application application: the application to modify
:param str content_type: the content type to add
:param str default_encoding: encoding to use when one is unspecified
:param dumps: function that dumps a dictionary to a string.
``dumps(di... | "Add handler for a text content type.\n\n :param tornado.web.Application application: the application to modify\n :param str content_type: the content type to add\n :param str default_encoding: encoding to use when one is unspecified\n :param dumps: function that dumps a dictionary to a string.\n ``d... | 53 | false | sprockets/sprockets.mixins.mediatype | add_text_content_type | 143,241 | |
LDU_FT/lark-parser/lark/import_from_grammar_into_namespace | LDU_FT | [
"<BEGIN>\n## `dedup_list`",
"Given a list (l) will removing duplicates from the list,\n preserving the original order of the list. Assumes that\n the list entrie are hashable.\n<END>",
"<BEGIN>\n## `_parse`",
"Parses sentence 's' using CNF grammar 'g'.\n<END>",
"<BEGIN>\n## `get_any_nt_unit_rule... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_from_grammar_into_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_from_grammar_into_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Returns all rules and terminals of grammar, prepended
with a 'namespace' prefix, except for those which are aliased. | "Returns all rules and terminals of grammar, prepended\n with a 'namespace' prefix, except for those which are aliased." | 55 | false | lark-parser/lark | import_from_grammar_into_namespace | 143,242 | |
LDU_FT/Element-34/py.saunter/wait_for_element_not_present | LDU_FT | [
"<BEGIN>\n## `get_random_user`",
"Gets a random user from the provider",
" :returns: Dictionary\n<END>",
"<BEGIN>\n## `is_element_available`",
"Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_element_not_present API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_element_not_present API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Synchronization helper to wait until some element is removed from the page
:raises: ElementVisiblityTimeout | "Synchronization helper to wait until some element is removed from the page\n\n :raises: ElementVisiblityTimeout" | 81 | false | Element-34/py.saunter | wait_for_element_not_present | 143,243 | |
LDU_FT/pycontribs/jira/_get_items_from_page | LDU_FT | [
"<BEGIN>\n## `translate_resource_args`",
"Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>",
"<BEGIN>\n## `_check_update_`",
"Check if the current version of the library is outdated.\n<END>",
"<BEGIN>\n## `_fetch_pages`",
"Fetch pages.",
" :param it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_items_from_page 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_items_from_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | :type item_type: type
:type items_key: str
:type resource: Dict[str, Any]
:rtype: Union[List[Dashboard], List[Issue]] | ":type item_type: type\n :type items_key: str\n :type resource: Dict[str, Any]\n :rtype: Union[List[Dashboard], List[Issue]]" | 468 | false | pycontribs/jira | _get_items_from_page | 143,244 | |
LDU_FT/RI-imaging/qpformat/files | LDU_FT | [
"<BEGIN>\n## `qpinfo`",
"Print information of a quantitative phase imaging dataset\n<END>",
"<BEGIN>\n## `_get_cropped_file_names`",
"self.files with common path prefix/suffix removed\n<END>",
"<BEGIN>\n## `_identifier_data`",
"Return a unique identifier for the folder data\n<END>",
"<BEGIN>\n## `_searc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
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 files API.
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... | List of hologram data file names in the input zip file | "List of hologram data file names in the input zip file" | 93 | false | RI-imaging/qpformat | files | 143,245 | |
LDU_FT/owncloud/pyocclient/get_expiration | LDU_FT | [
"<BEGIN>\n## `get_expiration`",
"Returns the expiration date.",
" :returns: expiration date\n :rtype: datetime object\n<END>",
"<BEGIN>\n## `login`",
"Authenticate to ownCloud.\n This will create a session on the server.",
" :param user_id: user id\n :param password: pas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_expiration API.
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_expiration API.
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... | Returns the expiration date.
:returns: expiration date
:rtype: datetime object | "Returns the expiration date.\n\n :returns: expiration date\n :rtype: datetime object" | 139 | false | owncloud/pyocclient | get_expiration | 143,246 | |
LDU_FT/hyperledger/sawtooth-core/get_invalid_txn_info | LDU_FT | [
"<BEGIN>\n## `run_callback`",
"Calls the callback_func, passing in the two positional arguments,\n conditionally waiting if the callback function hasn't been set yet.\n Meant to be run in a threadpool owned by the FutureCollection.",
" Returns:\n None\n<END>",
"<BEGIN>\n## `add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_invalid_txn_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_invalid_txn_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.
... | Fetches the id of the Transaction that failed within a particular
Batch, as well as any error message or other data about the failure.
Args:
batch_id (str): The id of the Batch containing an invalid txn
Returns:
list of dict: A list of dicts with three possible keys:
... | "Fetches the id of the Transaction that failed within a particular\n Batch, as well as any error message or other data about the failure.\n\n Args:\n batch_id (str): The id of the Batch containing an invalid txn\n\n Returns:\n list of dict: A list of dicts with three possible ... | 876 | false | hyperledger/sawtooth-core | get_invalid_txn_info | 143,247 | |
LDU_FT/globality-corp/microcosm/configure | LDU_FT | [
"<BEGIN>\n## `get_root_path`",
"Attempt to compute a root path for a (hopefully importable) name.",
" Based in part on Flask's `root_path` calculation. See:",
" https://github.com/mitsuhiko/flask/blob/master/flask/helpers.py#L777\n<END>",
"<BEGIN>\n## `zip_dicts`",
"Modified zip through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
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... | Build a fresh configuration.
:params defaults: a nested dictionary of keys and their default values
:params metadata: the graph metadata
:params loader: a configuration loader | "Build a fresh configuration.\n\n :params defaults: a nested dictionary of keys and their default values\n :params metadata: the graph metadata\n :params loader: a configuration loader" | 68 | false | globality-corp/microcosm | configure | 143,248 | |
LDU_FT/xtream1101/web-wrapper/chrome_fullpage_screenshot | LDU_FT | [
"<BEGIN>\n## `get_image_dimension`",
"Return a tuple that contains (width, height)\n Pass in a url to an image and find out its size without loading the whole file\n If the image wxh could not be found, the tuple will contain `None` values\n<END>",
"<BEGIN>\n## `screenshot`",
"This can be used n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chrome_fullpage_screenshot 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 chrome_fullpage_screenshot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Fullscreen workaround for chrome
Source: http://seleniumpythonqa.blogspot.com/2015/08/generate-full-page-screenshot-in-chrome.html | "Fullscreen workaround for chrome\n Source: http://seleniumpythonqa.blogspot.com/2015/08/generate-full-page-screenshot-in-chrome.html" | 39 | false | xtream1101/web-wrapper | chrome_fullpage_screenshot | 143,249 | |
LDU_FT/praekelt/django-object-tools/has_permission | LDU_FT | [
"<BEGIN>\n## `_create_permissions`",
"Almost exactly the same as django.contrib.auth.management.__init__.py\n<END>",
"<BEGIN>\n## `validate`",
"Does basic ObjectTool option validation.\n<END>",
"<BEGIN>\n## `register`",
"Registers the given model(s) with the given object tool class.",
" The model... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_permission API.
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 has_permission API.
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... | Returns True if the given request has permission to use the tool.
Can be overriden by the user in subclasses. | "Returns True if the given request has permission to use the tool.\n Can be overriden by the user in subclasses." | 20 | false | praekelt/django-object-tools | has_permission | 143,250 | |
LDU_FT/juju/theblues/debug | LDU_FT | [
"<BEGIN>\n## `list_models`",
"Get the logged in user's models from the JIMM controller.",
" @param macaroons The discharged JIMM macaroons.\n @return The json decoded list of environments.\n<END>",
"<BEGIN>\n## `make_request`",
"Make a request with the provided data.",
" @param url The ur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API.
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 debug API.
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... | Retrieve the debug information from the charmstore. | "Retrieve the debug information from the charmstore." | 141 | false | juju/theblues | debug | 143,251 | |
LDU_FT/prompt-toolkit/pyvim/report_pyflakes | LDU_FT | [
"<BEGIN>\n## `_try_char`",
"Return `character` if it can be encoded using sys.stdout, else return the\n backup character.\n<END>",
"<BEGIN>\n## `_bufferlist_overlay_visible`",
"True when the buffer list overlay should be displayed.\n (This is when someone starts typing ':b' or ':buffer' in the command l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_pyflakes API.
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 report_pyflakes API.
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... | Run pyflakes on document and return list of ReporterError instances. | "Run pyflakes on document and return list of ReporterError instances." | 76 | false | prompt-toolkit/pyvim | report_pyflakes | 143,252 | |
LDU_FT/fmd/lazyconf/configure | LDU_FT | [
"<BEGIN>\n## `data_file`",
"Gets the full path to the file in which to save/load configured data.\n<END>",
"<BEGIN>\n## `schema_file`",
"Gets the full path to the file in which to load configuration schema.\n<END>",
"<BEGIN>\n## `add_ignore`",
"Writes a .gitignore file to ignore the generated data file.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | The main configure function. Uses a schema file and an optional data file,
and combines them with user prompts to write a new data file. | "The main configure function. Uses a schema file and an optional data file,\n and combines them with user prompts to write a new data file." | 25 | false | fmd/lazyconf | configure | 143,253 | |
LDU_FT/theolind/pymysensors/_create_scheduler | LDU_FT | [
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
"<BEGIN>\n## `_connect`",
"Connect to socket. This should be run in a new thread.\n<END>",
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_scheduler API.
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 _create_scheduler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return function to schedule saving sensors. | "Return function to schedule saving sensors." | 109 | false | theolind/pymysensors | _create_scheduler | 143,254 | |
LDU_FT/opengisch/pum/__run_sql_file | LDU_FT | [
"<BEGIN>\n## `pg_backup`",
"Call the pg_dump command to create a db backup",
" Parameters\n ----------\n pg_dump_exe: str\n the pg_dump command path\n exclude_schema: str[]\n list of schemas to be skipped\n<END>",
"<BEGIN>\n## `pg_restore`",
"Call the pg_res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __run_sql_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __run_sql_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Execute the sql file at the passed path
Parameters
----------
filepath: str
the path of the file to execute | "Execute the sql file at the passed path\n\n Parameters\n ----------\n filepath: str\n the path of the file to execute" | 71 | false | opengisch/pum | __run_sql_file | 143,255 | |
LDU_FT/freakboy3742/pyxero/parse_date | LDU_FT | [
"<BEGIN>\n## `parse_date`",
"Takes a Xero formatted date, e.g. /Date(1426849200000+1300)/\n<END>",
"<BEGIN>\n## `json_load_object_hook`",
"Hook for json.parse(...) to parse Xero date formats.\n<END>",
"<BEGIN>\n## `_get_data`",
"This is the decorator for our DECORATED_METHODS.\n Each of the decorat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Takes a Xero formatted date, e.g. /Date(1426849200000+1300)/ | "Takes a Xero formatted date, e.g. /Date(1426849200000+1300)/" | 31 | false | freakboy3742/pyxero | parse_date | 143,256 | |
LDU_FT/bjodah/pyodesys/jacobian_singular | LDU_FT | [
"<BEGIN>\n## `_is_autonomous`",
"Whether the expressions for the dependent variables are autonomous.",
" Note that the system may still behave as an autonomous system on the interface\n of :meth:`integrate` due to use of pre-/post-processors.\n<END>",
"<BEGIN>\n## `symmetricsys`",
"A factory function ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jacobian_singular API.
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 jacobian_singular API.
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 True if Jacobian is singular, else False. | "Returns True if Jacobian is singular, else False." | 113 | false | bjodah/pyodesys | jacobian_singular | 143,257 | |
LDU_FT/siemens/django-mantis-stix-importer/derive_iobject_type | LDU_FT | [
"<BEGIN>\n## `xml_import`",
"Import a STIX or CybOX xml from file <filepath> or a string passed as ``xml_content``",
" You can furhter provide:",
" - a list of InfoObjects as markings with which all generated Information Objects\n will be associated (e.g., in order to provide prove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derive_iobject_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derive_iobject_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Derive type of information object stemming from an embedded element
based on namespace information of embedding element, the embedded
element itself, and the name of the element. | "Derive type of information object stemming from an embedded element\n based on namespace information of embedding element, the embedded\n element itself, and the name of the element." | 46 | false | siemens/django-mantis-stix-importer | derive_iobject_type | 143,258 | |
LDU_FT/bw2/ConfigArgParse/init_argument_parser | LDU_FT | [
"<BEGIN>\n## `init_argument_parser`",
"Creates a global ArgumentParser instance with the given name,\n passing any args other than \"name\" to the ArgumentParser constructor.\n This instance can then be retrieved using get_argument_parser(..)\n<END>",
"<BEGIN>\n## `get_argument_parser`",
"Returns the gl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_argument_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_argument_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates a global ArgumentParser instance with the given name,
passing any args other than "name" to the ArgumentParser constructor.
This instance can then be retrieved using get_argument_parser(..) | "Creates a global ArgumentParser instance with the given name,\n passing any args other than \"name\" to the ArgumentParser constructor.\n This instance can then be retrieved using get_argument_parser(..)" | 42 | false | bw2/ConfigArgParse | init_argument_parser | 143,259 | |
LDU_FT/davidaurelio/hashids-python/decode | LDU_FT | [
"<BEGIN>\n## `_split`",
"Splits a string into parts at multiple characters\n<END>",
"<BEGIN>\n## `_hash`",
"Hashes `number` using the given `alphabet` sequence.\n<END>",
"<BEGIN>\n## `_unhash`",
"Restores a number tuple from hashed using the given `alphabet` index.\n<END>",
"<BEGIN>\n## `_encode`",
"H... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Restore a tuple of numbers from the passed `hashid`.
:param hashid The hashid to decode
>>> hashids = Hashids('arbitrary salt', 16, 'abcdefghijkl0123456')
>>> hashids.decode('1d6216i30h53elk3')
(1, 23, 456) | "Restore a tuple of numbers from the passed `hashid`.\n\n :param hashid The hashid to decode\n\n >>> hashids = Hashids('arbitrary salt', 16, 'abcdefghijkl0123456')\n >>> hashids.decode('1d6216i30h53elk3')\n (1, 23, 456)" | 24 | false | davidaurelio/hashids-python | decode | 143,260 | |
LDU_FT/DinoTools/python-overpy/_handle_start_way | LDU_FT | [
"<BEGIN>\n## `_handle_remark_msg`",
"Try to parse the message provided with the remark tag or element.",
" :param str msg: The message\n :raises overpy.exception.OverpassRuntimeError: If message starts with 'runtime error:'\n :raises overpy.exception.OverpassRuntimeRemark: If message starts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_start_way API.
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 _handle_start_way API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Handle opening way element
:param attrs: Attributes of the element
:type attrs: Dict | "Handle opening way element\n\n :param attrs: Attributes of the element\n :type attrs: Dict" | 119 | false | DinoTools/python-overpy | _handle_start_way | 143,261 | |
LDU_FT/raphaelgyory/django-rest-messaging/compat_serializer_attr | LDU_FT | [
"<BEGIN>\n## `compat_serializer_check_is_valid`",
"http://www.django-rest-framework.org/topics/3.0-announcement/#using-is_validraise_exceptiontrue\n<END>",
"<BEGIN>\n## `compat_serializer_attr`",
"Required only for DRF 3.1, which does not make dynamically added attribute available in obj in serializer.\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compat_serializer_attr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compat_serializer_attr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Required only for DRF 3.1, which does not make dynamically added attribute available in obj in serializer.
This is a quick solution but works without breajing anything. | "Required only for DRF 3.1, which does not make dynamically added attribute available in obj in serializer.\n This is a quick solution but works without breajing anything." | 28 | false | raphaelgyory/django-rest-messaging | compat_serializer_attr | 143,262 | |
LDU_FT/aiidateam/aiida-ase/get_calculator_impstr | LDU_FT | [
"<BEGIN>\n## `parse_from_calc`",
"Parses the datafolder, stores results.\n This parser for this simple code does simply store in the DB a node\n representing the file of forces in real space\n<END>",
"<BEGIN>\n## `get_calculator_impstr`",
"Returns the import string for the calculator\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_calculator_impstr 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_calculator_impstr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the import string for the calculator | "Returns the import string for the calculator" | 13 | false | aiidateam/aiida-ase | get_calculator_impstr | 143,263 | |
LDU_FT/KimiNewt/pyshark/_packets_from_tshark_sync | LDU_FT | [
"<BEGIN>\n## `get_field`",
"Gets the XML field object of the given name.\n<END>",
"<BEGIN>\n## `get_field_value`",
"Tries getting the value of the given field.\n Tries it in the following order: show (standard nice display), value (raw value), showname (extended nice display).",
" :param name:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _packets_from_tshark_sync 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 _packets_from_tshark_sync 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 generator of packets.
This is the sync version of packets_from_tshark. It wait for the completion of each coroutine and
reimplements reading packets in a sync way, yielding each packet as it arrives.
:param packet_count: If given, stops after this amount of packets is captured. | "Returns a generator of packets.\n This is the sync version of packets_from_tshark. It wait for the completion of each coroutine and\n reimplements reading packets in a sync way, yielding each packet as it arrives.\n\n :param packet_count: If given, stops after this amount of packets is captured." | 91 | false | KimiNewt/pyshark | _packets_from_tshark_sync | 143,264 | |
LDU_FT/jciskey/pygraph/delete_node | LDU_FT | [
"<BEGIN>\n## `build_cycle_graph`",
"Builds a cycle graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/CycleGraph.html\n<END>",
"<BEGIN>\n## `build_wheel_graph`",
"Builds a wheel graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/WheelGraph.html... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_node API.
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 delete_node API.
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... | Removes the node identified by node_id from the graph. | "Removes the node identified by node_id from the graph." | 189 | false | jciskey/pygraph | delete_node | 143,265 | |
LDU_FT/JNRowe/jnrbase/noisy_wrap | LDU_FT | [
"<BEGIN>\n## `parse_requires`",
"Parse ``pip``-style requirements files.",
" This is a *very* naïve parser, but very few packages make use of the more\n advanced features. Support for other features will be added only when\n packages in the wild depend on them.",
" Args:\n __fname: Base fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the noisy_wrap API.
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 noisy_wrap API.
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... | Decorator to enable DebugPrint for a given function.
Args:
__func: Function to wrap
Returns:
Wrapped function | "Decorator to enable DebugPrint for a given function.\n\n Args:\n __func: Function to wrap\n Returns:\n Wrapped function" | 112 | false | JNRowe/jnrbase | noisy_wrap | 143,266 | |
LDU_FT/nickpandolfi/Cyther/normalize | LDU_FT | [
"<BEGIN>\n## `get_content`",
"Finds the 'content' tag from a 'pattern' in the provided 'string'\n<END>",
"<BEGIN>\n## `extract`",
"Used to extract a given regex pattern from a string, given several options\n<END>",
"<BEGIN>\n## `extractRuntime`",
"Used to find the correct static lib name to pass to gcc\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
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... | Prepares a path name to be worked with. Path name must not be empty. This
function will return the 'normpath'ed path and the identity of the path.
This function takes an optional overriding argument for the identity.
ONLY PROVIDE OVERRIDE IF:
1) YOU AREWORKING WITH A FOLDER THAT HAS AN EXTENSION IN... | "Prepares a path name to be worked with. Path name must not be empty. This\n function will return the 'normpath'ed path and the identity of the path.\n This function takes an optional overriding argument for the identity.\n\n ONLY PROVIDE OVERRIDE IF:\n 1) YOU AREWORKING WITH A FOLDER THAT HAS AN EXTENS... | 131 | false | nickpandolfi/Cyther | normalize | 143,267 | |
LDU_FT/BlackEarth/bl/parent | LDU_FT | [
"<BEGIN>\n## `random_id`",
"Creates a random id with the given length and charset.\r\n ## Parameters\r\n * length the number of characters in the id\r\n * charset what character set to use (a list of characters)\r\n * first_charset what character set for the first character\r\n *... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent API.
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 parent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | return the parent URL, with params, query, and fragment in place | "return the parent URL, with params, query, and fragment in place" | 54 | false | BlackEarth/bl | parent | 143,268 | |
LDU_FT/cloudera/cm_api/_cmd | LDU_FT | [
"<BEGIN>\n## `set_basic_auth`",
"Set up basic auth for the client\n @param username: Login name.\n @param password: Login password.\n @param realm: The authentication realm.\n @return: The current object\n<END>",
"<BEGIN>\n## `execute`",
"Submit an HTTP request.\n @param http_method: GET, POST,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cmd API.
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 _cmd API.
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... | Invokes a command on the resource. Commands are expected to be under the
"commands/" sub-resource. | "Invokes a command on the resource. Commands are expected to be under the\n \"commands/\" sub-resource." | 561 | false | cloudera/cm_api | _cmd | 143,269 | |
LDU_FT/timkpaine/lantern/pivot_pandas_to_excel | LDU_FT | [
"<BEGIN>\n## `list_to_cells`",
"convert list of cells to notebook form\n list should be of the form:\n [[list of strings representing python code for cell]]\n<END>",
"<BEGIN>\n## `align_yaxis_np`",
"Align zeros of the two axes, zooming them out by same ratio\n<END>",
"<BEGIN>\n## `make_dash_table`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pivot_pandas_to_excel 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 pivot_pandas_to_excel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | pandas style pivot to excel style pivot formatting for outlook/html
This function is meant to be provided to the email functionality as a postprocessor.
It expects a jupyter or pandas exported html table of a dataframe with the following index:
example:
# a single pivot
pt1 = pd.pivot_table(data,
... | "pandas style pivot to excel style pivot formatting for outlook/html\n\n This function is meant to be provided to the email functionality as a postprocessor.\n It expects a jupyter or pandas exported html table of a dataframe with the following index:\n\n example:\n # a single pivot\n pt1 = pd.pivot_tabl... | 15 | false | timkpaine/lantern | pivot_pandas_to_excel | 143,270 | |
LDU_FT/DataBiosphere/toil/issueQueingServiceJobs | LDU_FT | [
"<BEGIN>\n## `html_page_context`",
"Event handler for the html-page-context signal.\n Modifies the context directly.\n - Replaces the 'toc' value created by the HTML builder with one\n that shows all document titles and the local table of contents.\n - Sets display_toc to True so the table of con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the issueQueingServiceJobs 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 issueQueingServiceJobs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Issues any queuing service jobs up to the limit of the maximum allowed. | "Issues any queuing service jobs up to the limit of the maximum allowed." | 1,322 | true | DataBiosphere/toil | issueQueingServiceJobs | 143,271 | |
LDU_FT/Loudr/pale/generate_raml_resources | LDU_FT | [
"<BEGIN>\n## `py_doc_trim`",
"Trim a python doc string.",
" This example is nipped from https://www.python.org/dev/peps/pep-0257/,\n which describes how to conventionally format and trim docstrings.",
" It has been modified to replace single newlines with a space, but leave\n multiple consecutive ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_raml_resources 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 generate_raml_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Compile a Pale module's endpoint documentation into RAML format.
RAML calls Pale endpoints 'resources'. This function converts Pale
endpoints into RAML resource format.
The returned string should be appended to the RAML documentation file
before it is returned. | "Compile a Pale module's endpoint documentation into RAML format.\n\n RAML calls Pale endpoints 'resources'. This function converts Pale\n endpoints into RAML resource format.\n\n The returned string should be appended to the RAML documentation file\n before it is returned." | 107 | false | Loudr/pale | generate_raml_resources | 143,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.