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/henrysher/kotocore/introspect_operation | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Returns a string-ified version number.",
" Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>",
"<BEGIN>\n## `requires_loaded`",
"A decorator to ensure the resource data is loaded.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the introspect_operation 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 introspect_operation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Introspects an entire operation, returning::
* the method name (to expose to the user)
* the API name (used server-side)
* docs
* introspected information about the parameters
* information about the output
:param operation: The operation to introspect
:type ope... | "Introspects an entire operation, returning::\n\n * the method name (to expose to the user)\n * the API name (used server-side)\n * docs\n * introspected information about the parameters\n * information about the output\n\n :param operation: The operation to introspect\n ... | 198 | false | henrysher/kotocore | introspect_operation | 22,973 | |
LDU_FT/hawkular/hawkular-client-python/create_group_dampening | LDU_FT | [
"<BEGIN>\n## `create_datapoint`",
"Creates a single datapoint dict with a value, timestamp and tags.",
" :param value: Value of the datapoint. Type depends on the id's MetricType\n :param timestamp: Optional timestamp of the datapoint. Uses client current time if not set. Millisecond accuracy. Can be date... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_group_dampening 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 create_group_dampening API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create a new group dampening
:param group_id: Group Trigger id attached to dampening
:param dampening: Dampening definition to be created.
:type dampening: Dampening
:return: Group Dampening created | "Create a new group dampening\n\n :param group_id: Group Trigger id attached to dampening\n :param dampening: Dampening definition to be created.\n :type dampening: Dampening\n :return: Group Dampening created" | 116 | false | hawkular/hawkular-client-python | create_group_dampening | 22,974 | |
LDU_FT/open-homeautomation/miflora/fill_cache | LDU_FT | [
"<BEGIN>\n## `_get_backend`",
"Extract the backend class from the command line arguments.\n<END>",
"<BEGIN>\n## `main`",
"Main function.",
" Mostly parsing the command line arguments.\n<END>",
"<BEGIN>\n## `scan`",
"Scan for miflora devices.",
" Note: this must be run as root!\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_cache API.
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 fill_cache API.
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... | Fill the cache with new data from the sensor. | "Fill the cache with new data from the sensor." | 20 | false | open-homeautomation/miflora | fill_cache | 22,975 | |
LDU_FT/pudo/jsongraph/buffered | LDU_FT | [
"<BEGIN>\n## `base_uri`",
"Resolution base for JSON schema. Also used as the default\n graph ID for RDF.\n<END>",
"<BEGIN>\n## `resolver`",
"Resolver for JSON Schema references. This can be based around a\n file or HTTP-based resolution base URI.\n<END>",
"<BEGIN>\n## `store`",
"Backend stor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buffered API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buffered API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Whether write operations should be buffered, i.e. run against a
local graph before being stored to the main data store. | "Whether write operations should be buffered, i.e. run against a\n local graph before being stored to the main data store." | 52 | false | pudo/jsongraph | buffered | 22,976 | |
LDU_FT/awslabs/sockeye/call_moses_detokenizer | LDU_FT | [
"<BEGIN>\n## `check_arg_compatibility`",
"Check if some arguments are incompatible with each other.",
" :param args: Arguments as returned by argparse.\n<END>",
"<BEGIN>\n## `check_resume`",
"Check if we should resume a broken training run.",
" :param args: Arguments as returned by argparse.\n :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_moses_detokenizer 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 call_moses_detokenizer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Call Moses detokenizer.
:param workspace_dir: Workspace third-party directory where Moses
tokenizer is checked out.
:param input_fname: Path of tokenized input file, plain text or gzipped.
:param output_fname: Path of tokenized output file, plain text.
:param lang_code: Langua... | "Call Moses detokenizer.\n\n :param workspace_dir: Workspace third-party directory where Moses\n tokenizer is checked out.\n :param input_fname: Path of tokenized input file, plain text or gzipped.\n :param output_fname: Path of tokenized output file, plain text.\n :param lang_code:... | 1,056 | true | awslabs/sockeye | call_moses_detokenizer | 22,977 | |
LDU_FT/jazzband/django-queued-storage/open | LDU_FT | [
"<BEGIN>\n## `run`",
"The main work horse of the transfer task. Calls the transfer\n method with the local and remote storage backends as given\n with the parameters.",
" :param name: name of the file to transfer\n :type name: str\n :param local_path: local storage class to tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
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 open API.
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... | Retrieves the specified file from storage.
:param name: file name
:type name: str
:param mode: mode to open the file with
:type mode: str
:rtype: :class:`~django:django.core.files.File` | "Retrieves the specified file from storage.\n\n :param name: file name\n :type name: str\n :param mode: mode to open the file with\n :type mode: str\n :rtype: :class:`~django:django.core.files.File`" | 21 | false | jazzband/django-queued-storage | open | 22,978 | |
LDU_FT/sampottinger/pycotracer/get_report_interpreted | LDU_FT | [
"<BEGIN>\n## `parse_yes_no_str`",
"Parse a string serialization of boolean data as yes (Y) or no (N).",
" Prase a string serialization of boolean data where True is \"Y\" and False is\n \"N\" case-insensitive.",
" @param bool_str: The string to parse.\n @type bool_str: str\n @return: The interp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_report_interpreted 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_report_interpreted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Download, exract, and interpret a CO-TRACER report.
Generate a URL for the given report, download the corresponding archive,
extract the CSV report, and interpret it using TRACER-specific logic.
@param year: The year for which data should be downloaded.
@type year: int
@param report_type: The type... | "Download, exract, and interpret a CO-TRACER report.\n\n Generate a URL for the given report, download the corresponding archive,\n extract the CSV report, and interpret it using TRACER-specific logic.\n\n @param year: The year for which data should be downloaded.\n @type year: int\n @param report_type: ... | 71 | false | sampottinger/pycotracer | get_report_interpreted | 22,979 | |
LDU_FT/selectel/pyte/erase_in_display | LDU_FT | [
"<BEGIN>\n## `default_char`",
"An empty character with default foreground and background colors.\n<END>",
"<BEGIN>\n## `display`",
"A :func:`list` of screen lines as unicode strings.\n<END>",
"<BEGIN>\n## `reset`",
"Reset the terminal to its initial state.",
" * Scrolling margins are reset to scr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the erase_in_display API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the erase_in_display API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Erases display in a specific way.
Character attributes are set to cursor attributes.
:param int how: defines the way the line should be erased in:
* ``0`` -- Erases from cursor to end of screen, including
cursor position.
* ``1`` -- Erases from beginning of scree... | "Erases display in a specific way.\n\n Character attributes are set to cursor attributes.\n\n :param int how: defines the way the line should be erased in:\n\n * ``0`` -- Erases from cursor to end of screen, including\n cursor position.\n * ``1`` -- Erases from beginning... | 127 | false | selectel/pyte | erase_in_display | 22,980 | |
LDU_FT/log2timeline/plaso/_ParseCString | LDU_FT | [
"<BEGIN>\n## `_GetStatus`",
"Retrieves status information.",
" Returns:\n dict[str, object]: status attributes, indexed by name.\n<END>",
"<BEGIN>\n## `_ProcessEvent`",
"Processes an event.",
" Args:\n mediator (AnalysisMediator): mediates interactions between\n analysis plugins a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ParseCString API.
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 _ParseCString API.
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... | Parses a C string from the page data.
Args:
page_data (bytes): page data.
string_offset (int): offset of the string relative to the start
of the page.
Returns:
str: string.
Raises:
ParseError: when the string cannot be parsed. | "Parses a C string from the page data.\n\n Args:\n page_data (bytes): page data.\n string_offset (int): offset of the string relative to the start\n of the page.\n\n Returns:\n str: string.\n\n Raises:\n ParseError: when the string cannot be parsed." | 5,157 | true | log2timeline/plaso | _ParseCString | 22,981 | |
LDU_FT/oleg-golovanov/unilog/uniiterable | LDU_FT | [
"<BEGIN>\n## `pretty_spaces`",
"Return spaces and new line.",
" :type level: int or None\n :param level: deep level",
" :rtype: unicode\n :return: string with new line and spaces\n<END>",
"<BEGIN>\n## `unimapping`",
"Mapping object to unicode string.",
" :type arg: collections.Mapping\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uniiterable API.
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 uniiterable API.
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... | Iterable object to unicode string.
:type arg: collections.Iterable
:param arg: iterable object
:type level: int
:param level: deep level
:rtype: unicode
:return: iterable object as unicode string | "Iterable object to unicode string.\n\n :type arg: collections.Iterable\n :param arg: iterable object\n :type level: int\n :param level: deep level\n\n :rtype: unicode\n :return: iterable object as unicode string" | 24 | false | oleg-golovanov/unilog | uniiterable | 22,982 | |
LDU_FT/thebjorn/pydeps/call_graphviz_dot | LDU_FT | [
"<BEGIN>\n## `write`",
"Write ``txt`` to file and output stream (StringIO).\n<END>",
"<BEGIN>\n## `write_attributes`",
"Write comma separated attribute values (if exists).\n<END>",
"<BEGIN>\n## `is_noise`",
"Is this module just noise? (too common either at top or bottom of\n the graph).\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_graphviz_dot API.
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 call_graphviz_dot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Call dot command, and provide helpful error message if we
cannot find it. | "Call dot command, and provide helpful error message if we\n cannot find it." | 60 | false | thebjorn/pydeps | call_graphviz_dot | 22,983 | |
LDU_FT/datadesk/django-greeking/get_story | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Craft the URL for a placekitten image.",
" By default they are in color. To retrieve a grayscale image, set\n the color kwarg to False.\n<END>",
"<BEGIN>\n## `placeholdit`",
"Creates a placeholder image using placehold.it",
" Usage format:",
" {% placeholdit [widt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_story API.
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 get_story API.
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 a boiler plate story as an object. | "Returns a boiler plate story as an object." | 33 | false | datadesk/django-greeking | get_story | 22,984 | |
LDU_FT/Opentrons/opentrons/_ensure_paths_and_types | LDU_FT | [
"<BEGIN>\n## `get_attached_instruments`",
"Find the instruments attached to our mounts.",
" :param expected: A dict that may contain a mapping from mount to\n strings that should prefix instrument model names.\n When instruments are scanned, they are matche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_paths_and_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_paths_and_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... | Take the direct results of loading the config and make sure
the filesystem reflects them. | "Take the direct results of loading the config and make sure\n the filesystem reflects them." | 1,359 | true | Opentrons/opentrons | _ensure_paths_and_types | 22,985 | |
LDU_FT/fatiando/pooch/_download_file | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new :class:`~pooch.Pooch` with sensible defaults to fetch data files.",
" If a version string is given, the Pooch will be versioned, meaning that the local\n storage folder and the base URL depend on the project version. This is necessary\n if your users have multiple ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_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 _download_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... | Download a file from the remote data storage to the local storage.
Used by :meth:`~pooch.Pooch.fetch` to do the actual downloading.
Parameters
----------
fname : str
The file name (relative to the *base_url* of the remote data storage) to
fetch from the local st... | "Download a file from the remote data storage to the local storage.\n\n Used by :meth:`~pooch.Pooch.fetch` to do the actual downloading.\n\n Parameters\n ----------\n fname : str\n The file name (relative to the *base_url* of the remote data storage) to\n fetch from the... | 69 | false | fatiando/pooch | _download_file | 22,986 | |
LDU_FT/materials-data-facility/toolbox/confidential_login | LDU_FT | [
"<BEGIN>\n## `login`",
"Log in to Globus services",
" Arguments:\n credentials (str or dict): A string filename, string JSON, or dictionary\n with credential and config information.\n By default, looks in ``~/mdf/credentials/globus_login.json``.\n Contains ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the confidential_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the confidential_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Log in to Globus services as a confidential client
(a client with its own login information).
Arguments:
credentials (str or dict): A string filename, string JSON, or dictionary
with credential and config information.
By default, uses the ``DEFAULT_CRED_FILENAME`` and to... | "Log in to Globus services as a confidential client\n (a client with its own login information).\n\n Arguments:\n credentials (str or dict): A string filename, string JSON, or dictionary\n with credential and config information.\n By default, uses the ``DEFAULT_CRED_FILENAME``... | 173 | false | materials-data-facility/toolbox | confidential_login | 22,987 | |
LDU_FT/mozilla/build-mar/extract | LDU_FT | [
"<BEGIN>\n## `add_signature_block`",
"Add a signature block to marfile, a MarReader object.",
" Productversion and channel are preserved, but any existing signatures are overwritten.",
" Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Extract the entire MAR file into a directory.
Args:
destdir (str): A local directory on disk into which the contents of
this MAR file will be extracted. Required parent directories
will be created as necessary.
decompress (obj, optional): Controls whether... | "Extract the entire MAR file into a directory.\n\n Args:\n destdir (str): A local directory on disk into which the contents of\n this MAR file will be extracted. Required parent directories\n will be created as necessary.\n decompress (obj, optional): Controls ... | 146 | false | mozilla/build-mar | extract | 22,988 | |
LDU_FT/Open-ET/openet-core-beta/point_coll_value | LDU_FT | [
"<BEGIN>\n## `getinfo`",
"Make an exponential back off getInfo call on an Earth Engine object\n<END>",
"<BEGIN>\n## `constant_image_value`",
"Extract the output value from a calculation done with constant images\n<END>",
"<BEGIN>\n## `point_image_value`",
"Extract the output value from a calculation at a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point_coll_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point_coll_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Extract the output value from a calculation at a point | "Extract the output value from a calculation at a point" | 62 | false | Open-ET/openet-core-beta | point_coll_value | 22,989 | |
LDU_FT/rdussurget/py-altimetry/get | LDU_FT | [
"<BEGIN>\n## `bilinear_interpolation`",
"Interpolate (x,y) from values associated with four points.\r",
" The four points are a list of four triplets: (x, y, value).\r\n The four points can be in any order. They should form a rectangle.\r",
" >>> bilinear_interpolation(12, 5.5,\r\n ... ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | get dimensions
:parameter dimlist: list of dimensions | "get dimensions\r\n :parameter dimlist: list of dimensions" | 320 | false | rdussurget/py-altimetry | get | 22,990 | |
LDU_FT/albert12132/templar/_build_list | 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 _build_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Builds an unordered HTML list out of the list of matches, stopping at the first match
that is smaller than current_level (e.g. h1 < h2).
This method uses mutual recursion with _build_list_items and expects _build_list_items to
delete matches as it processes them.
This method uses strin... | "Builds an unordered HTML list out of the list of matches, stopping at the first match\n that is smaller than current_level (e.g. h1 < h2).\n\n This method uses mutual recursion with _build_list_items and expects _build_list_items to\n delete matches as it processes them.\n\n This method use... | 130 | false | albert12132/templar | _build_list | 22,991 | |
LDU_FT/SeleniumHQ/selenium/auto_detect | LDU_FT | [
"<BEGIN>\n## `_make_w3c_caps`",
"Makes a W3C alwaysMatch capabilities object.",
" Filters out capability names that are not in the W3C spec. Spec-compliant\n drivers will reject requests containing unknown capability names.",
" Moves the Firefox profile, if present, from the old location to the new F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_detect API.
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 auto_detect API.
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... | Sets autodetect setting.
:Args:
- value: The autodetect value. | "Sets autodetect setting.\n\n :Args:\n - value: The autodetect value." | 547 | false | SeleniumHQ/selenium | auto_detect | 22,992 | |
LDU_FT/caktus/django-sticky-uploads/open_stored_file | LDU_FT | [
"<BEGIN>\n## `stash`",
"Stores the uploaded file in a temporary storage location.\n<END>",
"<BEGIN>\n## `post`",
"Save file and return saved info or report errors.\n<END>",
"<BEGIN>\n## `get_upload_form`",
"Construct form for accepting file upload.\n<END>",
"<BEGIN>\n## `serialize_upload`",
"Serialize... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_stored_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_stored_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 ... | Deserialize value for a given upload url and return open file.
Returns None if deserialization fails. | "Deserialize value for a given upload url and return open file.\n Returns None if deserialization fails." | 18 | false | caktus/django-sticky-uploads | open_stored_file | 22,993 | |
LDU_FT/watson-developer-cloud/python-sdk/federated_query | LDU_FT | [
"<BEGIN>\n## `synthesize_using_websocket`",
"Synthesizes text to spoken audio using web sockets. It supports the use of\n the SSML <mark> element to identify the location of user-specified markers in the audio.\n It can also return timing information for all strings of the input text.\n Note:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the federated_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the federated_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Long environment queries.
Complex queries might be too long for a standard method query. By using this
method, you can construct longer queries. However, these queries may take longer
to complete than the standard method. For details, see the [Discovery service
documentation](https://cl... | "Long environment queries.\n\n Complex queries might be too long for a standard method query. By using this\n method, you can construct longer queries. However, these queries may take longer\n to complete than the standard method. For details, see the [Discovery service\n documentation](http... | 1,254 | true | watson-developer-cloud/python-sdk | federated_query | 22,994 | |
LDU_FT/ev3dev/ev3dev-lang-python/min_pulse_sp | LDU_FT | [
"<BEGIN>\n## `list_motors`",
"This is a generator function that enumerates all tacho motors that match\n the provided arguments.",
" Parameters:\n name_pattern: pattern that device name should match.\n For example, 'motor*'. Default value: '*'.\n keyword arguments: used for matchi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the min_pulse_sp API.
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 min_pulse_sp API.
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... | Used to set the pulse size in milliseconds for the signal that tells the
servo to drive to the miniumum (counter-clockwise) position_sp. Default value
is 600. Valid values are 300 to 700. You must write to the position_sp
attribute for changes to this attribute to take effect. | "Used to set the pulse size in milliseconds for the signal that tells the\n servo to drive to the miniumum (counter-clockwise) position_sp. Default value\n is 600. Valid values are 300 to 700. You must write to the position_sp\n attribute for changes to this attribute to take effect." | 452 | false | ev3dev/ev3dev-lang-python | min_pulse_sp | 22,995 | |
LDU_FT/django-json-api/django-rest-framework-json-api/get_url | LDU_FT | [
"<BEGIN>\n## `get_field_names`",
"We override the parent to omit explicity defined meta fields (such\n as SerializerMethodFields) from the list of declared fields\n<END>",
"<BEGIN>\n## `to_representation`",
"Object instance -> Dict of primitive datatypes.\n<END>",
"<BEGIN>\n## `remove_invalid_fields`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Given a name, view name and kwargs, return the URL that hyperlinks to the object.
May raise a `NoReverseMatch` if the `view_name` and `lookup_field`
attributes are not configured to correctly match the URL conf. | "Given a name, view name and kwargs, return the URL that hyperlinks to the object.\n\n May raise a `NoReverseMatch` if the `view_name` and `lookup_field`\n attributes are not configured to correctly match the URL conf." | 74 | false | django-json-api/django-rest-framework-json-api | get_url | 22,996 | |
LDU_FT/spotify/gordon-gcp/valid_token_set | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate a message given a schema.",
" Args:\n message (dict): Loaded JSON of pulled message from Google\n PubSub.\n schema_name (str): Name of schema to validate ``message``\n against. ``schema_name`` will be used to look up\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_token_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_token_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 e... | Check for validity of token, and refresh if none or expired. | "Check for validity of token, and refresh if none or expired." | 72 | false | spotify/gordon-gcp | valid_token_set | 22,997 | |
LDU_FT/MycroftAI/mycroft-precise/buffer_to_audio | LDU_FT | [
"<BEGIN>\n## `load_precise_model`",
"Loads a Keras model from file, handling custom loss function\n<END>",
"<BEGIN>\n## `create_model`",
"Load or create a precise model",
" Args:\n model_name: Name of model\n params: Parameters used to create the model",
" Returns:\n model: Load... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buffer_to_audio API.
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 buffer_to_audio API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Convert a raw mono audio byte string to numpy array of floats | "Convert a raw mono audio byte string to numpy array of floats" | 79 | false | MycroftAI/mycroft-precise | buffer_to_audio | 22,998 | |
LDU_FT/kelproject/pykube/delete | LDU_FT | [
"<BEGIN>\n## `iterator`",
"Execute the API request and return an iterator over the objects. This\n method does not use the query cache.\n<END>",
"<BEGIN>\n## `get_kwargs`",
"Creates a full URL to request based on arguments.",
" :Parametes:\n - `kwargs`: All keyword arguments to build... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Executes an HTTP DELETE.
:Parameters:
- `args`: Non-keyword arguments
- `kwargs`: Keyword arguments | "Executes an HTTP DELETE.\n\n :Parameters:\n - `args`: Non-keyword arguments\n - `kwargs`: Keyword arguments" | 54 | false | kelproject/pykube | delete | 22,999 | |
LDU_FT/fudge-py/fudge/fmt_val | LDU_FT | [
"<BEGIN>\n## `fmt_val`",
"Format a value for inclusion in an \n informative text string.\n<END>",
"<BEGIN>\n## `fmt_dict_vals`",
"Returns list of key=val pairs formatted\n for inclusion in an informative text string.\n<END>",
"<BEGIN>\n## `with_patched_object`",
"Decorator that patches an object bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fmt_val API.
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 fmt_val API.
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... | Format a value for inclusion in an
informative text string. | "Format a value for inclusion in an \n informative text string." | 155 | false | fudge-py/fudge | fmt_val | 23,000 | |
LDU_FT/binarydud/pyres/reserve | LDU_FT | [
"<BEGIN>\n## `perform`",
"This method converts payload into args and calls the ``perform``\n method on the payload class.",
" Before calling ``perform``, a ``before_perform`` class method\n is called, if it exists. It takes a dictionary as an argument;\n currently the only things st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reserve API.
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 reserve API.
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... | Reserve a job on one of the queues. This marks this job so
that other workers will not pick it up. | "Reserve a job on one of the queues. This marks this job so\n that other workers will not pick it up." | 35 | false | binarydud/pyres | reserve | 23,001 | |
LDU_FT/aio-libs/janus/put_nowait | LDU_FT | [
"<BEGIN>\n## `task_done`",
"Indicate that a formerly enqueued task is complete.",
" Used by Queue consumer threads. For each get() used to fetch a task,\n a subsequent call to task_done() tells the queue that the processing\n on the task is complete.",
" If a join() is currently b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_nowait API.
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 put_nowait API.
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... | Put an item into the queue without blocking.
If no free slot is immediately available, raise QueueFull. | "Put an item into the queue without blocking.\n\n If no free slot is immediately available, raise QueueFull." | 40 | false | aio-libs/janus | put_nowait | 23,002 | |
LDU_FT/exosite-labs/pyonep/update_portal | LDU_FT | [
"<BEGIN>\n## `request`",
"Wraps HTTPConnection.request. On exception it calls exception_fn\n with the exception object. If exception_fn is None, it re-raises the\n exception. If notimeout is True, create a new connection (regardless of\n self.reuseconnection setting) that uses the global defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_portal API.
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 update_portal API.
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... | Implements the Update device Portals API.
This function is extremely dangerous. The portal object
you pass in will completely overwrite the portal.
http://docs.exosite.com/portals/#update-portal | "Implements the Update device Portals API.\n\n This function is extremely dangerous. The portal object\n you pass in will completely overwrite the portal.\n \n http://docs.exosite.com/portals/#update-portal" | 199 | false | exosite-labs/pyonep | update_portal | 23,003 | |
LDU_FT/frasertweedale/ledgertools/rulefiles | LDU_FT | [
"<BEGIN>\n## `apply`",
"Manufacture decorator that filters return value with given function.",
" ``filter``:\n Callable that takes a single parameter.\n<END>",
"<BEGIN>\n## `format_outpat`",
"Format an outpat for the given transaction.",
" Format the given output filename pattern. The pattern ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rulefiles API.
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 rulefiles API.
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 a list of rulefiles for the given account.
Returns an empty list if none specified. | "Return a list of rulefiles for the given account.\n\n Returns an empty list if none specified." | 82 | false | frasertweedale/ledgertools | rulefiles | 23,004 | |
LDU_FT/lacava/few/lexicase | LDU_FT | [
"<BEGIN>\n## `survival`",
"routes to the survival method, returns survivors\n<END>",
"<BEGIN>\n## `tournament`",
"conducts tournament selection of size tourn_size\n<END>",
"<BEGIN>\n## `lexicase`",
"conducts lexicase selection for de-aggregated fitness vectors\n<END>",
"<BEGIN>\n## `epsilon_lexicase`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lexicase API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lexicase API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | conducts lexicase selection for de-aggregated fitness vectors | "conducts lexicase selection for de-aggregated fitness vectors" | 54 | false | lacava/few | lexicase | 23,005 | |
LDU_FT/EliotBerriot/lifter/unique_everseen | LDU_FT | [
"<BEGIN>\n## `_execute`",
"We have to override this because in some situation\n (such as with Filebackend, or any dummy backend)\n we have to parse / adapt results *before* when can execute the query\n<END>",
"<BEGIN>\n## `get`",
"Get the given key from the cache, if present.\n A default ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_everseen API.
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 unique_everseen API.
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... | Solution found here : http://stackoverflow.com/questions/480214/how-do-you-remove-duplicates-from-a-list-in-python-whilst-preserving-order | "Solution found here : http://stackoverflow.com/questions/480214/how-do-you-remove-duplicates-from-a-list-in-python-whilst-preserving-order" | 29 | false | EliotBerriot/lifter | unique_everseen | 23,006 | |
LDU_FT/mishan/twemredis-py/mget | LDU_FT | [
"<BEGIN>\n## `_init_redis_shards`",
"init_redis_shards is used internally to connect to the Redis sentinels\n and populate self.shards with the redis.StrictRedis instances. This\n is a convenient method to override / stub out in unit tests.\n<END>",
"<BEGIN>\n## `get_shard_names`",
"get_shard_na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mget API.
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 mget API.
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... | mget wrapper that batches keys per shard and execute as few
mgets as necessary to fetch the keys from all the shards involved.
This method should be invoked on a TwemRedis instance as if it
were being invoked directly on a StrictRedis instance. | "mget wrapper that batches keys per shard and execute as few\n mgets as necessary to fetch the keys from all the shards involved.\n\n This method should be invoked on a TwemRedis instance as if it\n were being invoked directly on a StrictRedis instance." | 48 | false | mishan/twemredis-py | mget | 23,007 | |
LDU_FT/marcharper/python-ternary/right_axis_label | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Normalizes input list.",
" Parameters\n ----------\n l: list\n The list to be normalized",
" Returns\n -------\n The normalized list or numpy array",
" Raises\n ------\n ValueError, if the list sums to zero\n<END>",
"<BEGIN>\n## `simplex_iterat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the right_axis_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the right_axis_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sets the label on the right axis.
Parameters
----------
label: String
The axis label
position: 3-Tuple of floats, None
The position of the text label
rotation: float, -60
The angle of rotation of the label
offset: float,
Us... | "Sets the label on the right axis.\n\n Parameters\n ----------\n label: String\n The axis label\n position: 3-Tuple of floats, None\n The position of the text label\n rotation: float, -60\n The angle of rotation of the label\n offset: float,\n ... | 179 | false | marcharper/python-ternary | right_axis_label | 23,008 | |
LDU_FT/xtream1101/web-wrapper/_get_site | 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 _get_site API.
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 _get_site API.
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... | Try and return page content in the requested format using selenium | "Try and return page content in the requested format using selenium" | 39 | false | xtream1101/web-wrapper | _get_site | 23,009 | |
LDU_FT/unt-libraries/pypairtree/add_to_pairtree | LDU_FT | [
"<BEGIN>\n## `listIDs`",
"Lists digital object identifiers of Pairtree directory structure.",
" Walks a Pairtree directory structure to get IDs. Prepends prefix\n found in pairtree_prefix file. Outputs to standard output.\n<END>",
"<BEGIN>\n## `findObjects`",
"Finds objects in pairtree.",
" Given... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_to_pairtree API.
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 add_to_pairtree API.
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 pairtree dir structure within pairtree for new
element. | "Creates pairtree dir structure within pairtree for new\n element." | 22 | false | unt-libraries/pypairtree | add_to_pairtree | 23,010 | |
LDU_FT/jeffh/sniffer/observe | LDU_FT | [
"<BEGIN>\n## `_import`",
"A messy way to import library-specific classes.\n TODO: I should really make a factory class or something, but I'm lazy.\n Plus, factories remind me a lot of java...\n<END>",
"<BEGIN>\n## `exec_from_dir`",
"Runs the scent.py file from the given directory (cwd if None given).",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the observe API.
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 observe API.
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... | event_name := {'created', 'modified', 'deleted'}, list, tuple
Attaches a function to run to a particular event. The function must be
unique to be removed cleanly. Alternatively, event_name can be an list/
tuple if any of the string possibilities to be added on multiple events | "event_name := {'created', 'modified', 'deleted'}, list, tuple\n\n Attaches a function to run to a particular event. The function must be\n unique to be removed cleanly. Alternatively, event_name can be an list/\n tuple if any of the string possibilities to be added on multiple events" | 54 | false | jeffh/sniffer | observe | 23,011 | |
LDU_FT/squaresLab/BugZoo/to_dict | LDU_FT | [
"<BEGIN>\n## `is_installed`",
"Determines whether the Docker image for a given bug has been installed\n on the server.\n<END>",
"<BEGIN>\n## `register`",
"Dynamically registers a given bug with the server. Note that the\n registration will not persist beyond the lifetime of the server.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Produces a dictionary-based description of this source. | "Produces a dictionary-based description of this source." | 247 | false | squaresLab/BugZoo | to_dict | 23,012 | |
LDU_FT/rosenbrockc/ci/run | LDU_FT | [
"<BEGIN>\n## `_get_github`",
"Creates an instance of github.Github to interact with the repos via the \n API interface in pygithub.\n<END>",
"<BEGIN>\n## `_parse_repo`",
"Parses a <repo> tag to update settings on this Repository instance.",
" :arg xml: the <repo> tag XMLElement.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Main script entry to handle the arguments given to the script. | "Main script entry to handle the arguments given to the script." | 123 | false | rosenbrockc/ci | run | 23,013 | |
LDU_FT/rshk/python-libxdo/get_active_keys_to_keycode_list | LDU_FT | [
"<BEGIN>\n## `_errcheck`",
"Error checker for functions returning an integer indicating\n success (0) / failure (1).",
" Raises a XdoException in case of error, otherwise just\n returns ``None`` (returning the original code, 0, would be\n useless anyways..)\n<END>",
"<BEGIN>\n## `move_mouse`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_keys_to_keycode_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_keys_to_keycode_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Get a list of active keys. Uses XQueryKeymap | "Get a list of active keys. Uses XQueryKeymap" | 125 | false | rshk/python-libxdo | get_active_keys_to_keycode_list | 23,014 | |
LDU_FT/zeroSteiner/AdvancedHTTPServer/respond_file | LDU_FT | [
"<BEGIN>\n## `resolve_ssl_protocol_version`",
"Look up an SSL protocol version by name. If *version* is not specified, then\n\tthe strongest protocol available will be returned.",
"\t:param str version: The name of the version to look up.\n\t:return: A protocol constant from the :py:mod:`ssl` module.\n\t:rtype:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the respond_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the respond_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 extr... | Respond to the client by serving a file, either directly or as
an attachment.
:param str file_path: The path to the file to serve, this does not need to be in the web root.
:param bool attachment: Whether to serve the file as a download by setting the Content-Disposition header. | "Respond to the client by serving a file, either directly or as\n\t\tan attachment.\n\n\t\t:param str file_path: The path to the file to serve, this does not need to be in the web root.\n\t\t:param bool attachment: Whether to serve the file as a download by setting the Content-Disposition header." | 102 | false | zeroSteiner/AdvancedHTTPServer | respond_file | 23,015 | |
LDU_FT/WhyNotHugo/django-afip/get_client | LDU_FT | [
"<BEGIN>\n## `catch_errors`",
"Catches specific errors in admin actions and shows a friendly error.\n<END>",
"<BEGIN>\n## `numbers`",
"Returns the barcode's number without the verification digit.",
" :return: list(int)\n<END>",
"<BEGIN>\n## `verification_digit`",
"Returns the verification digit f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
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... | Returns a client for a given service.
The `sandbox` argument should only be necessary if a the client will be
used to make a request. If it will only be used to serialize objects, it is
irrelevant. Avoid the overhead of determining the sandbox mode in the
calling context if only serialization operatio... | "Returns a client for a given service.\n\n The `sandbox` argument should only be necessary if a the client will be\n used to make a request. If it will only be used to serialize objects, it is\n irrelevant. Avoid the overhead of determining the sandbox mode in the\n calling context if only serialization op... | 96 | false | WhyNotHugo/django-afip | get_client | 23,016 | |
LDU_FT/Pixelapse/pyglass/lib_list | LDU_FT | [
"<BEGIN>\n## `embedded_preview`",
"Returns path to temporary copy of embedded QuickLook preview, if it exists\n<END>",
"<BEGIN>\n## `thumbnail_preview`",
"Returns the path to small thumbnail preview.\n<END>",
"<BEGIN>\n## `export_cmd`",
"Executes a `sketchtool export` command and returns formatted output"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lib_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lib_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the contents of 'pyglass/lib' as a list of 'lib/*' items for package_data | "Returns the contents of 'pyglass/lib' as a list of 'lib/*' items for package_data" | 33 | false | Pixelapse/pyglass | lib_list | 23,017 | |
LDU_FT/jeongyoonlee/Kaggler/fit_transform | LDU_FT | [
"<BEGIN>\n## `fit`",
"Train a network with the quasi-Newton method.",
" Args:\n X (np.array of float): feature matrix for training\n y (np.array of float): target values for training\n X_val (np.array of float): feature matrix for validation\n y_val (np.array o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Encode categorical columns into average target values.
Args:
X (pandas.DataFrame): categorical columns to encode
y (pandas.Series): the target column
Returns:
X (pandas.DataFrame): encoded columns | "Encode categorical columns into average target values.\n Args:\n X (pandas.DataFrame): categorical columns to encode\n y (pandas.Series): the target column\n Returns:\n X (pandas.DataFrame): encoded columns" | 114 | false | jeongyoonlee/Kaggler | fit_transform | 23,018 | |
LDU_FT/Vital-Fernandez/dazer/lacosmiciteration | LDU_FT | [
"<BEGIN>\n## `linfit`",
"Least squares linear fit.",
" Fit a straight line `f(x_true) = a + bx` to points `(x_true, y)`. Returns\n coefficients `a` and `b` that minimize the squared error.",
" Parameters\n ----------\n x_true : array_like\n one dimensional array of `x_true` data with `n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lacosmiciteration API.
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 lacosmiciteration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Performs one iteration of the L.A.Cosmic algorithm.
It operates on self.cleanarray, and afterwards updates self.mask by adding the newly detected
cosmics to the existing self.mask. Cleaning is not made automatically ! You have to call
clean() after each iteration.
This way you can run it... | "Performs one iteration of the L.A.Cosmic algorithm.\n It operates on self.cleanarray, and afterwards updates self.mask by adding the newly detected\n cosmics to the existing self.mask. Cleaning is not made automatically ! You have to call\n clean() after each iteration.\n This way you can r... | 228 | false | Vital-Fernandez/dazer | lacosmiciteration | 23,019 | |
LDU_FT/msfrank/cifparser/remove_field | LDU_FT | [
"<BEGIN>\n## `make_path`",
":param path_or_str_or_segments:\n :return:\n :rtype: cifparser.path.Path\n<END>",
"<BEGIN>\n## `print_ast`",
":param f:\n :type f: file\n :return:\n<END>",
"<BEGIN>\n## `pop_frame`",
"Remove and return the frame at the top of the stack.",
" :returns: The to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | :param path: str or Path instance
:param name:
:type name: str | ":param path: str or Path instance\n :param name:\n :type name: str" | 67 | false | msfrank/cifparser | remove_field | 23,020 | |
LDU_FT/infothrill/python-dyndnsc/add_plugin | LDU_FT | [
"<BEGIN>\n## `getDynDnsClientForConfig`",
"Instantiate and return a complete and working dyndns client.",
" :param config: a dictionary with configuration keys\n :param plugins: an object that implements PluginManager\n<END>",
"<BEGIN>\n## `sync`",
"Synchronize the registered IP with the detected IP (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Add plugin to list of plugins.
Will be added if it has the attribute I'm bound to. | "Add plugin to list of plugins.\n\n Will be added if it has the attribute I'm bound to." | 127 | false | infothrill/python-dyndnsc | add_plugin | 23,021 | |
LDU_FT/CygnusNetworks/pypureomapi/receive_message | LDU_FT | [
"<BEGIN>\n## `parse_chain`",
"Creates a new parser that executes the passed parsers (args) with the\n\tprevious results and yields a tuple of the results.",
"\t>>> list(parse_chain(lambda: (None, 1), lambda one: (None, 2)))\n\t[None, None, (1, 2)]",
"\t@param args: parsers\n\t@returns: parser\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Read the next message from the connection.
@rtype: OmapiMessage
@raises OmapiError:
@raises socket.error: | "Read the next message from the connection.\n\t\t@rtype: OmapiMessage\n\t\t@raises OmapiError:\n\t\t@raises socket.error:" | 114 | false | CygnusNetworks/pypureomapi | receive_message | 23,022 | |
LDU_FT/soynatan/django-easy-audit/_m2m_rev_field_name | LDU_FT | [
"<BEGIN>\n## `prettify_json`",
"Given a JSON string, it returns it as a\n safe formatted HTML\n<END>",
"<BEGIN>\n## `purge_objects`",
"Removes all objects in this table.\n This action first displays a confirmation page;\n next, it deletes all objects and redirects back to the change list.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _m2m_rev_field_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _m2m_rev_field_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Gets the name of the reverse m2m accessor from `model1` to `model2`
For example, if User has a ManyToManyField connected to Group,
`_m2m_rev_field_name(Group, User)` retrieves the name of the field on
Group that lists a group's Users. (By default, this field is called
`user_set`, but the name can be ov... | "Gets the name of the reverse m2m accessor from `model1` to `model2`\n\n For example, if User has a ManyToManyField connected to Group,\n `_m2m_rev_field_name(Group, User)` retrieves the name of the field on\n Group that lists a group's Users. (By default, this field is called\n `user_set`, but the name can... | 21 | false | soynatan/django-easy-audit | _m2m_rev_field_name | 23,023 | |
LDU_FT/datastore/datastore/get | LDU_FT | [
"<BEGIN>\n## `list`",
"Returns the `list` representation of this Key.",
" Note that this method assumes the key is immutable.\n<END>",
"<BEGIN>\n## `instance`",
"Returns an instance Key, by appending a name to the namespace.\n<END>",
"<BEGIN>\n## `parent`",
"Returns the parent Key (all namespaces exc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return the object named by key. Checks each datastore in order. | "Return the object named by key. Checks each datastore in order." | 180 | false | datastore/datastore | get | 23,024 | |
LDU_FT/xolox/python-vcs-repo-mgr/find_remote | LDU_FT | [
"<BEGIN>\n## `get_install_requires`",
"Add conditional dependencies (when creating source distributions).\n<END>",
"<BEGIN>\n## `main`",
"The command line interface of the ``vcs-tool`` program.\n<END>",
"<BEGIN>\n## `contains_repository`",
"Check whether the given directory contains a local repository.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_remote API.
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 find_remote API.
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... | Find a remote repository connected to the local repository.
:param default: :data:`True` to only look for default remotes,
:data:`False` otherwise.
:param name: The name of the remote to look for
(a string or :data:`None`).
:param role: A role that t... | "Find a remote repository connected to the local repository.\n\n :param default: :data:`True` to only look for default remotes,\n :data:`False` otherwise.\n :param name: The name of the remote to look for\n (a string or :data:`None`).\n :param role: A role... | 261 | false | xolox/python-vcs-repo-mgr | find_remote | 23,025 | |
LDU_FT/joytunes/JTLocalize/find_files | LDU_FT | [
"<BEGIN>\n## `handle_duplications`",
"Omits the duplications in the strings files.\n Keys that appear more than once, will be joined to one appearance and the omit will be documented.",
" Args:\n file_path (str): The path to the strings file.\n<END>",
"<BEGIN>\n## `add_comments`",
"Add comm... | 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... | Find all files matching the given extensions.
Args:
base_dir (str): Path of base directory to search in.
extensions (list): A list of file extensions to search for.
exclude_dirs (list): A list of directories to exclude from search.
Returns:
list of paths that match the search | "Find all files matching the given extensions.\n\n Args:\n base_dir (str): Path of base directory to search in.\n extensions (list): A list of file extensions to search for.\n exclude_dirs (list): A list of directories to exclude from search.\n\n Returns:\n list of paths that match the... | 104 | false | joytunes/JTLocalize | find_files | 23,026 | |
LDU_FT/nion-software/nionswift-io/read_interoperability_ifd | LDU_FT | [
"<BEGIN>\n## `imagedatadict_to_ndarray`",
"Converts the ImageData dictionary, imdict, to an nd image.\n<END>",
"<BEGIN>\n## `ndarray_to_imagedatadict`",
"Convert the numpy array nparr into a suitable ImageList entry dictionary.\n Returns a dictionary with the appropriate Data, DataType, PixelDepth\n to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_interoperability_ifd 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 read_interoperability_ifd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Read Interoperability tags from file and return as dict. | "Read Interoperability tags from file and return as dict." | 438 | false | nion-software/nionswift-io | read_interoperability_ifd | 23,027 | |
LDU_FT/Chilipp/psyplot/get_variable_by_axis | LDU_FT | [
"<BEGIN>\n## `_no_auto_update_getter`",
":class:`bool`. Boolean controlling whether the :meth:`start_update`\n method is automatically called by the :meth:`update` method",
" Examples\n --------\n You can disable the automatic update via",
" >>> with data.no_auto_update:\n ... da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variable_by_axis 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_variable_by_axis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the coordinate matching the specified axis
This method uses to ``'axis'`` attribute in coordinates to return the
corresponding coordinate of the given variable
Possible types
--------------
var: xarray.Variable
The variable to get the dimension for
ax... | "Return the coordinate matching the specified axis\n\n This method uses to ``'axis'`` attribute in coordinates to return the\n corresponding coordinate of the given variable\n\n Possible types\n --------------\n var: xarray.Variable\n The variable to get the dimension for\n... | 800 | false | Chilipp/psyplot | get_variable_by_axis | 23,028 | |
LDU_FT/charettes/django-mutant/field_definition_post_save | LDU_FT | [
"<BEGIN>\n## `nonraw_instance`",
"A signal receiver decorator that fetch the complete instance from db when\n it's passed as raw\n<END>",
"<BEGIN>\n## `base_definition_pre_delete`",
"This is used to pass data required for deletion to the post_delete\n signal that is no more available thereafter.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field_definition_post_save 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 field_definition_post_save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | This signal is connected by all FieldDefinition subclasses
see comment in FieldDefinitionBase for more details | "This signal is connected by all FieldDefinition subclasses\n see comment in FieldDefinitionBase for more details" | 22 | false | charettes/django-mutant | field_definition_post_save | 23,029 | |
LDU_FT/muckamuck/stackility/poll_stack | LDU_FT | [
"<BEGIN>\n## `_init_boto3_clients`",
"The utililty requires boto3 clients to CloudFormation.",
" Args:\n None",
" Returns:\n Good or Bad; True or False\n<END>",
"<BEGIN>\n## `determine_drift`",
"Determine the drift of the stack.",
" Args:\n None",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll_stack API.
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 poll_stack API.
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... | Spin in a loop while the Cloud Formation process either fails or succeeds
Args:
None
Returns:
Good or bad; True or False | "Spin in a loop while the Cloud Formation process either fails or succeeds\n\n Args:\n None\n\n Returns:\n Good or bad; True or False" | 89 | false | muckamuck/stackility | poll_stack | 23,030 | |
LDU_FT/vsergeev/python-periphery/write8 | LDU_FT | [
"<BEGIN>\n## `read`",
"Read the brightness of the LED.",
" Returns:\n int: Current brightness.",
" Raises:\n LEDError: if an I/O or OS error occurs.\n<END>",
"<BEGIN>\n## `write`",
"Set the brightness of the LED to `brightness`.",
" `brightness` can be a boolea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write8 API.
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 write8 API.
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 ... | Write 8-bits to the specified `offset` in bytes, relative to the
base physical address of the MMIO region.
Args:
offset (int, long): offset from base physical address, in bytes.
value (int, long): 8-bit value to write.
Raises:
TypeError: if `offset` or `valu... | "Write 8-bits to the specified `offset` in bytes, relative to the\n base physical address of the MMIO region.\n\n Args:\n offset (int, long): offset from base physical address, in bytes.\n value (int, long): 8-bit value to write.\n\n Raises:\n TypeError: if `offset`... | 86 | false | vsergeev/python-periphery | write8 | 23,031 | |
LDU_FT/joealcorn/xbox/authenticate | LDU_FT | [
"<BEGIN>\n## `_get`",
"Makes a GET request, setting Authorization\n header by default\n<END>",
"<BEGIN>\n## `_post`",
"Makes a POST request, setting Authorization\n header by default\n<END>",
"<BEGIN>\n## `_post_json`",
"Makes a POST request, setting Authorization\n and Content-Type h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
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 authenticate API.
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... | Authenticated this client instance.
``login`` and ``password`` default to the environment
variables ``MS_LOGIN`` and ``MS_PASSWD`` respectively.
:param login: Email address associated with a microsoft account
:param password: Matching password
:raises: :class:`~xbox.exception... | "Authenticated this client instance.\n\n ``login`` and ``password`` default to the environment\n variables ``MS_LOGIN`` and ``MS_PASSWD`` respectively.\n\n\n :param login: Email address associated with a microsoft account\n :param password: Matching password\n\n :raises: :class:`~xbox... | 62 | false | joealcorn/xbox | authenticate | 23,032 | |
LDU_FT/patrickfuller/jgraph/_coulomb | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draws an interactive 3D visualization of the inputted graph.",
" Args:\n data: Either an adjacency list of tuples (ie. [(1,2),...]) or object\n size: (Optional) Dimensions of visualization, in pixels\n node_size: (Optional) Defaults to 2.0\n edge_size: (Opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _coulomb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _coulomb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Calculates Coulomb forces and updates node data. | "Calculates Coulomb forces and updates node data." | 16 | false | patrickfuller/jgraph | _coulomb | 23,033 | |
LDU_FT/mcs07/PubChemPy/cid | LDU_FT | [
"<BEGIN>\n## `request`",
"Construct API request from parameters and return the response.",
" Full specification at http://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html\n<END>",
"<BEGIN>\n## `get`",
"Request wrapper that automatically handles async requests.\n<END>",
"<BEGIN>\n## `get_json`",
"Reque... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cid API.
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 cid API.
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... | The PubChem Compound Identifier (CID).
.. note::
When searching using a SMILES or InChI query that is not present in the PubChem Compound database, an
automatically generated record may be returned that contains properties that have been calculated on the
fly. These records... | "The PubChem Compound Identifier (CID).\n\n .. note::\n\n When searching using a SMILES or InChI query that is not present in the PubChem Compound database, an\n automatically generated record may be returned that contains properties that have been calculated on the\n fly. These ... | 83 | false | mcs07/PubChemPy | cid | 23,034 | |
LDU_FT/JosuaKrause/quick_server/json_dumps | LDU_FT | [
"<BEGIN>\n## `json_dumps`",
"A safe JSON dump function that provides correct diverging numbers for a\n ECMAscript consumer.\n<END>",
"<BEGIN>\n## `msg`",
"Prints a message from the server to the log file.\n<END>",
"<BEGIN>\n## `setup_restart`",
"Sets up restart functionality that doesn't keep the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_dumps API.
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 json_dumps API.
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... | A safe JSON dump function that provides correct diverging numbers for a
ECMAscript consumer. | "A safe JSON dump function that provides correct diverging numbers for a\n ECMAscript consumer." | 90 | false | JosuaKrause/quick_server | json_dumps | 23,035 | |
LDU_FT/jwodder/javaproperties/_check | LDU_FT | [
"<BEGIN>\n## `load_xml`",
"r\"\"\"\n Parse the contents of the file-like object ``fp`` as an XML properties file\n and return a `dict` of the key-value pairs.",
" Beyond basic XML well-formedness, `load_xml` only checks that the root\n element is named \"``properties``\" and that all of its ``<entry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check API.
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 _check API.
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 ... | Assert the internal consistency of the instance's data structures.
This method is for debugging only. | "Assert the internal consistency of the instance's data structures.\n This method is for debugging only." | 115 | false | jwodder/javaproperties | _check | 23,036 | |
LDU_FT/cnschema/cdata/items2file | LDU_FT | [
"<BEGIN>\n## `wikidata_get`",
"https://www.wikidata.org/wiki/Special:EntityData/P248.json\n<END>",
"<BEGIN>\n## `wikidata_search`",
"wikification: search wikipedia pages for the given query\n https://www.wikidata.org/w/api.php?action=help&modules=wbsearchentities",
" result format\n {\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the items2file API.
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 items2file API.
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... | json array to file, canonical json format | "json array to file, canonical json format" | 29 | false | cnschema/cdata | items2file | 23,037 | |
LDU_FT/ddorn/GUI/_get_color | LDU_FT | [
"<BEGIN>\n## `select`",
"Select an arbitrary item, by possition or by reference.\n<END>",
"<BEGIN>\n## `on_select`",
"Add an action to make when an object is selected.\n Only one action can be stored this way.\n<END>",
"<BEGIN>\n## `on_unselect`",
"Add an action to make when an object is unfocused.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_color API.
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 color of the button, depending on its state | "Return the color of the button, depending on its state" | 84 | false | ddorn/GUI | _get_color | 23,038 | |
LDU_FT/karel-brinda/rnftools/report_error | LDU_FT | [
"<BEGIN>\n## `recode_curesim_reads`",
"Recode CuReSim output FASTQ file to the RNF-compatible output FASTQ file.",
"\t\tArgs:\n\t\t\tcuresim_fastq_fo (file object): File object of CuReSim FASTQ file.\n\t\t\tfastq_rnf_fo (file object): File object of RNF FASTQ.\n\t\t\tfai_fo (file object): File object for FAI fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Report an error.
Args:
read_tuple_name (): Name of the read tuple.
error_name (): Name of the error.
wrong (str): What is wrong.
message (str): Additional msessage to be printed.
warning (bool): Warning (not an error). | "Report an error.\n\n\t\tArgs:\n\t\t\tread_tuple_name (): Name of the read tuple.\n\t\t\terror_name (): Name of the error.\n\t\t\twrong (str): What is wrong. \n\t\t\tmessage (str): Additional msessage to be printed.\n\t\t\twarning (bool): Warning (not an error)." | 84 | false | karel-brinda/rnftools | report_error | 23,039 | |
LDU_FT/quantopian/alphalens/mean_return_by_quantile | LDU_FT | [
"<BEGIN>\n## `factor_information_coefficient`",
"Computes the Spearman Rank Correlation based Information Coefficient (IC)\n between factor values and N period forward returns for each period in\n the factor index.",
" Parameters\n ----------\n factor_data : pd.DataFrame - MultiIndex\n A M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mean_return_by_quantile 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 mean_return_by_quantile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Computes mean returns for factor quantiles across
provided forward returns columns.
Parameters
----------
factor_data : pd.DataFrame - MultiIndex
A MultiIndex DataFrame indexed by date (level 0) and asset (level 1),
containing the values for a single alpha factor, forward returns for
... | "Computes mean returns for factor quantiles across\n provided forward returns columns.\n\n Parameters\n ----------\n factor_data : pd.DataFrame - MultiIndex\n A MultiIndex DataFrame indexed by date (level 0) and asset (level 1),\n containing the values for a single alpha factor, forward return... | 243 | false | quantopian/alphalens | mean_return_by_quantile | 23,040 | |
LDU_FT/seryl/Python-Cotendo/cdn_set_conf | LDU_FT | [
"<BEGIN>\n## `show`",
"This could use some love, it's currently here as reference\n<END>",
"<BEGIN>\n## `CreateRecord`",
"Create a record of type (record_type) and fill it with the given\n dict of results\n<END>",
"<BEGIN>\n## `cdn_get_conf`",
"Returns the existing origin configuration and token fr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cdn_set_conf API.
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 cdn_set_conf API.
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... | The cdn_set_conf method enables the user to update an existing
origin configuration in the CDN.
The cdn_get_conf returns the token in the response and the
cdn_set_conf requires a token as one of the parameters.
The set action is valid only if the token returned is equal to
the ... | "The cdn_set_conf method enables the user to update an existing\n origin configuration in the CDN.\n\n The cdn_get_conf returns the token in the response and the\n cdn_set_conf requires a token as one of the parameters.\n\n The set action is valid only if the token returned is equal to\n ... | 22 | false | seryl/Python-Cotendo | cdn_set_conf | 23,041 | |
LDU_FT/mogproject/mog-commons-python/_detect_encoding | LDU_FT | [
"<BEGIN>\n## `_detect_encoding`",
"Detect the default encoding for the terminal's output.\n :return: string: encoding string\n<END>",
"<BEGIN>\n## `_get_restore_function`",
"Return the binary function for restoring terminal attributes.\n :return: function (signal, frame) => None:\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _detect_encoding API.
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 _detect_encoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Detect the default encoding for the terminal's output.
:return: string: encoding string | "Detect the default encoding for the terminal's output.\n :return: string: encoding string" | 49 | false | mogproject/mog-commons-python | _detect_encoding | 23,042 | |
LDU_FT/brian-rose/climlab/estimated_inversion_strength | LDU_FT | [
"<BEGIN>\n## `default_absorbers`",
"Initialize a dictionary of well-mixed radiatively active gases\n All values are volumetric mixing ratios.",
" Ozone is set to a climatology.",
" All other gases are assumed well-mixed:",
" - CO2\n - CH4\n - N2O\n - O2\n - CFC11\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the estimated_inversion_strength 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 estimated_inversion_strength API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Compute the Estimated Inversion Strength or EIS,
following Wood and Bretherton (2006, J. Climate)
Inputs: T0 is surface temp in Kelvin
T700 is air temperature at 700 hPa in Kelvin
Output: EIS in Kelvin
EIS is a normalized measure of lower tropospheric stability acccounting for
temperat... | "Compute the Estimated Inversion Strength or EIS,\n following Wood and Bretherton (2006, J. Climate)\n\n Inputs: T0 is surface temp in Kelvin\n T700 is air temperature at 700 hPa in Kelvin\n\n Output: EIS in Kelvin\n\n EIS is a normalized measure of lower tropospheric stability acccounting for\n ... | 571 | false | brian-rose/climlab | estimated_inversion_strength | 23,043 | |
LDU_FT/blockadeio/analyst_toolbench/load_config | LDU_FT | [
"<BEGIN>\n## `clean_indicators`",
"Remove any extra details from indicators.\n<END>",
"<BEGIN>\n## `check_whitelist`",
"Check the indicators against known whitelists.\n<END>",
"<BEGIN>\n## `cache_items`",
"Cache indicators that were successfully sent to avoid dups.\n<END>",
"<BEGIN>\n## `prune_cached`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 load_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... | Load the configuration for the user or seed it with defaults.
:return: Boolean if successful | "Load the configuration for the user or seed it with defaults.\n\n :return: Boolean if successful" | 50 | false | blockadeio/analyst_toolbench | load_config | 23,044 | |
LDU_FT/noxdafox/pebble/cancel | LDU_FT | [
"<BEGIN>\n## `waitforqueues`",
"Waits for one or more *Queue* to be ready or until *timeout* expires.",
" *queues* is a list containing one or more *Queue.Queue* objects.\n If *timeout* is not None the function will block\n for the specified amount of seconds.",
" The function returns a list conta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API.
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 cancel API.
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 ... | Cancel the future.
Returns True if any of the elements of the iterables is cancelled.
False otherwise. | "Cancel the future.\n\n Returns True if any of the elements of the iterables is cancelled.\n False otherwise." | 83 | false | noxdafox/pebble | cancel | 23,045 | |
LDU_FT/tkhyn/dirsync/_update | LDU_FT | [
"<BEGIN>\n## `load_cfg`",
"Load defaults from configuration file:\r\n - from the source/directory/.dirsync file (prioritary)\r\n - and/or a %HOME%/.dirsync user config file\n<END>",
"<BEGIN>\n## `_cmptimestamps`",
"Compare time stamps of two files and return True\n if file1 (source) is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Private function for updating a file based on
last time stamp of modification | "Private function for updating a file based on\n last time stamp of modification" | 20 | false | tkhyn/dirsync | _update | 23,046 | |
LDU_FT/mathandy/svgpathtools/display | LDU_FT | [
"<BEGIN>\n## `big_bounding_box`",
"Finds a BB containing a collection of paths, Bezier path segments, and\n points (given as complex numbers).\n<END>",
"<BEGIN>\n## `disvg`",
"Takes in a list of paths and creates an SVG file containing said paths.\n REQUIRED INPUTS:\n :param paths - a list of pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Displays/opens the doc using the OS's default application. | "Displays/opens the doc using the OS's default application." | 252 | false | mathandy/svgpathtools | display | 23,047 | |
LDU_FT/silver-castle/mach9/static | LDU_FT | [
"<BEGIN>\n## `get_connect_message`",
"http://channels.readthedocs.io/en/stable/asgi/www.html#connection\n<END>",
"<BEGIN>\n## `get_receive_message`",
"http://channels.readthedocs.io/en/stable/asgi/www.html#receive\n<END>",
"<BEGIN>\n## `get_disconnect_message`",
"http://channels.readthedocs.io/en/stable/a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the static API.
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 static API.
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 ... | Create a blueprint static route from a decorated function.
:param uri: endpoint at which the route will be accessible.
:param file_or_directory: Static asset. | "Create a blueprint static route from a decorated function.\n\n :param uri: endpoint at which the route will be accessible.\n :param file_or_directory: Static asset." | 78 | false | silver-castle/mach9 | static | 23,048 | |
LDU_FT/cmap/cmapPy/set_data_matrix_chunk_size | LDU_FT | [
"<BEGIN>\n## `subset_main`",
"Separate method from main() in order to make testing easier and to\n enable command-line access.\n<END>",
"<BEGIN>\n## `_read_arg`",
"If arg is a list with 1 element that corresponds to a valid file path, use\n set_io.grp to read the grp file. Otherwise, check that arg is a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_data_matrix_chunk_size 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 set_data_matrix_chunk_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Sets chunk size to use for writing data matrix.
Note. Calculation used here is for compatibility with cmapM and cmapR.
Input:
- df_shape (tuple): shape of input data_df.
- max_chunk_kb (int, default=1024): The maximum number of KB a given chunk will occupy
- elem_per_kb (int): Number... | "Sets chunk size to use for writing data matrix. \n Note. Calculation used here is for compatibility with cmapM and cmapR. \n\n Input:\n - df_shape (tuple): shape of input data_df. \n - max_chunk_kb (int, default=1024): The maximum number of KB a given chunk will occupy\n - elem_per_kb (int):... | 210 | false | cmap/cmapPy | set_data_matrix_chunk_size | 23,049 | |
LDU_FT/pavelsof/ipalint/_open | LDU_FT | [
"<BEGIN>\n## `_save_stdin`",
"Creates a temporary dir (self.temp_dir) and saves the given input\n\t\tstream to a file within that dir. Returns the path to the file. The dir\n\t\tis removed in the __del__ method.\n<END>",
"<BEGIN>\n## `_open`",
"Opens the file specified by the given path. Raises ValueError if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _open API.
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 _open API.
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... | Opens the file specified by the given path. Raises ValueError if there
is a problem with opening or reading the file. | "Opens the file specified by the given path. Raises ValueError if there\n\t\tis a problem with opening or reading the file." | 53 | false | pavelsof/ipalint | _open | 23,050 | |
LDU_FT/GGiecold/Concurrent_AP/compute_rows_sum | LDU_FT | [
"<BEGIN>\n## `chunk_generator`",
"Returns a generator of slice objects.",
" Parameters\n ----------\n N : int\n The size of one of the dimensions of a two-dimensional array. ",
" n : int\n The number of arrays of shape ('N', 'get_chunk_size(N, n)') that fit into\n memory.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_rows_sum API.
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 compute_rows_sum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parallel computation of the sums across the rows of two-dimensional array
accessible at the node specified by 'path' in the 'hdf5_file'
hierarchical data format. | "Parallel computation of the sums across the rows of two-dimensional array\n accessible at the node specified by 'path' in the 'hdf5_file' \n hierarchical data format." | 61 | false | GGiecold/Concurrent_AP | compute_rows_sum | 23,051 | |
LDU_FT/port-zero/mite/create_entry | LDU_FT | [
"<BEGIN>\n## `request`",
"Low-level request interface to mite. Takes a HTTP request scheme (lower\n case!), a URL to request (relative), and optionally data to add to the\n request. Either returns the JSON body of the request or raises a \n HttpException.\n<END>",
"<BEGIN>\n## `get`",
"Lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Creates a new time entry on Mite. Takes a data dictionary with the keys
`date_at` (a date string in `YYYY-MM-DD` format), `minutes` (an int),
`note` (the entry text), `user_id`, `project_id`, `service_id`, and
`locked`. All of them are optional. | "Creates a new time entry on Mite. Takes a data dictionary with the keys\n `date_at` (a date string in `YYYY-MM-DD` format), `minutes` (an int),\n `note` (the entry text), `user_id`, `project_id`, `service_id`, and\n `locked`. All of them are optional." | 32 | false | port-zero/mite | create_entry | 23,052 | |
LDU_FT/azavea/python-omgeo/geocode | LDU_FT | [
"<BEGIN>\n## `_geocode`",
":arg PlaceQuery pq: PlaceQuery object to use for geocoding\n :returns: list of location Candidates\n<END>",
"<BEGIN>\n## `_street_addr_from_response`",
"Construct a street address (no city, region, etc.) from a geocoder response.",
" :param attributes: A dict of addr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API.
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 geocode API.
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... | :arg PlaceQuery pq: PlaceQuery instance
:rtype: tuple
:returns: post-processed list of Candidate objects and
and UpstreamResponseInfo object if an API call was made.
Examples:
Preprocessor throws out request::
([], None)
... | ":arg PlaceQuery pq: PlaceQuery instance\n :rtype: tuple\n :returns: post-processed list of Candidate objects and\n and UpstreamResponseInfo object if an API call was made.\n\n Examples:\n\n Preprocessor throws out request::\n\n ([], ... | 78 | false | azavea/python-omgeo | geocode | 23,053 | |
LDU_FT/FujiMakoto/AgentML/_parse | LDU_FT | [
"<BEGIN>\n## `value`",
"Return the value of the redirect response\n<END>",
"<BEGIN>\n## `get`",
"Evaluate and return the current active topic\n :param user: The active user object\n :type user: agentml.User or None",
" :param agentml: The active AgentML instance\n :type agentml... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse API.
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 _parse API.
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 ... | Loop through all child elements and execute any available parse methods for them | "Loop through all child elements and execute any available parse methods for them" | 183 | false | FujiMakoto/AgentML | _parse | 23,054 | |
LDU_FT/brap/brap/_topological_sort | LDU_FT | [
"<BEGIN>\n## `extract_edges_from_callable`",
"This takes args and kwargs provided, and returns the names of the strings\n assigned. If a string is not provided for a value, an exception is raised.",
" This is how we extract the edges provided in the brap call lambdas.\n<END>",
"<BEGIN>\n## `insert_node`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _topological_sort API.
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 _topological_sort API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Kahn's algorithm for Topological Sorting
- Finds cycles in graph
- Computes dependency weight | "Kahn's algorithm for Topological Sorting\n - Finds cycles in graph\n - Computes dependency weight" | 12 | false | brap/brap | _topological_sort | 23,055 | |
LDU_FT/mozilla/DeepSpeech/establish_ssh | LDU_FT | [
"<BEGIN>\n## `reduce_filename`",
"r'''\n Expects something like /tmp/tmpAjry4Gdsbench/test.weights.e5.XXX.YYY.pb\n Where XXX is a variation on the model size for example\n And where YYY is a const related to the training dataset\n<END>",
"<BEGIN>\n## `keep_only_digits`",
"r'''\n local helper to ju... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the establish_ssh API.
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 establish_ssh API.
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... | r'''
Establish a SSH connection to a remote host. It should be able to use
SSH's config file Host name declarations. By default, will not automatically
add trust for hosts, will use SSH agent and will try to load keys. | "r'''\n Establish a SSH connection to a remote host. It should be able to use\n SSH's config file Host name declarations. By default, will not automatically\n add trust for hosts, will use SSH agent and will try to load keys." | 98 | false | mozilla/DeepSpeech | establish_ssh | 23,056 | |
LDU_FT/asweigart/PyMsgBox/confirm | LDU_FT | [
"<BEGIN>\n## `alert`",
"Displays a simple message box with text and a single OK button. Returns the text of the button clicked on.\n<END>",
"<BEGIN>\n## `confirm`",
"Displays a message box with OK and Cancel buttons. Number and text of buttons can be customized. Returns the text of the button clicked on.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the confirm API.
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 confirm API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Displays a message box with OK and Cancel buttons. Number and text of buttons can be customized. Returns the text of the button clicked on. | "Displays a message box with OK and Cancel buttons. Number and text of buttons can be customized. Returns the text of the button clicked on." | 15 | false | asweigart/PyMsgBox | confirm | 23,057 | |
LDU_FT/Aluriak/bubble-tools/write_bubble | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_bubble API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_bubble API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Write in given filename the lines of bubble describing this instance | "Write in given filename the lines of bubble describing this instance" | 88 | false | Aluriak/bubble-tools | write_bubble | 23,058 | |
LDU_FT/asyncee/django-easy-select2/render_js_code | LDU_FT | [
"<BEGIN>\n## `render_js_code`",
"Render html container for Select2 widget with options.\n<END>",
"<BEGIN>\n## `render`",
"Extend base class's `render` method by appending\n javascript inline text to html output.\n<END>",
"<BEGIN>\n## `visit_console_html`",
"Generate HTML for the console directive.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_js_code API.
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 render_js_code API.
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... | Render html container for Select2 widget with options. | "Render html container for Select2 widget with options." | 16 | false | asyncee/django-easy-select2 | render_js_code | 23,059 | |
LDU_FT/bfrog/whizzer/notify | LDU_FT | [
"<BEGIN>\n## `remote`",
"Decorator that adds a remote attribute to a function.",
" fn -- function being decorated\n name -- aliased name of the function, used for remote proxies\n types -- a argument type specifier, can be used to ensure\n arguments are of the correct type\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
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 notify API.
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 ... | Perform a synchronous remote call where value no return value is desired.
While faster than call it still blocks until the remote callback has been sent.
This may block for sometime in certain situations. If it takes more than the Proxies
set timeout then a TimeoutError is raised. | "Perform a synchronous remote call where value no return value is desired.\n\n While faster than call it still blocks until the remote callback has been sent.\n\n This may block for sometime in certain situations. If it takes more than the Proxies\n set timeout then a TimeoutError is raised." | 107 | false | bfrog/whizzer | notify | 23,060 | |
LDU_FT/Bouke/django-two-factor-auth/mask_phone_number | LDU_FT | [
"<BEGIN>\n## `mask_phone_number`",
"Masks a phone number, only first 3 and last 2 digits visible.",
" Examples:",
" * `+31 * ******58`",
" :param number: str or phonenumber object\n :return: str\n<END>",
"<BEGIN>\n## `format_phone_number`",
"Formats a phone number in international notation.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mask_phone_number API.
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 mask_phone_number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Masks a phone number, only first 3 and last 2 digits visible.
Examples:
* `+31 * ******58`
:param number: str or phonenumber object
:return: str | "Masks a phone number, only first 3 and last 2 digits visible.\n\n Examples:\n\n * `+31 * ******58`\n\n :param number: str or phonenumber object\n :return: str" | 31 | false | Bouke/django-two-factor-auth | mask_phone_number | 23,061 | |
LDU_FT/draperunner/fjlc/to_json | LDU_FT | [
"<BEGIN>\n## `string_chain`",
"Chain several filters after each other, applies the filter on the entire string\n :param text: String to format\n :param filters: Sequence of filters to apply on String\n :return: The formatted String\n<END>",
"<BEGIN>\n## `token_chain`",
"Chain several filt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Converts object to JSON formatted string with typeToken adapter
:param data: A dictionary to convert to JSON string
:param pretty: A boolean deciding whether or not to pretty format the JSON string
:return: The JSON string | "Converts object to JSON formatted string with typeToken adapter\n :param data: A dictionary to convert to JSON string\n :param pretty: A boolean deciding whether or not to pretty format the JSON string\n :return: The JSON string" | 50 | false | draperunner/fjlc | to_json | 23,062 | |
LDU_FT/Amsterdam/authorization_django/settings | LDU_FT | [
"<BEGIN>\n## `_rectify`",
"Rectify (and validate) the given settings using the functions in\n :data:`_settings_rectifiers`.\n<END>",
"<BEGIN>\n## `settings`",
"Fetch the middleware settings.",
" :return dict: settings\n<END>",
"<BEGIN>\n## `load`",
"Parse a JWKSet and return a dictionary that maps... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte... | Fetch the middleware settings.
:return dict: settings | "Fetch the middleware settings.\n\n :return dict: settings" | 17 | false | Amsterdam/authorization_django | settings | 23,063 | |
LDU_FT/ssalentin/plip/download_structure | LDU_FT | [
"<BEGIN>\n## `process_pdb`",
"Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>",
"<BEGIN>\n## `download_structure`",
"Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_structure 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 download_structure 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... | Given a PDB ID, downloads the corresponding PDB structure.
Checks for validity of ID and handles error while downloading.
Returns the path of the downloaded file. | "Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\n Returns the path of the downloaded file." | 176 | false | ssalentin/plip | download_structure | 23,064 | |
LDU_FT/epfl-lts2/pygsp/cheby_op | LDU_FT | [
"<BEGIN>\n## `compute_avg_adj_deg`",
"r\"\"\"\n Compute the average adjacency degree for each node.",
" The average adjacency degree is the average of the degrees of a node and\n its neighbors.",
" Parameters\n ----------\n G: Graph\n Graph on which the statistic is extracted\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cheby_op API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cheby_op API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | r"""
Chebyshev polynomial of graph Laplacian applied to vector.
Parameters
----------
G : Graph
c : ndarray or list of ndarrays
Chebyshev coefficients for a Filter or a Filterbank
signal : ndarray
Signal to filter
Returns
-------
r : ndarray
Result of the fi... | "r\"\"\"\n Chebyshev polynomial of graph Laplacian applied to vector.\n\n Parameters\n ----------\n G : Graph\n c : ndarray or list of ndarrays\n Chebyshev coefficients for a Filter or a Filterbank\n signal : ndarray\n Signal to filter\n\n Returns\n -------\n r : ndarray\n ... | 617 | false | epfl-lts2/pygsp | cheby_op | 23,065 | |
LDU_FT/mushkevych/scheduler/validate | LDU_FT | [
"<BEGIN>\n## `_process_state_embryo`",
"method that takes care of processing job records in STATE_EMBRYO state\n<END>",
"<BEGIN>\n## `_process_state_in_progress`",
"method that takes care of processing job records in STATE_IN_PROGRESS state\n<END>",
"<BEGIN>\n## `__process_non_finalizable_job`",
"method h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | method starts validation of the tree.
@see TreeNode.validate | "method starts validation of the tree.\n @see TreeNode.validate" | 335 | false | mushkevych/scheduler | validate | 23,066 | |
LDU_FT/TC01/calcpkg/getNumDownloads | 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 getNumDownloads API.
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 getNumDownloads API.
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 number of times a file has been downloaded | "Function to get the number of times a file has been downloaded" | 62 | false | TC01/calcpkg | getNumDownloads | 23,067 | |
LDU_FT/sepandhaghighi/pycm/overall_CEN_calc | LDU_FT | [
"<BEGIN>\n## `print_report`",
"Print Compare report.",
" :return: None\n<END>",
"<BEGIN>\n## `save_report`",
"Save Compare report in .comp (flat file format).",
" :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overall_CEN_calc API.
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 overall_CEN_calc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calculate Overall_CEN (Overall confusion entropy).
:param classes: classes
:type classes : list
:param TP: true positive dict for all classes
:type TP : dict
:param TOP: test outcome positive
:type TOP : dict
:param P: condition positive
:type P : dict
:param CEN_dict: CEN dictionar... | "Calculate Overall_CEN (Overall confusion entropy).\n\n :param classes: classes\n :type classes : list\n :param TP: true positive dict for all classes\n :type TP : dict\n :param TOP: test outcome positive\n :type TOP : dict\n :param P: condition positive\n :type P : dict\n :param CEN_dict: CE... | 259 | false | sepandhaghighi/pycm | overall_CEN_calc | 23,068 | |
LDU_FT/googleapis/google-cloud-python/process | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Process a single, partitioned query or read.
:type batch: mapping
:param batch:
one of the mappings returned from an earlier call to
:meth:`generate_query_batches`.
:rtype: :class:`~google.cloud.spanner_v1.streamed.StreamedResultSet`
:returns: a result set insta... | "Process a single, partitioned query or read.\n\n :type batch: mapping\n :param batch:\n one of the mappings returned from an earlier call to\n :meth:`generate_query_batches`.\n\n :rtype: :class:`~google.cloud.spanner_v1.streamed.StreamedResultSet`\n :returns: a result ... | 7,029 | true | googleapis/google-cloud-python | process | 23,069 | |
LDU_FT/facetoe/zenpy/_set_dirty | LDU_FT | [
"<BEGIN>\n## `agents`",
"| Description: IDs of agents involved in the chat\n<END>",
"<BEGIN>\n## `department`",
"| Description: The ID of the department to which the chat is directed\n<END>",
"<BEGIN>\n## `zendesk_ticket`",
"| Description: The ID of the Zendesk Support ticket created from this chat. Av... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_dirty API.
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_dirty API.
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... | Recursively set self and all child objects _dirty flag. | "Recursively set self and all child objects _dirty flag." | 321 | false | facetoe/zenpy | _set_dirty | 23,070 | |
LDU_FT/aiortc/aioice/refresh | LDU_FT | [
"<BEGIN>\n## `create_turn_endpoint`",
"Create datagram connection relayed over TURN.\n<END>",
"<BEGIN>\n## `refresh`",
"Periodically refresh the TURN allocation.\n<END>",
"<BEGIN>\n## `request`",
"Execute a STUN transaction and return the response.\n<END>",
"<BEGIN>\n## `send_data`",
"Send data to a r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API.
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 refresh API.
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... | Periodically refresh the TURN allocation. | "Periodically refresh the TURN allocation." | 61 | false | aiortc/aioice | refresh | 23,071 | |
LDU_FT/ejeschke/ginga/add_clock | LDU_FT | [
"<BEGIN>\n## `set_figure`",
"Call this with the matplotlib Figure() object.\n<END>",
"<BEGIN>\n## `render_image1`",
"Render the image represented by (rgbobj) at dst_x, dst_y\n in the pixel space.",
" NOTE: this version uses a Figure.FigImage to render the image.\n<END>",
"<BEGIN>\n## `render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_clock API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_clock API.
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... | Add a clock to the grid. `timezone` is a string representing
a valid timezone. | "Add a clock to the grid. `timezone` is a string representing\n a valid timezone." | 1,455 | true | ejeschke/ginga | add_clock | 23,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.