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/ubernostrum/django-registration/send_activation_email | LDU_FT | [
"<BEGIN>\n## `dispatch`",
"Check that user signup is allowed before even bothering to\n dispatch or do other processing.\n<END>",
"<BEGIN>\n## `get`",
"The base activation logic; subclasses should leave this method\n alone and implement activate(), which is called from this\n method.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_activation_email 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 send_activation_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Send the activation email. The activation key is the username,
signed using TimestampSigner. | "Send the activation email. The activation key is the username,\n signed using TimestampSigner." | 20 | false | ubernostrum/django-registration | send_activation_email | 27,873 | |
LDU_FT/napalm-automation/napalm-eos/get_snmp_information | LDU_FT | [
"<BEGIN>\n## `compare_config`",
"Implementation of NAPALM method compare_config.\n<END>",
"<BEGIN>\n## `commit_config`",
"Implementation of NAPALM method commit_config.\n<END>",
"<BEGIN>\n## `discard_config`",
"Implementation of NAPALM method discard_config.\n<END>",
"<BEGIN>\n## `rollback`",
"Impleme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_snmp_information 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_snmp_information API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | get_snmp_information() for EOS. Re-written to not use TextFSM | "get_snmp_information() for EOS. Re-written to not use TextFSM" | 16 | false | napalm-automation/napalm-eos | get_snmp_information | 27,874 | |
LDU_FT/singularityhub/singularity-cli/generate_bind_list | LDU_FT | [
"<BEGIN>\n## `run`",
"run is a wrapper to create, start, attach, and delete a container.",
" Equivalent command line example: \n singularity oci run -b ~/bundle mycontainer",
" Parameters\n ==========\n bundle: the full path to the bundle folder\n container_id:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_bind_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_bind_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.
Th... | generate bind string will take a single string or list of binds, and
return a list that can be added to an exec or run command. For example,
the following map as follows:
['/host:/container', '/both'] --> ["--bind", "/host:/container","--bind","/both" ]
['/both'] --> ["--b... | "generate bind string will take a single string or list of binds, and\n return a list that can be added to an exec or run command. For example,\n the following map as follows:\n\n ['/host:/container', '/both'] --> [\"--bind\", \"/host:/container\",\"--bind\",\"/both\" ]\n ['/both'] ... | 336 | false | singularityhub/singularity-cli | generate_bind_list | 27,875 | |
LDU_FT/davidaurelio/hashids-python/_decode | LDU_FT | [
"<BEGIN>\n## `_split`",
"Splits a string into parts at multiple characters\n<END>",
"<BEGIN>\n## `_hash`",
"Hashes `number` using the given `alphabet` sequence.\n<END>",
"<BEGIN>\n## `_unhash`",
"Restores a number tuple from hashed using the given `alphabet` index.\n<END>",
"<BEGIN>\n## `_encode`",
"H... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Helper method that restores the values encoded in a hashid without
argument checks. | "Helper method that restores the values encoded in a hashid without\n argument checks." | 24 | false | davidaurelio/hashids-python | _decode | 27,876 | |
LDU_FT/pytroll/pyorbital/subpoint | LDU_FT | [
"<BEGIN>\n## `gmst`",
"Greenwich mean sidereal utc_time, in radians.",
" As defined in the AIAA 2006 implementation:\n http://www.celestrak.com/publications/AIAA/2006-6753/\n<END>",
"<BEGIN>\n## `sun_ecliptic_longitude`",
"Ecliptic longitude of the sun at *utc_time*.\n<END>",
"<BEGIN>\n## `sun_ra_de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subpoint API.
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 subpoint API.
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... | Get the point on the ellipsoid under the *query_point*. | "Get the point on the ellipsoid under the *query_point*." | 83 | false | pytroll/pyorbital | subpoint | 27,877 | |
LDU_FT/ARMmbed/mbed-connector-api-python/stopLongPolling | LDU_FT | [
"<BEGIN>\n## `getConnectorVersion`",
"GET the current Connector version.",
"\t\t:returns: asyncResult object, populates error and result fields\n\t\t:rtype: asyncResult\n<END>",
"<BEGIN>\n## `getEndpoints`",
"Get list of all endpoints on the domain.",
"\t\t:param str typeOfEndpoint: Optional filter endpo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stopLongPolling API.
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 stopLongPolling API.
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... | Stop LongPolling thread
:return: none | "Stop LongPolling thread\n\t\t\n\t\t:return: none" | 56 | false | ARMmbed/mbed-connector-api-python | stopLongPolling | 27,878 | |
LDU_FT/lowandrew/OLCTools/cdsthreads | LDU_FT | [
"<BEGIN>\n## `classes`",
"Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>",
"<BEGIN>\n## `gene_name`",
"Split the FASTA header string into i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cdsthreads API.
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 cdsthreads API.
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... | Determines which core genes from a pre-calculated database are present in each strain | "Determines which core genes from a pre-calculated database are present in each strain" | 432 | false | lowandrew/OLCTools | cdsthreads | 27,879 | |
LDU_FT/pytroll/pyspectral/sort_data | LDU_FT | [
"<BEGIN>\n## `radiance2tb`",
"Get the Tb from the radiance using the Planck function",
" rad:\n Radiance in SI units\n wavelength:\n Wavelength in SI units (meter)\n<END>",
"<BEGIN>\n## `_get_rsr`",
"Get the relative spectral responses from file, find the bandname, and\n convert t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_data API.
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 sort_data API.
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... | Sort the data so that x is monotonically increasing and contains
no duplicates. | "Sort the data so that x is monotonically increasing and contains\n no duplicates." | 129 | false | pytroll/pyspectral | sort_data | 27,880 | |
LDU_FT/dcwatson/bbcode/strip | LDU_FT | [
"<BEGIN>\n## `render_html`",
"A module-level convenience method that creates a default bbcode parser,\n and renders the input string as HTML.\n<END>",
"<BEGIN>\n## `add_formatter`",
"Installs a render function for the specified tag name. The render function\n should have the following signature:",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip API.
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 strip API.
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... | Strips out any tags from the input text, using the same tokenization as the formatter. | "Strips out any tags from the input text, using the same tokenization as the formatter." | 36 | false | dcwatson/bbcode | strip | 27,881 | |
LDU_FT/Capitains/Nautilus/register | LDU_FT | [
"<BEGIN>\n## `r_cts`",
"Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route",
" :return: Response\n<END>",
"<BEGIN>\n## `cts_error`",
"Create a CTS Error reply",
" :param error_name: Name of the error\n :param message: Message of the Error\n... | 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 an extension into the Nautilus Router
:param extension: Extension
:param extension_name: Name of the Extension
:return: | "Register an extension into the Nautilus Router\n\n :param extension: Extension\n :param extension_name: Name of the Extension\n :return:" | 110 | false | Capitains/Nautilus | register | 27,882 | |
LDU_FT/PureStorage-OpenConnect/rest-client/get_offload | LDU_FT | [
"<BEGIN>\n## `_check_rest_version`",
"Validate a REST API version is supported by the library and target array.\n<END>",
"<BEGIN>\n## `_choose_rest_version`",
"Return the newest REST API version supported by target array.\n<END>",
"<BEGIN>\n## `_list_available_rest_versions`",
"Return a list of the REST A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_offload API.
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 get_offload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a dictionary describing the connected offload target.
:param offload: Name of offload target to get information about.
:type offload: str
:param \*\*kwargs: See the REST API Guide on your array for the
documentation on the request:
**... | "Return a dictionary describing the connected offload target.\n\n :param offload: Name of offload target to get information about.\n :type offload: str\n :param \\*\\*kwargs: See the REST API Guide on your array for the\n documentation on the request:\n ... | 166 | false | PureStorage-OpenConnect/rest-client | get_offload | 27,883 | |
LDU_FT/jazzband/django-simple-menu/process | LDU_FT | [
"<BEGIN>\n## `add_item`",
"add_item adds MenuItems to the menu identified by 'name'\n<END>",
"<BEGIN>\n## `load_menus`",
"load_menus loops through INSTALLED_APPS and loads the menu.py\n files from them.\n<END>",
"<BEGIN>\n## `sort_menus`",
"sort_menus goes through the items and sorts them based on\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | process uses the current request to determine which menus
should be visible, which are selected, etc. | "process uses the current request to determine which menus\n should be visible, which are selected, etc." | 14 | false | jazzband/django-simple-menu | process | 27,884 | |
LDU_FT/annayqho/TheCannon/gen_cannon_grad_spec | LDU_FT | [
"<BEGIN>\n## `gen_cannon_grad_spec`",
"Generate Cannon gradient spectra",
" Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_cannon_grad_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_cannon_grad_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate Cannon gradient spectra
Parameters
----------
labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]
choose: val of cfe or nfe, whatever you're varying
low: lowest val of cfe or nfe, whatever you're varying
high: highest val of cfe or nfe, whatever you're varying | "Generate Cannon gradient spectra\n\n Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest val of cfe or nfe, whatever you're varying" | 188 | false | annayqho/TheCannon | gen_cannon_grad_spec | 27,885 | |
LDU_FT/geometalab/pyGeoTile/google | LDU_FT | [
"<BEGIN>\n## `from_pixel`",
"Creates a point from pixels X Y Z (zoom) in pyramid\n<END>",
"<BEGIN>\n## `from_meters`",
"Creates a point from X Y Z (zoom) meters in Spherical Mercator EPSG:900913\n<END>",
"<BEGIN>\n## `pixels`",
"Gets pixels of the EPSG:4326 pyramid by a specific zoom, converted from lat/l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the google API.
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 google API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Gets the tile in the Google format, converted from TMS | "Gets the tile in the Google format, converted from TMS" | 24 | false | geometalab/pyGeoTile | google | 27,886 | |
LDU_FT/dlecocq/nsq-py/identified | LDU_FT | [
"<BEGIN>\n## `pack_iterable`",
"Pack an iterable of messages in the TCP protocol format\n<END>",
"<BEGIN>\n## `hexify`",
"Print out printable characters, but others in hex\n<END>",
"<BEGIN>\n## `distribute`",
"Generator for (count, object) tuples that distributes count evenly among\n the provided objec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identified API.
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 identified API.
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... | Handle a response to our 'identify' command. Returns response | "Handle a response to our 'identify' command. Returns response" | 54 | false | dlecocq/nsq-py | identified | 27,887 | |
LDU_FT/eonpatapon/contrail-api-cli/format_table | LDU_FT | [
"<BEGIN>\n## `expand_paths`",
"Return an unique list of resources or collections from a list of paths.\n Supports fq_name and wilcards resolution.",
" >>> expand_paths(['virtual-network',\n 'floating-ip/2a0a54b4-a420-485e-8372-42f70a627ec9'])\n [Collection('virtual-network'),\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_table API.
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 format_table API.
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... | Format table
:param sep: separator between columns
:type sep: unicode on python2 | str on python3
Given the table::
table = [
['foo', 'bar', 'foo'],
[1, 2, 3],
['54a5a05d-c83b-4bb5-bd95-d90d6ea4a878'],
['foo', 45, 'bar', 2345]
]
`format... | "Format table\n\n :param sep: separator between columns\n :type sep: unicode on python2 | str on python3\n\n Given the table::\n\n table = [\n ['foo', 'bar', 'foo'],\n [1, 2, 3],\n ['54a5a05d-c83b-4bb5-bd95-d90d6ea4a878'],\n ['foo', 45, 'bar', 2345]\n ]... | 138 | false | eonpatapon/contrail-api-cli | format_table | 27,888 | |
LDU_FT/dossier/dossier.web/parent_subfolders | LDU_FT | [
"<BEGIN>\n## `as_multi_dict`",
"Coerce a dictionary to a bottle.MultiDict\n<END>",
"<BEGIN>\n## `set_query_params`",
"Set the query parameters.",
" The query parameters should be a dictionary mapping keys to\n strings or lists of strings.",
" :param query_params: query parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent_subfolders API.
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 parent_subfolders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | An unordered generator of parent subfolders for ``ident``.
``ident`` can either be a ``content_id`` or a tuple of
``(content_id, subtopic_id)``.
Parent subfolders are limited to the annotator id given.
:param ident: identifier
:type ident: ``str`` or ``(str, str)``
:pa... | "An unordered generator of parent subfolders for ``ident``.\n\n ``ident`` can either be a ``content_id`` or a tuple of\n ``(content_id, subtopic_id)``.\n\n Parent subfolders are limited to the annotator id given.\n\n :param ident: identifier\n :type ident: ``str`` or ``(str, str)``\n ... | 223 | false | dossier/dossier.web | parent_subfolders | 27,889 | |
LDU_FT/scikit-hep/root_numpy/stretch | LDU_FT | [
"<BEGIN>\n## `matrix`",
"Convert a ROOT TMatrix into a NumPy matrix.",
" Parameters\n ----------\n mat : ROOT TMatrixT\n A ROOT TMatrixD or TMatrixF",
" Returns\n -------\n mat : numpy.matrix\n A NumPy matrix",
" Examples\n --------\n >>> from root_numpy import matri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stretch API.
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 stretch API.
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... | Stretch an array.
Stretch an array by ``hstack()``-ing multiple array fields while
preserving column names and record array structure. If a scalar field is
specified, it will be stretched along with array fields.
Parameters
----------
arr : NumPy structured or record array
The array t... | "Stretch an array.\n\n Stretch an array by ``hstack()``-ing multiple array fields while\n preserving column names and record array structure. If a scalar field is\n specified, it will be stretched along with array fields.\n\n Parameters\n ----------\n arr : NumPy structured or record array\n T... | 180 | false | scikit-hep/root_numpy | stretch | 27,890 | |
LDU_FT/yfpeng/bioc/dump | LDU_FT | [
"<BEGIN>\n## `decodes`",
"Deserialize ``s`` to a BioC collection object.",
" Args:\n s: a \"str\" instance containing a BioC collection",
" Returns:\n an object of BioCollection\n<END>",
"<BEGIN>\n## `decode`",
"Deserialize ``fp`` to a BioC collection object.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Serialize ``collection`` as a BioC formatted stream to ``fp``.
Args:
collection: the BioC collection
fp: a ``.write()``-supporting file-like object
pretty_print: enables formatted XML | "Serialize ``collection`` as a BioC formatted stream to ``fp``.\r\n\r\n Args:\r\n collection: the BioC collection\r\n fp: a ``.write()``-supporting file-like object\r\n pretty_print: enables formatted XML" | 75 | false | yfpeng/bioc | dump | 27,891 | |
LDU_FT/trentm/cmdln/mkmanpage | LDU_FT | [
"<BEGIN>\n## `mkmanpage`",
"Return man page content for the given `cmdln.Cmdln` subclass name.\n<END>",
"<BEGIN>\n## `do_crush`",
"${cmd_name}: crush your enemies!",
" ${cmd_usage}\n ${cmd_option_list}\n C.f. Conan the Barbarian.\n<END>",
"<BEGIN>\n## `do_add`",
"Put files and direc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkmanpage API.
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 mkmanpage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return man page content for the given `cmdln.Cmdln` subclass name. | "Return man page content for the given `cmdln.Cmdln` subclass name." | 207 | false | trentm/cmdln | mkmanpage | 27,892 | |
LDU_FT/ph4r05/monero-serialize/blob_load | LDU_FT | [
"<BEGIN>\n## `load_uint`",
"Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `dump_uint`",
"Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `load_uvarint_b`",
"Vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blob_load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blob_load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Loads blob from reader to the element. Returns the loaded blob.
:param reader:
:param elem_type:
:param params:
:param elem:
:return: | "Loads blob from reader to the element. Returns the loaded blob.\n\n :param reader:\n :param elem_type:\n :param params:\n :param elem:\n :return:" | 273 | false | ph4r05/monero-serialize | blob_load | 27,893 | |
LDU_FT/cnelson/python-fleet/remove_option | LDU_FT | [
"<BEGIN>\n## `_set_options_from_file`",
"Parses a unit file and updates self._data['options']",
" Args:\n file_handle (file): a file-like object (supporting read()) containing a unit",
" Returns:\n True: The file was successfuly parsed and options were updated",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Remove an option from a unit
Args:
section (str): The section to remove from.
name (str): The item to remove.
value (str, optional): If specified, only the option matching this value will be removed
If not specified, all options with ``name... | "Remove an option from a unit\n\n Args:\n section (str): The section to remove from.\n name (str): The item to remove.\n value (str, optional): If specified, only the option matching this value will be removed\n If not specified, all options with... | 89 | false | cnelson/python-fleet | remove_option | 27,894 | |
LDU_FT/JohnVinyard/zounds/chunk_size_samples | LDU_FT | [
"<BEGIN>\n## `validate`",
"Ensure that the size of the dimension matches the number of bands in the\n scale",
" Raises:\n ValueError: when the dimension size and number of bands don't match\n<END>",
"<BEGIN>\n## `resampled`",
"Create a basic processing pipeline that can resample al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunk_size_samples 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 chunk_size_samples 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... | Black magic to account for the fact that libsndfile's behavior varies
depending on file format when using the virtual io api.
If you ask for more samples from an ogg or flac file than are available
at that moment, libsndfile will give you no more samples ever, even if
more bytes arrive in the buffer la... | "Black magic to account for the fact that libsndfile's behavior varies\n depending on file format when using the virtual io api.\n\n If you ask for more samples from an ogg or flac file than are available\n at that moment, libsndfile will give you no more samples ever, even if\n more bytes arrive in the buf... | 97 | false | JohnVinyard/zounds | chunk_size_samples | 27,895 | |
LDU_FT/singularityhub/singularity-python/get_tags | LDU_FT | [
"<BEGIN>\n## `get_template`",
"get_template will return a template in the template folder,\n with some substitutions (eg, {'{{ graph | safe }}':\"fill this in!\"}\n<END>",
"<BEGIN>\n## `container_similarity_vector`",
"container similarity_vector is similar to compare_packages, but intended\n to compare ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags API.
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... | get tags will return a list of tags that describe the software in an image,
meaning inside of a paricular folder. If search_folder is not defined, uses lib
:param container: if provided, will use container as image. Can also provide
:param image_package: if provided, can be used instead of container
:pa... | "get tags will return a list of tags that describe the software in an image,\n meaning inside of a paricular folder. If search_folder is not defined, uses lib\n :param container: if provided, will use container as image. Can also provide\n :param image_package: if provided, can be used instead of container\n ... | 135 | false | singularityhub/singularity-python | get_tags | 27,896 | |
LDU_FT/Dallinger/Dallinger/ingest_to_model | LDU_FT | [
"<BEGIN>\n## `setup`",
"Setup the networks.",
" Setup only does stuff if there are no networks, this is so it only\n runs once at the start of the experiment. It first calls the same\n function in the super (see experiments.py in dallinger). Then it adds a\n source to each network.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ingest_to_model API.
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 ingest_to_model API.
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... | Load data from a CSV file handle into storage for a
SQLAlchemy model class. | "Load data from a CSV file handle into storage for a\n SQLAlchemy model class." | 425 | false | Dallinger/Dallinger | ingest_to_model | 27,897 | |
LDU_FT/jpscaletti/pyceo/option | LDU_FT | [
"<BEGIN>\n## `run`",
"Parse the command line arguments.",
" default:\n Name of default command to run if no arguments are passed.\n<END>",
"<BEGIN>\n## `command`",
"Decorator for adding a command to this manager.\n<END>",
"<BEGIN>\n## `get_doc`",
"Extract and dedent the __doc__ of a fu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Decorator that add an option to the wrapped command or function. | "Decorator that add an option to the wrapped command or function." | 19 | false | jpscaletti/pyceo | option | 27,898 | |
LDU_FT/opentracing-contrib/python-tornado/_apply_tracing | LDU_FT | [
"<BEGIN>\n## `tracer_config`",
"Wraps the Tornado web application initialization so that the\n TornadoTracing instance is created around an OpenTracing-compatible tracer.\n<END>",
"<BEGIN>\n## `trace`",
"Function decorator that traces functions\n NOTE: Must be placed before the Tornado decorators\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_tracing API.
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 _apply_tracing API.
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... | Helper function to avoid rewriting for middleware and decorator.
Returns a new span from the request with logged attributes and
correct operation name from the func. | "Helper function to avoid rewriting for middleware and decorator.\n Returns a new span from the request with logged attributes and\n correct operation name from the func." | 12 | false | opentracing-contrib/python-tornado | _apply_tracing | 27,899 | |
LDU_FT/Dynatrace/OneAgent-SDK-for-Python/trace_outgoing_web_request | LDU_FT | [
"<BEGIN>\n## `end`",
"Ends the tracer.",
" May be called in any state. Transitions the state to ended and releases\n any SDK resources owned by this tracer (this includes only internal\n resources, things like passed-in\n :class:`oneagent.common.DbInfoHandle` need to be released manu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace_outgoing_web_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace_outgoing_web_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Create a tracer for an outgoing webrequest.
:param str url: The request URL (including scheme, hostname/port, path and query).
:param str method: The HTTP method of the request (e.g., GET or POST).
:param headers: The HTTP headers of the request. Can be either a
dictionary mapping h... | "Create a tracer for an outgoing webrequest.\n\n :param str url: The request URL (including scheme, hostname/port, path and query).\n :param str method: The HTTP method of the request (e.g., GET or POST).\n :param headers: The HTTP headers of the request. Can be either a\n dictionary map... | 85 | false | Dynatrace/OneAgent-SDK-for-Python | trace_outgoing_web_request | 27,900 | |
LDU_FT/pschmitt/python-opsview/logout | LDU_FT | [
"<BEGIN>\n## `login_required`",
"Definition decorator for all function requiring an active session\n Credit: http://stackoverflow.com/a/7590709\n<END>",
"<BEGIN>\n## `api_version`",
"Get information about the API\n http://docs.opsview.com/doku.php?id=opsview4.6:restapi#api_version_information\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logout API.
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 logout API.
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 the current session
http://docs.opsview.com/doku.php?id=opsview4.6:restapi#logout | "Delete the current session\n http://docs.opsview.com/doku.php?id=opsview4.6:restapi#logout" | 16 | false | pschmitt/python-opsview | logout | 27,901 | |
LDU_FT/nornir-automation/nornir/napalm_configure | LDU_FT | [
"<BEGIN>\n## `start`",
"Run the task for the given host.",
" Arguments:\n host (:obj:`nornir.core.inventory.Host`): Host we are operating with. Populated right\n before calling the ``task``\n nornir(:obj:`nornir.core.Nornir`): Populated right before calling\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the napalm_configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the napalm_configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Loads configuration into a network devices using napalm
Arguments:
dry_run: Whether to apply changes or not
filename: filename containing the configuration to load into the device
configuration: configuration to load into the device
replace: whether to replace or merge the configura... | "Loads configuration into a network devices using napalm\n\n Arguments:\n dry_run: Whether to apply changes or not\n filename: filename containing the configuration to load into the device\n configuration: configuration to load into the device\n replace: whether to replace or merge the co... | 175 | false | nornir-automation/nornir | napalm_configure | 27,902 | |
LDU_FT/SeabornGames/File/read_folder | LDU_FT | [
"<BEGIN>\n## `clear_path`",
"This will move a path to the Trash folder\n :param path: str of the path to remove\n :return: None\n<END>",
"<BEGIN>\n## `_md5_of_file`",
"This will return the md5 of the file in sub_string\n :param sub_string: str of the path or relative path to a file\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | This will read all of the files in the folder with the extension equal
to ext
:param folder: str of the folder name
:param ext: str of the extension
:param uppercase: bool if True will uppercase all the file names
:param replace_dot: str will replace "." in the filename
:param parent: str of... | "This will read all of the files in the folder with the extension equal\n to ext\n :param folder: str of the folder name\n :param ext: str of the extension\n :param uppercase: bool if True will uppercase all the file names\n :param replace_dot: str will replace \".\" in the filename\n :param paren... | 14 | false | SeabornGames/File | read_folder | 27,903 | |
LDU_FT/tsileo/globster/add_replacer | LDU_FT | [
"<BEGIN>\n## `normalize_pattern`",
"Converts backslashes in path patterns to forward slashes.",
" Doesn't normalize regular expressions - they may contain escapes.\n<END>",
"<BEGIN>\n## `add`",
"r\"\"\"Add a pattern and replacement.",
" The pattern must not contain capturing groups.\n The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_replacer API.
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_replacer API.
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... | r"""Add all patterns from another replacer.
All patterns and replacements from replacer are appended to the ones
already defined. | "r\"\"\"Add all patterns from another replacer.\n\n All patterns and replacements from replacer are appended to the ones\n already defined." | 18 | false | tsileo/globster | add_replacer | 27,904 | |
LDU_FT/arne-cl/discoursegraphs/get_conano_units | LDU_FT | [
"<BEGIN>\n## `merging_cli`",
"simple commandline interface of the merging module.",
" This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>",
"<BEGIN>\n## `add_node_ids_as_labels`",
"Adds the ID of each node of a discourse graph as a label (an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_conano_units API.
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_conano_units API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | yield all Conano units that occur in the given document graph,
sorted by their unit ID. int(ernal) and ext(ernal) count as distinct units.
Parameters
----------
docgraph : DiscourseDocumentGraph
a document graph which contains Conano annotations
data : bool
If True (default), yields... | "yield all Conano units that occur in the given document graph,\n sorted by their unit ID. int(ernal) and ext(ernal) count as distinct units.\n\n Parameters\n ----------\n docgraph : DiscourseDocumentGraph\n a document graph which contains Conano annotations\n data : bool\n If True (default... | 846 | false | arne-cl/discoursegraphs | get_conano_units | 27,905 | |
LDU_FT/zabertech/python-swampyer/subscribe | LDU_FT | [
"<BEGIN>\n## `connect`",
"This just creates the websocket connection\n<END>",
"<BEGIN>\n## `hello`",
"Say hello to the server and wait for the welcome\n message before proceeding\n<END>",
"<BEGIN>\n## `send_message`",
"Send awamp message to the server. We don't wait\n for a response ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe API.
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 subscribe API.
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... | Subscribe to a uri for events from a publisher | "Subscribe to a uri for events from a publisher" | 24 | false | zabertech/python-swampyer | subscribe | 27,906 | |
LDU_FT/pyparsing/pyparsing/fprocess | LDU_FT | [
"<BEGIN>\n## `parse`",
"Accepts an input string containing an LA equation, e.g.,\r\n \"M3_mymatrix = M3_anothermatrix^-1\" returns C code function\r\n calls that implement the expression.\n<END>",
"<BEGIN>\n## `fprocess`",
"Scans an input file for LA equations between double square brackets,\r\n e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fprocess API.
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 fprocess API.
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... | Scans an input file for LA equations between double square brackets,
e.g. [[ M3_mymatrix = M3_anothermatrix^-1 ]], and replaces the expression
with a comment containing the equation followed by nested function calls
that implement the equation as C code. A trailing semi-colon is appended.
The equation w... | "Scans an input file for LA equations between double square brackets,\r\n e.g. [[ M3_mymatrix = M3_anothermatrix^-1 ]], and replaces the expression\r\n with a comment containing the equation followed by nested function calls\r\n that implement the equation as C code. A trailing semi-colon is appended.\r\n The e... | 132 | false | pyparsing/pyparsing | fprocess | 27,907 | |
LDU_FT/IvanMalison/okcupyd/delete | LDU_FT | [
"<BEGIN>\n## `ages`",
"The age range that the user is interested in.\n<END>",
"<BEGIN>\n## `single`",
"Whether or not the user is only interested in people that are single.\n<END>",
"<BEGIN>\n## `update`",
"Update the looking for attributes of the logged in user.",
" :param ages: The ages that th... | 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 a photo from the logged in users account.
:param photo_id: The okcupid id of the photo to delete.
:param album_id: The album from which to delete the photo. | "Delete a photo from the logged in users account.\n\n :param photo_id: The okcupid id of the photo to delete.\n :param album_id: The album from which to delete the photo." | 149 | false | IvanMalison/okcupyd | delete | 27,908 | |
LDU_FT/stevelittlefish/easyforms/read_form_data | LDU_FT | [
"<BEGIN>\n## `validate`",
"Run the form value through the validators, and update the error field if needed\n<END>",
"<BEGIN>\n## `extract_value`",
"Extract the data from the request\n :param data: A mult-dict with either the post or get query\n<END>",
"<BEGIN>\n## `get_input_column_attributes`",
":... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_form_data API.
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 read_form_data API.
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... | Attempt to read the form data from the request | "Attempt to read the form data from the request" | 29 | false | stevelittlefish/easyforms | read_form_data | 27,909 | |
LDU_FT/napalm-automation/napalm-eos/get_network_instances | LDU_FT | [
"<BEGIN>\n## `compare_config`",
"Implementation of NAPALM method compare_config.\n<END>",
"<BEGIN>\n## `commit_config`",
"Implementation of NAPALM method commit_config.\n<END>",
"<BEGIN>\n## `discard_config`",
"Implementation of NAPALM method discard_config.\n<END>",
"<BEGIN>\n## `rollback`",
"Impleme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_network_instances 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_network_instances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | get_network_instances implementation for EOS. | "get_network_instances implementation for EOS." | 16 | false | napalm-automation/napalm-eos | get_network_instances | 27,910 | |
LDU_FT/astropy/astropy-helpers/_version_split | LDU_FT | [
"<BEGIN>\n## `get_dummy_distribution`",
"Returns a distutils Distribution object used to instrument the setup\n environment before calling the actual setup() function.\n<END>",
"<BEGIN>\n## `get_distutils_option`",
"Returns the value of the given distutils option.",
" Parameters\n ----------\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _version_split API.
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 _version_split API.
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... | Split a version string into major, minor, and bugfix numbers. If any of
those numbers are missing the default is zero. Any pre/post release
modifiers are ignored.
Examples
========
>>> _version_split('1.2.3')
(1, 2, 3)
>>> _version_split('1.2')
(1, 2, 0)
>>> _version_split('1.2rc1... | "Split a version string into major, minor, and bugfix numbers. If any of\n those numbers are missing the default is zero. Any pre/post release\n modifiers are ignored.\n\n Examples\n ========\n >>> _version_split('1.2.3')\n (1, 2, 3)\n >>> _version_split('1.2')\n (1, 2, 0)\n >>> _version_sp... | 135 | false | astropy/astropy-helpers | _version_split | 27,911 | |
LDU_FT/lawsie/guizero/image | LDU_FT | [
"<BEGIN>\n## `value_text`",
"Sets or returns the option selected in a ButtonGroup by its text value.\n<END>",
"<BEGIN>\n## `resize`",
"Resizes the widget.",
" :param int width:\n The width of the widget.",
" :param int height:\n The height of the widget.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API.
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 image API.
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... | Inserts an image into the drawing, position by its top-left corner.
:param int x:
The x position to insert the image.
:param int y:
The y position to insert the image.
:param str image:
The file path or a PhotoImage or PIL.Image object.
:pa... | "Inserts an image into the drawing, position by its top-left corner.\n \n :param int x:\n The x position to insert the image.\n\n :param int y:\n The y position to insert the image.\n\n :param str image:\n The file path or a PhotoImage or PIL.Image object.\n\... | 173 | false | lawsie/guizero | image | 27,912 | |
LDU_FT/bcbio/bcbio-nextgen/picard_fixmate | LDU_FT | [
"<BEGIN>\n## `groom`",
"Grooms a FASTQ file from Illumina 1.3/1.5 quality scores into\n sanger format, if it is not already in that format.\n<END>",
"<BEGIN>\n## `filter_single_reads_by_length`",
"removes reads from a fastq file which are shorter than a minimum\n length\n<END>",
"<BEGIN>\n## `filter_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the picard_fixmate API.
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 picard_fixmate API.
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... | Run Picard's FixMateInformation generating an aligned output file. | "Run Picard's FixMateInformation generating an aligned output file." | 3,670 | true | bcbio/bcbio-nextgen | picard_fixmate | 27,913 | |
LDU_FT/googlefonts/glyphsLib/to_ufo_components | LDU_FT | [
"<BEGIN>\n## `to_ufo_font_attributes`",
"Generate a list of UFOs with metadata loaded from .glyphs data.",
" Modifies the list of UFOs in the UFOBuilder (self) in-place.\n<END>",
"<BEGIN>\n## `to_glyphs_font_attributes`",
"Copy font attributes from `ufo` either to `self.font` or to `master`.",
" Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_ufo_components API.
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 to_ufo_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Draw .glyphs components onto a pen, adding them to the parent glyph. | "Draw .glyphs components onto a pen, adding them to the parent glyph." | 235 | false | googlefonts/glyphsLib | to_ufo_components | 27,914 | |
LDU_FT/sander76/aio-powerview-api/delete_scene | LDU_FT | [
"<BEGIN>\n## `sanitize_resources`",
"Cleans up incoming scene data",
" :param resource: The dict with scene data to be sanitized.\n :returns: Cleaned up dict.\n<END>",
"<BEGIN>\n## `create_scene`",
"Creates am empty scene.",
" Scenemembers need to be added after the scene has been cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_scene API.
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 delete_scene API.
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... | Delete a scene
:param scene_id:
:return: | "Delete a scene\n\n :param scene_id:\n :return:" | 58 | false | sander76/aio-powerview-api | delete_scene | 27,915 | |
LDU_FT/AtomHash/evernode/send | LDU_FT | [
"<BEGIN>\n## `exists`",
"Checks if item already exists in database\n<END>",
"<BEGIN>\n## `save`",
"Easy save(insert or update) for db models\n<END>",
"<BEGIN>\n## `trans`",
"Root Example:\r\n Translator()\r\n Translator.trans('messages.hello')\r\n resources/lang/en/messages.lang will ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
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 send API.
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... | Construct and execute sendemail.py script
Finds python binary by os.py, then
uses the /usr/bin/python to execute email script | "Construct and execute sendemail.py script\r\n Finds python binary by os.py, then\r\n uses the /usr/bin/python to execute email script" | 56 | false | AtomHash/evernode | send | 27,916 | |
LDU_FT/aws/sagemaker-python-sdk/description | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy this ``Model`` to an ``Endpoint`` and optionally return a ``Predictor``.",
" Create a SageMaker ``Model`` and ``EndpointConfig``, and deploy an ``Endpoint`` from this ``Model``.\n If ``self.predictor_cls`` is not None, this method returns a the result of invoking\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the description API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the description API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Call ``DescribeHyperParameterTuningJob`` for the hyperparameter tuning job.
Args:
force_refresh (bool): Set to True to fetch the latest data from SageMaker API.
Returns:
dict: The Amazon SageMaker response for ``DescribeHyperParameterTuningJob``. | "Call ``DescribeHyperParameterTuningJob`` for the hyperparameter tuning job.\n\n Args:\n force_refresh (bool): Set to True to fetch the latest data from SageMaker API.\n\n Returns:\n dict: The Amazon SageMaker response for ``DescribeHyperParameterTuningJob``." | 796 | false | aws/sagemaker-python-sdk | description | 27,917 | |
LDU_FT/bodylabs/lace/main | LDU_FT | [
"<BEGIN>\n## `copy`",
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>",
"<BEGIN>\n## `concatenate`",
"Concatenates an arbitrary number of meshes.",
" Currently supports vertices, vertex c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Generates code for name_to_rgb dict, assuming an rgb.txt file available (in X11 format). | "Generates code for name_to_rgb dict, assuming an rgb.txt file available (in X11 format)." | 133 | false | bodylabs/lace | main | 27,918 | |
LDU_FT/mila-iqia/fuel/convert_celeba_aligned_cropped | LDU_FT | [
"<BEGIN>\n## `convert_mnist`",
"Converts the MNIST dataset to HDF5.",
" Converts the MNIST dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.MNIST`. The converted dataset is\n saved as 'mnist.hdf5'.",
" This method assumes the existence of the following files:\n `train-images-i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_celeba_aligned_cropped API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_celeba_aligned_cropped API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Converts the aligned and cropped CelebA dataset to HDF5.
Converts the CelebA dataset to an HDF5 dataset compatible with
:class:`fuel.datasets.CelebA`. The converted dataset is saved as
'celeba_aligned_cropped.hdf5'.
It assumes the existence of the following files:
* `img_align_celeba.zip`
* `... | "Converts the aligned and cropped CelebA dataset to HDF5.\n\n Converts the CelebA dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.CelebA`. The converted dataset is saved as\n 'celeba_aligned_cropped.hdf5'.\n\n It assumes the existence of the following files:\n\n * `img_align_celeba.zip... | 358 | false | mila-iqia/fuel | convert_celeba_aligned_cropped | 27,919 | |
LDU_FT/openeemeter/eemeter/compute_temperature_features | LDU_FT | [
"<BEGIN>\n## `as_freq`",
"Resample data to a different frequency.",
" This method can be used to upsample or downsample meter data. The\n assumption it makes to do so is that meter data is constant and averaged\n over the given periods. For instance, to convert billing-period data to\n daily data, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_temperature_features API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_temperature_features API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Compute temperature features from hourly temperature data using the
:any:`pandas.DatetimeIndex` meter data..
Creates a :any:`pandas.DataFrame` with the same index as the meter data.
.. note::
For CalTRACK compliance (2.2.2.3), must set
``percent_hourly_coverage_per_day=0.5``,
``co... | "Compute temperature features from hourly temperature data using the\n :any:`pandas.DatetimeIndex` meter data..\n\n Creates a :any:`pandas.DataFrame` with the same index as the meter data.\n\n .. note::\n\n For CalTRACK compliance (2.2.2.3), must set\n ``percent_hourly_coverage_per_day=0.5``,\n ... | 213 | false | openeemeter/eemeter | compute_temperature_features | 27,920 | |
LDU_FT/PMBio/limix-backup/LMLgrad | LDU_FT | [
"<BEGIN>\n## `PCA`",
"run PCA, retrieving the first (components) principle components\n\treturn [s0, eig, w0]\n\ts0: factors\n\tw0: weights\n<END>",
"<BEGIN>\n## `PC_varExplained`",
"Run PCA and calculate the cumulative fraction of variance\n Args:\n Y: phenotype values\n standardize: if True... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LMLgrad API.
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 LMLgrad API.
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... | evaluates the gradient of the log marginal likelihood for the given hyperparameters | "evaluates the gradient of the log marginal likelihood for the given hyperparameters" | 428 | false | PMBio/limix-backup | LMLgrad | 27,921 | |
LDU_FT/callowayproject/django-staff/userinfo_json | LDU_FT | [
"<BEGIN>\n## `get_formset`",
"Return a form, if the obj has a staffmember object, otherwise\n return an empty form\n<END>",
"<BEGIN>\n## `get_staff_updater`",
"This returns a function for passing to a signal.\n<END>",
"<BEGIN>\n## `save`",
"Makes sure we are in sync with the User field\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the userinfo_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the userinfo_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return the user's information in a json object | "Return the user's information in a json object" | 10 | false | callowayproject/django-staff | userinfo_json | 27,922 | |
LDU_FT/minrk/findspark/_add_to_submit_args | LDU_FT | [
"<BEGIN>\n## `find`",
"Find a local spark installation.",
" Will first check the SPARK_HOME env variable, and otherwise\n search common installation locations, e.g. from homebrew\n<END>",
"<BEGIN>\n## `change_rc`",
"Persists changes to environment by changing shell config.",
" Adds lines to .bash... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_to_submit_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_to_submit_args 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... | Adds string s to the PYSPARK_SUBMIT_ARGS env var | "Adds string s to the PYSPARK_SUBMIT_ARGS env var" | 25 | false | minrk/findspark | _add_to_submit_args | 27,923 | |
LDU_FT/BerkeleyAutomation/perception/inverse | LDU_FT | [
"<BEGIN>\n## `frames`",
"Retrieve a new frame from the PhoXi and convert it to a ColorImage,\n a DepthImage, and an IrImage.",
" Returns\n -------\n :obj:`tuple` of :obj:`ColorImage`, :obj:`DepthImage`, :obj:`IrImage`, :obj:`numpy.ndarray`\n The ColorImage, DepthImage, and... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inverse API.
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 inverse API.
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... | Inverts image (all nonzeros become zeros and vice verse)
Returns
-------
:obj:`BinaryImage`
inverse of this binary image | "Inverts image (all nonzeros become zeros and vice verse)\n Returns\n -------\n :obj:`BinaryImage`\n inverse of this binary image" | 657 | false | BerkeleyAutomation/perception | inverse | 27,924 | |
LDU_FT/kellerza/pyqwikswitch/decode_imod | LDU_FT | [
"<BEGIN>\n## `_legacy_status`",
"Legacy status method from the 'qsmobile.js' library.",
" Pass in the 'val' from &devices or the\n 'data' received after calling a specific ID.\n<END>",
"<BEGIN>\n## `decode_qwikcord`",
"Extract the qwikcord current measurements from val (CTavg, CTsum).\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_imod API.
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 decode_imod API.
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... | Decode an 4 channel imod. May support 6 channels. | "Decode an 4 channel imod. May support 6 channels." | 25 | false | kellerza/pyqwikswitch | decode_imod | 27,925 | |
LDU_FT/eelregit/mcfit/matrix | LDU_FT | [
"<BEGIN>\n## `_deriv`",
"Real deriv is to :math:`t`, complex deriv is to :math:`\\ln t`\n<END>",
"<BEGIN>\n## `inv`",
"Invert the transform.",
" After calling this method, calling the instance will do the inverse\n transform. Calling this twice return the instance to the original\n tran... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matrix API.
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 matrix API.
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 matrix form of the integral transform.
Parameters
----------
full : bool, optional
when False return two vector factors and convolution matrix
separately, otherwise return full transformation matrix
keeppads : bool, optional
whether to keep the... | "Return matrix form of the integral transform.\n\n Parameters\n ----------\n full : bool, optional\n when False return two vector factors and convolution matrix\n separately, otherwise return full transformation matrix\n keeppads : bool, optional\n whether to... | 22 | false | eelregit/mcfit | matrix | 27,926 | |
LDU_FT/AshleySetter/optoanalysis/get_time_data | LDU_FT | [
"<BEGIN>\n## `InterpretWaveform`",
"Take the raw binary from a file saved from the LeCroy, read from a file using \n the 2 lines:\n with open(filename, \"rb\") as file:\n raw = file.read()\n And extracts various properties of the saved time trace.",
" Parameters\n -----... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time_data API.
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_time_data API.
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... | Gets the time and voltage data.
Parameters
----------
timeStart : float, optional
The time get data from.
By default it uses the first time point
timeEnd : float, optional
The time to finish getting data from.
By default it uses the last t... | "Gets the time and voltage data.\n\n Parameters\n ----------\n timeStart : float, optional\n The time get data from.\n By default it uses the first time point\n timeEnd : float, optional\n The time to finish getting data from.\n By default it uses ... | 402 | false | AshleySetter/optoanalysis | get_time_data | 27,927 | |
LDU_FT/dourvaris/nano-python/wallet_work_get | LDU_FT | [
"<BEGIN>\n## `signature_unsafe`",
"Not safe to use with secret keys or secret data.\n See module docstring. This function should be used for testing only.\n<END>",
"<BEGIN>\n## `checkvalid`",
"Not safe to use when any argument is secret.\n See module docstring. This function should be used only for\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wallet_work_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wallet_work_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns a list of pairs of account and work from **wallet**
.. enable_control required
.. version 8.0 required
:param wallet: Wallet to return work for
:type wallet: str
:raises: :py:exc:`nano.rpc.RPCException`
>>> rpc.wallet_work_get(
... wallet="000D1BAE... | "Returns a list of pairs of account and work from **wallet**\n\n .. enable_control required\n .. version 8.0 required\n\n :param wallet: Wallet to return work for\n :type wallet: str\n\n :raises: :py:exc:`nano.rpc.RPCException`\n\n >>> rpc.wallet_work_get(\n ... wall... | 574 | false | dourvaris/nano-python | wallet_work_get | 27,928 | |
LDU_FT/pzs741/TEDT/first_unit | LDU_FT | [
"<BEGIN>\n## `get_url`",
"获取url地址并根据网页编码格式自动解析",
" Keyword arguments:\n url -- 用户传入地址,头部必须含有http://\n Return:\n 网页源代码(为了下一步预处理方便,所有英文字母转换为小写)\n 网页编解码\n<END>",
"<BEGIN>\n## `html_clean`",
"获取网页源代码并进行预处理",
" Keyword arguments:\n html_code -- 网页源代码,字符... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_unit API.
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 first_unit API.
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... | 初始化语料库,提取的是文本行长度最大且与虚假标题相似度最大的文本行
Keyword arguments:
unit_raw -- 预处理后的网页文本行,只有文本行和空行
Return:
init_corpus -- 第一个加入语料库的文本行 | "初始化语料库,提取的是文本行长度最大且与虚假标题相似度最大的文本行\n\n Keyword arguments:\n unit_raw -- 预处理后的网页文本行,只有文本行和空行\n Return:\n init_corpus -- 第一个加入语料库的文本行" | 91 | false | pzs741/TEDT | first_unit | 27,929 | |
LDU_FT/anti1869/sunhead/print_banner | LDU_FT | [
"<BEGIN>\n## `discover_config_path`",
"Search for config file in a number of places.\n If there is no config file found, will return None.",
" :param config_filename: Config file name or custom path to filename with config.\n :return: Path to the discovered config file or None.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_banner API.
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 print_banner API.
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... | Print text file to output.
:param filename: Which file to print.
:param template: Format string which specified banner arrangement.
:return: Does not return anything | "Print text file to output.\n\n :param filename: Which file to print.\n :param template: Format string which specified banner arrangement.\n :return: Does not return anything" | 53 | false | anti1869/sunhead | print_banner | 27,930 | |
LDU_FT/SUSE-Enceladus/ipa/parse_sync_points | LDU_FT | [
"<BEGIN>\n## `_get_instance_state`",
"Attempt to retrieve the state of the instance.\n Raises:\n EC2CloudException: If the instance cannot be found.\n<END>",
"<BEGIN>\n## `_get_user_data`",
"Return formatted bash script string.",
" The public ssh key is added by cloud init to the i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_sync_points API.
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 parse_sync_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Slice list of test names on sync points.
If test is test file find full path to file.
Returns:
A list of test file sets and sync point strings.
Examples:
['test_hard_reboot']
[set('test1', 'test2')]
[set('test1', 'test2'), 'test_soft_reboot']
[set('test1', 'test2'),... | "Slice list of test names on sync points.\n\n If test is test file find full path to file.\n\n Returns:\n A list of test file sets and sync point strings.\n Examples:\n ['test_hard_reboot']\n [set('test1', 'test2')]\n [set('test1', 'test2'), 'test_soft_reboot']\n [set('test1'... | 143 | false | SUSE-Enceladus/ipa | parse_sync_points | 27,931 | |
LDU_FT/JNRowe/jnrbase/get_data | LDU_FT | [
"<BEGIN>\n## `parse_requires`",
"Parse ``pip``-style requirements files.",
" This is a *very* naïve parser, but very few packages make use of the more\n advanced features. Support for other features will be added only when\n packages in the wild depend on them.",
" Args:\n __fname: Base fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data API.
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... | Return top-most data file for given package.
Args:
__pkg: Package name
__name: Data file name | "Return top-most data file for given package.\n\n Args:\n __pkg: Package name\n __name: Data file name" | 112 | false | JNRowe/jnrbase | get_data | 27,932 | |
LDU_FT/avihad/twistes/search | LDU_FT | [
"<BEGIN>\n## `expand_action`",
"From one document or action definition passed in by the user extract the\n action/data lines needed for elasticsearch's\n :meth:`~elasticsearch.Elasticsearch.bulk` api.\n :return es format to bulk doc\n<END>",
"<BEGIN>\n## `bulk`",
"Helper for the :meth:`~e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
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 search API.
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 ... | Make a search query on the elastic search
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html>`_
:param index: the index name to query
:param doc_type: he doc type to search in
:param body: the query
:param query_params: params
:arg _sourc... | "Make a search query on the elastic search\n `<http://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html>`_\n\n :param index: the index name to query\n :param doc_type: he doc type to search in\n :param body: the query\n :param query_params: params\n :ar... | 78 | false | avihad/twistes | search | 27,933 | |
LDU_FT/lingfeiwang/findr-python/rank_pv | LDU_FT | [
"<BEGIN>\n## `gassists_pv`",
"Calculates p-values of gene i regulating gene j with genotype data assisted method with multiple tests.\n\tdg:\tnumpy.ndarray(nt,ns,dtype=gtype(='u1' by default)) Genotype data.\n\t\tEntry dg[i,j] is genotype i's value for sample j.\n\t\tEach value must be among 0,1,...,na.\n\t\tGeno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rank_pv API.
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 rank_pv API.
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... | Calculates p-values of gene i correlating with gene j by converting log likelihoods into probabilities per A for all B.
dt: numpy.ndarray(nt,ns,dtype=ftype(='=f4' by default)) Gene expression data for A
Entry dt[i,j] is gene i's expression level for sample j.
dt2:numpy.ndarray(nt2,ns,dtype=ftype(='=f4' by default))... | "Calculates p-values of gene i correlating with gene j by converting log likelihoods into probabilities per A for all B.\n\tdt:\tnumpy.ndarray(nt,ns,dtype=ftype(='=f4' by default)) Gene expression data for A\n\t\tEntry dt[i,j] is gene i's expression level for sample j.\n\tdt2:numpy.ndarray(nt2,ns,dtype=ftype(='=f4' by ... | 50 | false | lingfeiwang/findr-python | rank_pv | 27,934 | |
LDU_FT/swift-nav/libsbp/mk_definition | LDU_FT | [
"<BEGIN>\n## `read`",
"Read wrapper.",
" Parameters\n ----------\n size : int\n Number of bytes to read.\n<END>",
"<BEGIN>\n## `handle_fields`",
"Helper for handling naming and sizing of fields. It's terrible.\n<END>",
"<BEGIN>\n## `convert`",
"Converts to a C language appr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mk_definition API.
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 mk_definition API.
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... | Instantiates a struct or SBP message specification from a parsed
"AST" of a struct or message.
Parameters
----------
defn : dict
Returns
----------
A Definition or a specialization of a definition, like a Struct | "Instantiates a struct or SBP message specification from a parsed\n \"AST\" of a struct or message.\n\n Parameters\n ----------\n defn : dict\n\n Returns\n ----------\n A Definition or a specialization of a definition, like a Struct" | 114 | false | swift-nav/libsbp | mk_definition | 27,935 | |
LDU_FT/mardiros/pyshop/by_login | LDU_FT | [
"<BEGIN>\n## `update_model`",
"trivial implementation for simple data in the form,\n using the model prefix.\n<END>",
"<BEGIN>\n## `locale_negotiator`",
"Locale negotiator base on the `Accept-Language` header\n<END>",
"<BEGIN>\n## `main`",
"Get a PyShop WSGI application configured with settings.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get a user from a given login.
:param session: SQLAlchemy session
:type session: :class:`sqlalchemy.Session`
:param login: the user login
:type login: unicode
:return: the associated user
:rtype: :class:`pyshop.models.User` | "Get a user from a given login.\n\n :param session: SQLAlchemy session\n :type session: :class:`sqlalchemy.Session`\n\n :param login: the user login\n :type login: unicode\n\n :return: the associated user\n :rtype: :class:`pyshop.models.User`" | 135 | false | mardiros/pyshop | by_login | 27,936 | |
LDU_FT/da4089/simplefix/remove | LDU_FT | [
"<BEGIN>\n## `add_raw`",
"Define the tags used for a private raw data field.",
" :param length_tag: tag number of length field.\n :param value_tag: tag number of value field.",
" Data fields are not terminated by the SOH character as is usual for\n FIX, but instead have a second, p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove the n-th occurrence of tag in this message.
:param tag: FIX field tag number to be removed.
:param nth: Index of tag if repeating, first is 1.
:returns: Value of the field if removed, None otherwise. | "Remove the n-th occurrence of tag in this message.\n\n :param tag: FIX field tag number to be removed.\n :param nth: Index of tag if repeating, first is 1.\n :returns: Value of the field if removed, None otherwise." | 79 | false | da4089/simplefix | remove | 27,937 | |
LDU_FT/jeffrimko/Auxly/abspath | LDU_FT | [
"<BEGIN>\n## `silent`",
"Calls the given shell command. Output will not be displayed. Returns the\n status code.",
" **Examples**:\n ::\n auxly.shell.silent(\"ls\")\n<END>",
"<BEGIN>\n## `has`",
"Returns true if the give shell command is available.",
" **Examples**:\n ::\n aux... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abspath API.
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 abspath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns an absolute path based on the given root and relative path. | "Returns an absolute path based on the given root and relative path." | 65 | false | jeffrimko/Auxly | abspath | 27,938 | |
LDU_FT/Carbonara-Project/Guanciale/makekey | LDU_FT | [
"<BEGIN>\n## `idaunpack`",
"Special data packing format, used in struct definitions, and .id2 files\r",
" sdk functions: pack_dd etc.\n<END>",
"<BEGIN>\n## `binary_search`",
"Do a binary search in an array of objects ordered by '.key'\r",
" returns the largest index for which: a[i].key <= k\r",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makekey API.
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 makekey API.
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 binary key for the nodeid, tag and optional value | "return a binary key for the nodeid, tag and optional value" | 44 | false | Carbonara-Project/Guanciale | makekey | 27,939 | |
LDU_FT/gmr/tinman/_create_template | LDU_FT | [
"<BEGIN>\n## `main`",
"Invoked by the script installed by setuptools.\n<END>",
"<BEGIN>\n## `enable_debug`",
"If the cli arg for foreground is set, set the configuration option\n for debug.\n<END>",
"<BEGIN>\n## `insert_paths`",
"Inserts a base path into the sys.path list if one is specified in\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create an instance of a tornado.template.Template object for the
given template name.
:param str name: The name/path to the template
:rtype: tornado.template.Template | "Create an instance of a tornado.template.Template object for the\n given template name.\n\n :param str name: The name/path to the template\n :rtype: tornado.template.Template" | 270 | false | gmr/tinman | _create_template | 27,940 | |
LDU_FT/pyout/pyout/value_type | LDU_FT | [
"<BEGIN>\n## `validate`",
"Check `style` against pyout.styling.schema.",
" Parameters\n ----------\n style : dict\n Style object to validate.",
" Raises\n ------\n StyleValidationError if `style` is not valid.\n<END>",
"<BEGIN>\n## `value_type`",
"Classify `value` of bold, color, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Classify `value` of bold, color, and underline keys.
Parameters
----------
value : style value
Returns
-------
str, {"simple", "lookup", "re_lookup", "interval"} | "Classify `value` of bold, color, and underline keys.\n\n Parameters\n ----------\n value : style value\n\n Returns\n -------\n str, {\"simple\", \"lookup\", \"re_lookup\", \"interval\"}" | 92 | false | pyout/pyout | value_type | 27,941 | |
LDU_FT/tornadoweb/tornado/locale | 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 locale API.
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 locale API.
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 ... | The locale for the current session.
Determined by either `get_user_locale`, which you can override to
set the locale based on, e.g., a user preference stored in a
database, or `get_browser_locale`, which uses the ``Accept-Language``
header.
.. versionchanged: 4.1
Add... | "The locale for the current session.\n\n Determined by either `get_user_locale`, which you can override to\n set the locale based on, e.g., a user preference stored in a\n database, or `get_browser_locale`, which uses the ``Accept-Language``\n header.\n\n .. versionchanged: 4.1\n ... | 1,291 | true | tornadoweb/tornado | locale | 27,942 | |
LDU_FT/jamesturk/scrapelib/set | LDU_FT | [
"<BEGIN>\n## `key_for_request`",
"Return a cache key from a given set of request parameters.",
" Default behavior is to return a complete URL for all GET\n requests, and None otherwise.",
" Can be overriden if caching of non-get requests is desired.\n<END>",
"<BEGIN>\n## `re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Set cache entry for key with contents of response. | "Set cache entry for key with contents of response." | 20 | false | jamesturk/scrapelib | set | 27,943 | |
LDU_FT/anjishnu/ask-alexa-pykit/make_twitter_request | LDU_FT | [
"<BEGIN>\n## `read_from_user`",
"Helper function to prompt user for input of a specific type \n e.g. float, str, int \n Designed to work with both python 2 and 3 \n Yes I know this is ugly.\n<END>",
"<BEGIN>\n## `load_builtin_slots`",
"Helper function to load builtin slots from the data location\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_twitter_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 make_twitter_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.
... | Generically make a request to twitter API using a particular user's authorization | "Generically make a request to twitter API using a particular user's authorization" | 32 | false | anjishnu/ask-alexa-pykit | make_twitter_request | 27,944 | |
LDU_FT/dh1tw/pyhamtools/get_adif_id | LDU_FT | [
"<BEGIN>\n## `get_homecall`",
"Strips off country prefixes (HC2/DH1TW) and activity suffixes (DH1TW/P).",
" Args:\n callsign (str): Amateur Radio callsign",
" Returns:\n str: callsign without country/activity pre/suffixes",
" Raises:\n ValueError: No cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_adif_id API.
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 get_adif_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns ADIF id of a callsign's country
Args:
callsign (str): Amateur Radio callsign
timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC)
Returns:
int: containing the country ADIF id
Raises:
KeyError: No Country found for callsign | "Returns ADIF id of a callsign's country\n\n Args:\n callsign (str): Amateur Radio callsign\n timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC)\n\n Returns:\n int: containing the country ADIF id\n\n Raises:\n KeyError: No Country found for... | 238 | false | dh1tw/pyhamtools | get_adif_id | 27,945 | |
LDU_FT/geomet/geomet/_load_geometrycollection | LDU_FT | [
"<BEGIN>\n## `block_splitter`",
"Creates a generator by slicing ``data`` into chunks of ``block_size``.",
" >>> data = range(10)\n >>> list(block_splitter(data, 2))\n [[0, 1], [2, 3], [4, 5], [6, 7], [8, 9]]",
" If ``data`` cannot be evenly divided by ``block_size``, the last block will\n simpl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_geometrycollection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_geometrycollection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Has similar inputs and return value to to :func:`_load_point`, except is
for handling GEOMETRYCOLLECTIONs.
Delegates parsing to the parsers for the individual geometry types.
:returns:
A GeoJSON `dict` GeometryCollection representation of the WKT
``string``. | "Has similar inputs and return value to to :func:`_load_point`, except is\n for handling GEOMETRYCOLLECTIONs.\n\n Delegates parsing to the parsers for the individual geometry types.\n\n :returns:\n A GeoJSON `dict` GeometryCollection representation of the WKT\n ``string``." | 120 | false | geomet/geomet | _load_geometrycollection | 27,946 | |
LDU_FT/srittau/python-asserts/assert_in | LDU_FT | [
"<BEGIN>\n## `assert_true`",
"Fail the test unless the expression is truthy.",
" >>> assert_true(\"Hello World!\")\n >>> assert_true(\"\")\n Traceback (most recent call last):\n ...\n AssertionError: '' is not truthy",
" The following msg_fmt arguments are supported:\n * msg - the def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_in API.
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 assert_in API.
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... | Fail if first is not in collection second.
>>> assert_in("foo", [4, "foo", {}])
>>> assert_in("bar", [4, "foo", {}])
Traceback (most recent call last):
...
AssertionError: 'bar' not in [4, 'foo', {}]
The following msg_fmt arguments are supported:
* msg - the default error message
*... | "Fail if first is not in collection second.\n\n >>> assert_in(\"foo\", [4, \"foo\", {}])\n >>> assert_in(\"bar\", [4, \"foo\", {}])\n Traceback (most recent call last):\n ...\n AssertionError: 'bar' not in [4, 'foo', {}]\n\n The following msg_fmt arguments are supported:\n * msg - the default e... | 131 | false | srittau/python-asserts | assert_in | 27,947 | |
LDU_FT/romanvm/python-web-pdb/do_quit | LDU_FT | [
"<BEGIN>\n## `compress`",
"Compress route return data with gzip compression\n<END>",
"<BEGIN>\n## `set_trace`",
"Start the debugger",
" This method suspends execution of the current script\n and starts a PDB debugging session. The web-interface is opened\n on the specified port (default: ``5555``).... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_quit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_quit API.
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... | quit || exit || q
Stop and quit the current debugging session | "quit || exit || q\n Stop and quit the current debugging session" | 38 | false | romanvm/python-web-pdb | do_quit | 27,948 | |
LDU_FT/koszullab/instaGRAAL/rearrange_intra_scaffolds | LDU_FT | [
"<BEGIN>\n## `estimate_parameters_rippe`",
"estimation by least square optimization of Rippe parameters on the\n experimental data\n :param max_dist_kb:\n :param size_bin_kb:\n<END>",
"<BEGIN>\n## `estimate_parameters`",
"estimation by least square optimization of Rippe parameters on the\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rearrange_intra_scaffolds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rearrange_intra_scaffolds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Rearranges all bins within each scaffold such that all bins belonging
to the same initial contig are grouped together in the same order. When
two such groups are found, the smaller one is moved to the larger one. | "Rearranges all bins within each scaffold such that all bins belonging\n to the same initial contig are grouped together in the same order. When\n two such groups are found, the smaller one is moved to the larger one." | 116 | false | koszullab/instaGRAAL | rearrange_intra_scaffolds | 27,949 | |
LDU_FT/moonso/vcf_parser/cli | LDU_FT | [
"<BEGIN>\n## `build_models_dict`",
"Take a list with annotated genetic inheritance patterns for each\n family and returns a dictionary with family_id as key and a list of\n genetic models as value.",
" Args:\n annotated_models : A list on the form ['1:AD','2:AR_comp|AD_dn']",
" Returns:\... | 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... | Tool for parsing vcf files.
Prints the vcf file to output.
If --split/-s is used all multiallelic calls will be splitted and printed
as single variant calls.
For more information, please see github.com/moonso/vcf_parser. | "Tool for parsing vcf files.\n \n Prints the vcf file to output. \n If --split/-s is used all multiallelic calls will be splitted and printed \n as single variant calls.\n For more information, please see github.com/moonso/vcf_parser." | 71 | false | moonso/vcf_parser | cli | 27,950 | |
LDU_FT/stevearc/pyramid_webpack/_get_setting | LDU_FT | [
"<BEGIN>\n## `get_webpack`",
"Get the Webpack object for a given webpack config.",
" Called at most once per request per config name.\n<END>",
"<BEGIN>\n## `includeme`",
"Add pyramid_webpack methods and config to the app\n<END>",
"<BEGIN>\n## `_get_setting`",
"Helper function to fetch settings, inher... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_setting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_setting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Helper function to fetch settings, inheriting from the base | "Helper function to fetch settings, inheriting from the base" | 15 | false | stevearc/pyramid_webpack | _get_setting | 27,951 | |
LDU_FT/mediawiki-utilities/python-mwapi/get | LDU_FT | [
"<BEGIN>\n## `do_login`",
"Performs a login handshake with a user on the command-line. This method\n will handle all of the follow-up requests (e.g. capcha or two-factor). A\n login that requires two-factor looks like this::",
" >>> import mwapi.cli\n >>> import mwapi\n >>> mwapi.cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Makes an API request with the GET method
:Parameters:
query_continue : `dict`
Optionally, the value of a query continuation 'continue' field.
auth : mixed
Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth.
continuation : `bool`
... | "Makes an API request with the GET method\n\n :Parameters:\n query_continue : `dict`\n Optionally, the value of a query continuation 'continue' field.\n auth : mixed\n Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth.\n continuation : `... | 27 | false | mediawiki-utilities/python-mwapi | get | 27,952 | |
LDU_FT/spotify/gordon-gcp/get_all | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate a message given a schema.",
" Args:\n message (dict): Loaded JSON of pulled message from Google\n PubSub.\n schema_name (str): Name of schema to validate ``message``\n against. ``schema_name`` will be used to look up\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Aggregate data from all pages of an API query.
Args:
url (str): Google API endpoint URL.
params (dict): (optional) URL query parameters.
Returns:
list: Parsed JSON query response results. | "Aggregate data from all pages of an API query.\n\n Args:\n url (str): Google API endpoint URL.\n params (dict): (optional) URL query parameters.\n\n Returns:\n list: Parsed JSON query response results." | 72 | false | spotify/gordon-gcp | get_all | 27,953 | |
LDU_FT/contentful/contentful.py/_normalize_select | LDU_FT | [
"<BEGIN>\n## `incoming_references`",
"Fetches all entries referencing the entry",
" API Reference: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-asset",
" :param client Client instance\n :param query: (optional) Dict with... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_select API.
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 _normalize_select API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | If the query contains the :select operator, we enforce :sys properties.
The SDK requires sys.type to function properly, but as other of our
SDKs require more parts of the :sys properties, we decided that every
SDK should include the complete :sys block to provide consistency
accross our ... | "If the query contains the :select operator, we enforce :sys properties.\n The SDK requires sys.type to function properly, but as other of our\n SDKs require more parts of the :sys properties, we decided that every\n SDK should include the complete :sys block to provide consistency\n accross... | 71 | false | contentful/contentful.py | _normalize_select | 27,954 | |
LDU_FT/filestack/filestack-python/download | LDU_FT | [
"<BEGIN>\n## `to_filelink`",
"Checks is the status of the conversion is complete and, if so, converts to a Filelink",
" *returns* [Filestack.Filelink]",
" ```python\n filelink = av_convert.to_filelink()\n ```\n<END>",
"<BEGIN>\n## `url`",
"Returns the URL for the instance, whic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
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 download API.
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... | Downloads a file to the given local path and returns the size of the downloaded file if successful
*returns* [Integer]
```python
from filestack import Client
client = Client('API_KEY', security=sec)
filelink = client.upload(filepath='/path/to/file')
# if successful, r... | "Downloads a file to the given local path and returns the size of the downloaded file if successful\n\n *returns* [Integer]\n\n ```python\n from filestack import Client\n\n client = Client('API_KEY', security=sec)\n filelink = client.upload(filepath='/path/to/file')\n # if suc... | 82 | false | filestack/filestack-python | download | 27,955 | |
LDU_FT/Unity-Technologies/ml-agents/process_pixels | LDU_FT | [
"<BEGIN>\n## `get_action`",
"Decides actions given observations information, and takes them in environment.\n :param brain_info: A dictionary of brain names and BrainInfo from environment.\n :return: an ActionInfo containing action, memories, values and an object\n to be passed to add experie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_pixels API.
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 process_pixels API.
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... | Converts byte array observation image into numpy array, re-sizes it,
and optionally converts it to grey scale
:param gray_scale: Whether to convert the image to grayscale.
:param image_bytes: input byte array corresponding to image
:return: processed numpy array of observation from envir... | "Converts byte array observation image into numpy array, re-sizes it,\n and optionally converts it to grey scale\n :param gray_scale: Whether to convert the image to grayscale.\n :param image_bytes: input byte array corresponding to image\n :return: processed numpy array of observation from ... | 171 | false | Unity-Technologies/ml-agents | process_pixels | 27,956 | |
LDU_FT/insilichem/ommprotocol/sort_key_for_numeric_suffixes | LDU_FT | [
"<BEGIN>\n## `protocol`",
"Run all the stages in protocol",
" Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation",
" cfg : dict\n Imported YAML file.\n<END>",
"<BEGIN>\n## `run`",
"Launch MD simulation, which may consist of:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_key_for_numeric_suffixes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_key_for_numeric_suffixes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Sort files taking into account potentially absent suffixes like
somefile.dcd
somefile.1000.dcd
somefile.2000.dcd
To be used with sorted(..., key=callable). | "Sort files taking into account potentially absent suffixes like\n somefile.dcd\n somefile.1000.dcd\n somefile.2000.dcd\n\n To be used with sorted(..., key=callable)." | 84 | false | insilichem/ommprotocol | sort_key_for_numeric_suffixes | 27,957 | |
LDU_FT/kstaniek/condoor/a_standby_console | LDU_FT | [
"<BEGIN>\n## `_prepare_patterns`",
"Return two dictionaries: compiled and text prompts.\n<END>",
"<BEGIN>\n## `_platform_patterns`",
"Return all the patterns for specific platform.\n<END>",
"<BEGIN>\n## `pattern`",
"Return the pattern defined by the key string specific to the platform.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the a_standby_console API.
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 a_standby_console API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Raise ConnectionError exception when connected to standby console. | "Raise ConnectionError exception when connected to standby console." | 229 | false | kstaniek/condoor | a_standby_console | 27,958 | |
LDU_FT/treethought/flask-assistant/register | LDU_FT | [
"<BEGIN>\n## `build_item`",
"Builds an item that may be added to List or Carousel\n<END>",
"<BEGIN>\n## `suggest`",
"Use suggestion chips to hint at responses to continue or pivot the conversation\n<END>",
"<BEGIN>\n## `link_out`",
"Presents a chip similar to suggestion, but instead links to a url\n<END>"... | 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... | Registers a new entity and returns the entity object with an ID | "Registers a new entity and returns the entity object with an ID" | 65 | false | treethought/flask-assistant | register | 27,959 | |
LDU_FT/intelligenia/modeltranslation/import_translations | LDU_FT | [
"<BEGIN>\n## `_get_fieldtranslations`",
"Get all the translations for this object.\n<END>",
"<BEGIN>\n## `_load_translations`",
"Loads all translations as dynamic attributes:\n\t\t<attr>_<lang_code>\n\t\t<attr>_<lang_code>_is_fuzzy\n<END>",
"<BEGIN>\n## `_set_dict_translations`",
"Establece los atributos ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_translations 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 import_translations 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... | Importa las traducciones a partir de un archivo PO. Ten en cuenta
que el archivo PO ha de ser generado desde esta aplicación, de forma
que los comentarios sirvan como id de traducción (lo metemos nosotros
en la exportación). | "Importa las traducciones a partir de un archivo PO. Ten en cuenta\n\tque el archivo PO ha de ser generado desde esta aplicación, de forma\n\tque los comentarios sirvan como id de traducción (lo metemos nosotros\n\ten la exportación)." | 36 | false | intelligenia/modeltranslation | import_translations | 27,960 | |
LDU_FT/jstitch/MambuPy/getproductsurl | LDU_FT | [
"<BEGIN>\n## `convertDict2Attrs`",
"The trick for iterable Mambu Objects comes here:",
" You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getproductsurl API.
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 getproductsurl API.
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... | Request loan Products URL.
If idproduct is set, you'll get a response adequate for a MambuProduct object.
If not set, you'll get a response adequate for a MambuProducts object.
See mambuproduct module and pydoc for further information.
No current implemented filter parameters.
See Mambu official ... | "Request loan Products URL.\n\n If idproduct is set, you'll get a response adequate for a MambuProduct object.\n If not set, you'll get a response adequate for a MambuProducts object.\n See mambuproduct module and pydoc for further information.\n\n No current implemented filter parameters.\n\n See Mambu ... | 357 | false | jstitch/MambuPy | getproductsurl | 27,961 | |
LDU_FT/quantmind/agile-toolkit/version | LDU_FT | [
"<BEGIN>\n## `upload`",
"Upload a file to a release",
" :param filename: filename to upload\n :param content_type: optional content type\n :return: json object from github\n<END>",
"<BEGIN>\n## `validate_tag`",
"Validate ``tag_name`` with the latest tag from github",
" If ``tag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version API.
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 version API.
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... | Software version of the current repository | "Software version of the current repository" | 23 | false | quantmind/agile-toolkit | version | 27,962 | |
LDU_FT/christophercrouzet/gorilla/filter | LDU_FT | [
"<BEGIN>\n## `apply`",
"Apply a patch.",
" The patch's :attr:`~Patch.obj` attribute is injected into the patch's\n :attr:`~Patch.destination` under the patch's :attr:`~Patch.name`.",
" This is a wrapper around calling\n ``setattr(patch.destination, patch.name, patch.obj)``.",
" Parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted ... | Modifier decorator to force the inclusion or exclusion of an attribute.
This only modifies the behaviour of the :func:`create_patches` function
and the :func:`patches` decorator, given that their parameter
``use_decorators`` is set to ``True``.
Parameters
----------
value : bool
``True... | "Modifier decorator to force the inclusion or exclusion of an attribute.\n\n This only modifies the behaviour of the :func:`create_patches` function\n and the :func:`patches` decorator, given that their parameter\n ``use_decorators`` is set to ``True``.\n\n Parameters\n ----------\n value : bool\n ... | 67 | false | christophercrouzet/gorilla | filter | 27,963 | |
LDU_FT/noxdafox/clipspy/default_type | LDU_FT | [
"<BEGIN>\n## `accessible`",
"True if the Slot is directly accessible.\n<END>",
"<BEGIN>\n## `types`",
"A tuple containing the value types for this Slot.",
" The Python equivalent of the CLIPS slot-types function.\n<END>",
"<BEGIN>\n## `sources`",
"A tuple containing the names of the Class sources... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | The default value type for this Slot.
The Python equivalent of the CLIPS deftemplate-slot-defaultp function. | "The default value type for this Slot.\n\n The Python equivalent of the CLIPS deftemplate-slot-defaultp function." | 209 | false | noxdafox/clipspy | default_type | 27,964 | |
LDU_FT/fchauvel/MAD/p_operation_list | LDU_FT | [
"<BEGIN>\n## `_execute`",
"This method is ASSIGNED during the evaluation to control how to resume it once it has been paused\n<END>",
"<BEGIN>\n## `of_think`",
"Simulate the worker processing the task for the specified amount of time.\n The worker is not released and the task is not paused.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_operation_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_operation_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 ... | operation_list : define_operation operation_list
| define_operation | "operation_list : define_operation operation_list\n | define_operation" | 34 | false | fchauvel/MAD | p_operation_list | 27,965 | |
LDU_FT/keenlabs/KeenClient-Python/_update_access_key_pair | LDU_FT | [
"<BEGIN>\n## `_initialize_client_from_environment`",
"Initialize a KeenClient instance using environment variables.\n<END>",
"<BEGIN>\n## `add_event`",
"Adds an event.",
" Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediatel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_access_key_pair 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 _update_access_key_pair API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Helper for updating access keys in a DRY fashion. | "Helper for updating access keys in a DRY fashion." | 177 | false | keenlabs/KeenClient-Python | _update_access_key_pair | 27,966 | |
LDU_FT/stephantul/reach/save | LDU_FT | [
"<BEGIN>\n## `load`",
"r\"\"\"\n Read a file in word2vec .txt format.",
" The load function will raise a ValueError when trying to load items\n which do not conform to line lengths.",
" Parameters\n ----------\n pathtovector : string\n The path to the vecto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Save the current vector space in word2vec format.
Parameters
----------
path : str
The path to save the vector file to.
write_header : bool, optional, default True
Whether to write a word2vec-style header as the first line of the
file | "Save the current vector space in word2vec format.\n\n Parameters\n ----------\n path : str\n The path to save the vector file to.\n write_header : bool, optional, default True\n Whether to write a word2vec-style header as the first line of the\n file" | 63 | false | stephantul/reach | save | 27,967 | |
LDU_FT/jbloomlab/phydms/IntGreaterThanZero | LDU_FT | [
"<BEGIN>\n## `maximizeLikelihood`",
"Maximize the log likelihood.",
" Maximizes log likelihood with respect to model parameters\n and potentially branch lengths depending on `optimize_brlen`.\n If optimizing the branch lengths, iterates between optimizing\n the model parameters and b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the IntGreaterThanZero 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 IntGreaterThanZero 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... | If *n* is an integer > 0, returns it, otherwise an error. | "If *n* is an integer > 0, returns it, otherwise an error." | 294 | false | jbloomlab/phydms | IntGreaterThanZero | 27,968 | |
LDU_FT/SectorLabs/django-localized-fields/get | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this model instance to the database.\n<END>",
"<BEGIN>\n## `to_python`",
"Converts the value from a database value into a Python value.\n<END>",
"<BEGIN>\n## `get_prep_value`",
"Gets the value in a format to store into the database.\n<END>",
"<BEGIN>\n## `formfield`",
"Get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Gets the underlying value in the specified or
primary language.
Arguments:
language:
The language to get the value in.
Returns:
The value in the current language, or
the primary language in case no language
was specified. | "Gets the underlying value in the specified or\n primary language.\n\n Arguments:\n language:\n The language to get the value in.\n\n Returns:\n The value in the current language, or\n the primary language in case no language\n was specifie... | 117 | false | SectorLabs/django-localized-fields | get | 27,969 | |
LDU_FT/daler/gffutils/bed12 | LDU_FT | [
"<BEGIN>\n## `to_bedtool`",
"Convert any iterator into a pybedtools.BedTool object.",
" Note that the supplied iterator is not consumed by this function. To save\n to a temp file or to a known location, use the `.saveas()` method of the\n returned BedTool object.\n<END>",
"<BEGIN>\n## `tsses`",
"Cr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bed12 API.
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 bed12 API.
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... | Converts `feature` into a BED12 format.
GFF and GTF files do not necessarily define genes consistently, so this
method provides flexiblity in specifying what to call a "transcript".
Parameters
----------
feature : str or Feature instance
In most cases, this feature ... | "Converts `feature` into a BED12 format.\n\n GFF and GTF files do not necessarily define genes consistently, so this\n method provides flexiblity in specifying what to call a \"transcript\".\n\n Parameters\n ----------\n feature : str or Feature instance\n In most cases, th... | 366 | false | daler/gffutils | bed12 | 27,970 | |
LDU_FT/aerogear/digger-build-cli/get_src_folder | LDU_FT | [
"<BEGIN>\n## `jarsign`",
"Uses Jarsign to sign an apk target file using the provided keystore information.",
" :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_src_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_src_folder API.
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... | Gets the app source folder from settings.gradle file.
Returns:
A string containing the project source folder name (default is "app") | "Gets the app source folder from settings.gradle file.\n\n Returns:\n A string containing the project source folder name (default is \"app\")" | 100 | false | aerogear/digger-build-cli | get_src_folder | 27,971 | |
LDU_FT/baliame/http-hmac-python/sign | LDU_FT | [
"<BEGIN>\n## `signable`",
"Creates the signable string for a request and returns it.",
" Keyword arguments:\n request -- A request object which can be consumed by this API.\n authheaders -- A string-indexable object which contains the headers appropriate for this signature version.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
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 sign API.
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... | Returns the signature appropriate for the request. The request is not changed by this function.
Keyword arguments:
request -- A request object which can be consumed by this API.
authheaders -- A string-indexable object which contains the headers appropriate for this signature version.
s... | "Returns the signature appropriate for the request. The request is not changed by this function.\n\n Keyword arguments:\n request -- A request object which can be consumed by this API.\n authheaders -- A string-indexable object which contains the headers appropriate for this signature version.\n ... | 81 | false | baliame/http-hmac-python | sign | 27,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.