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/pycontribs/jira/create_customer_request | LDU_FT | [
"<BEGIN>\n## `translate_resource_args`",
"Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>",
"<BEGIN>\n## `_check_update_`",
"Check if the current version of the library is outdated.\n<END>",
"<BEGIN>\n## `_fetch_pages`",
"Fetch pages.",
" :param it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_customer_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_customer_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... | Create a new customer request and return an issue Resource for it.
Each keyword argument (other than the predefined ones) is treated as a field name and the argument's value
is treated as the intended value for that field -- if the fields argument is used, all other keyword arguments
will be ig... | "Create a new customer request and return an issue Resource for it.\n\n Each keyword argument (other than the predefined ones) is treated as a field name and the argument's value\n is treated as the intended value for that field -- if the fields argument is used, all other keyword arguments\n will ... | 468 | false | pycontribs/jira | create_customer_request | 33,073 | |
LDU_FT/apriha/lineage/get_chromosomes_summary | LDU_FT | [
"<BEGIN>\n## `detect_build`",
"Detect build of SNPs.",
" Use the coordinates of common SNPs to identify the build / assembly of a genotype file\n that is being loaded.",
" Notes\n -----\n rs3094315 : plus strand in 36, 37, and 38\n rs11928389 : plus strand in 36, minus strand in 37 and 38\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_chromosomes_summary 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_chromosomes_summary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Summary of the chromosomes of SNPs.
Parameters
----------
snps : pandas.DataFrame
Returns
-------
str
human-readable listing of chromosomes (e.g., '1-3, MT'), empty str if no chromosomes | "Summary of the chromosomes of SNPs.\n\n Parameters\n ----------\n snps : pandas.DataFrame\n\n Returns\n -------\n str\n human-readable listing of chromosomes (e.g., '1-3, MT'), empty str if no chromosomes" | 183 | false | apriha/lineage | get_chromosomes_summary | 33,074 | |
LDU_FT/wandb/client/save_pip | LDU_FT | [
"<BEGIN>\n## `load_emacs_open_in_editor_bindings`",
"Pressing C-X C-E will open the buffer in an external editor.\n<END>",
"<BEGIN>\n## `load_extra_emacs_page_navigation_bindings`",
"Key bindings, for scrolling up and down through pages.\n This are separate bindings, because GNU readline doesn't have them.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_pip API.
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 save_pip API.
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... | Saves the current working set of pip packages to requirements.txt | "Saves the current working set of pip packages to requirements.txt" | 1,104 | true | wandb/client | save_pip | 33,075 | |
LDU_FT/znerol/txexiftool/connectionLost | LDU_FT | [
"<BEGIN>\n## `dataReceived`",
"Parses chunks of bytes into responses.",
" Whenever a complete response is received, this method extracts its\n payload and calls L{responseReceived} to process it.",
" @param data: A chunk of data representing a (possibly partial) response\n @type da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connectionLost API.
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 connectionLost API.
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... | Check whether termination was intended and invoke the deferred.
If the connection terminated unexpectedly, reraise the failure.
@type reason: L{twisted.python.failure.Failure} | "Check whether termination was intended and invoke the deferred.\n\n If the connection terminated unexpectedly, reraise the failure.\n\n @type reason: L{twisted.python.failure.Failure}" | 19 | false | znerol/txexiftool | connectionLost | 33,076 | |
LDU_FT/duniter/duniter-python-api/requests_post | LDU_FT | [
"<BEGIN>\n## `from_signed_raw`",
"Return Certification instance from signed raw document",
" :param signed_raw: Signed raw document\n :return:\n<END>",
"<BEGIN>\n## `from_inline`",
"Return Certification instance from inline document",
" Only self.pubkey_to is populated.\n You m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requests_post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requests_post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Requests POST wrapper in order to use API parameters.
:param path: the request path
:return: | "Requests POST wrapper in order to use API parameters.\n\n :param path: the request path\n :return:" | 415 | false | duniter/duniter-python-api | requests_post | 33,077 | |
LDU_FT/stephen-bunn/file-config/_build_config | LDU_FT | [
"<BEGIN>\n## `on_yaml_imported`",
"The `pyyaml <https://pypi.org/project/pyyaml/>`_ import hook.",
" :param module yaml: The ``yaml`` module\n<END>",
"<BEGIN>\n## `on_yaml_dumps`",
"The `pyyaml <https://pypi.org/project/pyyaml/>`_ dumps method.",
" :param module yaml: The ``yaml`` module\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Builds the schema definition for a given config class.
:param class config_cls: The config class to build a schema definition for
:param List[str] property_path: The property path of the current type,
defaults to None, optional
:raises ValueError: When the given ``config_cls`` is not a config decor... | "Builds the schema definition for a given config class.\n\n :param class config_cls: The config class to build a schema definition for\n :param List[str] property_path: The property path of the current type,\n defaults to None, optional\n :raises ValueError: When the given ``config_cls`` is not a config... | 215 | false | stephen-bunn/file-config | _build_config | 33,078 | |
LDU_FT/razor-x/scipy-data_fitting/all_variables | LDU_FT | [
"<BEGIN>\n## `add_symbol`",
"Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.",
" [1]: http://docs.sympy.org/dev/modules/core.html#id4\n<END>",
"<BEGIN>\n## `replac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_variables API.
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 all_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | A flat tuple of all symbols taken in order from the following:
1. `scipy_data_fitting.Fit.free_variables`
2. `scipy_data_fitting.Fit.independent`
3. `scipy_data_fitting.Fit.fitting_parameters`
4. `scipy_data_fitting.Fit.fixed_parameters`
5. `scipy_data_fitting.Fit.constants` | "A flat tuple of all symbols taken in order from the following:\n\n 1. `scipy_data_fitting.Fit.free_variables`\n 2. `scipy_data_fitting.Fit.independent`\n 3. `scipy_data_fitting.Fit.fitting_parameters`\n 4. `scipy_data_fitting.Fit.fixed_parameters`\n 5. `scipy_data_fitting.Fit.constan... | 163 | false | razor-x/scipy-data_fitting | all_variables | 33,079 | |
LDU_FT/heitzmann/gdspy/get_labels | LDU_FT | [
"<BEGIN>\n## `_eight_byte_real`",
"Convert a number into the GDSII 8 byte real format.",
" Parameters\n ----------\n value : number\n The number to be converted.",
" Returns\n -------\n out : string\n The GDSII binary string that represents ``value``.\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_labels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_labels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a list of labels created by this reference.
Parameters
----------
depth : integer or ``None``
If not ``None``, defines from how many reference levels to
retrieve labels from.
Returns
-------
out : list of ``Label``
List contai... | "Returns a list of labels created by this reference.\n\n Parameters\n ----------\n depth : integer or ``None``\n If not ``None``, defines from how many reference levels to\n retrieve labels from.\n\n Returns\n -------\n out : list of ``Label``\n ... | 254 | false | heitzmann/gdspy | get_labels | 33,080 | |
LDU_FT/PyPSA/PyPSA/calculate_Y | LDU_FT | [
"<BEGIN>\n## `generate_dummy_graph`",
"Generate a dummy graph to feed to the FIAS libraries.\n It adds the \"pos\" attribute and removes the 380 kV duplicate\n buses when the buses have been split, so that all load and generation\n is attached to the 220kV bus.\n<END>",
"<BEGIN>\n## `voronoi_partition`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_Y API.
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 calculate_Y API.
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... | Calculate bus admittance matrices for AC sub-networks. | "Calculate bus admittance matrices for AC sub-networks." | 291 | false | PyPSA/PyPSA | calculate_Y | 33,081 | |
LDU_FT/floydhub/floyd-cli/download_tar | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize new project at the current path.",
" After this you can run other FloydHub commands like status and run.\n<END>",
"<BEGIN>\n## `status`",
"View status of all jobs in a project.",
" The command also accepts a specific job name.\n<END>",
"<BEGIN>\n## `print_experime... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_tar API.
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 download_tar API.
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... | Download and optionally untar the tar file from the given url | "Download and optionally untar the tar file from the given url" | 84 | false | floydhub/floyd-cli | download_tar | 33,082 | |
LDU_FT/LettError/MutatorMath/sameAs | LDU_FT | [
"<BEGIN>\n## `makeUnicodeMapFromSources`",
"Create a dict with glyphName -> unicode value pairs\n using the data in the sources. \n If all master glyphs have the same unicode value\n this value will be used in the map.\n If master glyphs have conflicting value, a warnin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sameAs API.
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 sameAs API.
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 ... | Check if this is the same location.
::
>>> l = Location(pop=5, snap=100)
>>> m = Location(pop=5.0, snap=100.0)
>>> l.sameAs(m)
0
>>> l = Location(pop=5, snap=100)
>>> m = Location(pop=5.0, snap=100.0001)
>>> l.sameAs(m)... | "Check if this is the same location.\n ::\n \n >>> l = Location(pop=5, snap=100)\n >>> m = Location(pop=5.0, snap=100.0)\n >>> l.sameAs(m)\n 0\n >>> l = Location(pop=5, snap=100)\n >>> m = Location(pop=5.0, snap=100.0001)\n >>> l... | 169 | false | LettError/MutatorMath | sameAs | 33,083 | |
LDU_FT/mardix/Mocha/redirect | LDU_FT | [
"<BEGIN>\n## `_normalize_response_tuple`",
"Helper function to normalize view return values .\n It always returns (dict, status, headers). Missing values will be None.\n For example in such cases when tuple_ is\n (dict, status), (dict, headers), (dict, status, headers),\n (dict, headers, status)",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the redirect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the redirect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Redirect allow to redirect dynamically using the classes methods without
knowing the right endpoint.
Expecting all endpoint have GET as method, it will try to pick the first
match, based on the endpoint provided or the based on the Rule map_url
An endpoint can also be passed along with **kw
An htt... | "Redirect allow to redirect dynamically using the classes methods without\n knowing the right endpoint.\n Expecting all endpoint have GET as method, it will try to pick the first\n match, based on the endpoint provided or the based on the Rule map_url\n\n An endpoint can also be passed along with **kw\n\n ... | 276 | false | mardix/Mocha | redirect | 33,084 | |
LDU_FT/espressif/esptool/string_to_int | LDU_FT | [
"<BEGIN>\n## `decrypt`",
"Decrypt a block of cipher text using the AES block cipher.\n<END>",
"<BEGIN>\n## `increment`",
"Increment the counter (overflow rolls back to 0).\n<END>",
"<BEGIN>\n## `summary`",
"Print a human-readable summary of efuse contents\n<END>",
"<BEGIN>\n## `write_efuses`",
"Write ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string_to_int API.
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 string_to_int API.
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... | Convert a string of bytes into an integer, as per X9.62. | "Convert a string of bytes into an integer, as per X9.62." | 199 | false | espressif/esptool | string_to_int | 33,085 | |
LDU_FT/ausaki/subfinder/_compute_video_hash | LDU_FT | [
"<BEGIN>\n## `_gen_subname`",
"generate filename of subtitles\n :TODO: fix the conflict of subname\n<END>",
"<BEGIN>\n## `_compute_video_hash`",
"compute videofile's hash\n reference: https://docs.google.com/document/d/1w5MCBO61rKQ6hI5m9laJLWse__yTYdRugpVyz4RzrmM/preview\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_video_hash 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 _compute_video_hash 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... | compute videofile's hash
reference: https://docs.google.com/document/d/1w5MCBO61rKQ6hI5m9laJLWse__yTYdRugpVyz4RzrmM/preview | "compute videofile's hash\n reference: https://docs.google.com/document/d/1w5MCBO61rKQ6hI5m9laJLWse__yTYdRugpVyz4RzrmM/preview" | 26 | false | ausaki/subfinder | _compute_video_hash | 33,086 | |
LDU_FT/tornadoweb/tornado/set_secure_cookie | LDU_FT | [
"<BEGIN>\n## `start`",
"Begins watching source files for changes.",
" .. versionchanged:: 5.0\n The ``io_loop`` argument (deprecated since version 4.1) has been removed.\n<END>",
"<BEGIN>\n## `main`",
"Command-line wrapper to re-run a script whenever its source changes.",
" Scripts may be spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_secure_cookie API.
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 set_secure_cookie API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Signs and timestamps a cookie so it cannot be forged.
You must specify the ``cookie_secret`` setting in your Application
to use this method. It should be a long, random sequence of bytes
to be used as the HMAC secret for the signature.
To read a cookie set with this method, use `get_se... | "Signs and timestamps a cookie so it cannot be forged.\n\n You must specify the ``cookie_secret`` setting in your Application\n to use this method. It should be a long, random sequence of bytes\n to be used as the HMAC secret for the signature.\n\n To read a cookie set with this method, use ... | 1,291 | true | tornadoweb/tornado | set_secure_cookie | 33,087 | |
LDU_FT/marrow/cinje/iterate | LDU_FT | [
"<BEGIN>\n## `match`",
"Match lines prefixed with a hash (\"#\") mark that don't look like text.\n<END>",
"<BEGIN>\n## `stream`",
"Safely iterate a template generator, ignoring ``None`` values and optionally stream encoding.",
"\tUsed internally by ``cinje.flatten``, this allows for easy use of a template g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API.
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 iterate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Loop over an iterable and track progress, including first and last state.
On each iteration yield an Iteration named tuple with the first and last flags, current element index, total
iterable length (if possible to acquire), and value, in that order.
for iteration in iterate(something):
iteration.value # Do... | "Loop over an iterable and track progress, including first and last state.\n\t\n\tOn each iteration yield an Iteration named tuple with the first and last flags, current element index, total\n\titerable length (if possible to acquire), and value, in that order.\n\t\n\t\tfor iteration in iterate(something):\n\t\t\titera... | 66 | false | marrow/cinje | iterate | 33,088 | |
LDU_FT/maxpumperla/elephas/start_flask_service | LDU_FT | [
"<BEGIN>\n## `add_params`",
"Add two lists of parameters one by one",
" :param param_list_left: list of numpy arrays\n :param param_list_right: list of numpy arrays\n :return: list of numpy arrays\n<END>",
"<BEGIN>\n## `subtract_params`",
"Subtract two lists of parameters",
" :param param_list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_flask_service 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 start_flask_service 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... | Define Flask parameter server service.
This HTTP server can do two things: get the current model
parameters and update model parameters. After registering
the `parameters` and `update` routes, the service will
get started. | "Define Flask parameter server service.\n\n This HTTP server can do two things: get the current model\n parameters and update model parameters. After registering\n the `parameters` and `update` routes, the service will\n get started." | 87 | false | maxpumperla/elephas | start_flask_service | 33,089 | |
LDU_FT/Shoobx/xmldiff/match_bitap | LDU_FT | [
"<BEGIN>\n## `diff_main`",
"Find the differences between two texts. Simplifies the problem by\n stripping any common prefix or suffix off the texts before diffing.",
" Args:\n text1: Old string to be diffed.\n text2: New string to be diffed.\n checklines: Optional speedup flag. If prese... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_bitap API.
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 match_bitap API.
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... | Locate the best instance of 'pattern' in 'text' near 'loc' using the
Bitap algorithm.
Args:
text: The text to search.
pattern: The pattern to search for.
loc: The location to search around.
Returns:
Best match index or -1. | "Locate the best instance of 'pattern' in 'text' near 'loc' using the\n Bitap algorithm.\n\n Args:\n text: The text to search.\n pattern: The pattern to search for.\n loc: The location to search around.\n\n Returns:\n Best match index or -1." | 146 | false | Shoobx/xmldiff | match_bitap | 33,090 | |
LDU_FT/lsst-sqre/documenteer/run | LDU_FT | [
"<BEGIN>\n## `run`",
"Main entrypoint method.",
" Returns\n -------\n new_nodes : `list`\n Nodes to add to the doctree.\n<END>",
"<BEGIN>\n## `main`",
"stack-docs is a CLI for building LSST Stack documentation, such as\n pipelines.lsst.io.",
" This command should be r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run the ``remote-code-block`` directive. | "Run the ``remote-code-block`` directive." | 430 | false | lsst-sqre/documenteer | run | 33,091 | |
LDU_FT/openstack/swauth/get_admin_detail | LDU_FT | [
"<BEGIN>\n## `filter_factory`",
"Returns a WSGI filter app for use with paste.deploy.\n<END>",
"<BEGIN>\n## `make_pre_authed_request`",
"Nearly the same as swift.common.wsgi.make_pre_authed_request\n except that this also always sets the 'swift.source' and user\n agent.",
" Newer Swift ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_admin_detail API.
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_admin_detail API.
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 the dict for the user specified as the admin in the request
with the addition of an `account` key set to the admin user's account.
:param req: The swob request to retrieve X-Auth-Admin-User and
X-Auth-Admin-Key from.
:returns: The dict for the admin user with the add... | "Returns the dict for the user specified as the admin in the request\n with the addition of an `account` key set to the admin user's account.\n\n :param req: The swob request to retrieve X-Auth-Admin-User and\n X-Auth-Admin-Key from.\n :returns: The dict for the admin user with t... | 133 | false | openstack/swauth | get_admin_detail | 33,092 | |
LDU_FT/mrstephenneal/dirutility/connect | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect and login to an FTP server and return ftplib.FTP object.\n<END>",
"<BEGIN>\n## `get`",
"Download a remote file on the fto sever to a local directory.",
" :param remote: File path of remote source file\n :param local: Directory of local destination directory\n ... | 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... | Connect and login to an FTP server and return ftplib.FTP object. | "Connect and login to an FTP server and return ftplib.FTP object." | 92 | false | mrstephenneal/dirutility | connect | 33,093 | |
LDU_FT/praw-dev/prawcore/call | LDU_FT | [
"<BEGIN>\n## `receive_connection`",
"Wait for and then return a connected socket..",
" Opens a TCP connection on port 8080, and waits for a single client.\n<END>",
"<BEGIN>\n## `send_message`",
"Send message to client and close the connection.\n<END>",
"<BEGIN>\n## `main`",
"Provide the program's ent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Rate limit the call to request_function.
:param request_function: A function call that returns an HTTP response
object.
:param set_header_callback: A callback function used to set the request
headers. This callback is called after any necessary sleep time
occurs.
... | "Rate limit the call to request_function.\n\n :param request_function: A function call that returns an HTTP response\n object.\n :param set_header_callback: A callback function used to set the request\n headers. This callback is called after any necessary sleep time\n occu... | 51 | false | praw-dev/prawcore | call | 33,094 | |
LDU_FT/fedora-infra/datanommer/run | LDU_FT | [
"<BEGIN>\n## `_page`",
"Quick utility to page a query, 1000 items at a time.\n We need this so we don't OOM (out of memory) ourselves loading the world.\n<END>",
"<BEGIN>\n## `upgrade`",
"This takes a *really* long time. Like, hours.\n<END>",
"<BEGIN>\n## `run`",
"Execute a shell command.",
" Bot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Execute a shell command.
Both envoy and python-sh failed me...
commands, although deprecated, feels like the easiest tool to use. | "Execute a shell command.\n\n Both envoy and python-sh failed me...\n commands, although deprecated, feels like the easiest tool to use." | 36 | false | fedora-infra/datanommer | run | 33,095 | |
LDU_FT/ethereum/pyethereum/DEBUG | LDU_FT | [
"<BEGIN>\n## `_canonical_type`",
"Replace aliases to the corresponding type to compute the ids.\n<END>",
"<BEGIN>\n## `method_id`",
"Return the unique method id.",
" The signature is defined as the canonical expression of the basic\n prototype, i.e. the function name with the parenthesised list of par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DEBUG API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DEBUG API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | temporary logger during development that is always on | "temporary logger during development that is always on" | 138 | false | ethereum/pyethereum | DEBUG | 33,096 | |
LDU_FT/ymyzk/python-gyazo/has_next_page | LDU_FT | [
"<BEGIN>\n## `get_image_list`",
"Return a list of user's saved images",
" :param page: (optional) Page number (default: 1)\n :param per_page: (optional) Number of images per page\n (default: 20, min: 1, max: 100)\n<END>",
"<BEGIN>\n## `upload_image`",
"Upload an image",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_next_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_next_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Whether there is a next page or not
:getter: Return true if there is a next page | "Whether there is a next page or not\n\n :getter: Return true if there is a next page" | 35 | false | ymyzk/python-gyazo | has_next_page | 33,097 | |
LDU_FT/Turbo87/aerofiles/write_event | LDU_FT | [
"<BEGIN>\n## `write_waypoint`",
"Write a waypoint::",
" writer.write_waypoint(\n 'Meiersberg',\n 'MEIER',\n 'DE',\n (51 + 7.345 / 60.),\n (6 + 24.765 / 60.),\n )\n # -> \"Meiersberg\",\"MEIER\",DE,5107.34... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_event API.
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 write_event API.
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... | Write an event record::
writer.write_event(datetime.time(12, 34, 56), 'PEV')
# -> B123456PEV
writer.write_event(datetime.time(12, 34, 56), 'PEV', 'Some Text')
# -> B123456PEVSome Text
writer.write_event('PEV') # uses utcnow()
# -> B121503PEV
... | "Write an event record::\n\n writer.write_event(datetime.time(12, 34, 56), 'PEV')\n # -> B123456PEV\n\n writer.write_event(datetime.time(12, 34, 56), 'PEV', 'Some Text')\n # -> B123456PEVSome Text\n\n writer.write_event('PEV') # uses utcnow()\n # -> B12... | 129 | false | Turbo87/aerofiles | write_event | 33,098 | |
LDU_FT/learningequality/ricecooker/create_predictable_zip | LDU_FT | [
"<BEGIN>\n## `_write_to_zip`",
"_write_to_zip: Write file to zip\n Args:\n path: (str) where in zip to write file\n contents: (str) contents of file to write\n Returns: None\n<END>",
"<BEGIN>\n## `_commit`",
"_commit: Adds folder/file to map\n Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_predictable_zip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_predictable_zip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create a zip file with predictable sort order and metadata so that MD5 will
stay consistent if zipping the same content twice.
Args:
path (str): absolute path either to a directory to zip up, or an existing zip file to convert.
Returns: path (str) to the output zip file | "Create a zip file with predictable sort order and metadata so that MD5 will\n stay consistent if zipping the same content twice.\n Args:\n path (str): absolute path either to a directory to zip up, or an existing zip file to convert.\n Returns: path (str) to the output zip file" | 364 | false | learningequality/ricecooker | create_predictable_zip | 33,099 | |
LDU_FT/citruz/beacontools/set_scan_parameters | LDU_FT | [
"<BEGIN>\n## `run`",
"Continously scan for BLE advertisements.\n<END>",
"<BEGIN>\n## `set_scan_parameters`",
"sets the le scan parameters",
" Args:\n scan_type: ScanType.(PASSIVE|ACTIVE)\n interval: ms (as float) between scans (valid range 2.5ms - 10240ms)\n ..not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_scan_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_scan_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | sets the le scan parameters
Args:
scan_type: ScanType.(PASSIVE|ACTIVE)
interval: ms (as float) between scans (valid range 2.5ms - 10240ms)
..note:: when interval and window are equal, the scan
runs continuos
window: ms (as float) scan dura... | "sets the le scan parameters\n\n Args:\n scan_type: ScanType.(PASSIVE|ACTIVE)\n interval: ms (as float) between scans (valid range 2.5ms - 10240ms)\n ..note:: when interval and window are equal, the scan\n runs continuos\n window: ms (as float) s... | 29 | false | citruz/beacontools | set_scan_parameters | 33,100 | |
LDU_FT/klen/django-netauth/complete | LDU_FT | [
"<BEGIN>\n## `merge_accounts`",
"Attach NetID account to regular django\n account and then redirect user. In this situation\n user dont have to fill extra fields because he filled\n them when first account (request.user) was created.",
" Note that self.indentity must be already set i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complete API.
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 complete API.
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... | After first step of net authentication, we must validate the response.
If everything is ok, we must do the following:
1. If user is already authenticated:
a. Try to login him again (strange variation but we must take it to account).
b. Create new netID record in database.
... | "After first step of net authentication, we must validate the response.\n If everything is ok, we must do the following:\n 1. If user is already authenticated:\n a. Try to login him again (strange variation but we must take it to account).\n b. Create new netID record in database.\n ... | 29 | false | klen/django-netauth | complete | 33,101 | |
LDU_FT/alexhayes/django-toolkit/attach_related | LDU_FT | [
"<BEGIN>\n## `get_anchor_href`",
"Given HTML markup, return a list of hrefs for each anchor tag.\n<END>",
"<BEGIN>\n## `get_anchor_contents`",
"Given HTML markup, return a list of href inner html for each anchor tag.\n<END>",
"<BEGIN>\n## `expire_cache`",
"Expire a cache item.",
" @param url: The url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_related API.
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 attach_related API.
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... | Attaches a file with the given filename and content. The filename can
be omitted and the mimetype is guessed, if not provided.
If the first parameter is a MIMEBase subclass it is inserted directly
into the resulting message attachments. | "Attaches a file with the given filename and content. The filename can\n be omitted and the mimetype is guessed, if not provided.\n\n If the first parameter is a MIMEBase subclass it is inserted directly\n into the resulting message attachments." | 155 | false | alexhayes/django-toolkit | attach_related | 33,102 | |
LDU_FT/RaRe-Technologies/gensim-simserver/delete | LDU_FT | [
"<BEGIN>\n## `merge_sims`",
"Merge two precomputed similarity lists, truncating the result to `clip` most similar items.\n<END>",
"<BEGIN>\n## `terminate`",
"Delete all files created by this index, invalidating `self`. Use with care.\n<END>",
"<BEGIN>\n## `index_documents`",
"Update fresh index with new d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Delete specified documents from the index. | "Delete specified documents from the index." | 74 | false | RaRe-Technologies/gensim-simserver | delete | 33,103 | |
LDU_FT/ulule/django-linguist/get_translation_kwargs | LDU_FT | [
"<BEGIN>\n## `_filter_or_exclude`",
"Overrides default behavior to handle linguist fields.\n<END>",
"<BEGIN>\n## `_get_concrete_fields_with_model`",
"For compatibility with Django<=1.10. Replace old\n `_meta.get_concrete_fields_with_model`.\n https://docs.djangoproject.com/en/1.10/ref/models/met... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_translation_kwargs 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_translation_kwargs 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 linguist lookup kwargs (related to Translation model). | "Returns linguist lookup kwargs (related to Translation model)." | 62 | false | ulule/django-linguist | get_translation_kwargs | 33,104 | |
LDU_FT/Kozea/pygal/_compute_secondary | LDU_FT | [
"<BEGIN>\n## `erfinv`",
"Approximation of the inverse error function\n https://en.wikipedia.org/wiki/Error_function\n #Approximation_with_elementary_functions\n<END>",
"<BEGIN>\n## `confidence_interval_continuous`",
"Continuous confidence interval from sample size and standard error\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_secondary 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 _compute_secondary 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... | Compute secondary axis min max and label positions | "Compute secondary axis min max and label positions" | 147 | false | Kozea/pygal | _compute_secondary | 33,105 | |
LDU_FT/gmr/infoblox/add_new_host | LDU_FT | [
"<BEGIN>\n## `delete_old_host`",
"Remove all records for the host.",
" :param str hostname: Hostname to remove\n :rtype: bool\n<END>",
"<BEGIN>\n## `add_new_host`",
"Add or update a host in the infoblox, overwriting any IP address\n entries.",
" :param str hostname: Hostname to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_new_host API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_new_host API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Add or update a host in the infoblox, overwriting any IP address
entries.
:param str hostname: Hostname to add/set
:param str ipv4addr: IP Address to add/set
:param str comment: The comment for the record | "Add or update a host in the infoblox, overwriting any IP address\n entries.\n\n :param str hostname: Hostname to add/set\n :param str ipv4addr: IP Address to add/set\n :param str comment: The comment for the record" | 42 | false | gmr/infoblox | add_new_host | 33,106 | |
LDU_FT/DataBiosphere/toil/subtract | LDU_FT | [
"<BEGIN>\n## `html_page_context`",
"Event handler for the html-page-context signal.\n Modifies the context directly.\n - Replaces the 'toc' value created by the HTML builder with one\n that shows all document titles and the local table of contents.\n - Sets display_toc to True so the table of con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subtract API.
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 subtract API.
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... | Subtracts the resources necessary to run a jobShape from the reservation. | "Subtracts the resources necessary to run a jobShape from the reservation." | 1,322 | true | DataBiosphere/toil | subtract | 33,107 | |
LDU_FT/sashahart/cookies/encode_cookie_value | LDU_FT | [
"<BEGIN>\n## `strip_spaces_and_quotes`",
"Remove invalid whitespace and/or single pair of dquotes and return None\n for empty strings.",
" Used to prepare cookie values, path, and domain attributes in a way which\n tolerates simple formatting mistakes and standards variations.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_cookie_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_cookie_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | URL-encode strings to make them safe for a cookie value.
By default this uses urllib quoting, as used in many other cookie
implementations and in other Python code, instead of an ad hoc escaping
mechanism which includes backslashes (these also being illegal chars in RFC
6265). | "URL-encode strings to make them safe for a cookie value.\n\n By default this uses urllib quoting, as used in many other cookie\n implementations and in other Python code, instead of an ad hoc escaping\n mechanism which includes backslashes (these also being illegal chars in RFC\n 6265)." | 63 | false | sashahart/cookies | encode_cookie_value | 33,108 | |
LDU_FT/cbclab/MOT/minimize | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize API.
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 minimize API.
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... | Minimization of one or more variables.
For an easy wrapper of function maximization, see :func:`maximize`.
All boundary conditions are enforced using the penalty method. That is, we optimize the objective function:
.. math::
F(x) = f(x) \mu \sum \max(0, g_i(x))^2
where :math:`F(x)` is the n... | "Minimization of one or more variables.\n\n For an easy wrapper of function maximization, see :func:`maximize`.\n\n All boundary conditions are enforced using the penalty method. That is, we optimize the objective function:\n\n .. math::\n\n F(x) = f(x) \\mu \\sum \\max(0, g_i(x))^2\n\n where :math:`... | 445 | false | cbclab/MOT | minimize | 33,109 | |
LDU_FT/cmap/cmapPy/id_match_check | LDU_FT | [
"<BEGIN>\n## `subset_main`",
"Separate method from main() in order to make testing easier and to\n enable command-line access.\n<END>",
"<BEGIN>\n## `_read_arg`",
"If arg is a list with 1 element that corresponds to a valid file path, use\n set_io.grp to read the grp file. Otherwise, check that arg is a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id_match_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id_match_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Verifies that id values match between:
- row case: index of data_df & index of row metadata
- col case: columns of data_df & index of column metadata | "Verifies that id values match between:\n - row case: index of data_df & index of row metadata\n - col case: columns of data_df & index of column metadata" | 210 | false | cmap/cmapPy | id_match_check | 33,110 | |
LDU_FT/BYU-Hydroinformatics/HydroErr/sga | LDU_FT | [
"<BEGIN>\n## `me`",
"Compute the mean error of the simulated and observed data.",
" .. image:: /pictures/ME.png",
" **Range:** -inf < MAE < inf, data units, closer to zero is better, indicates bias.",
" **Notes:** The mean error (ME) measures the difference between the simulated data and the\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sga API.
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 sga API.
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... | Compute the Spectral Gradient Angle (SGA).
.. image:: /pictures/SGA.png
**Range:** -π/2 ≤ SID < π/2, closer to 0 is better.
**Notes:** The spectral gradient angle measures the angle between the two vectors in
hyperspace. It indicates how well the shape of the two series match – not magnitude.
SG ... | "Compute the Spectral Gradient Angle (SGA).\n\n .. image:: /pictures/SGA.png\n\n **Range:** -π/2 ≤ SID < π/2, closer to 0 is better.\n\n **Notes:** The spectral gradient angle measures the angle between the two vectors in\n hyperspace. It indicates how well the shape of the two series match – not magnitude.... | 343 | false | BYU-Hydroinformatics/HydroErr | sga | 33,111 | |
LDU_FT/elemoine/papyrus/create_attr_filter | LDU_FT | [
"<BEGIN>\n## `add_column_xsd`",
"Add the XSD for a column to tb (a TreeBuilder)\n<END>",
"<BEGIN>\n## `add_column_property_xsd`",
"Add the XSD for a column property to the ``TreeBuilder``.\n<END>",
"<BEGIN>\n## `add_class_properties_xsd`",
"Add the XSD for the class properties to the ``TreeBuilder``. And\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_attr_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_attr_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create an ``and_`` SQLAlchemy filter (a ClauseList object) based
on the request params (``queryable``, ``eq``, ``ne``, ...).
Arguments:
request
the request.
mapped_class
the SQLAlchemy mapped class. | "Create an ``and_`` SQLAlchemy filter (a ClauseList object) based\n on the request params (``queryable``, ``eq``, ``ne``, ...).\n\n Arguments:\n\n request\n the request.\n\n mapped_class\n the SQLAlchemy mapped class." | 57 | false | elemoine/papyrus | create_attr_filter | 33,112 | |
LDU_FT/samluescher/django-media-tree/result_tree_flat | LDU_FT | [
"<BEGIN>\n## `i18n_javascript`",
"Displays the i18n JavaScript that the Django admin requires.",
" This takes into account the USE_I18N setting. If it's set to False, the\n generated JavaScript will be leaner and faster.\n<END>",
"<BEGIN>\n## `file_links`",
"Turns a (optionally nested) list of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result_tree_flat API.
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 result_tree_flat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Added 'filtered' param, so the template's js knows whether the results have
been affected by a GET param or not. Only when the results are not filtered
you can drag and sort the tree | "Added 'filtered' param, so the template's js knows whether the results have\n been affected by a GET param or not. Only when the results are not filtered\n you can drag and sort the tree" | 96 | false | samluescher/django-media-tree | result_tree_flat | 33,113 | |
LDU_FT/mar10/pyftpsync/write | LDU_FT | [
"<BEGIN>\n## `match_path`",
"Return True if `path` matches `match` and `exclude` options.\n<END>",
"<BEGIN>\n## `_compare_file`",
"Byte compare two files (early out on first difference).\n<END>",
"<BEGIN>\n## `_tick`",
"Write progress info and move cursor to beginning of line.\n<END>",
"<BEGIN>\n## `_sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Redirectable wrapper for print statements. | "Redirectable wrapper for print statements." | 122 | false | mar10/pyftpsync | write | 33,114 | |
LDU_FT/Cadasta/django-tutelary/permitted_actions | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission checking decorator -- works like the\n ``permission_required`` decorator in the default Django\n authentication system, except that it takes a sequence of actions\n to check, an object must be supplied, and the user must have\n permission to perform all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permitted_actions API.
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 permitted_actions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Determine list of permitted actions for an object or object
pattern.
:param user: The user to test.
:type user: ``User``
:param obj: A function mapping from action names to object
paths to test.
:type obj: callable
:returns: ``list(tutelary.engine.Act... | "Determine list of permitted actions for an object or object\n pattern.\n\n :param user: The user to test.\n :type user: ``User``\n :param obj: A function mapping from action names to object\n paths to test.\n :type obj: callable\n :returns: ``list(tutelary.e... | 50 | false | Cadasta/django-tutelary | permitted_actions | 33,115 | |
LDU_FT/Crypto-toolbox/bitex/handle_response | LDU_FT | [
"<BEGIN>\n## `_restart_thread`",
"Restarts subscription threads if their connection drops.\n :return:\n<END>",
"<BEGIN>\n## `_subscription_thread`",
"Thread Method, running the connection for each endpoint.\n :param endpoint:\n :return:\n<END>",
"<BEGIN>\n## `start`",
"Starts threads.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_response API.
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 handle_response API.
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... | Passes a response message to the corresponding event handler, and also
takes care of handling errors raised by the _raise_error handler.
:param ts: timestamp, declares when data was received by the client
:param resp: dict, containing info or error keys, among others
:return: | "Passes a response message to the corresponding event handler, and also\n takes care of handling errors raised by the _raise_error handler.\n :param ts: timestamp, declares when data was received by the client\n :param resp: dict, containing info or error keys, among others\n :return:" | 79 | false | Crypto-toolbox/bitex | handle_response | 33,116 | |
LDU_FT/edx/opaque-keys/replace | LDU_FT | [
"<BEGIN>\n## `parse_url`",
"If it can be parsed as a version_guid with no preceding org + offering, returns a dict\n with key 'version_guid' and the value,",
" If it can be parsed as a org + offering, returns a dict\n with key 'id' and optional keys 'branch' and 'version_guid'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
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 replace API.
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 new :class:`AsideUsageKeyV2` with ``KEY_FIELDS`` specified in ``kwargs`` replaced
with their corresponding values. Deprecation value is also preserved. | "Return: a new :class:`AsideUsageKeyV2` with ``KEY_FIELDS`` specified in ``kwargs`` replaced\n with their corresponding values. Deprecation value is also preserved." | 127 | false | edx/opaque-keys | replace | 33,117 | |
LDU_FT/has2k1/plydata/Expression | LDU_FT | [
"<BEGIN>\n## `set_option`",
"Set plydata option",
" Parameters\n ----------\n name : str\n Name of the option\n value : object\n New value of the option",
" Returns\n -------\n old : object\n Old value of the option",
" See also\n --------\n :class:`options... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Expression API.
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 Expression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return an appropriate Expression given the arguments
Parameters
----------
args : tuple
Positional arguments passed to the Expression class
kwargs : dict
Keyword arguments passed to the Expression class | "Return an appropriate Expression given the arguments\n\n Parameters\n ----------\n args : tuple\n Positional arguments passed to the Expression class\n kwargs : dict\n Keyword arguments passed to the Expression class" | 119 | false | has2k1/plydata | Expression | 33,118 | |
LDU_FT/frigg/frigg-worker/load_preset | LDU_FT | [
"<BEGIN>\n## `create_pending_tasks`",
"Creates pending task results in a dict on self.result with task string as key. It will also\n create a list on self.tasks that is used to make sure the serialization of the results\n creates a correctly ordered list.\n<END>",
"<BEGIN>\n## `load_preset`",
"L... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_preset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_preset API.
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... | Loads preset if it is specified in the .frigg.yml | "Loads preset if it is specified in the .frigg.yml" | 11 | false | frigg/frigg-worker | load_preset | 33,119 | |
LDU_FT/geopy/geopy/geocode | LDU_FT | [
"<BEGIN>\n## `_construct_url`",
"Construct geocoding request url. Overridden.",
" :param str base_api: Geocoding function base address - self.api\n or self.reverse_api.",
" :param dict params: Geocoding params.",
" :return: string URL.\n<END>",
"<BEGIN>\n## `geocode`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a location point by address.
:param str query: The address, query or structured query to geocode
you wish to geocode.
:param bool exactly_one: Return one result or a list of results, if
available.
:param int timeout: Time, in seconds, to wait for the geocoding s... | "Return a location point by address.\n\n :param str query: The address, query or structured query to geocode\n you wish to geocode.\n\n :param bool exactly_one: Return one result or a list of results, if\n available.\n\n :param int timeout: Time, in seconds, to wait for the ge... | 405 | false | geopy/geopy | geocode | 33,120 | |
LDU_FT/openvax/mhcnames/compact_allele_name | LDU_FT | [
"<BEGIN>\n## `parse_substring`",
"Extract substring of letters for which predicate is True\n<END>",
"<BEGIN>\n## `parse_mouse_allele_name`",
"Parses mouse MHc alleles such as H2-Kd, H-2-Db, H2-IAb.\n Returns pair of (gene, allele_code).\n<END>",
"<BEGIN>\n## `infer_alpha_chain`",
"Given a parsed beta c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compact_allele_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compact_allele_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Turn HLA-A*02:01 into A0201 or H-2-D-b into H-2Db or
HLA-DPA1*01:05-DPB1*100:01 into DPA10105-DPB110001 | "Turn HLA-A*02:01 into A0201 or H-2-D-b into H-2Db or\n HLA-DPA1*01:05-DPB1*100:01 into DPA10105-DPB110001" | 29 | false | openvax/mhcnames | compact_allele_name | 33,121 | |
LDU_FT/nats-io/python-nats/timed_request | 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 timed_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timed_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 ext... | Implements the request/response pattern via pub/sub
using an ephemeral subscription which will be published
with a limited interest of 1 reply returning the response
or raising a Timeout error.
->> SUB _INBOX.E9jM2HTirMXDMXPROSQmSd 90
->> UNSUB 90 1
->> PUB hello _... | "Implements the request/response pattern via pub/sub\n using an ephemeral subscription which will be published\n with a limited interest of 1 reply returning the response\n or raising a Timeout error.\n\n ->> SUB _INBOX.E9jM2HTirMXDMXPROSQmSd 90\n ->> UNSUB 90 1\n ->> PUB... | 62 | false | nats-io/python-nats | timed_request | 33,122 | |
LDU_FT/dswah/pyGAM/generate_X_grid | LDU_FT | [
"<BEGIN>\n## `validate_callback_data`",
"wraps a callback's method to pull the desired arguments from the vars dict\n also checks to ensure the method's arguments are in the vars dict",
" Parameters\n ----------\n method : callable",
" Returns\n -------\n validated callable\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_X_grid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_X_grid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | create a nice grid of X data
array is sorted by feature and uniformly spaced,
so the marginal and joint distributions are likely wrong
if term is >= 0, we generate n samples per feature,
which results in n^deg samples,
where deg is the degree of the interaction of the term
... | "create a nice grid of X data\n\n array is sorted by feature and uniformly spaced,\n so the marginal and joint distributions are likely wrong\n\n if term is >= 0, we generate n samples per feature,\n which results in n^deg samples,\n where deg is the degree of the interaction of the t... | 770 | false | dswah/pyGAM | generate_X_grid | 33,123 | |
LDU_FT/tortoise/tortoise-orm/apply_type_shim | LDU_FT | [
"<BEGIN>\n## `transform_model`",
"Anything that uses the ModelMeta needs _meta and id.\n Also keep track of relationships and make them in the related model class.\n<END>",
"<BEGIN>\n## `apply_type_shim`",
"Morphs model fields to representative type\n<END>",
"<BEGIN>\n## `list_encoder`",
"Encodes an it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_type_shim API.
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 apply_type_shim API.
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... | Morphs model fields to representative type | "Morphs model fields to representative type" | 89 | false | tortoise/tortoise-orm | apply_type_shim | 33,124 | |
LDU_FT/galaxy-genome-annotation/python-apollo/cli | LDU_FT | [
"<BEGIN>\n## `cli`",
"Set a feature's name",
"Output:",
" A standard apollo feature dictionary ({\"features\": [{...}]})\n<END>",
"<BEGIN>\n## `cli`",
"[UNTESTED] Delete a specific feature alteration",
"Output:",
" A list of sequence alterations(?)\n<END>",
"<BEGIN>\n## `cli`",
"Set a featur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
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 cli API.
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... | Set a feature's description
Output:
A standard apollo feature dictionary ({"features": [{...}]}) | "Set a feature's description\n\nOutput:\n\n A standard apollo feature dictionary ({\"features\": [{...}]})" | 564 | false | galaxy-genome-annotation/python-apollo | cli | 33,125 | |
LDU_FT/caesar0301/relogger/_get_section_values | LDU_FT | [
"<BEGIN>\n## `_get_section_values`",
"extract src and dst values from a section\n<END>",
"<BEGIN>\n## `_assemble_flowtable`",
"generate a flowtable from a tuple of descriptors.\n<END>",
"<BEGIN>\n## `_detect_loop`",
"detect loops in flow table, raise error if being present\n<END>",
"<BEGIN>\n## `_get_ab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_section_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_section_values 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... | extract src and dst values from a section | "extract src and dst values from a section" | 26 | false | caesar0301/relogger | _get_section_values | 33,126 | |
LDU_FT/openego/eDisGo/curtailment | LDU_FT | [
"<BEGIN>\n## `one_storage_per_feeder`",
"Allocates the given storage capacity to multiple smaller storages.",
" For each feeder with load or voltage issues it is checked if integrating a\n storage will reduce peaks in the feeder, starting with the feeder with\n the highest theoretical grid expansion co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the curtailment API.
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 curtailment API.
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... | Holds curtailment assigned to each generator per curtailment target.
Returns
-------
:obj:`dict` with :pandas:`pandas.DataFrame<dataframe>`
Keys of the dictionary are generator types (and weather cell ID)
curtailment targets were given for. E.g. if curtailment is provide... | "Holds curtailment assigned to each generator per curtailment target.\n\n Returns\n -------\n :obj:`dict` with :pandas:`pandas.DataFrame<dataframe>`\n Keys of the dictionary are generator types (and weather cell ID)\n curtailment targets were given for. E.g. if curtailment is ... | 764 | false | openego/eDisGo | curtailment | 33,127 | |
LDU_FT/c0ntrol-x/p4rr0t007/lpad | LDU_FT | [
"<BEGIN>\n## `json_response`",
"Useful for restful APIs\n :param data: a native python object, must be json serialiable, otherwise will be handled by :py:meth:`Application.json_handle_weird`\n :param code: the http status code\n :param indent: how many characters to indent when generating the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lpad API.
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 lpad API.
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... | pads a string to the left with null-bytes or any other given character.
..note:: This is used by the :py:func:`xor` function.
:param s: the string
:param N: an integer of how much padding should be done
:returns: the original bytes | "pads a string to the left with null-bytes or any other given character.\n\n ..note:: This is used by the :py:func:`xor` function.\n\n :param s: the string\n :param N: an integer of how much padding should be done\n :returns: the original bytes" | 31 | false | c0ntrol-x/p4rr0t007 | lpad | 33,128 | |
LDU_FT/thebigmunch/google-music-utils/_match_field | LDU_FT | [
"<BEGIN>\n## `suggest_filename`",
"Generate a filename like Google for a song based on metadata.",
"\tParameters:\n\t\tmetadata (~collections.abc.Mapping): A metadata dict.",
"\tReturns:\n\t\tstr: A filename string without an extension.\n<END>",
"<BEGIN>\n## `template_to_filepath`",
"Create directory stru... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Match an item metadata field value by pattern.
Note:
Metadata values are lowercased when ``normalized_values`` is ``True``,
so ``ignore_case`` is automatically set to ``True``.
Parameters:
field_value (list or str): A metadata field value to check.
pattern (str): A regex pattern to check the field value(s) ... | "Match an item metadata field value by pattern.\n\n\tNote:\n\t\tMetadata values are lowercased when ``normalized_values`` is ``True``,\n\t\tso ``ignore_case`` is automatically set to ``True``.\n\n\tParameters:\n\t\tfield_value (list or str): A metadata field value to check.\n\t\tpattern (str): A regex pattern to check ... | 44 | false | thebigmunch/google-music-utils | _match_field | 33,129 | |
LDU_FT/KelSolaar/Manager/register_component | LDU_FT | [
"<BEGIN>\n## `name`",
"Setter for **self.__name** attribute.",
" :param value: Attribute value.\n :type value: unicode\n<END>",
"<BEGIN>\n## `activated`",
"Setter for **self.__activated** attribute.",
" :param value: Attribute value.\n :type value: bool\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_component 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 register_component 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... | Registers a Component using given path.
Usage::
>>> manager = Manager()
>>> manager.register_component("tests_component_a.rc")
True
>>> manager.components
{u'core.tests_component_a': <manager.components_manager.Profile object at 0x11c9eb0>}
... | "Registers a Component using given path.\n\n Usage::\n\n >>> manager = Manager()\n >>> manager.register_component(\"tests_component_a.rc\")\n True\n >>> manager.components\n {u'core.tests_component_a': <manager.components_manager.Profile object at 0x11c9eb0>... | 133 | false | KelSolaar/Manager | register_component | 33,130 | |
LDU_FT/cox-labs/perseuspy/run_dependent_peptides | LDU_FT | [
"<BEGIN>\n## `read_annotations`",
"Read all annotations from the specified file.",
" >>> annotations = read_annotations(path_or_file, separator)\n >>> colnames = annotations['Column Name']\n >>> types = annotations['Type']\n >>> annot_row = annotations['Annot. row name']",
" :param path_or_file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_dependent_peptides 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 run_dependent_peptides API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | transform a allPeptides.txt and experimentalDesign.txt table
into the dependentPeptides.txt table written in outfile.
:param allPeptides_file: MaxQuant 'allPeptides.txt' output table.
:param rawFilesTable_file: MaxQuant 'Raw files'-tab table.
:param outfile: Path to the output file. | "transform a allPeptides.txt and experimentalDesign.txt table\n into the dependentPeptides.txt table written in outfile.\n :param allPeptides_file: MaxQuant 'allPeptides.txt' output table.\n :param rawFilesTable_file: MaxQuant 'Raw files'-tab table.\n :param outfile: Path to the output file." | 57 | false | cox-labs/perseuspy | run_dependent_peptides | 33,131 | |
LDU_FT/ansible/ansible-container/get_route_templates | LDU_FT | [
"<BEGIN>\n## `to_bytes`",
"Make sure that a string is a byte string",
" :arg obj: An object to make sure is a byte string. In most cases this\n will be either a text string or a byte string. However, with\n ``nonstring='simplerepr'``, this can be used as a traceback-free\n version of `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_route_templates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_route_templates 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... | Generate Openshift route templates or playbook tasks. Each port on a service definition found in container.yml
represents an externally exposed port. | "Generate Openshift route templates or playbook tasks. Each port on a service definition found in container.yml\n represents an externally exposed port." | 64 | false | ansible/ansible-container | get_route_templates | 33,132 | |
LDU_FT/devricks/soft_drf/authenticate | LDU_FT | [
"<BEGIN>\n## `get_serializer_class`",
"Return the serializer class depending on request method.\n Attribute of proper serializer should be defined.\n<END>",
"<BEGIN>\n## `get_serializer`",
"Returns the serializer instance that should be used to the\n given action.\n If any action was give... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a two-tuple of `User` and token if a valid signature has been
supplied using JWT-based authentication. Otherwise returns `None`. | "Returns a two-tuple of `User` and token if a valid signature has been\n supplied using JWT-based authentication. Otherwise returns `None`." | 26 | false | devricks/soft_drf | authenticate | 33,133 | |
LDU_FT/cloudmesh/cloudmesh-common/get_fingerprint_from_public_key | LDU_FT | [
"<BEGIN>\n## `names`",
"The names defined in ~/.ssh/config\n :return: the names\n<END>",
"<BEGIN>\n## `load`",
"list the hosts defined in the ssh config file\n<END>",
"<BEGIN>\n## `execute`",
"execute the command on the named host\n :param name: the name of the host in config\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fingerprint_from_public_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fingerprint_from_public_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Generate the fingerprint of a public key
:param str pubkey: the value of the public key
:returns: fingerprint
:rtype: str | "Generate the fingerprint of a public key\n\n :param str pubkey: the value of the public key\n :returns: fingerprint\n :rtype: str" | 203 | false | cloudmesh/cloudmesh-common | get_fingerprint_from_public_key | 33,134 | |
LDU_FT/rdireen/spherepy/_scalar_pattern_uniform_op_right | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scalar_pattern_uniform_op_right API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scalar_pattern_uniform_op_right API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Decorator for operator overloading when ScalarPatternUniform is on
the right. | "Decorator for operator overloading when ScalarPatternUniform is on\r\n the right." | 194 | false | rdireen/spherepy | _scalar_pattern_uniform_op_right | 33,135 | |
LDU_FT/HumanCellAtlas/dcp-cli/request_with_retries_on_post_search | LDU_FT | [
"<BEGIN>\n## `get_checksum_metadata_tag`",
"Returns a map of checksum values by the name of the hashing function that produced it.\n<END>",
"<BEGIN>\n## `get_credentials`",
"Return a set of credentials that may be used to access the Upload Area folder in the S3 bucket\n :return: a dict containing AWS c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_with_retries_on_post_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_with_retries_on_post_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Submit a request and retry POST search requests specifically.
We don't currently retry on POST requests, and this is intended as a temporary fix until
the swagger is updated and changes applied to prod. In the meantime, this function will add
retries specifically for POST search (and any other... | "Submit a request and retry POST search requests specifically.\n\n We don't currently retry on POST requests, and this is intended as a temporary fix until\n the swagger is updated and changes applied to prod. In the meantime, this function will add\n retries specifically for POST search (and any ... | 140 | false | HumanCellAtlas/dcp-cli | request_with_retries_on_post_search | 33,136 | |
LDU_FT/urbn/Caesium/pop | LDU_FT | [
"<BEGIN>\n## `load_json`",
"Load JSON from the request body and store them in\n self.request.arguments, like Tornado does by default for POSTed form\n parameters.",
" If JSON cannot be decoded",
" :raises ValueError: JSON Could not be decoded\n<END>",
"<BEGIN>\n## `get_json_argum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API.
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 pop API.
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... | Pop the top revision off the stack back onto the collection at the given id. This method applies the action.
Note: This assumes you don't have two revisions scheduled closer than a single scheduling cycle. | "Pop the top revision off the stack back onto the collection at the given id. This method applies the action.\n\n Note: This assumes you don't have two revisions scheduled closer than a single scheduling cycle." | 157 | false | urbn/Caesium | pop | 33,137 | |
LDU_FT/realitix/vulkan/model_funcpointers | LDU_FT | [
"<BEGIN>\n## `model_typedefs`",
"Fill the model with typedefs",
" model['typedefs'] = {'name': 'type', ...}\n<END>",
"<BEGIN>\n## `model_enums`",
"Fill the model with enums",
" model['enums'] = {'name': {'item_name': 'item_value'...}, ...}\n<END>",
"<BEGIN>\n## `model_macros`",
"Fill the model w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_funcpointers 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 model_funcpointers 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... | Fill the model with function pointer
model['funcpointers'] = {'pfn_name': 'struct_name'} | "Fill the model with function pointer\n\n model['funcpointers'] = {'pfn_name': 'struct_name'}" | 20 | false | realitix/vulkan | model_funcpointers | 33,138 | |
LDU_FT/paramiko/paramiko/_convert_status | LDU_FT | [
"<BEGIN>\n## `make_tarball`",
"Create a tar file from all the files under 'base_dir'.\n This file may be compressed.",
" :param compress: Compression algorithms. Supported algorithms are:\n 'gzip': (the default)\n 'compress'\n 'bzip2'\n None\n For 'gzip' and 'bzip2' the inte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_status API.
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 _convert_status API.
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... | Raises EOFError or IOError on error status; otherwise does nothing. | "Raises EOFError or IOError on error status; otherwise does nothing." | 608 | false | paramiko/paramiko | _convert_status | 33,139 | |
LDU_FT/projectshift/shift-schema/add_property | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate\n Perform value validation against validation settings and return\n error object.",
" :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Add simple property to schema
:param property_name: str, property name
:param use_context: bool, whether custom context should be used
:return: shiftschema.property.SimpleProperty | "Add simple property to schema\n :param property_name: str, property name\n :param use_context: bool, whether custom context should be used\n :return: shiftschema.property.SimpleProperty" | 135 | false | projectshift/shift-schema | add_property | 33,140 | |
LDU_FT/HDI-Project/MLPrimitives/spectral_flux | LDU_FT | [
"<BEGIN>\n## `resample`",
"pd.DataFrame.resample adapter.",
" Call the `df.resample` method on the given time_index\n and afterwards call the indicated aggregation.",
" Optionally group the dataframe by the indicated columns before\n performing the resampling.",
" If groupby option is used, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spectral_flux API.
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 spectral_flux API.
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... | Computes the spectral flux feature of the current frame | "Computes the spectral flux feature of the current frame" | 96 | false | HDI-Project/MLPrimitives | spectral_flux | 33,141 | |
LDU_FT/nabla-c0d3/sslyze/count_scts_in_sct_extension | LDU_FT | [
"<BEGIN>\n## `do_handshake_with_robot`",
"Modified do_handshake() to send a ROBOT payload and return the result.\n<END>",
"<BEGIN>\n## `get_client_key_exchange_record`",
"A client key exchange record with a hardcoded pre_master_secret, and a valid or invalid padding.\n<END>",
"<BEGIN>\n## `get_finished_reco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_scts_in_sct_extension 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 count_scts_in_sct_extension API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return the number of Signed Certificate Timestamps (SCTs) embedded in the certificate. | "Return the number of Signed Certificate Timestamps (SCTs) embedded in the certificate." | 92 | false | nabla-c0d3/sslyze | count_scts_in_sct_extension | 33,142 | |
LDU_FT/andrea-cuttone/geoplotlib/grid | LDU_FT | [
"<BEGIN>\n## `__voronoi_finite_polygons_2d`",
"Reconstruct infinite voronoi regions in a 2D diagram to finite\n regions.",
" Parameters\n ----------\n vor : Voronoi\n Input diagram\n radius : float, optional\n Distance to 'points at infinity'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grid API.
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 grid API.
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... | Values on a uniform grid
:param lon_edges: longitude edges
:param lat_edges: latitude edges
:param values: matrix representing values on the grid
:param cmap: colormap name
:param alpha: color alpha
:param vmin: minimum value for the colormap
:param vmax... | "Values on a uniform grid\n \n :param lon_edges: longitude edges\n :param lat_edges: latitude edges\n :param values: matrix representing values on the grid \n :param cmap: colormap name\n :param alpha: color alpha\n :param vmin: minimum value for the colormap\n :p... | 82 | false | andrea-cuttone/geoplotlib | grid | 33,143 | |
LDU_FT/cognitect/transit-python/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a custom transit tag and decoder/parser function for use\n during reads.\n<END>",
"<BEGIN>\n## `readeach`",
"Temporary hook for API while streaming reads are in experimental\n phase. Read each object from stream as available with generator.\n JSON block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Register a custom Transit tag and new parsing function with the
decoder. Also, you can optionally set the 'default_decoder' with
this function. Your new tag and parse/decode function will be added
to the interal dictionary of decoders for this Decoder object. | "Register a custom Transit tag and new parsing function with the\n decoder. Also, you can optionally set the 'default_decoder' with\n this function. Your new tag and parse/decode function will be added\n to the interal dictionary of decoders for this Decoder object." | 29 | false | cognitect/transit-python | register | 33,144 | |
LDU_FT/sananth12/ImageScraper/update | LDU_FT | [
"<BEGIN>\n## `download_worker_fn`",
"Stnadalone function that downloads images.\n<END>",
"<BEGIN>\n## `get_arguments`",
"Gets the arguments from the command line.\n<END>",
"<BEGIN>\n## `get_html`",
"Downloads HTML content of page given the page_url\n<END>",
"<BEGIN>\n## `process_download_path`",
"Proc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Updates the progress bar to a new value. | "Updates the progress bar to a new value." | 18 | false | sananth12/ImageScraper | update | 33,145 | |
LDU_FT/MKLab-ITI/reveal-user-annotation/get_user_list | LDU_FT | [
"<BEGIN>\n## `safe_twitter_request_handler`",
"This is a safe function handler for any twitter request.",
" Inputs: - twitter_api_func: The twython function object to be safely called.\n - call_rate_limit: THe call rate limit for this specific Twitter API function.\n - call_counter: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_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 ext... | Pulls the list of users in a client.
Inputs: - host_name: A string containing the address of the machine where the PServer instance is hosted.
- client_name: The PServer client name.
- client_pass: The PServer client's password.
Output: - user_id_list: A python list of user ids. | "Pulls the list of users in a client.\n\n Inputs: - host_name: A string containing the address of the machine where the PServer instance is hosted.\n - client_name: The PServer client name.\n - client_pass: The PServer client's password.\n\n Output: - user_id_list: A python list of user ids.... | 192 | false | MKLab-ITI/reveal-user-annotation | get_user_list | 33,146 | |
LDU_FT/Gbps/fastlog/setStyle | LDU_FT | [
"<BEGIN>\n## `addHandler`",
"Setups a new internal logging handler. For fastlog loggers,\n handlers are kept track of in the self._handlers list\n<END>",
"<BEGIN>\n## `setStyle`",
"Adjusts the output format of messages based on the style name provided",
" Styles are loaded like python modules,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setStyle API.
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 setStyle API.
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... | Adjusts the output format of messages based on the style name provided
Styles are loaded like python modules, so you can import styles from your own modules or use the ones in fastlog.styles
Available styles can be found under /fastlog/styles/
The default style is 'fastlog.styles.pwntools' | "Adjusts the output format of messages based on the style name provided\n\n Styles are loaded like python modules, so you can import styles from your own modules or use the ones in fastlog.styles\n\n Available styles can be found under /fastlog/styles/\n\n The default style is 'fastlog.styles.pwnto... | 63 | false | Gbps/fastlog | setStyle | 33,147 | |
LDU_FT/pioneers/python-grizzly/exchange_bytes | LDU_FT | [
"<BEGIN>\n## `get_all_usb_devices`",
"Returns a list of all the usb devices matching the provided vendor ID and product ID.\n<END>",
"<BEGIN>\n## `get_device_address`",
"Returns the grizzly's internal address value. Returns a negative error value in case of error.\n<END>",
"<BEGIN>\n## `exchange_bytes`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Sends a packet to the grizzly, requesting information. Reads back
the data requested.
Packet format looks like:
Byte 0: Register
Byte 1 (bit 6:0): Length of data to read/write
Byte 1 (bit 7): R/W flag (1 = write)
Byte 2-15: Data
... | "Sends a packet to the grizzly, requesting information. Reads back\n the data requested.\n \n Packet format looks like:\n Byte 0: Register\n Byte 1 (bit 6:0): Length of data to read/write\n Byte 1 (bit 7): R/W flag (1 = write)\n Byte 2-15: Data\n ... | 35 | false | pioneers/python-grizzly | exchange_bytes | 33,148 | |
LDU_FT/yangl1996/libpagure/merge_request | LDU_FT | [
"<BEGIN>\n## `_call_api`",
"Method used to call the API.\n It returns the raw JSON returned by the API or raises an exception\n if something goes wrong.",
" :arg url: the URL to call\n :kwarg method: the HTTP method to use when calling the specified\n URL, can be GET, POST... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_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 ext... | Merge a pull request.
:param request_id: the id of the request
:return: | "Merge a pull request.\n :param request_id: the id of the request\n :return:" | 62 | false | yangl1996/libpagure | merge_request | 33,149 | |
LDU_FT/Element-34/py.saunter/verify_text_present | LDU_FT | [
"<BEGIN>\n## `get_random_user`",
"Gets a random user from the provider",
" :returns: Dictionary\n<END>",
"<BEGIN>\n## `is_element_available`",
"Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_text_present 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 verify_text_present 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... | Soft assert for whether the text if visible in the current window/frame
:params text: the string to search for
:params msg: (Optional) msg explaining the difference | "Soft assert for whether the text if visible in the current window/frame\n\n :params text: the string to search for\n :params msg: (Optional) msg explaining the difference" | 81 | false | Element-34/py.saunter | verify_text_present | 33,150 | |
LDU_FT/CyberReboot/vent/override_config | LDU_FT | [
"<BEGIN>\n## `gpu_queue`",
"Queued up containers waiting for GPU resources\n<END>",
"<BEGIN>\n## `file_queue`",
"Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>",
"<BEGIN>\n## `inventory`",
"Return a dictionary of the inventory... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the override_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the override_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Will take a yml located in home directory titled '.plugin_config.yml'.
It'll then override, using the yml, the plugin's config file | "Will take a yml located in home directory titled '.plugin_config.yml'.\n It'll then override, using the yml, the plugin's config file" | 141 | false | CyberReboot/vent | override_config | 33,151 | |
LDU_FT/bitshares/uptick/createcommittee | LDU_FT | [
"<BEGIN>\n## `orderbook`",
"Show the orderbook of a particular market\n<END>",
"<BEGIN>\n## `buy`",
"Buy a specific asset at a certain rate against a base asset\n<END>",
"<BEGIN>\n## `cancelall`",
"Cancel all orders of an account in a market\n<END>",
"<BEGIN>\n## `spread`",
"Place multiple orders",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createcommittee API.
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 createcommittee API.
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... | Setup a committee account for your account | "Setup a committee account for your account" | 50 | false | bitshares/uptick | createcommittee | 33,152 | |
LDU_FT/SBRG/ssbio/calculate_dill_dG | LDU_FT | [
"<BEGIN>\n## `search_ss_bonds`",
"Searches S-S bonds based on distances\n between atoms in the structure (first model only).\n Average distance is 2.05A. Threshold is 3A default.\n Returns iterator with tuples of residues.",
" ADAPTED FROM JOAO RODRIGUES' BIOPYTHON GSOC PROJECT (http... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_dill_dG API.
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 calculate_dill_dG API.
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 free energy of unfolding (dG) using Dill method in units J/mol.
Args:
seq_len (int): Length of amino acid sequence
temp (float): Temperature in degrees C
Returns:
float: Free energy of unfolding dG (J/mol) | "Get free energy of unfolding (dG) using Dill method in units J/mol.\n\n Args:\n seq_len (int): Length of amino acid sequence\n temp (float): Temperature in degrees C\n\n Returns:\n float: Free energy of unfolding dG (J/mol)" | 1,487 | true | SBRG/ssbio | calculate_dill_dG | 33,153 | |
LDU_FT/colab/colab/__set | LDU_FT | [
"<BEGIN>\n## `delete`",
"Remove an email address, validated or not.\n<END>",
"<BEGIN>\n## `update`",
"Set an email address as primary address.\n<END>",
"<BEGIN>\n## `is_logged`",
"Check if a logged user is trying to access the register page.\n If so, redirect him/her to his/her profile\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Private method for setting a cookie's value | "Private method for setting a cookie's value" | 19 | false | colab/colab | __set | 33,154 | |
LDU_FT/svenevs/exhale/generateClassView | LDU_FT | [
"<BEGIN>\n## `apply_sphinx_configurations`",
"This method applies the various configurations users place in their ``conf.py``, in\n the dictionary ``exhale_args``. The error checking seems to be robust, and\n borderline obsessive, but there may very well be some glaring flaws.",
" When the user reques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generateClassView API.
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 generateClassView API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generates the class view hierarchy, writing it to ``self.class_hierarchy_file``. | "Generates the class view hierarchy, writing it to ``self.class_hierarchy_file``." | 239 | false | svenevs/exhale | generateClassView | 33,155 | |
LDU_FT/amol-/tgext.mailer/validate | LDU_FT | [
"<BEGIN>\n## `to_message`",
"Given a MailBase, this will construct a MIME part that is canonicalized for\n use with the Python email API.\n<END>",
"<BEGIN>\n## `best_charset`",
"Find the most human-readable and/or conventional encoding for unicode text.",
" Prefers `us-ascii` or `iso-8859-1` and falls... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Checks if message is valid and raises appropriate exception. | "Checks if message is valid and raises appropriate exception." | 27 | false | amol-/tgext.mailer | validate | 33,156 | |
LDU_FT/deep-compute/deeputil/serialize_dict_keys | LDU_FT | [
"<BEGIN>\n## `FunctionTimer`",
"To check execution time of a function\n borrowed from https://medium.com/pythonhive/python-decorator-to-measure-the-execution-time-of-methods-fa04cb6bb36d",
" >>> def logger(details, args, kwargs): #some function that uses the time output\n ... print(details)\n ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_dict_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_dict_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.
T... | returns all the keys in nested a dictionary.
>>> sorted(serialize_dict_keys({"a": {"b": {"c": 1, "b": 2} } }))
['a', 'a.b', 'a.b.b', 'a.b.c'] | "returns all the keys in nested a dictionary.\n >>> sorted(serialize_dict_keys({\"a\": {\"b\": {\"c\": 1, \"b\": 2} } }))\n ['a', 'a.b', 'a.b.b', 'a.b.c']" | 68 | false | deep-compute/deeputil | serialize_dict_keys | 33,157 | |
LDU_FT/MostAwesomeDude/gentleman/AddClusterTags | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddClusterTags API.
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 AddClusterTags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Adds tags to the cluster.
@type tags: list of str
@param tags: tags to add to the cluster
@type dry_run: bool
@param dry_run: whether to perform a dry run
@rtype: int
@return: job id | "Adds tags to the cluster.\n\n @type tags: list of str\n @param tags: tags to add to the cluster\n @type dry_run: bool\n @param dry_run: whether to perform a dry run\n\n @rtype: int\n @return: job id" | 173 | false | MostAwesomeDude/gentleman | AddClusterTags | 33,158 | |
LDU_FT/ChrisCummins/labm8/ShowErrorBarCaps | LDU_FT | [
"<BEGIN>\n## `table`",
"Return a formatted string of \"list of list\" table data.",
" See: http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.html",
" Examples:",
" >>> fmt.print([(\"foo\", 1), (\"bar\", 2)])\n 0 1\n 0 foo 1\n 1 bar 2",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ShowErrorBarCaps API.
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 ShowErrorBarCaps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Show error bar caps.
Seaborn paper style hides error bar caps. Call this function on an axes
object to make them visible again. | "Show error bar caps.\n \n Seaborn paper style hides error bar caps. Call this function on an axes\n object to make them visible again." | 345 | false | ChrisCummins/labm8 | ShowErrorBarCaps | 33,159 | |
LDU_FT/Cadair/jupyter_environment_kernels/source_cmd | LDU_FT | [
"<BEGIN>\n## `convert_to_env_data`",
"Converts a list of paths to environments to env_data.",
" env_data is a structure {name -> (ressourcedir, kernel spec)}\n<END>",
"<BEGIN>\n## `validate_IPykernel`",
"Validates that this env contains an IPython kernel and returns info to start it",
" Returns: tup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_cmd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_cmd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Simple cmd.exe-specific wrapper around source-foreign.
returns a dict to be used as a new environment | "Simple cmd.exe-specific wrapper around source-foreign.\n\n returns a dict to be used as a new environment" | 69 | false | Cadair/jupyter_environment_kernels | source_cmd | 33,160 | |
LDU_FT/sanger-pathogens/circlator/_is_at_ref_start | LDU_FT | [
"<BEGIN>\n## `run_spades`",
"Runs spades on all kmers. Each a separate run because SPAdes dies if any kmer does\n not work. Chooses the 'best' assembly to be the one with the biggest N50\n<END>",
"<BEGIN>\n## `aligned_read_to_read`",
"Returns Fasta or Fastq sequence from pysam aligned read\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_at_ref_start API.
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 _is_at_ref_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns True iff the hit is "close enough" to the start of the reference sequence | "Returns True iff the hit is \"close enough\" to the start of the reference sequence" | 102 | false | sanger-pathogens/circlator | _is_at_ref_start | 33,161 | |
LDU_FT/pettarin/ipapy/is_equivalent | LDU_FT | [
"<BEGIN>\n## `can_map_ipa_string`",
"Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.",
" :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>",
"<BEGIN>\n## `map_ipa_string`",
"Convert the given IPAString to a string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_equivalent API.
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 is_equivalent API.
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... | Return ``True`` if the IPA string is equivalent to the ``other`` object.
The ``other`` object can be:
1. a Unicode string,
2. a list of IPAChar objects, and
3. another IPAString.
:param variant other: the object to be compared against
:param bool ignore: if other is a ... | "Return ``True`` if the IPA string is equivalent to the ``other`` object.\n\n The ``other`` object can be:\n\n 1. a Unicode string,\n 2. a list of IPAChar objects, and\n 3. another IPAString.\n\n :param variant other: the object to be compared against\n :param bool ignore: if o... | 205 | false | pettarin/ipapy | is_equivalent | 33,162 | |
LDU_FT/exekias/droplet/menu | LDU_FT | [
"<BEGIN>\n## `install`",
"Installation procedure, it writes basic smb.conf and uses samba-tool to\n provision the domain\n<END>",
"<BEGIN>\n## `stop_other_daemons`",
"Stop services already provided by main samba daemon\n<END>",
"<BEGIN>\n## `set_euid`",
"Set settings.DROPLET_USER effective UID for ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the menu API.
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 menu API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return global menu composed from all modules menu.
This method will compose the global menu by calling menu() function for
module, it should be located under module_path.menu module | "Return global menu composed from all modules menu.\n\n This method will compose the global menu by calling menu() function for\n module, it should be located under module_path.menu module" | 66 | false | exekias/droplet | menu | 33,163 | |
LDU_FT/obulpathi/cdn-fastly-python/update_syslog | LDU_FT | [
"<BEGIN>\n## `list_backends`",
"List all backends for a particular service and version.\n<END>",
"<BEGIN>\n## `create_backend`",
"Create a backend for a particular service and version.\n<END>",
"<BEGIN>\n## `get_backend`",
"Get the backend for a particular service and version.\n<END>",
"<BEGIN>\n## `upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_syslog API.
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_syslog API.
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... | Update the Syslog for a particular service and version. | "Update the Syslog for a particular service and version." | 116 | false | obulpathi/cdn-fastly-python | update_syslog | 33,164 | |
LDU_FT/rytilahti/python-songpal/asdict | LDU_FT | [
"<BEGIN>\n## `make`",
"Create a container.",
" Reports extra keys as well as missing ones.\n Thanks to habnabit for the idea!\n<END>",
"<BEGIN>\n## `create_post_request`",
"Call the given method over POST.",
" :param method: Name of the method\n :param params: dict of parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asdict API.
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 asdict API.
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 dict presentation of this service.
Useful for dumping the device information into JSON. | "Return dict presentation of this service.\n\n Useful for dumping the device information into JSON." | 86 | false | rytilahti/python-songpal | asdict | 33,165 | |
LDU_FT/OpenHumans/open-humans-api/upload_member_from_dir | LDU_FT | [
"<BEGIN>\n## `guess_tags`",
"Function to get potential tags for files using the file names.",
" :param filename: This field is the name of file.\n<END>",
"<BEGIN>\n## `characterize_local_files`",
"Collate local file info as preperation for Open Humans upload.",
" Note: Files with filesize > max_byte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_member_from_dir 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 upload_member_from_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Upload files in target directory to an Open Humans member's account.
The default behavior is to overwrite files with matching filenames on
Open Humans, but not otherwise delete files.
If the 'mode' parameter is 'safe': matching filenames will not be
overwritten.
If the 'mode' ... | "Upload files in target directory to an Open Humans member's account.\n\n The default behavior is to overwrite files with matching filenames on\n Open Humans, but not otherwise delete files.\n\n If the 'mode' parameter is 'safe': matching filenames will not be\n overwritten.\n\n If th... | 162 | false | OpenHumans/open-humans-api | upload_member_from_dir | 33,166 | |
LDU_FT/datastore/datastore/_follow_link | LDU_FT | [
"<BEGIN>\n## `list`",
"Returns the `list` representation of this Key.",
" Note that this method assumes the key is immutable.\n<END>",
"<BEGIN>\n## `instance`",
"Returns an instance Key, by appending a name to the namespace.\n<END>",
"<BEGIN>\n## `parent`",
"Returns the parent Key (all namespaces exc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _follow_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _follow_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 extr... | Returns given `value` or, if it is a symlink, the `value` it names. | "Returns given `value` or, if it is a symlink, the `value` it names." | 180 | false | datastore/datastore | _follow_link | 33,167 | |
LDU_FT/City-of-Helsinki/django-helusers/username_to_uuid | LDU_FT | [
"<BEGIN>\n## `get_username`",
"Sets the `username` argument.",
" If the user exists already, use the existing username. Otherwise\n generate username from the `new_uuid` using the\n `helusers.utils.uuid_to_username` function.\n<END>",
"<BEGIN>\n## `sync_groups_from_ad`",
"Determine which Django gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the username_to_uuid API.
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 username_to_uuid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Convert username to UUID.
>>> username_to_uuid('u-ad52zgilvnpgnduefzlh5jgr6y')
UUID('00fbac99-0bab-5e66-8e84-2e567ea4d1f6') | "Convert username to UUID.\n\n >>> username_to_uuid('u-ad52zgilvnpgnduefzlh5jgr6y')\n UUID('00fbac99-0bab-5e66-8e84-2e567ea4d1f6')" | 21 | false | City-of-Helsinki/django-helusers | username_to_uuid | 33,168 | |
LDU_FT/jordanh/neurio-python/get_token | LDU_FT | [
"<BEGIN>\n## `get_token`",
"Performs Neurio API token authentication using provided key and secret.",
" Note:\n This method is generally not called by hand; rather it is usually\n called as-needed by a Neurio Client object.",
" Returns:\n string: the access token\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Performs Neurio API token authentication using provided key and secret.
Note:
This method is generally not called by hand; rather it is usually
called as-needed by a Neurio Client object.
Returns:
string: the access token | "Performs Neurio API token authentication using provided key and secret.\n\n Note:\n This method is generally not called by hand; rather it is usually\n called as-needed by a Neurio Client object.\n\n Returns:\n string: the access token" | 47 | false | jordanh/neurio-python | get_token | 33,169 | |
LDU_FT/jborean93/requests-credssp/unwrap | LDU_FT | [
"<BEGIN>\n## `check_error_code`",
"For CredSSP version of 3 or newer, the server can response with an\n NtStatus error code with details of what error occurred. This method\n will check if the error code exists and throws an NTStatusException\n if it is no STATUS_SUCCESS.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unwrap API.
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 unwrap API.
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 ... | Decrypts the data send by the server using the TLS channel negotiated
between the client and the server.
:param encrypted_data: the byte string of the encrypted data
:return: a byte string of the decrypted data | "Decrypts the data send by the server using the TLS channel negotiated\n between the client and the server.\n\n :param encrypted_data: the byte string of the encrypted data\n :return: a byte string of the decrypted data" | 41 | false | jborean93/requests-credssp | unwrap | 33,170 | |
LDU_FT/philgyford/django-spectator/display_date | LDU_FT | [
"<BEGIN>\n## `generate_slug`",
"A copy of spectator.core.models.SluggedModelMixin._generate_slug()\n<END>",
"<BEGIN>\n## `set_slug`",
"Create a slug for each Work already in the DB.\n<END>",
"<BEGIN>\n## `get_kinds_data`",
"Returns a dict of all the data about the kinds, keyed to the kind\n value. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_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 extr... | Render a date/datetime (d) as a date, using the SPECTATOR_DATE_FORMAT
setting. Wrap the output in a <time> tag.
Time tags: http://www.brucelawson.co.uk/2012/best-of-time/ | "Render a date/datetime (d) as a date, using the SPECTATOR_DATE_FORMAT\n setting. Wrap the output in a <time> tag.\n\n Time tags: http://www.brucelawson.co.uk/2012/best-of-time/" | 169 | false | philgyford/django-spectator | display_date | 33,171 | |
LDU_FT/rosshamish/hexgrid/location | LDU_FT | [
"<BEGIN>\n## `location`",
"Returns a formatted string representing the coordinate. The format depends on the\n coordinate type.",
" Tiles look like: 1, 12\n Nodes look like: (1 NW), (12 S)\n Edges look like: (1 NW), (12 SE)",
" :param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the location API.
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 location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns a formatted string representing the coordinate. The format depends on the
coordinate type.
Tiles look like: 1, 12
Nodes look like: (1 NW), (12 S)
Edges look like: (1 NW), (12 SE)
:param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE
:param coord: integer coordinate in this modu... | "Returns a formatted string representing the coordinate. The format depends on the\n coordinate type.\n\n Tiles look like: 1, 12\n Nodes look like: (1 NW), (12 S)\n Edges look like: (1 NW), (12 SE)\n\n :param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE\n :param coord: integer coordinate in ... | 49 | false | rosshamish/hexgrid | location | 33,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.