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/tarmstrong/nbdiff/diff_result_to_cell | LDU_FT | [
"<BEGIN>\n## `merge`",
"Generate unmerged series of changes (including conflicts).",
" By diffing the two diffs, we find *changes* that are\n on the local branch, the remote branch, or both.\n We arbitrarily choose the \"local\" branch to be the \"before\"\n and the \"remote\" branch to be the \"aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_result_to_cell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_result_to_cell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | diff.diff returns a dictionary with all the information we need,
but we want to extract the cell and change its metadata. | "diff.diff returns a dictionary with all the information we need,\n but we want to extract the cell and change its metadata." | 41 | false | tarmstrong/nbdiff | diff_result_to_cell | 29,873 | |
LDU_FT/Azure/azure-cosmos-python/ReplaceAttachment | LDU_FT | [
"<BEGIN>\n## `ShouldRetry`",
"Returns true if should retry based on the passed-in exception.",
" :param (errors.HTTPFailure instance) exception:",
" :rtype:\n boolean\n<END>",
"<BEGIN>\n## `ExplicitlyExcludeFromIndex`",
"The default index policy on a DocumentContainer will AUTOMAT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ReplaceAttachment API.
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 ReplaceAttachment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Replaces an attachment and returns it.
:param str attachment_link:
The link to the attachment.
:param dict attachment:
:param dict options:
The request options for the request.
:return:
The replaced Attachment
:rtype:
dict | "Replaces an attachment and returns it.\n\n :param str attachment_link:\n The link to the attachment.\n :param dict attachment:\n :param dict options:\n The request options for the request.\n\n :return:\n The replaced Attachment\n :rtype:\n ... | 574 | false | Azure/azure-cosmos-python | ReplaceAttachment | 29,874 | |
LDU_FT/networks-lab/tidyextractors/extract_log | LDU_FT | [
"<BEGIN>\n## `_col_type_set`",
"Determines the set of types present in a DataFrame column.",
" :param str col: A column name.\n :param pandas.DataFrame df: The dataset. Usually ``self._data``.\n :return: A set of Types.\n<END>",
"<BEGIN>\n## `_drop_collections`",
"Drops columns containi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_log API.
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 extract_log API.
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... | Extracts Git commit test_data from a local repository.
:param rpath: The path to a local Git repo.
:param extract: A list of attribute name strings.
:return: A Pandas dataframe containing Git commit test_data. | "Extracts Git commit test_data from a local repository.\n :param rpath: The path to a local Git repo.\n :param extract: A list of attribute name strings.\n :return: A Pandas dataframe containing Git commit test_data." | 81 | false | networks-lab/tidyextractors | extract_log | 29,875 | |
LDU_FT/linkedin/asciietch/_scale_x_values_timestamps | LDU_FT | [
"<BEGIN>\n## `_scale_x_values_timestamps`",
"Scale X values to new width based on timestamps\n<END>",
"<BEGIN>\n## `_scale_y_values`",
"Take values and transmute them into a new range\n<END>",
"<BEGIN>\n## `_get_ascii_field`",
"Create a representation of an ascii graph using two lists in this format: fiel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scale_x_values_timestamps 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 _scale_x_values_timestamps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Scale X values to new width based on timestamps | "Scale X values to new width based on timestamps" | 12 | false | linkedin/asciietch | _scale_x_values_timestamps | 29,876 | |
LDU_FT/jasonrbriggs/proton/hide | LDU_FT | [
"<BEGIN>\n## `get_template`",
"Return a copy of the template with the specified name. If not found, or an error occurs\n during the load, return None.\n<END>",
"<BEGIN>\n## `check_element`",
"Given an element, check its attributes for references to the three proton attributes ('eid', 'aid' and 'rid').\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hide API.
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 hide API.
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... | Hide the element with the matching eid. If no match, look for an element with a matching rid. | "Hide the element with the matching eid. If no match, look for an element with a matching rid." | 22 | false | jasonrbriggs/proton | hide | 29,877 | |
LDU_FT/asifpy/django-crudbuilder/construct_formset | LDU_FT | [
"<BEGIN>\n## `extract_args`",
"Takes any arguments like a model and crud, or just one of\n those, in any order, and return a model and crud.\n<END>",
"<BEGIN>\n## `register`",
"Register a crud.",
" Two unordered arguments are accepted, at least one should be passed:\n - a model,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_formset API.
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 construct_formset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns an instance of the inline formset | "Returns an instance of the inline formset" | 31 | false | asifpy/django-crudbuilder | construct_formset | 29,878 | |
LDU_FT/ga4gh/ga4gh-server/setup_authentication_methods | LDU_FT | [
"<BEGIN>\n## `VerifierMiddleware`",
"Common wrapper for the authentication modules.\n * Parses the request before passing it on to the authentication module.\n * Sets 'pyoidc' cookie if authentication succeeds.\n * Redirects the user to complete the authentication.\n * Allows the user ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_authentication_methods 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 setup_authentication_methods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Add all authentication methods specified in the configuration. | "Add all authentication methods specified in the configuration." | 768 | false | ga4gh/ga4gh-server | setup_authentication_methods | 29,879 | |
LDU_FT/sckott/habanero/works | LDU_FT | [
"<BEGIN>\n## `works`",
"Search Crossref works",
" :param ids: [Array] DOIs (digital object identifier) or other identifiers\n :param query: [String] A query string\n :param filter: [Hash] Filter options. See examples for usage.\n Accepts a dict, with filter names and their values... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the works API.
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 works API.
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... | Search Crossref works
:param ids: [Array] DOIs (digital object identifier) or other identifiers
:param query: [String] A query string
:param filter: [Hash] Filter options. See examples for usage.
Accepts a dict, with filter names and their values. For repeating filter names
... | "Search Crossref works\n\n :param ids: [Array] DOIs (digital object identifier) or other identifiers\n :param query: [String] A query string\n :param filter: [Hash] Filter options. See examples for usage.\n Accepts a dict, with filter names and their values. For repeating filter names\n ... | 84 | false | sckott/habanero | works | 29,880 | |
LDU_FT/ARMmbed/mbed-cloud-sdk-python/campaign_name | LDU_FT | [
"<BEGIN>\n## `add_resource_subscription`",
"Subscribe to a resource path # noqa: E501",
"The Device Management Connect eventing model consists of observable resources. This means that endpoints can deliver updated resource content, periodically or with a more sophisticated solution-dependent logic. The OMA LwM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the campaign_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the campaign_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Sets the campaign_name of this ServicePackageQuotaHistoryReservation.
Textual campaign name for this reservation.
:param campaign_name: The campaign_name of this ServicePackageQuotaHistoryReservation.
:type: str | "Sets the campaign_name of this ServicePackageQuotaHistoryReservation.\n Textual campaign name for this reservation.\n\n :param campaign_name: The campaign_name of this ServicePackageQuotaHistoryReservation.\n :type: str" | 1,479 | true | ARMmbed/mbed-cloud-sdk-python | campaign_name | 29,881 | |
LDU_FT/bitprophet/ssh/_send_kex_init | LDU_FT | [
"<BEGIN>\n## `start_client`",
"Negotiate a new SSH2 session as a client. This is the first step after\n creating a new L{Transport}. A separate thread is created for protocol\n negotiation.",
" If an event is passed in, this method returns immediately. When\n negotiation is done (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_kex_init API.
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 _send_kex_init API.
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... | announce to the other side that we'd like to negotiate keys, and what
kind of key negotiation we support. | "announce to the other side that we'd like to negotiate keys, and what\n kind of key negotiation we support." | 272 | false | bitprophet/ssh | _send_kex_init | 29,882 | |
LDU_FT/koszullab/metaTOR/despeckle_local | LDU_FT | [
"<BEGIN>\n## `download_and_install_dependencies`",
"Setup URLS and download dependencies for Python 3.6+\n<END>",
"<BEGIN>\n## `main`",
"This module just acts as an entry point to the bulk of the pipeline.\n All argument parsing is delegated to metator.sh\n<END>",
"<BEGIN>\n## `rename_genome`",
"Rename... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the despeckle_local API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the despeckle_local API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Replace outstanding values (above stds standard deviations)
in a matrix by the average of a surrounding window of desired width. | "Replace outstanding values (above stds standard deviations)\n in a matrix by the average of a surrounding window of desired width." | 180 | false | koszullab/metaTOR | despeckle_local | 29,883 | |
LDU_FT/9b/google-alerts/_logger | LDU_FT | [
"<BEGIN>\n## `obfuscate`",
"Obfuscate the auth details to avoid easy snatching.",
" It's best to use a throw away account for these alerts to avoid having\n your authentication put at risk by storing it locally.\n<END>",
"<BEGIN>\n## `_config_bootstrap`",
"Go through and establish the defaults on the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Create a logger to be used between processes.
:returns: Logging instance. | "Create a logger to be used between processes.\n\n :returns: Logging instance." | 23 | false | 9b/google-alerts | _logger | 29,884 | |
LDU_FT/pricingassistant/mrq/work_once | LDU_FT | [
"<BEGIN>\n## `group_iter`",
"Given an iterator, it returns sub-lists made of n items.\n (except the last that can have len < n)\n<END>",
"<BEGIN>\n## `memoize`",
"Memoization decorator for a function taking one or more arguments.\n<END>",
"<BEGIN>\n## `memoize_single_argument`",
"Memoization decorator ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the work_once API.
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 work_once API.
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... | Does one lookup for new jobs, inside the inner work loop | "Does one lookup for new jobs, inside the inner work loop" | 123 | false | pricingassistant/mrq | work_once | 29,885 | |
LDU_FT/arne-cl/discoursegraphs/__gen_token_anno_file | LDU_FT | [
"<BEGIN>\n## `merging_cli`",
"simple commandline interface of the merging module.",
" This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>",
"<BEGIN>\n## `add_node_ids_as_labels`",
"Adds the ID of each node of a discourse graph as a label (an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __gen_token_anno_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __gen_token_anno_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.
... | creates an etree representation of a <multiFeat> file that describes
all the annotations that only span one token (e.g. POS, lemma etc.).
Note: discoursegraphs will create one token annotation file for each
top level layer (e.g. conano, tiger etc.). | "creates an etree representation of a <multiFeat> file that describes\n all the annotations that only span one token (e.g. POS, lemma etc.).\n\n Note: discoursegraphs will create one token annotation file for each\n top level layer (e.g. conano, tiger etc.)." | 846 | false | arne-cl/discoursegraphs | __gen_token_anno_file | 29,886 | |
LDU_FT/bitesofcode/projexui/goHome | LDU_FT | [
"<BEGIN>\n## `addEntry`",
"Creates a new entry item for this widget.\r",
" :param key | <str>\r\n value | <variant>\n<END>",
"<BEGIN>\n## `dictionary`",
"Returns a dictionary of the key/value pairing for the items in\r\n this widget.\r",
" :return {<s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the goHome API.
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 goHome API.
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 ... | Goes to the home url. If there is no home url specifically set, then \
this will go to the first url in the history. Otherwise, it will \
look to see if the home url is in the stack and go to that level, if \
the home url is not found, then it will be pushed to the top of the \
stack u... | "Goes to the home url. If there is no home url specifically set, then \\\n this will go to the first url in the history. Otherwise, it will \\\n look to see if the home url is in the stack and go to that level, if \\\n the home url is not found, then it will be pushed to the top of the \\\n ... | 4,917 | true | bitesofcode/projexui | goHome | 29,887 | |
LDU_FT/dnouri/nolearn/plot_conv_activity | LDU_FT | [
"<BEGIN>\n## `plot_conv_weights`",
"Plot the weights of a specific layer.",
" Only really makes sense with convolutional layers.",
" Parameters\n ----------\n layer : lasagne.layers.Layer\n<END>",
"<BEGIN>\n## `plot_conv_activity`",
"Plot the acitivities of a specific layer.",
" Only real... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_conv_activity 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 plot_conv_activity 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... | Plot the acitivities of a specific layer.
Only really makes sense with layers that work 2D data (2D
convolutional layers, 2D pooling layers ...).
Parameters
----------
layer : lasagne.layers.Layer
x : numpy.ndarray
Only takes one sample at a time, i.e. x.shape[0] == 1. | "Plot the acitivities of a specific layer.\n\n Only really makes sense with layers that work 2D data (2D\n convolutional layers, 2D pooling layers ...).\n\n Parameters\n ----------\n layer : lasagne.layers.Layer\n\n x : numpy.ndarray\n Only takes one sample at a time, i.e. x.shape[0] == 1." | 64 | false | dnouri/nolearn | plot_conv_activity | 29,888 | |
LDU_FT/bronto/javasphinx/compile | LDU_FT | [
"<BEGIN>\n## `find_source_files`",
"Get a list of filenames for all Java source files within the given\n directory.\n<END>",
"<BEGIN>\n## `__default_filter`",
"Excludes private members and those tagged \"@hide\" / \"@exclude\" in their\n docblocks.\n<END>",
"<BEGIN>\n## `__output_see`",
"Convert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API.
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 compile API.
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... | Compile autodocs for the given Java syntax tree. Documents will be
returned documenting each separate type. | "Compile autodocs for the given Java syntax tree. Documents will be\n returned documenting each separate type." | 13 | false | bronto/javasphinx | compile | 29,889 | |
LDU_FT/nickjj/ansigenome/file_to_list | LDU_FT | [
"<BEGIN>\n## `epilogue`",
"Return the epilogue for the help command.\n<END>",
"<BEGIN>\n## `command_name`",
"Return a snippet of help text for this command.\n<END>",
"<BEGIN>\n## `has_colors`",
"Determine if the terminal supports ansi colors.\n<END>",
"<BEGIN>\n## `file_to_string`",
"Return the conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_to_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_to_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 extr... | Return the contents of a file as a list when given a path. | "Return the contents of a file as a list when given a path." | 58 | false | nickjj/ansigenome | file_to_list | 29,890 | |
LDU_FT/staugur/Flask-PluginKit/__scanPlugins | LDU_FT | [
"<BEGIN>\n## `push_dcp`",
"Push a callable for :class:`~flask_pluginkit.PluginManager`, :func:`push_dcp`.",
" Example usage::",
" push_dcp('demo', lambda:'Hello dcp')",
" .. versionadded:: 2.1.0\n<END>",
"<BEGIN>\n## `__scanPlugins`",
"Scanning local plugin directories and third-party plugi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __scanPlugins API.
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 __scanPlugins API.
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... | Scanning local plugin directories and third-party plugin packages.
:returns: No return, but self.__plugins will be updated
:raises: PluginError: raises an exception, maybe CSSLoadError, VersionError, based PluginError | "Scanning local plugin directories and third-party plugin packages.\n\n :returns: No return, but self.__plugins will be updated\n\n :raises: PluginError: raises an exception, maybe CSSLoadError, VersionError, based PluginError" | 128 | false | staugur/Flask-PluginKit | __scanPlugins | 29,891 | |
LDU_FT/elastic/elasticsearch-dsl-py/remove_connection | LDU_FT | [
"<BEGIN>\n## `scan_aggs`",
"Helper function used to iterate over all possible bucket combinations of\n ``source_aggs``, returning results of ``inner_aggs`` for each. Uses the\n ``composite`` aggregation under the hood to perform this.\n<END>",
"<BEGIN>\n## `clean`",
"Automatically construct the suggesti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_connection API.
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 remove_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Remove connection from the registry. Raises ``KeyError`` if connection
wasn't found. | "Remove connection from the registry. Raises ``KeyError`` if connection\n wasn't found." | 257 | false | elastic/elasticsearch-dsl-py | remove_connection | 29,892 | |
LDU_FT/mapillary/mapillary_tools/decimal_to_dms | LDU_FT | [
"<BEGIN>\n## `convert_from_gps_time`",
"Convert gps time in ticks to standard time.\n<END>",
"<BEGIN>\n## `upload`",
"Upload local images to Mapillary\n Args:\n import_path: Directory path to where the images are stored.\n verbose: Print extra warnings and errors.\n skip_subfolders: Sk... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decimal_to_dms API.
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 decimal_to_dms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert decimal position to degrees, minutes, seconds in a fromat supported by EXIF | "Convert decimal position to degrees, minutes, seconds in a fromat supported by EXIF" | 96 | false | mapillary/mapillary_tools | decimal_to_dms | 29,893 | |
LDU_FT/noobermin/pys/parse_ctuple | LDU_FT | [
"<BEGIN>\n## `conv`",
"essentially, the generalization of",
" arg if arg else default",
" or",
" func(arg) if arg else default\n<END>",
"<BEGIN>\n## `filelines`",
"read lines from a file into lines...optional strip\n<END>",
"<BEGIN>\n## `parse_utuple`",
"parse a string into a list of a unif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_ctuple API.
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 parse_ctuple API.
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... | parse a string of acceptable colors into matplotlib, that is, either
strings, or three tuples of rgb. Don't quote strings. | "parse a string of acceptable colors into matplotlib, that is, either\n strings, or three tuples of rgb. Don't quote strings." | 37 | false | noobermin/pys | parse_ctuple | 29,894 | |
LDU_FT/bjodah/pycompilation/compile_link_import_py_ext | LDU_FT | [
"<BEGIN>\n## `compile_sources`",
"Compile source code files to object files.",
" Parameters\n ----------\n files: iterable of path strings\n source files, if cwd is given, the paths are taken as relative.\n CompilerRunner_: CompilerRunner instance (optional)\n could be e.g. pycompilati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_link_import_py_ext 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 compile_link_import_py_ext API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Compiles sources in `srcs` to a shared object (python extension)
which is imported. If shared object is newer than the sources, they
are not recompiled but instead it is imported.
Parameters
----------
srcs: string
list of paths to sources
extname: string
name of extension (defa... | "Compiles sources in `srcs` to a shared object (python extension)\n which is imported. If shared object is newer than the sources, they\n are not recompiled but instead it is imported.\n\n Parameters\n ----------\n srcs: string\n list of paths to sources\n extname: string\n name of exten... | 71 | false | bjodah/pycompilation | compile_link_import_py_ext | 29,895 | |
LDU_FT/eleme/meepo/_redis_strict_pc | LDU_FT | [
"<BEGIN>\n## `zmq_sub`",
"0mq fanout sub.",
" This sub will use zeromq to fanout the events.",
" :param bind: the zmq pub socket or zmq device socket.\n :param tables: the events of tables to follow.\n :param forwarder: set to True if zmq pub to a forwarder device.\n :param green: weather to us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _redis_strict_pc API.
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 _redis_strict_pc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Strict deco for RedisPrepareCommit
The deco will choose whether to silent exception or not based on the
strict attr in RedisPrepareCommit object. | "Strict deco for RedisPrepareCommit\n\n The deco will choose whether to silent exception or not based on the\n strict attr in RedisPrepareCommit object." | 110 | false | eleme/meepo | _redis_strict_pc | 29,896 | |
LDU_FT/bear/ronkyuu/findMentions | LDU_FT | [
"<BEGIN>\n## `findMentions`",
"Find all <a /> elements in the given html for a post. Only scan html element matching all criteria in look_in.",
" optionally the content to be scanned can be given as an argument.",
" If any have an href attribute that is not from the\n one of the items in exclude_doma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findMentions API.
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 findMentions API.
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... | Find all <a /> elements in the given html for a post. Only scan html element matching all criteria in look_in.
optionally the content to be scanned can be given as an argument.
If any have an href attribute that is not from the
one of the items in exclude_domains, append it to our lists.
:param sourc... | "Find all <a /> elements in the given html for a post. Only scan html element matching all criteria in look_in.\n\n optionally the content to be scanned can be given as an argument.\n\n If any have an href attribute that is not from the\n one of the items in exclude_domains, append it to our lists.\n\n :par... | 26 | false | bear/ronkyuu | findMentions | 29,897 | |
LDU_FT/rjdkmr/do_x3dna/_calcEnergyBendStretchTwist | LDU_FT | [
"<BEGIN>\n## `checkParametersInputFile`",
"Check the do_x3dna output file and return list of parameters present in the file.\n<END>",
"<BEGIN>\n## `setParametersFromFile`",
"Read a specific parameter from the do_x3dna output file.\n It automatically load the input parameter from a file to dna object or HDF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calcEnergyBendStretchTwist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calcEnergyBendStretchTwist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | r"""Calculate energy for ``esType='BST'`` using a difference vector.
It is called in :meth:`dnaEY.getGlobalDeformationEnergy` for energy calculation of each frame.
Parameters
----------
diff : numpy.ndarray
Array of difference between minimum and current parameter values.
... | "r\"\"\"Calculate energy for ``esType='BST'`` using a difference vector.\n\n It is called in :meth:`dnaEY.getGlobalDeformationEnergy` for energy calculation of each frame.\n\n Parameters\n ----------\n diff : numpy.ndarray\n Array of difference between minimum and current paramete... | 391 | false | rjdkmr/do_x3dna | _calcEnergyBendStretchTwist | 29,898 | |
LDU_FT/NikolayDachev/jadm/send_stderr | LDU_FT | [
"<BEGIN>\n## `recv`",
"Read from the standard output of the forked program.",
" :param int size: how many chars should be read",
" :return: the length of the read content, as an `int`\n<END>",
"<BEGIN>\n## `generate`",
"Generate a new private DSS key. This factory function can be used to\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_stderr API.
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 send_stderr API.
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... | Send data to the channel on the "stderr" stream. This is normally
only used by servers to send output from shell commands -- clients
won't use this. Returns the number of bytes sent, or 0 if the channel
stream is closed. Applications are responsible for checking that all
data has been... | "Send data to the channel on the \"stderr\" stream. This is normally\n only used by servers to send output from shell commands -- clients\n won't use this. Returns the number of bytes sent, or 0 if the channel\n stream is closed. Applications are responsible for checking that all\n data h... | 141 | false | NikolayDachev/jadm | send_stderr | 29,899 | |
LDU_FT/anlutro/russell/make_link | LDU_FT | [
"<BEGIN>\n## `from_string`",
"Given a markdown string, create an Entry object.",
"\t\tUsually subclasses will want to customize the parts of the markdown\n\t\twhere you provide values for attributes like public - this can be done\n\t\tby overriding the process_meta method.\n<END>",
"<BEGIN>\n## `process_meta`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_link API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_link API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Make a HTML link out of an URL.
Args:
title (str): Text to show for the link.
url (str): URL the link will point to.
blank (bool): If True, appends target=_blank, noopener and noreferrer to
the <a> element. Defaults to False. | "Make a HTML link out of an URL.\n\n\tArgs:\n\t title (str): Text to show for the link.\n\t url (str): URL the link will point to.\n\t blank (bool): If True, appends target=_blank, noopener and noreferrer to\n\t the <a> element. Defaults to False." | 48 | false | anlutro/russell | make_link | 29,900 | |
LDU_FT/biplap-sarkar/pylimit/__can_attempt | LDU_FT | [
"<BEGIN>\n## `get_connection`",
"Gets a StrictRedis connection for normal redis or for redis sentinel based upon redis mode in configuration.",
" :type is_read_only: bool\n :param is_read_only: In case of redis sentinel, it returns connection to slave",
" :return: Returns a StrictRedis co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __can_attempt API.
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 __can_attempt API.
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... | Checks if a namespace is rate limited or not with including/excluding the current call
:param namespace: Rate limiting namespace
:type namespace: str
:param add_attempt: Boolean value indicating if the current call should be considered as an attempt or not
:type add_attempt: bool
... | "Checks if a namespace is rate limited or not with including/excluding the current call\n\n :param namespace: Rate limiting namespace\n :type namespace: str\n\n :param add_attempt: Boolean value indicating if the current call should be considered as an attempt or not\n :type add_attempt: boo... | 23 | false | biplap-sarkar/pylimit | __can_attempt | 29,901 | |
LDU_FT/PSPC-SPAC-buyandsell/von_anchor/refresh | LDU_FT | [
"<BEGIN>\n## `least_role`",
"Return the TRUSTEE indy-sdk role for an anchor acting in an AnchorSmith capacity.",
" :return: TRUSTEE role\n<END>",
"<BEGIN>\n## `send_nym`",
"Send input anchor's cryptonym (including DID, verification key, plus optional alias and role)\n to the distributed ledger... | 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... | Refresh local copy of pool ledger and update node pool connections. | "Refresh local copy of pool ledger and update node pool connections." | 734 | false | PSPC-SPAC-buyandsell/von_anchor | refresh | 29,902 | |
LDU_FT/SpikeInterface/spiketoolkit/do_matching | LDU_FT | [
"<BEGIN>\n## `compute_agreement_score`",
"Agreement score is used as a criteria to match unit1 and unit2.\n<END>",
"<BEGIN>\n## `do_matching`",
"This compute the matching between 2 sorters.",
" Parameters\n ----------\n sorting1: SortingExtractor instance",
" sorting2: SortingExtractor instanc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_matching API.
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 do_matching API.
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... | This compute the matching between 2 sorters.
Parameters
----------
sorting1: SortingExtractor instance
sorting2: SortingExtractor instance
delta_tp: int
Output
----------
event_counts_1:
event_counts_2
matching_event_counts_12:
bes... | "This compute the matching between 2 sorters.\n \n Parameters\n ----------\n sorting1: SortingExtractor instance\n \n sorting2: SortingExtractor instance\n \n delta_tp: int\n \n \n Output\n ----------\n \n event_counts_1:\n \n event_counts_2\n \n matching_event_coun... | 83 | false | SpikeInterface/spiketoolkit | do_matching | 29,903 | |
LDU_FT/penguinmenac3/starttf/load_graph | LDU_FT | [
"<BEGIN>\n## `easy_train_and_evaluate`",
"Train and evaluate your model without any boilerplate code.",
" 1) Write your data using the starttf.tfrecords.autorecords.write_data method.\n 2) Create your hyper parameter file containing all required fields and then load it using\n starttf.utils.hyper_p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_graph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_graph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Loads a frozen graph from a *.pb file.
:param frozen_graph_filename: The file which graph to load.
:param namespace_prefix: A namespace for your graph to live in. This is useful when having multiple models.
:param placeholders: A dict containing the new placeholders that replace the old inputs.
:return:... | "Loads a frozen graph from a *.pb file.\n :param frozen_graph_filename: The file which graph to load.\n :param namespace_prefix: A namespace for your graph to live in. This is useful when having multiple models.\n :param placeholders: A dict containing the new placeholders that replace the old inputs.\n :re... | 120 | false | penguinmenac3/starttf | load_graph | 29,904 | |
LDU_FT/pantsbuild/pex/cache_distribution | LDU_FT | [
"<BEGIN>\n## `isolated`",
"Returns a chroot for third_party isolated from the ``sys.path``.",
" PEX will typically be installed in site-packages flat alongside many other distributions; as such,\n adding the location of the pex distribution to the ``sys.path`` will typically expose many other\n distributions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_distribution 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 cache_distribution 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... | Possibly cache an egg from within a zipfile into target_cache.
Given a zipfile handle and a filename corresponding to an egg distribution within
that zip, maybe write to the target cache and return a Distribution. | "Possibly cache an egg from within a zipfile into target_cache.\n\n Given a zipfile handle and a filename corresponding to an egg distribution within\n that zip, maybe write to the target cache and return a Distribution." | 385 | false | pantsbuild/pex | cache_distribution | 29,905 | |
LDU_FT/iron-io/iron_mq_python/clear | LDU_FT | [
"<BEGIN>\n## `info`",
"Execute an HTTP request to get details on a queue, and\n return it.\n<END>",
"<BEGIN>\n## `clear`",
"Executes an HTTP request to clear all contents of a queue.\n<END>",
"<BEGIN>\n## `delete`",
"Execute an HTTP request to delete a message from queue.",
" Arguments:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
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 clear API.
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... | Executes an HTTP request to clear all contents of a queue. | "Executes an HTTP request to clear all contents of a queue." | 28 | false | iron-io/iron_mq_python | clear | 29,906 | |
LDU_FT/biocore/mustached-octo-ironman/_action_get | LDU_FT | [
"<BEGIN>\n## `on_message`",
"Accept a message that was published, process and forward",
" Parameters\n ----------\n msg : str\n The message sent over the line",
" Notes\n -----\n This method only handles messages where `message_type` is \"message\".\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _action_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _action_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 extra... | Get the details for ids
Parameters
----------
ids : {list, set, tuple, generator} of str
The IDs to get
Notes
-----
If ids is empty, then all IDs are returned.
Returns
-------
list of dict
The details of the jobs | "Get the details for ids\n\n Parameters\n ----------\n ids : {list, set, tuple, generator} of str\n The IDs to get\n\n Notes\n -----\n If ids is empty, then all IDs are returned.\n\n Returns\n -------\n list of dict\n The details of th... | 68 | false | biocore/mustached-octo-ironman | _action_get | 29,907 | |
LDU_FT/kappius/pyheaderfile/_login | LDU_FT | [
"<BEGIN>\n## `guess_type`",
"Utility function to call classes based on filename extension.\n Just usefull if you are reading the file and don't know file extension.\n You can pass kwargs and these args are passed to class only if they are\n used in class.\n<END>",
"<BEGIN>\n## `write`",
":param args:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Login with your Google account
:return: | "Login with your Google account\n :return:" | 18 | false | kappius/pyheaderfile | _login | 29,908 | |
LDU_FT/kolypto/py-exdoc/_model_columns | LDU_FT | [
"<BEGIN>\n## `_model_columns`",
"Get columns info",
" :type ins: sqlalchemy.orm.mapper.Mapper\n :rtype: list[SaColumnDoc]\n<END>",
"<BEGIN>\n## `_model_foreign`",
"Get foreign keys info",
" :type ins: sqlalchemy.orm.mapper.Mapper\n :rtype: list[SaForeignkeyDoc]\n<END>",
"<BEGIN>\n## `_model_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _model_columns API.
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 _model_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get columns info
:type ins: sqlalchemy.orm.mapper.Mapper
:rtype: list[SaColumnDoc] | "Get columns info\n\n :type ins: sqlalchemy.orm.mapper.Mapper\n :rtype: list[SaColumnDoc]" | 58 | false | kolypto/py-exdoc | _model_columns | 29,909 | |
LDU_FT/vladcalin/gemstone/dynamic_load | LDU_FT | [
"<BEGIN>\n## `parse_json_structure`",
"Given a raw representation of a json structure, returns the parsed corresponding data\n structure (``JsonRpcRequest`` or ``JsonRpcRequestBatch``)",
" :param string_item:\n :return:\n<END>",
"<BEGIN>\n## `from_dict`",
"Validates a dict instance and transforms i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dynamic_load API.
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 dynamic_load API.
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... | Dynamically loads a class or member of a class.
If ``module_or_member`` is something like ``"a.b.c"``, will perform ``from a.b import c``.
If ``module_or_member`` is something like ``"a"`` will perform ``import a``
:param module_or_member: the name of a module or member of a module to import.
:return... | "Dynamically loads a class or member of a class.\n\n If ``module_or_member`` is something like ``\"a.b.c\"``, will perform ``from a.b import c``.\n\n If ``module_or_member`` is something like ``\"a\"`` will perform ``import a``\n\n :param module_or_member: the name of a module or member of a module to import.\... | 107 | false | vladcalin/gemstone | dynamic_load | 29,910 | |
LDU_FT/jleclanche/fireplace/trigger | LDU_FT | [
"<BEGIN>\n## `get_spell_damage`",
"Returns the amount of damage \\a amount will do, taking\n\t\tSPELLPOWER and SPELLPOWER_DOUBLE into account.\n<END>",
"<BEGIN>\n## `can_pay_cost`",
"Returns whether the player can pay the resource cost of a card.\n<END>",
"<BEGIN>\n## `pay_cost`",
"Make player pay \\a amo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger API.
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 trigger API.
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 actions as a result of an event listener (TRIGGER) | "Perform actions as a result of an event listener (TRIGGER)" | 52 | false | jleclanche/fireplace | trigger | 29,911 | |
LDU_FT/IdentityPython/pysaml2/d_to_local_name | LDU_FT | [
"<BEGIN>\n## `add_vo_information_about_user`",
"Add information to the knowledge I have about the user. This is\n for Virtual organizations.",
" :param name_id: The subject identifier\n :return: A possibly extended knowledge.\n<END>",
"<BEGIN>\n## `create_authn_request`",
"Creates an au... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the d_to_local_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the d_to_local_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | :param acs: List of AttributeConverter instances
:param attr: an Attribute dictionary
:return: The local attribute name | ":param acs: List of AttributeConverter instances\n :param attr: an Attribute dictionary\n :return: The local attribute name" | 738 | false | IdentityPython/pysaml2 | d_to_local_name | 29,912 | |
LDU_FT/inveniosoftware/invenio-search/active_aliases | LDU_FT | [
"<BEGIN>\n## `index`",
"Query Elasticsearch using Invenio query syntax.\n<END>",
"<BEGIN>\n## `templates`",
"Generate a dictionary with template names and file paths.\n<END>",
"<BEGIN>\n## `register_mappings`",
"Register mappings from a package under given alias.",
" :param alias: The alias.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active_aliases API.
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 active_aliases API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get a filtered list of aliases based on configuration.
Returns aliases and their mappings that are defined in the
`SEARCH_MAPPINGS` config variable. If the `SEARCH_MAPPINGS` is set to
`None` (the default), all aliases are included. | "Get a filtered list of aliases based on configuration.\n\n Returns aliases and their mappings that are defined in the\n `SEARCH_MAPPINGS` config variable. If the `SEARCH_MAPPINGS` is set to\n `None` (the default), all aliases are included." | 52 | false | inveniosoftware/invenio-search | active_aliases | 29,913 | |
LDU_FT/EricCrosson/stump/date | LDU_FT | [
"<BEGIN>\n## `configure`",
"Pass stump a logger to use. If no logger is supplied, a basic logger\n of level INFO will print to stdout.\n<END>",
"<BEGIN>\n## `ret`",
"Automatically log progress on function entry and exit. Default logging\n value: info. The function's return value will be included in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Automatically log progress on function entry and exit with date- and
time- stamp. Default logging value: info.
*Logging with values contained in the parameters of the decorated function*
Message (args[0]) may be a string to be formatted with parameters passed to
the decorated function. Each '{varname}'... | "Automatically log progress on function entry and exit with date- and\n time- stamp. Default logging value: info.\n\n *Logging with values contained in the parameters of the decorated function*\n Message (args[0]) may be a string to be formatted with parameters passed to\n the decorated function. Each '{var... | 53 | false | EricCrosson/stump | date | 29,914 | |
LDU_FT/consbio/ncdjango/auto_memoize | LDU_FT | [
"<BEGIN>\n## `p_binary_operators`",
"conditional : conditional AND condition\n | conditional OR condition\n condition : condition LTE expression\n | condition GTE expression\n | condition LT expression\n | condition GT expression... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_memoize API.
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 auto_memoize API.
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... | Based on django.util.functional.memoize. Automatically memoizes instace methods for the lifespan of an object.
Only works with methods taking non-keword arguments. Note that the args to the function must be usable as
dictionary keys. Also, the first argument MUST be self. This decorator will not work for functi... | "Based on django.util.functional.memoize. Automatically memoizes instace methods for the lifespan of an object.\n Only works with methods taking non-keword arguments. Note that the args to the function must be usable as\n dictionary keys. Also, the first argument MUST be self. This decorator will not work for fun... | 146 | false | consbio/ncdjango | auto_memoize | 29,915 | |
LDU_FT/PeerAssets/pypeerassets/_netname | LDU_FT | [
"<BEGIN>\n## `parse_vote_info`",
"decode vote init tx op_return protobuf message and validate it.\n<END>",
"<BEGIN>\n## `vote_init`",
"initialize vote transaction, must be signed by the deck_issuer privkey\n<END>",
"<BEGIN>\n## `find_vote_casts`",
"find and verify vote_casts on this vote_choice_address\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _netname API.
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 _netname API.
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... | resolute network name,
required because some providers use shortnames and other use longnames. | "resolute network name,\n required because some providers use shortnames and other use longnames." | 86 | false | PeerAssets/pypeerassets | _netname | 29,916 | |
LDU_FT/contentful/contentful-management.py/editor_interfaces | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates an entry with a given ID (optional) and attributes.\n<END>",
"<BEGIN>\n## `create`",
"Creates a webhook with given attributes.\n<END>",
"<BEGIN>\n## `camel_case`",
"Returns a camel-cased version of a string.",
" :param a_string: any :class:`str` object.",
" Usage... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the editor_interfaces API.
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 editor_interfaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Provides access to editor interfaces management methods.
API reference: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/editor-interface
:return: :class:`EditorInterfacesProxy <contentful_management.editor_interfaces_proxy.EditorInterfacesProxy>` object.
... | "Provides access to editor interfaces management methods.\n\n API reference: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/editor-interface\n\n :return: :class:`EditorInterfacesProxy <contentful_management.editor_interfaces_proxy.EditorInterfacesProxy>` object.\n... | 161 | false | contentful/contentful-management.py | editor_interfaces | 29,917 | |
LDU_FT/isambard-uob/ampal/extract_residue_accessibility | LDU_FT | [
"<BEGIN>\n## `write_pdb`",
"Writes a pdb file for a list of residues.",
" Parameters\n ----------\n residues : list\n List of Residue objects.\n chain_id : str\n String of the chain id, defaults to ' '.\n alt_states : bool, optional\n If true, include all occupancy states of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_residue_accessibility API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_residue_accessibility API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Parses rsa file for solvent accessibility for each residue.
Parameters
----------
in_rsa : str
Path to naccess rsa file
path : bool
Indicates if in_rsa is a path or a string
get_total : bool
Indicates if the total accessibility from the file needs to
be extracted. Co... | "Parses rsa file for solvent accessibility for each residue.\n\n Parameters\n ----------\n in_rsa : str\n Path to naccess rsa file\n path : bool\n Indicates if in_rsa is a path or a string\n get_total : bool\n Indicates if the total accessibility from the file needs to\n be ex... | 84 | false | isambard-uob/ampal | extract_residue_accessibility | 29,918 | |
LDU_FT/Kronuz/pyScss/font_url | LDU_FT | [
"<BEGIN>\n## `mix`",
"Mixes together two colors. Specifically, takes the average of each of the\n RGB components, optionally weighted by the given percentage.\n The opacity of the colors is also considered when weighting the components.",
" Specifically, takes the average of each of the RGB components,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the font_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the font_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 extracte... | Generates a path to an asset found relative to the project's font directory.
Passing a true value as the second argument will cause the only the path to
be returned instead of a `url()` function | "Generates a path to an asset found relative to the project's font directory.\n Passing a true value as the second argument will cause the only the path to\n be returned instead of a `url()` function" | 205 | false | Kronuz/pyScss | font_url | 29,919 | |
LDU_FT/jasonrbriggs/stomp.py/ack | LDU_FT | [
"<BEGIN>\n## `attempt_connection`",
"Establish a multicast connection - uses 2 sockets (one for sending, the other for receiving)\n<END>",
"<BEGIN>\n## `process_frame`",
":param Frame f: Frame object\n :param bytes frame_str: Raw frame content\n<END>",
"<BEGIN>\n## `connect`",
":param str username:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ack API.
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 ack API.
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... | Acknowledge 'consumption' of a message by id.
:param str id: identifier of the message
:param str transaction: include the acknowledgement in the specified transaction | "Acknowledge 'consumption' of a message by id.\n\n :param str id: identifier of the message\n :param str transaction: include the acknowledgement in the specified transaction" | 154 | false | jasonrbriggs/stomp.py | ack | 29,920 | |
LDU_FT/pyapi-gitlab/pyapi-gitlab/getmergerequests | LDU_FT | [
"<BEGIN>\n## `login`",
"Logs the user in and setups the header with the private token",
" :param email: Gitlab user Email\n :param user: Gitlab username\n :param password: Gitlab user password\n :return: True if login successful\n :raise: HttpError\n :raise: ValueError\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getmergerequests API.
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 getmergerequests API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get all the merge requests for a project.
:param project_id: ID of the project to retrieve merge requests for
:param page: Page Number
:param per_page: Records per page
:param state: Passes merge request state to filter them by it
:return: list with all the merge requests | "Get all the merge requests for a project.\n\n :param project_id: ID of the project to retrieve merge requests for\n :param page: Page Number\n :param per_page: Records per page\n :param state: Passes merge request state to filter them by it\n :return: list with all the merge requests... | 239 | false | pyapi-gitlab/pyapi-gitlab | getmergerequests | 29,921 | |
LDU_FT/bodylabs/lace/downsampled_mesh | LDU_FT | [
"<BEGIN>\n## `copy`",
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>",
"<BEGIN>\n## `concatenate`",
"Concatenates an arbitrary number of meshes.",
" Currently supports vertices, vertex c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downsampled_mesh API.
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 downsampled_mesh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a downsampled copy of this mesh.
Args:
step: the step size for the sampling
Returns:
a new, downsampled Mesh object.
Raises:
ValueError if this Mesh has faces. | "Returns a downsampled copy of this mesh.\n\n Args:\n step: the step size for the sampling\n\n Returns:\n a new, downsampled Mesh object.\n\n Raises:\n ValueError if this Mesh has faces." | 133 | false | bodylabs/lace | downsampled_mesh | 29,922 | |
LDU_FT/SHDShim/pytheos/speziale_debyetemp | LDU_FT | [
"<BEGIN>\n## `constq_grun`",
"calculate Gruneisen parameter for constant q",
" :param v: unit-cell volume in A^3\n :param v0: unit-cell volume in A^3 at 1 bar\n :param gamma0: Gruneisen parameter at 1 bar\n :param q: logarithmic derivative of Grunseinen parameter\n :return: Gruneisen parameter at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the speziale_debyetemp 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 speziale_debyetemp 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... | calculate Debye temperature for the Speziale equation
:param v: unit-cell volume in A^3
:param v0: unit-cell volume in A^3 at 1 bar
:param gamma0: Gruneisen parameter at 1 bar
:param q0: logarithmic derivative of Gruneisen parameter
:param q1: logarithmic derivative of Gruneisen parameter
:para... | "calculate Debye temperature for the Speziale equation\n\n :param v: unit-cell volume in A^3\n :param v0: unit-cell volume in A^3 at 1 bar\n :param gamma0: Gruneisen parameter at 1 bar\n :param q0: logarithmic derivative of Gruneisen parameter\n :param q1: logarithmic derivative of Gruneisen parameter\n ... | 234 | false | SHDShim/pytheos | speziale_debyetemp | 29,923 | |
LDU_FT/wrboyce/telegrambot/api_method | LDU_FT | [
"<BEGIN>\n## `from_api`",
"Parses a payload from the API, guided by `_api_attrs`\n<END>",
"<BEGIN>\n## `api_method`",
"Returns the api method to `send` the current API Object type\n<END>",
"<BEGIN>\n## `api_payload`",
"Generates a payload ready for submission to the API, guided by `_api_payload`\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_method API.
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 api_method API.
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 the api method to `send` the current API Object type | "Returns the api method to `send` the current API Object type" | 34 | false | wrboyce/telegrambot | api_method | 29,924 | |
LDU_FT/toastdriven/restless/as_view | LDU_FT | [
"<BEGIN>\n## `skip_prepare`",
"A convenience decorator for indicating the raw data should not be prepared.\n<END>",
"<BEGIN>\n## `as_view`",
"Used for hooking up the all endpoints (including custom ones), this\n returns a wrapper function that creates a new instance of the resource\n class & cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a subclass of tornado.web.RequestHandler and
apply required setting. | "Return a subclass of tornado.web.RequestHandler and\n apply required setting." | 94 | false | toastdriven/restless | as_view | 29,925 | |
LDU_FT/sastrarobotics/pyHerkulex/torque_off | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the Herkulex bus",
" Connect to serial port to which Herkulex Servos are attatched",
" Args:\n portname (str): The serial port name\n baudrate (int): The serial port baudrate\n Raises:\n SerialException: Error occured while opening serial port... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the torque_off API.
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 torque_off API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set the torques of Herkulex to zero
In this mode, position control and velocity control
will not work, enable torque before that. Also the
servo shaft is freely movable
Args:
none | "Set the torques of Herkulex to zero\n\n In this mode, position control and velocity control\n will not work, enable torque before that. Also the\n servo shaft is freely movable\n\n Args:\n none" | 102 | false | sastrarobotics/pyHerkulex | torque_off | 29,926 | |
LDU_FT/insomnia-lab/libreant/match | LDU_FT | [
"<BEGIN>\n## `get_def_conf`",
"return default configurations as simple dict\n<END>",
"<BEGIN>\n## `_load_paths`",
"Goes recursevly through the given list of paths\n in order to find and pass all preset files to ```_load_preset()```\n<END>",
"<BEGIN>\n## `_load_preset`",
"load, validate and store a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Check if the given `domain` and `act` are allowed
by this capability | "Check if the given `domain` and `act` are allowed\n by this capability" | 150 | false | insomnia-lab/libreant | match | 29,927 | |
LDU_FT/jazzband/django-axes/user_logged_out | LDU_FT | [
"<BEGIN>\n## `get_cool_off`",
"Return the login cool off time interpreted from settings.AXES_COOLOFF_TIME.",
" The return value is either None or timedelta.",
" Notice that the settings.AXES_COOLOFF_TIME is either None, timedelta, or integer of hours,\n and this function offers a unified _timedelta o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_logged_out API.
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 user_logged_out API.
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... | When user logs out, update the AccessLog related to the user. | "When user logs out, update the AccessLog related to the user." | 94 | false | jazzband/django-axes | user_logged_out | 29,928 | |
LDU_FT/littlemo/moear-package-mobi/parse | LDU_FT | [
"<BEGIN>\n## `item_completed`",
"在正常图片本地化处理管道业务执行完毕后,使用缩略图路径替换原 ``result[path]`` 路径,\n 从而使最终打包时使用缩略图,并根据配置,对缩略图进行灰度处理",
" :param item: 爬取到的数据模型\n :type item: :class:`.MoearPackageMobiItem` or dict\n<END>",
"<BEGIN>\n## `process_item`",
"将从图片处理管道流过的数据模型中的缩略图链接更新到文章中的相应图片 URL 上,\n ... | 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 d... | 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 d... | 从 self.data 中将文章信息格式化为 :class:`.MoearPackageMobiItem` | "从 self.data 中将文章信息格式化为 :class:`.MoearPackageMobiItem`" | 19 | false | littlemo/moear-package-mobi | parse | 29,929 | |
LDU_FT/axialmarket/fsq/remote_trigger_pull | LDU_FT | [
"<BEGIN>\n## `barf`",
"Exit with a log message (usually a fatal error)\n<END>",
"<BEGIN>\n## `done_item`",
"Succeed or fail an item based on the return code of a program\n<END>",
"<BEGIN>\n## `setenv`",
"Set environment, based on item. Usually done in a baby fork\n<END>",
"<BEGIN>\n## `shout`",
"Log ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_trigger_pull 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 remote_trigger_pull 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... | Write a non-blocking byte to a remote trigger fifo, to cause a triggered
scan | "Write a non-blocking byte to a remote trigger fifo, to cause a triggered\n scan" | 99 | false | axialmarket/fsq | remote_trigger_pull | 29,930 | |
LDU_FT/boakley/robotframework-hub/_load_keywords | LDU_FT | [
"<BEGIN>\n## `add`",
"Add a folder, library (.py) or resource file (.robot, .tsv, .txt) to the database\n<END>",
"<BEGIN>\n## `on_change`",
"Respond to changes in the file system",
" This method will be given the path to a file that\n has changed on disk. We need to reload the keywords\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_keywords API.
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 _load_keywords API.
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... | Load a collection of keywords
One of path or libdoc needs to be passed in... | "Load a collection of keywords\n\n One of path or libdoc needs to be passed in..." | 61 | false | boakley/robotframework-hub | _load_keywords | 29,931 | |
LDU_FT/WhereSoftwareGoesToDie/pymarquise/update_source | LDU_FT | [
"<BEGIN>\n## `close`",
"Close the Marquise context, ensuring data is flushed and\n spool files are closed.",
" This should always be closed explicitly, as there's no\n guarantees that it will happen when the instance is deleted.\n<END>",
"<BEGIN>\n## `send_simple`",
"Queue a simple data... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Pack the `metadata_dict` for an `address` into a data structure and ship it to the spool file.
Arguments:
address -- the address for which this metadata_dict applies.
metadata_dict -- a Python dict of arbitrary string key-value pairs. | "Pack the `metadata_dict` for an `address` into a data structure and ship it to the spool file.\n\n Arguments:\n address -- the address for which this metadata_dict applies.\n metadata_dict -- a Python dict of arbitrary string key-value pairs." | 20 | false | WhereSoftwareGoesToDie/pymarquise | update_source | 29,932 | |
LDU_FT/nephila/django-knocker/ws_connect | LDU_FT | [
"<BEGIN>\n## `notify_items`",
"Signal endpoint that actually sends knocks whenever an instance is created / saved\n<END>",
"<BEGIN>\n## `active_knocks`",
"Checks whether knocks are enabled for the model given as argument",
" :param obj: model instance\n :return True if knocks are active\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ws_connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ws_connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Channels connection setup.
Register the current client on the related Group according to the language | "Channels connection setup.\n Register the current client on the related Group according to the language" | 16 | false | nephila/django-knocker | ws_connect | 29,933 | |
LDU_FT/edibledinos/pwnypack/translate | LDU_FT | [
"<BEGIN>\n## `fmtstring`",
"Build a format string that writes given data to given locations. Can be\n used easily create format strings to exploit format string bugs.",
" `writes` is a list of 2- or 3-item tuples. Each tuple represents a memory\n write starting with an absolute address, then the data t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API.
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 translate API.
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... | translate(f=None, *, output=TranslateOutput.code, **kwargs)
Decorator that turns a function into a shellcode emitting function.
Arguments:
f(callable): The function to decorate. If ``f`` is ``None`` a
decorator will be returned instead.
output(~pwnypack.shellcode... | "translate(f=None, *, output=TranslateOutput.code, **kwargs)\n Decorator that turns a function into a shellcode emitting function.\n\n Arguments:\n f(callable): The function to decorate. If ``f`` is ``None`` a\n decorator will be returned instead.\n output(~pwnypack.sh... | 353 | false | edibledinos/pwnypack | translate | 29,934 | |
LDU_FT/robehickman/simple-http-file-sync/commit | LDU_FT | [
"<BEGIN>\n## `lock_access`",
"Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>",
"<BEGIN>\n## `can_aquire_user_lock`",
"Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
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 commit API.
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 ... | Commit changes and release the write lock | "Commit changes and release the write lock" | 60 | false | robehickman/simple-http-file-sync | commit | 29,935 | |
LDU_FT/ethereum/py-evm/get | LDU_FT | [
"<BEGIN>\n## `new_transaction`",
"Create and return a transaction sending amount from <from_> to <to>.",
" The transaction will be signed with the given private key.\n<END>",
"<BEGIN>\n## `idfn`",
"Function for pytest to produce uniform names for fixtures.\n<END>",
"<BEGIN>\n## `get_fixtures_file_hash`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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... | Generic getter for environment variables. Handles defaults,
required-ness, and what type to expect.
:param name: The name of the environment variable be pulled
:type name: str
:param required: Whether the environment variable is required. If ``True``
and the variable is not present, a ``KeyError``... | "Generic getter for environment variables. Handles defaults,\n required-ness, and what type to expect.\n\n :param name: The name of the environment variable be pulled\n :type name: str\n\n :param required: Whether the environment variable is required. If ``True``\n and the variable is not present, a ``Ke... | 422 | false | ethereum/py-evm | get | 29,936 | |
LDU_FT/aiven/pghoard/parse_timestamp | LDU_FT | [
"<BEGIN>\n## `atomic_create_file`",
"Open a temporary file for writing, rename to final name when done\n<END>",
"<BEGIN>\n## `_stream_blob`",
"Streams contents of given key to given fileobj. Data is read sequentially in chunks\n without any seeks. This requires duplicating some functionality of the Azu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_timestamp API.
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 parse_timestamp API.
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... | Parse a given timestamp and return a datetime object with or without tzinfo.
If `with_tz` is False and we can't parse a timezone from the timestamp the datetime object is returned
as-is and we assume the timezone is whatever was requested. If `with_tz` is False and we can parse a
timezone, the timestamp i... | "Parse a given timestamp and return a datetime object with or without tzinfo.\n\n If `with_tz` is False and we can't parse a timezone from the timestamp the datetime object is returned\n as-is and we assume the timezone is whatever was requested. If `with_tz` is False and we can parse a\n timezone, the timest... | 66 | false | aiven/pghoard | parse_timestamp | 29,937 | |
LDU_FT/jasonkeene/python-ubersmith/_get_call_class | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize ubersmith API module with HTTP request handler.\n<END>",
"<BEGIN>\n## `process_request`",
"Process request over HTTP to ubersmith instance.",
" method: Ubersmith API method string\n data: dict of method arguments\n<END>",
"<BEGIN>\n## `append_qs`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_call_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_call_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Find the call class for method if it exists else create one. | "Find the call class for method if it exists else create one." | 25 | false | jasonkeene/python-ubersmith | _get_call_class | 29,938 | |
LDU_FT/liip/taxi/get_backends_by_class | LDU_FT | [
"<BEGIN>\n## `round_to_quarter`",
"Return the duration between `start_time` and `end_time` :class:`datetime.time` objects, rounded to 15 minutes.\n<END>",
"<BEGIN>\n## `_timesheets_callback`",
"Call a method on all the timesheets, aggregate the return values in a\n list and return it.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backends_by_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backends_by_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return a list of backends that are instances of the given `backend_class`. | "Return a list of backends that are instances of the given `backend_class`." | 131 | false | liip/taxi | get_backends_by_class | 29,939 | |
LDU_FT/empirical-org/Quill-NLP-Tools-and-Datasets/raise_double_modal_error | LDU_FT | [
"<BEGIN>\n## `_verbs_with_subjects`",
"Given a spacy document return the verbs that have subjects\n<END>",
"<BEGIN>\n## `mangle_agreement`",
"Given a correct sentence, return a sentence or sentences with a subject\n verb agreement error\n<END>",
"<BEGIN>\n## `_build_trigram_indices`",
"Build a dictiona... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_double_modal_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_double_modal_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | A modal auxilary verb should not follow another modal auxilary verb | "A modal auxilary verb should not follow another modal auxilary verb" | 70 | false | empirical-org/Quill-NLP-Tools-and-Datasets | raise_double_modal_error | 29,940 | |
LDU_FT/huggingface/pytorch-pretrained-BERT/from_pretrained | LDU_FT | [
"<BEGIN>\n## `from_json_file`",
"Constructs a `GPT2Config` from a json file of parameters.\n<END>",
"<BEGIN>\n## `from_pretrained`",
"Instantiate a GPT2PreTrainedModel from a pre-trained model file or a pytorch state dict.\n Download and cache the pre-trained model file if needed.",
" Params:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_pretrained API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_pretrained API.
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... | Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.
Download and cache the pre-trained model file if needed.
Params:
pretrained_model_name_or_path: either:
- a str with the name of a pre-trained model to load selected in the list of:
... | "Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\n Download and cache the pre-trained model file if needed.\n\n Params:\n pretrained_model_name_or_path: either:\n - a str with the name of a pre-trained model to load selected in the list of... | 115 | false | huggingface/pytorch-pretrained-BERT | from_pretrained | 29,941 | |
LDU_FT/VIVelev/PyDojoML/_calc_distortion | LDU_FT | [
"<BEGIN>\n## `accuracy_score`",
"Calculates the fraction of the correctly\n classified samples over all.",
" Parameters:\n -----------\n y : vector, shape (n_samples,)\n The target labels.",
" y_pred : vector, shape (n_samples,)\n The predicted labels.",
" Returns:\n --------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calc_distortion API.
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 _calc_distortion API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calculates the distortion value of the current clusters | "Calculates the distortion value of the current clusters" | 170 | false | VIVelev/PyDojoML | _calc_distortion | 29,942 | |
LDU_FT/tweepy/tweepy/related_results | LDU_FT | [
"<BEGIN>\n## `get_authorization_url`",
"Get the authorization URL to redirect the user\n<END>",
"<BEGIN>\n## `get_access_token`",
"After user has authorized the request token, get access token\n with user supplied verifier.\n<END>",
"<BEGIN>\n## `get_xauth_access_token`",
"Get an access token from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the related_results API.
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 related_results API.
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... | :reference: https://dev.twitter.com/docs/api/1.1/get/related_results/show/%3id.format
:allowed_param:'id' | ":reference: https://dev.twitter.com/docs/api/1.1/get/related_results/show/%3id.format\n :allowed_param:'id'" | 54 | false | tweepy/tweepy | related_results | 29,943 | |
LDU_FT/FNNDSC/pfurl/httpResponse_bodyParse | LDU_FT | [
"<BEGIN>\n## `zipdir`",
"Zip up a directory.",
" :param path:\n :param ziph:\n :param kwargs:\n :return:\n<END>",
"<BEGIN>\n## `zip_process`",
"Process zip operations.",
" :param kwargs:\n :return:\n<END>",
"<BEGIN>\n## `storage_resolveBasedOnKey`",
"Call the remote service and ask f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the httpResponse_bodyParse 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 httpResponse_bodyParse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns the *body* from a http response.
:param kwargs: response = <string>
:return: the <body> from the http <string> | "Returns the *body* from a http response.\n\n :param kwargs: response = <string>\n :return: the <body> from the http <string>" | 29 | false | FNNDSC/pfurl | httpResponse_bodyParse | 29,944 | |
LDU_FT/TUT-ARG/sed_eval/results_class_wise_average_metrics | LDU_FT | [
"<BEGIN>\n## `result_report_overall`",
"Report overall results",
" Returns\n -------\n str\n result report in string format\n<END>",
"<BEGIN>\n## `result_report_class_wise_average`",
"Report class-wise averages",
" Returns\n -------\n str\n r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results_class_wise_average_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results_class_wise_average_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Class-wise averaged metrics
Returns
-------
dict
results in a dictionary format | "Class-wise averaged metrics\n\n Returns\n -------\n dict\n results in a dictionary format" | 268 | false | TUT-ARG/sed_eval | results_class_wise_average_metrics | 29,945 | |
LDU_FT/pytroll/satpy/get_cds_time | LDU_FT | [
"<BEGIN>\n## `_get_coarse_dataset`",
"Get the coarse dataset refered to by `key` from the XML data.\n<END>",
"<BEGIN>\n## `get_dataset`",
"Get output data and metadata of specified dataset.\n<END>",
"<BEGIN>\n## `find_coefficient_index`",
"Return index in to coefficient arrays for this band's wavelength."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cds_time API.
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 get_cds_time API.
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... | Get the datetime object of the time since epoch given in days and
milliseconds of day | "Get the datetime object of the time since epoch given in days and\n milliseconds of day" | 924 | false | pytroll/satpy | get_cds_time | 29,946 | |
LDU_FT/python-visualization/folium/render | LDU_FT | [
"<BEGIN>\n## `_get_self_bounds`",
"Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]].\n<END>",
"<BEGIN>\n## `path_options`",
"Contains options and constants shared between vector overlays\n (Polygon, Polyline, Circle, Circle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
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 ... | Renders the HTML representation of the element. | "Renders the HTML representation of the element." | 111 | false | python-visualization/folium | render | 29,947 | |
LDU_FT/mbedmicro/pyOCD/_parse | LDU_FT | [
"<BEGIN>\n## `byte_list_to_u32le_list`",
"! @brief Convert a list of bytes to a list of 32-bit integers (little endian)",
" If the length of the data list is not a multiple of 4, then the pad value is used\n for the additional required bytes.\n<END>",
"<BEGIN>\n## `u32le_list_to_byte_list`",
"! @brief... | 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 ... | ! @brief SWO parser as generator function coroutine.
The generator yields every time it needs a byte of SWO data. The caller must use the
generator's send() method to provide the next byte. | "! @brief SWO parser as generator function coroutine.\n \n The generator yields every time it needs a byte of SWO data. The caller must use the\n generator's send() method to provide the next byte." | 494 | false | mbedmicro/pyOCD | _parse | 29,948 | |
LDU_FT/dylanaraps/pywal/template | LDU_FT | [
"<BEGIN>\n## `get_desktop_env`",
"Identify the current running desktop environment.\n<END>",
"<BEGIN>\n## `set_wm_wallpaper`",
"Set the wallpaper for non desktop environments.\n<END>",
"<BEGIN>\n## `set_desktop_wallpaper`",
"Set the wallpaper for the desktop environment.\n<END>",
"<BEGIN>\n## `disown`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Read template file, substitute markers and
save the file elsewhere. | "Read template file, substitute markers and\n save the file elsewhere." | 28 | false | dylanaraps/pywal | template | 29,949 | |
LDU_FT/brmscheiner/ideogram/jsonGraph | LDU_FT | [
"<BEGIN>\n## `traversal`",
"Tree traversal function that generates nodes. For each subtree, the \n deepest node is evaluated first. Then, the next-deepest nodes are \n evaluated until all the nodes in the subtree are generated.\n<END>",
"<BEGIN>\n## `firstPass`",
"Return a dictionary of function definit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsonGraph API.
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 jsonGraph API.
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... | For reference, each node has:
node.name (string)
node.source (string)
node.weight (int)
node.pclass (class node object)
Each call contains a node in call.source and call.target | "For reference, each node has:\n \n node.name (string)\n node.source (string)\n node.weight (int)\n node.pclass (class node object) \n \n Each call contains a node in call.source and call.target" | 50 | false | brmscheiner/ideogram | jsonGraph | 29,950 | |
LDU_FT/ultrabug/py3status/storage_keys | LDU_FT | [
"<BEGIN>\n## `load_from_file`",
"Return user-written class object from given path.\n<END>",
"<BEGIN>\n## `prepare_module`",
"Ready the module to get it ready to start.\n<END>",
"<BEGIN>\n## `error_output`",
"Something is wrong with the module so we want to output the error to\n the i3bar\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the storage_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the storage_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a list of the keys for values stored for the module.
Keys will contain the following metadata entries:
- '_ctime': storage creation timestamp
- '_mtime': storage last modification timestamp | "Return a list of the keys for values stored for the module.\n\n Keys will contain the following metadata entries:\n - '_ctime': storage creation timestamp\n - '_mtime': storage last modification timestamp" | 514 | false | ultrabug/py3status | storage_keys | 29,951 | |
LDU_FT/cmck/pybrowserstack-screenshots/retry | LDU_FT | [
"<BEGIN>\n## `get_os_and_browsers`",
"Get all supported OS/browser combinations JSON response\n<END>",
"<BEGIN>\n## `generate_screenshots`",
"Take a config file as input and generate screenshots\n<END>",
"<BEGIN>\n## `screenshots_done`",
"Return true if the screenshots job is done\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retry API.
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 retry API.
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... | Retries a function or method until it returns True. | "Retries a function or method until it returns True." | 16 | false | cmck/pybrowserstack-screenshots | retry | 29,952 | |
LDU_FT/bovee/Aston/tfclasses | LDU_FT | [
"<BEGIN>\n## `simple_integrate`",
"Integrate each peak naively; without regard to overlap.",
" This is used as the terminal step by most of the other integrators.\n<END>",
"<BEGIN>\n## `drop_integrate`",
"Resolves overlap by breaking at the minimum value.\n<END>",
"<BEGIN>\n## `_integrate_mpwrap`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tfclasses API.
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 tfclasses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | A mapping of mimetypes to every class for reading data files. | "A mapping of mimetypes to every class for reading data files." | 89 | false | bovee/Aston | tfclasses | 29,953 | |
LDU_FT/renatopp/liac-arff/_decode_attribute | LDU_FT | [
"<BEGIN>\n## `_parse_values`",
"(INTERNAL) Split a line into a list of values\n<END>",
"<BEGIN>\n## `load`",
"Load a file-like object containing the ARFF document and convert it into\n a Python object.",
" :param fp: a file-like object.\n :param encode_nominal: boolean, if True perform a label enco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_attribute API.
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 _decode_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | (INTERNAL) Decodes an attribute line.
The attribute is the most complex declaration in an arff file. All
attributes must follow the template::
@attribute <attribute-name> <datatype>
where ``attribute-name`` is a string, quoted if the name contains any
whitespace, and ``da... | "(INTERNAL) Decodes an attribute line.\n\n The attribute is the most complex declaration in an arff file. All\n attributes must follow the template::\n\n @attribute <attribute-name> <datatype>\n\n where ``attribute-name`` is a string, quoted if the name contains any\n whitespace,... | 54 | false | renatopp/liac-arff | _decode_attribute | 29,954 | |
LDU_FT/eqcorrscan/EQcorrscan/cluster | LDU_FT | [
"<BEGIN>\n## `_xcorr_interp`",
"Intrpolate around the maximum correlation value for sub-sample precision.",
" :param ccc: Cross-correlation array\n :type ccc: numpy.ndarray\n :param dt: sample interval\n :type dt: float",
" :return: Position of interpolated maximum in seconds from start of ccc\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cluster API.
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 cluster API.
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... | Cluster the tribe.
Cluster templates within a tribe: returns multiple tribes each of
which could be stacked.
:type method: str
:param method:
Method of stacking, see :mod:`eqcorrscan.utils.clustering`
:return: List of tribes.
.. rubric:: Example | "Cluster the tribe.\n\n Cluster templates within a tribe: returns multiple tribes each of\n which could be stacked.\n\n :type method: str\n :param method:\n Method of stacking, see :mod:`eqcorrscan.utils.clustering`\n\n :return: List of tribes.\n\n .. rubric:: Exampl... | 1,281 | true | eqcorrscan/EQcorrscan | cluster | 29,955 | |
LDU_FT/mfussenegger/cr8/timeit | LDU_FT | [
"<BEGIN>\n## `to_int`",
"converts a string to an integer",
" >>> to_int('1_000_000')\n 1000000",
" >>> to_int('1e6')\n 1000000",
" >>> to_int('1000')\n 1000\n<END>",
"<BEGIN>\n## `dicts_from_lines`",
"returns a generator producing dicts from json lines",
" 1 JSON object per line i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeit API.
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 timeit API.
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 ... | Run the given statement a number of times and return the runtime stats
Args:
fail-if: An expression that causes cr8 to exit with a failure if it
evaluates to true.
The expression can contain formatting expressions for:
- runtime_stats
- statement
... | "Run the given statement a number of times and return the runtime stats\n\n Args:\n fail-if: An expression that causes cr8 to exit with a failure if it\n evaluates to true.\n The expression can contain formatting expressions for:\n - runtime_stats\n - statem... | 146 | false | mfussenegger/cr8 | timeit | 29,956 | |
LDU_FT/datamachine/twx/_ige | LDU_FT | [
"<BEGIN>\n## `_ige`",
"Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ige API.
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 _ige API.
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... | Given a key, given an iv, and message
do whatever operation asked in the operation field.
Operation will be checked for: "decrypt" and "encrypt" strings.
Returns the message encrypted/decrypted.
message must be a multiple by 16 bytes (for division in 16 byte blocks)
key must be 32 byte
iv ... | "Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte blocks)\n key must be 32 byt... | 94 | false | datamachine/twx | _ige | 29,957 | |
LDU_FT/rsgalloway/grit/checkout | LDU_FT | [
"<BEGIN>\n## `assemble_WSGI_git_app`",
"Assembles basic WSGI-compatible application providing functionality of git-http-backend.\r",
" content_path (Defaults to '.' = \"current\" directory)\r\n The path to the folder that will be the root of served files. Accepts relative paths.\r",
" uri_marker ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checkout API.
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 checkout API.
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... | Checks out latest version of item or repository.
:param url: URL of repo or item to check out.
:param version: Version number to check out. | "Checks out latest version of item or repository.\n\n :param url: URL of repo or item to check out.\n :param version: Version number to check out." | 222 | false | rsgalloway/grit | checkout | 29,958 | |
LDU_FT/Falkonry/falkonry-python-client/get | LDU_FT | [
"<BEGIN>\n## `exception_handler`",
"Function that takes exception Object(<Byte>,<str>) as a parameter and returns the error message<str>\n<END>",
"<BEGIN>\n## `get`",
"To make a GET request to Falkonry API server\n :param url: string\n<END>",
"<BEGIN>\n## `post`",
"To make a POST request to Falkonr... | 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... | To make a GET request to Falkonry API server
:param url: string | "To make a GET request to Falkonry API server\n :param url: string" | 52 | false | Falkonry/falkonry-python-client | get | 29,959 | |
LDU_FT/Parisson/TimeSide/get_dependencies | LDU_FT | [
"<BEGIN>\n## `JSON_NumpyArrayEncoder`",
"Define Specialize JSON encoder for numpy array\n<END>",
"<BEGIN>\n## `to_hdf5`",
"Save a dictionnary-like object inside a h5 file group\n<END>",
"<BEGIN>\n## `render`",
"Render a matplotlib figure from the analyzer result",
" Return the figure, use fig.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Read the dependencies from a Conda environment file in YAML
and return a list of such dependencies (from conda and pip list)
Be sure to match packages specification for each of:
- Conda : http://conda.pydata.org/docs/spec.html#build-version-spec
- Pip & Setuptool :
- http://pythonhosted.org/setup... | "Read the dependencies from a Conda environment file in YAML\n and return a list of such dependencies (from conda and pip list)\n Be sure to match packages specification for each of:\n - Conda : http://conda.pydata.org/docs/spec.html#build-version-spec\n - Pip & Setuptool :\n - http://pythonhosted.org... | 88 | false | Parisson/TimeSide | get_dependencies | 29,960 | |
LDU_FT/yyuu/botornado/create_dbinstance_read_replica | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this item to SDB.",
" :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>",
"<BEGIN>\n## `add_value`",
"Helps set or add to attributes on this item. If you are adding a new\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dbinstance_read_replica API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dbinstance_read_replica API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Create a new DBInstance Read Replica.
:type id: str
:param id: Unique identifier for the new instance.
Must contain 1-63 alphanumeric characters.
First character must be a letter.
May not end with a hyphen or contain two consecutive hyphens
... | "Create a new DBInstance Read Replica.\n\n :type id: str\n :param id: Unique identifier for the new instance.\n Must contain 1-63 alphanumeric characters.\n First character must be a letter.\n May not end with a hyphen or contain two consecutive hyphen... | 2,931 | true | yyuu/botornado | create_dbinstance_read_replica | 29,961 | |
LDU_FT/encode/uvicorn/process_request | LDU_FT | [
"<BEGIN>\n## `process_request`",
"This hook is called to determine if the websocket should return\n an HTTP response and close.",
" Our behavior here is to start the ASGI application, and then wait\n for either `accept` or `close` in order to determine if we should\n close the connec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_request API.
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 process_request API.
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... | This hook is called to determine if the websocket should return
an HTTP response and close.
Our behavior here is to start the ASGI application, and then wait
for either `accept` or `close` in order to determine if we should
close the connection. | "This hook is called to determine if the websocket should return\n an HTTP response and close.\n\n Our behavior here is to start the ASGI application, and then wait\n for either `accept` or `close` in order to determine if we should\n close the connection." | 17 | false | encode/uvicorn | process_request | 29,962 | |
LDU_FT/pavlin-policar/openTSNE/fit | LDU_FT | [
"<BEGIN>\n## `has_c_library`",
"Check whether a C/C++ library is available on the system to the compiler.",
" Parameters\n ----------\n library: str\n The library we want to check for e.g. if we are interested in FFTW3, we\n want to check for `fftw3.h`, so this parameter will be `fftw3`.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Fit a t-SNE embedding for a given data set.
Runs the standard t-SNE optimization, consisting of the early
exaggeration phase and a normal optimization phase.
Parameters
----------
X: np.ndarray
The data matrix to be embedded.
Returns
-------
... | "Fit a t-SNE embedding for a given data set.\n\n Runs the standard t-SNE optimization, consisting of the early\n exaggeration phase and a normal optimization phase.\n\n Parameters\n ----------\n X: np.ndarray\n The data matrix to be embedded.\n\n Returns\n ---... | 181 | false | pavlin-policar/openTSNE | fit | 29,963 | |
LDU_FT/gccxml/pygccxml/is_binary_operator | LDU_FT | [
"<BEGIN>\n## `is_str`",
"Python 2 and 3 compatible string checker.",
" Args:\n string (str | basestring): the string to check",
" Returns:\n bool: True or False\n<END>",
"<BEGIN>\n## `find_xml_generator`",
"Try to find a c++ parser (xml generator)",
" Args:\n name (str): na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_binary_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_binary_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | returns True, if operator is binary operator, otherwise False | "returns True, if operator is binary operator, otherwise False" | 481 | false | gccxml/pygccxml | is_binary_operator | 29,964 | |
LDU_FT/hellock/icrawler/worker_exec | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"convert detailed proxy info into a dict",
" Returns:\n dict: A dict with four keys: ``addr``, ``protocol``,\n ``weight`` and ``last_checked``\n<END>",
"<BEGIN>\n## `proxy_num`",
"Get the number of proxies in the pool",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the worker_exec API.
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 worker_exec API.
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... | Target method of workers.
Get task from ``task_queue`` and then download files and process meta
data. A downloader thread will exit in either of the following cases:
1. All parser threads have exited and the task_queue is empty.
2. Downloaded image number has reached required number(ma... | "Target method of workers.\n\n Get task from ``task_queue`` and then download files and process meta\n data. A downloader thread will exit in either of the following cases:\n\n 1. All parser threads have exited and the task_queue is empty.\n 2. Downloaded image number has reached required nu... | 105 | false | hellock/icrawler | worker_exec | 29,965 | |
LDU_FT/shawnsilva/steamwebapi/get_player_bans | LDU_FT | [
"<BEGIN>\n## `create_request_url`",
"Create the URL to submit to the Steam Web API",
" interface: Steam Web API interface containing methods.\n method: The method to call.\n version: The version of the method.\n paramters: Parameters to supply to the method.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_player_bans API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_player_bans API.
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... | Request the communities a steam id is banned in.
steamIDS: Comma-delimited list of SteamIDs
format: Return format. None defaults to json. (json, xml, vdf) | "Request the communities a steam id is banned in.\n\n steamIDS: Comma-delimited list of SteamIDs\n format: Return format. None defaults to json. (json, xml, vdf)" | 64 | false | shawnsilva/steamwebapi | get_player_bans | 29,966 | |
LDU_FT/MAVENSDC/cdflib/unixtime | LDU_FT | [
"<BEGIN>\n## `encode`",
"Encodes the epoch(s) into UTC string(s).",
" For CDF_EPOCH:\n The input should be either a float or list of floats\n (in numpy, a np.float64 or a np.ndarray of np.float64)\n Each epoch is encoded, by default to a ISO 8601 form:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unixtime API.
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 unixtime API.
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... | Encodes the epoch(s) into seconds after 1970-01-01. Precision is only
kept to the nearest microsecond.
If to_np is True, then the values will be returned in a numpy array. | "Encodes the epoch(s) into seconds after 1970-01-01. Precision is only\n kept to the nearest microsecond.\n\n If to_np is True, then the values will be returned in a numpy array." | 229 | false | MAVENSDC/cdflib | unixtime | 29,967 | |
LDU_FT/yaml/pyyaml/compose_all | LDU_FT | [
"<BEGIN>\n## `scan`",
"Scan a YAML stream and produce scanning tokens.\n<END>",
"<BEGIN>\n## `parse`",
"Parse a YAML stream and produce parsing events.\n<END>",
"<BEGIN>\n## `compose`",
"Parse the first YAML document in a stream\n and produce the corresponding representation tree.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compose_all API.
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 compose_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse all YAML documents in a stream
and produce corresponding representation trees. | "Parse all YAML documents in a stream\n and produce corresponding representation trees." | 36 | false | yaml/pyyaml | compose_all | 29,968 | |
LDU_FT/nats-io/python-nats/connect | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses the wire protocol from NATS for the client\n and dispatches the subscription callbacks.\n<END>",
"<BEGIN>\n## `connect`",
"Establishes a connection to a NATS server.",
" Examples:",
" # Configure pool of NATS servers.\n nc = nats.io.client.Cli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Establishes a connection to a NATS server.
Examples:
# Configure pool of NATS servers.
nc = nats.io.client.Client()
yield nc.connect({ 'servers': ['nats://192.168.1.10:4222', 'nats://192.168.2.10:4222'] })
# User and pass are to be passed on the uri to authenticate.
... | "Establishes a connection to a NATS server.\n\n Examples:\n\n # Configure pool of NATS servers.\n nc = nats.io.client.Client()\n yield nc.connect({ 'servers': ['nats://192.168.1.10:4222', 'nats://192.168.2.10:4222'] })\n\n # User and pass are to be passed on the uri to authent... | 62 | false | nats-io/python-nats | connect | 29,969 | |
LDU_FT/recurly/recurly-client-python/response_doc | LDU_FT | [
"<BEGIN>\n## `error_class_for_http_status`",
"Return the appropriate `ResponseError` subclass for the given\n HTTP status code.\n<END>",
"<BEGIN>\n## `response_doc`",
"The XML document received from the service.\n<END>",
"<BEGIN>\n## `transaction_error_code`",
"The machine-readable error code for a tra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the response_doc API.
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 response_doc API.
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 XML document received from the service. | "The XML document received from the service." | 103 | false | recurly/recurly-client-python | response_doc | 29,970 | |
LDU_FT/gwpy/gwpy/connect | LDU_FT | [
"<BEGIN>\n## `canonical_name`",
"Find the canonical name for the given window in scipy.signal",
" Parameters\n ----------\n name : `str`\n the name of the window you want",
" Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Open an `nds2.connection` to a given host and port
Parameters
----------
host : `str`
name of server with which to connect
port : `int`, optional
connection port
Returns
-------
connection : `nds2.connection`
a new open connection to the given NDS host | "Open an `nds2.connection` to a given host and port\n\n Parameters\n ----------\n host : `str`\n name of server with which to connect\n\n port : `int`, optional\n connection port\n\n Returns\n -------\n connection : `nds2.connection`\n a new open connection to the given NDS hos... | 2,764 | true | gwpy/gwpy | connect | 29,971 | |
LDU_FT/jaraco/jaraco.windows/get_final_path | LDU_FT | [
"<BEGIN>\n## `CryptUnprotectData`",
"Returns a tuple of (description, data) where description is the\n\tthe description that was passed to the CryptProtectData call and\n\tdata is the decrypted result.\n<END>",
"<BEGIN>\n## `set_data`",
"Use this method to set the data for this blob\n<END>",
"<BEGIN>\n## `m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_final_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_final_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | r"""
For a given path, determine the ultimate location of that path.
Useful for resolving symlink targets.
This functions wraps the GetFinalPathNameByHandle from the Windows
SDK.
Note, this function fails if a handle cannot be obtained (such as
for C:\Pagefile.sys on a stock windows system). Consider using
trac... | "r\"\"\"\n\tFor a given path, determine the ultimate location of that path.\n\tUseful for resolving symlink targets.\n\tThis functions wraps the GetFinalPathNameByHandle from the Windows\n\tSDK.\n\n\tNote, this function fails if a handle cannot be obtained (such as\n\tfor C:\\Pagefile.sys on a stock windows system). Co... | 119 | false | jaraco/jaraco.windows | get_final_path | 29,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.