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/OnroerendErfgoed/language-tags/format | LDU_FT | [
"<BEGIN>\n## `types`",
"Get the types of a subtag string (excludes redundant and grandfathered).",
" :param str subtag: subtag.\n :return: list of types. The return list can be empty.\n<END>",
"<BEGIN>\n## `subtags`",
"Get a list of existing :class:`language_tags.Subtag.Subtag` objects given t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format API.
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 format API.
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 ... | Get format according to algorithm defined in RFC 5646 section 2.1.1.
:return: formatted tag string. | "Get format according to algorithm defined in RFC 5646 section 2.1.1.\n\n\n :return: formatted tag string." | 50 | false | OnroerendErfgoed/language-tags | format | 19,673 | |
LDU_FT/theislab/anndata/write_csvs | LDU_FT | [
"<BEGIN>\n## `read_csv`",
"Read ``.csv`` file.",
" Same as :func:`~anndata.read_text` but with default delimiter ``','``.",
" Parameters\n ----------\n filename\n Data file.\n delimiter\n Delimiter that separates data within text file. If ``None``, will split at\n arbitrary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_csvs API.
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 write_csvs API.
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... | See :meth:`~anndata.AnnData.write_csvs`. | "See :meth:`~anndata.AnnData.write_csvs`." | 143 | false | theislab/anndata | write_csvs | 19,674 | |
LDU_FT/hellock/icrawler/add_proxy | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"convert detailed proxy info into a dict",
" Returns:\n dict: A dict with four keys: ``addr``, ``protocol``,\n ``weight`` and ``last_checked``\n<END>",
"<BEGIN>\n## `proxy_num`",
"Get the number of proxies in the pool",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_proxy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_proxy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a valid proxy into pool
You must call `add_proxy` method to add a proxy into pool instead of
directly operate the `proxies` variable. | "Add a valid proxy into pool\n\n You must call `add_proxy` method to add a proxy into pool instead of\n directly operate the `proxies` variable." | 105 | false | hellock/icrawler | add_proxy | 19,675 | |
LDU_FT/Nixiware/viper/_loadService | LDU_FT | [
"<BEGIN>\n## `send`",
"Sends an email using the SMTP connection.",
" :param recipient: <tuple> recipient's email address as the first element and their name as an optional second\n element\n :param subject: <str> mail subject\n :param message: <str> mail content (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _loadService API.
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 _loadService API.
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... | Check if an application service can be found at the specified path.
If found, instantiate it and add it to the application service pool.
:param: <str> service file path
:return: <void> | "Check if an application service can be found at the specified path.\n If found, instantiate it and add it to the application service pool.\n\n :param: <str> service file path\n :return: <void>" | 72 | false | Nixiware/viper | _loadService | 19,676 | |
LDU_FT/NoneGG/aredis/sinter | LDU_FT | [
"<BEGIN>\n## `merge_result`",
"Merge all items in `res` into a list.",
" This command is used when sending a command to multiple nodes\n and they result from each node should be merged into a single list.\n<END>",
"<BEGIN>\n## `first_key`",
"Returns the first result for the given command.",
" If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sinter API.
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 sinter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return the intersection of sets specified by ``keys`` | "Return the intersection of sets specified by ``keys``" | 421 | false | NoneGG/aredis | sinter | 19,677 | |
LDU_FT/andreafioraldi/angrdbg/load_mo | LDU_FT | [
"<BEGIN>\n## `get_dbg_brk_linux64`",
"Return the current brk value in the debugged process (only x86_64 Linux)\n<END>",
"<BEGIN>\n## `get_dbg_brk_linux32`",
"Return the current brk value in the debugged process (only x86 Linux)\n<END>",
"<BEGIN>\n## `get_unconstrained_bytes`",
"Get some consecutive uncons... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_mo API.
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 load_mo API.
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... | Loads a memory object from memory.
:param page_idx: the index into the page
:returns: a tuple of the object | "Loads a memory object from memory.\n :param page_idx: the index into the page\n :returns: a tuple of the object" | 24 | false | andreafioraldi/angrdbg | load_mo | 19,678 | |
LDU_FT/websauna/pyramid_notebook/add_greeting | LDU_FT | [
"<BEGIN>\n## `handshake_headers`",
"List of headers appropriate for the upgrade\n handshake.\n<END>",
"<BEGIN>\n## `run`",
"Combine async uwsgi message loop with ws4py message loop.",
" TODO: This could do some serious optimizations and behave asynchronously correct instead of just sleep().\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_greeting API.
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_greeting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Add one-liner script or several lines (newline separated) | "Add one-liner script or several lines (newline separated)" | 78 | false | websauna/pyramid_notebook | add_greeting | 19,679 | |
LDU_FT/F5Networks/f5-common-python/get_device_info | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the object, removing device group if inherited",
" If inheritedDevicegroup is the string \"true\" we need to remove\n deviceGroup from the args before we update or we get the\n following error:",
" The floating traffic-group: /Common/traffic-group-1 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_device_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_device_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get device information about a specific BigIP device.
:param bigip: bigip object --- device to inspect
:returns: bigip object | "Get device information about a specific BigIP device.\n\n :param bigip: bigip object --- device to inspect\n :returns: bigip object" | 559 | false | F5Networks/f5-common-python | get_device_info | 19,680 | |
LDU_FT/cablehead/vanilla/pulse | LDU_FT | [
"<BEGIN>\n## `Queue`",
"::",
" +----------+\n send --> | Queue |\n | (buffer) | --> recv\n +----------+",
" A Queue may also only have exactly one sender and recver. A Queue however\n has a fifo buffer of a custom size. Sends to the Queue won't b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pulse API.
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 pulse API.
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... | Convenience to create a `Pipe`_ that will have *item* sent on it every
*ms* milliseconds. The `Recver`_ end of the Pipe is returned.
Note that since sends to a Pipe block until the Recver is ready, the
pulses will be throttled if the Recver is unable to keep up::
recver = h.pulse(5... | "Convenience to create a `Pipe`_ that will have *item* sent on it every\n *ms* milliseconds. The `Recver`_ end of the Pipe is returned.\n\n Note that since sends to a Pipe block until the Recver is ready, the\n pulses will be throttled if the Recver is unable to keep up::\n\n recver = h.... | 81 | false | cablehead/vanilla | pulse | 19,681 | |
LDU_FT/JosuaKrause/quick_server/link_empty_favicon_fallback | LDU_FT | [
"<BEGIN>\n## `json_dumps`",
"A safe JSON dump function that provides correct diverging numbers for a\n ECMAscript consumer.\n<END>",
"<BEGIN>\n## `msg`",
"Prints a message from the server to the log file.\n<END>",
"<BEGIN>\n## `setup_restart`",
"Sets up restart functionality that doesn't keep the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link_empty_favicon_fallback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link_empty_favicon_fallback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Links the empty favicon as default favicon. | "Links the empty favicon as default favicon." | 90 | false | JosuaKrause/quick_server | link_empty_favicon_fallback | 19,682 | |
LDU_FT/atztogo/phono3py/get_third_order_displacements | LDU_FT | [
"<BEGIN>\n## `diagonalize_collision_matrix`",
"Diagonalize collision matrices.",
" Note\n ----\n collision_matricies is overwritten by eigenvectors.",
" Parameters\n ----------\n collision_matricies : ndarray, optional\n Collision matrix. This ndarray has to have the following size an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_third_order_displacements 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 get_third_order_displacements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Create dispalcement dataset
Note
----
Atoms 1, 2, and 3 are defined as follows:
Atom 1: The first displaced atom. Third order force constant
between Atoms 1, 2, and 3 is calculated.
Atom 2: The second displaced atom. Second order force constant
between Atoms 2 and 3 is calc... | "Create dispalcement dataset\n\n Note\n ----\n Atoms 1, 2, and 3 are defined as follows:\n\n Atom 1: The first displaced atom. Third order force constant\n between Atoms 1, 2, and 3 is calculated.\n Atom 2: The second displaced atom. Second order force constant\n between Atoms 2 and... | 69 | false | atztogo/phono3py | get_third_order_displacements | 19,683 | |
LDU_FT/secure-systems-lab/securesystemslib/create_signature | LDU_FT | [
"<BEGIN>\n## `get_password`",
"<Purpose>\n Return the password entered by the user. If 'confirm' is True, the user is\n asked to enter the previously entered password once again. If they match,\n the password is returned to the caller.",
" <Arguments>\n prompt:\n The text of the password pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_signature API.
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_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | <Purpose>
Return a (signature, scheme) tuple.
>>> requested_scheme = 'ecdsa-sha2-nistp256'
>>> public, private = generate_public_and_private(requested_scheme)
>>> data = b'The quick brown fox jumps over the lazy dog'
>>> signature, scheme = create_signature(public, private, data, requested_scheme)
... | "<Purpose>\n Return a (signature, scheme) tuple.\n\n >>> requested_scheme = 'ecdsa-sha2-nistp256'\n >>> public, private = generate_public_and_private(requested_scheme)\n >>> data = b'The quick brown fox jumps over the lazy dog'\n >>> signature, scheme = create_signature(public, private, data, requested_s... | 663 | false | secure-systems-lab/securesystemslib | create_signature | 19,684 | |
LDU_FT/consbio/gis-metadata-parser/_update_keywords | LDU_FT | [
"<BEGIN>\n## `convert_parser_to`",
":return: a parser of type parser_or_type, initialized with the properties of parser. If parser_or_type\n is a type, an instance of it must contain a update method. The update method must also process\n the set of properties supported by MetadataParser for the conversion t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_keywords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_keywords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Update operation for ISO type-specific Keywords metadata: Theme or Place | "Update operation for ISO type-specific Keywords metadata: Theme or Place" | 122 | false | consbio/gis-metadata-parser | _update_keywords | 19,685 | |
LDU_FT/what-studio/gauge/pop_momentum_by_name | LDU_FT | [
"<BEGIN>\n## `render`",
"try:\n move_in = self.gauge.momenta[0].move_in(self.gauge, at)\n except (AttributeError, IndexError):\n pass\n else:\n if move_in:\n move_in = math.ceil(move_in)\n text = font.render('{0:02.0f}:{1:02.0f}'.format(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_momentum_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_momentum_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Removes and returns a momentum by the given name.
:param name: the momentum name.
:returns: a momentum removed.
:raises TypeError: `name` is ``None``.
:raises KeyError: failed to find a momentum named `name`. | "Removes and returns a momentum by the given name.\n\n :param name: the momentum name.\n\n :returns: a momentum removed.\n\n :raises TypeError: `name` is ``None``.\n :raises KeyError: failed to find a momentum named `name`." | 22 | false | what-studio/gauge | pop_momentum_by_name | 19,686 | |
LDU_FT/thomasw/querylist/_parse_lookup_string | LDU_FT | [
"<BEGIN>\n## `_convert_iterable`",
"Converts elements returned by an iterable into instances of\n self._wrapper\n<END>",
"<BEGIN>\n## `_check_element`",
"Return True if lookup string/value pairs match against the passed\n object.\n<END>",
"<BEGIN>\n## `get`",
"Returns the first object encoun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_lookup_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_lookup_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert a lookup string to a (lookup_chain, comparator) tuple. | "Convert a lookup string to a (lookup_chain, comparator) tuple." | 29 | false | thomasw/querylist | _parse_lookup_string | 19,687 | |
LDU_FT/dourvaris/nano-python/rai_from_raw | 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 rai_from_raw API.
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 rai_from_raw API.
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... | Divide a raw amount down by the rai ratio.
:param amount: Amount in raw to convert to rai
:type amount: int
:raises: :py:exc:`nano.rpc.RPCException`
>>> rpc.rai_from_raw(amount=1000000000000000000000000)
1 | "Divide a raw amount down by the rai ratio.\n\n :param amount: Amount in raw to convert to rai\n :type amount: int\n\n :raises: :py:exc:`nano.rpc.RPCException`\n\n >>> rpc.rai_from_raw(amount=1000000000000000000000000)\n 1" | 574 | false | dourvaris/nano-python | rai_from_raw | 19,688 | |
LDU_FT/interedition/collatex/reprString | LDU_FT | [
"<BEGIN>\n## `collate`",
":type graph: VariantGraph\n :type collation: Collation\n<END>",
"<BEGIN>\n## `align`",
"Every step we have 3 choices:\n 1) Move pointer witness a --> omission\n 2) Move pointer witness b --> addition\n 3) Move pointer of both witness a/b --> match\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reprString API.
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 reprString API.
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... | Output a string of length tokens in the original form.
If string is an integer, it is considered as an offset in the text.
Otherwise string is considered as a sequence of ids (see voc and
tokId).
>>> SA=SuffixArray('mississippi', UNIT_BYTE)
>>> SA.reprString(0, 3)
'mis'
... | "Output a string of length tokens in the original form.\n If string is an integer, it is considered as an offset in the text.\n Otherwise string is considered as a sequence of ids (see voc and\n tokId).\n\n >>> SA=SuffixArray('mississippi', UNIT_BYTE)\n >>> SA.reprString(0, 3)\n ... | 138 | false | interedition/collatex | reprString | 19,689 | |
LDU_FT/maxpumperla/elephas/data | LDU_FT | [
"<BEGIN>\n## `add_params`",
"Add two lists of parameters one by one",
" :param param_list_left: list of numpy arrays\n :param param_list_right: list of numpy arrays\n :return: list of numpy arrays\n<END>",
"<BEGIN>\n## `subtract_params`",
"Subtract two lists of parameters",
" :param param_list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Data providing function:
Make sure to have every relevant import statement included here and return data as
used in model function below. This function is separated from model() so that hyperopt
won't reload data for each evaluation run. | "Data providing function:\n\n Make sure to have every relevant import statement included here and return data as\n used in model function below. This function is separated from model() so that hyperopt\n won't reload data for each evaluation run." | 87 | false | maxpumperla/elephas | data | 19,690 | |
LDU_FT/praekelt/django-profile/clean | LDU_FT | [
"<BEGIN>\n## `get_initial`",
"Gathers initial form values from user and profile objects\n suitable for using as form's initial data.\n<END>",
"<BEGIN>\n## `save`",
"This method should be called when is_valid is true to save\n relevant fields to user and profile models.\n<END>",
"<BEGIN>\n## `c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API.
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 clean API.
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... | Verifiy that the values entered into the two password fields
match. Note that an error here will end up in
``non_field_errors()`` because it doesn't apply to a single
field. | "Verifiy that the values entered into the two password fields\n match. Note that an error here will end up in\n ``non_field_errors()`` because it doesn't apply to a single\n field." | 10 | false | praekelt/django-profile | clean | 19,691 | |
LDU_FT/dfm/casjobs/request_and_get_output | LDU_FT | [
"<BEGIN>\n## `_send_request`",
"Construct and submit a structured/authenticated request.",
" ## Arguments",
" * `job_type` (str): The job type identifier to use.",
" ## Keyword Arguments",
" * `params` (dict): Any additional entries to include in the POST\n request.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_and_get_output 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 request_and_get_output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Shorthand for requesting an output file and then downloading it when
ready.
## Arguments
* `table` (str): The name of the table to export.
* `outtype` (str): The type of output. Must be one of:
CSV - Comma Seperated Values
DataSet - XML DataSet
F... | "Shorthand for requesting an output file and then downloading it when\n ready.\n\n ## Arguments\n\n * `table` (str): The name of the table to export.\n * `outtype` (str): The type of output. Must be one of:\n CSV - Comma Seperated Values\n DataSet - XML DataSet\n ... | 71 | false | dfm/casjobs | request_and_get_output | 19,692 | |
LDU_FT/KoffeinFlummi/Chronyk/datetime | LDU_FT | [
"<BEGIN>\n## `_mktime`",
"Custom mktime because Windows can't be arsed to properly do pre-Epoch\n dates, probably because it's busy counting all its chromosomes.\n<END>",
"<BEGIN>\n## `_strftime`",
"Custom strftime because Windows is shit again.\n<END>",
"<BEGIN>\n## `_dtfromtimestamp`",
"Custom dateti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datetime API.
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 datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns a datetime object.
This object retains all information, including timezones.
:param timezone = self.timezone
The timezone (in seconds west of UTC) to return the value in. By
default, the timezone used when constructing the class is used
(local one by default... | "Returns a datetime object.\n\n This object retains all information, including timezones.\n\n :param timezone = self.timezone\n The timezone (in seconds west of UTC) to return the value in. By\n default, the timezone used when constructing the class is used\n (local one by... | 43 | false | KoffeinFlummi/Chronyk | datetime | 19,693 | |
LDU_FT/pkkid/python-plexapi/client | LDU_FT | [
"<BEGIN>\n## `registerPlexObject`",
"Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>",
"<BEGIN>\n## `cast`",
"Cast the specified value to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns the :class:`~plexapi.client.PlexClient` that matches the specified name.
Parameters:
name (str): Name of the client to return.
Raises:
:class:`plexapi.exceptions.NotFound`: Unknown client name | "Returns the :class:`~plexapi.client.PlexClient` that matches the specified name.\n\n Parameters:\n name (str): Name of the client to return.\n\n Raises:\n :class:`plexapi.exceptions.NotFound`: Unknown client name" | 372 | false | pkkid/python-plexapi | client | 19,694 | |
LDU_FT/kolypto/py-good/get_schema_compiler | LDU_FT | [
"<BEGIN>\n## `message`",
"Convenience decorator that applies [`Msg()`](#msg) to a callable.",
" ```python\n from good import Schema, message",
" @message(u'Need a number')\n def intify(v):\n return int(v)\n ```",
" :param message: Error message to use instead\n :type message: uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_schema_compiler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_schema_compiler 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... | Get compiler method for the provided schema
:param schema: Schema to analyze
:return: Callable compiled
:rtype: callable|None | "Get compiler method for the provided schema\n\n :param schema: Schema to analyze\n :return: Callable compiled\n :rtype: callable|None" | 118 | false | kolypto/py-good | get_schema_compiler | 19,695 | |
LDU_FT/pypa/setuptools/run | LDU_FT | [
"<BEGIN>\n## `indentedBlock`",
"Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r",
" Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Build modules, packages, and copy data files to build directory | "Build modules, packages, and copy data files to build directory" | 565 | false | pypa/setuptools | run | 19,696 | |
LDU_FT/opereto/pyopereto/modify_service | LDU_FT | [
"<BEGIN>\n## `get_service_version`",
"get_service_version(self, service_id, mode='production', version='default')",
" | Get a specific version details of a given service. Opereto will try to fetch the requested service version. If not found, it will return the default production version. The \"actual_ver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | modify_service(self, service_id, type)
| Modifies a service type (action, container, etc.)
:Parameters:
* *service_id* (`string`) -- Identifier of an existing service
* *type* (`string`) -- service type
:return: Service modification metadata (service id, type, modified date, v... | "modify_service(self, service_id, type)\n\n | Modifies a service type (action, container, etc.)\n\n :Parameters:\n * *service_id* (`string`) -- Identifier of an existing service\n * *type* (`string`) -- service type\n\n :return: Service modification metadata (service id, type, modifie... | 220 | false | opereto/pyopereto | modify_service | 19,697 | |
LDU_FT/hyperledger/sawtooth-core/add_status_parser | LDU_FT | [
"<BEGIN>\n## `run_callback`",
"Calls the callback_func, passing in the two positional arguments,\n conditionally waiting if the callback function hasn't been set yet.\n Meant to be run in a threadpool owned by the FutureCollection.",
" Returns:\n None\n<END>",
"<BEGIN>\n## `add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_status_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_status_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Adds argument parser for the status command
Args:
subparsers: Add parsers to this subparser object
parent_parser: The parent argparse.ArgumentParser object | "Adds argument parser for the status command\n\n Args:\n subparsers: Add parsers to this subparser object\n parent_parser: The parent argparse.ArgumentParser object" | 876 | false | hyperledger/sawtooth-core | add_status_parser | 19,698 | |
LDU_FT/vfilimonov/pydatastream/get_epit_vintage_matrix | LDU_FT | [
"<BEGIN>\n## `request`",
"General function to retrieve one record in raw format.",
" query - query string for DWE system. This may be a simple instrument name\n or more complicated request. Refer to the documentation for the\n format.\n source - The name o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_epit_vintage_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_epit_vintage_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... | Construct the vintage matrix for a given economic series.
Requires subscription to Thomson Reuters Economic Point-in-Time (EPiT).
Vintage matrix represents a DataFrame where columns correspond to a
particular period (quarter or month) for the reported statistic and
index... | "Construct the vintage matrix for a given economic series.\n Requires subscription to Thomson Reuters Economic Point-in-Time (EPiT).\n\n Vintage matrix represents a DataFrame where columns correspond to a\n particular period (quarter or month) for the reported statistic and\n ... | 49 | false | vfilimonov/pydatastream | get_epit_vintage_matrix | 19,699 | |
LDU_FT/bitshares/python-bitshares/adjust_debt | LDU_FT | [
"<BEGIN>\n## `decodeRPCErrorMsg`",
"Helper function to decode the raised Exception and give it a\n python Exception class\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer an asset to another account.",
" :param str to: Recipient\n :param float amount: Amount to transfer\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_debt API.
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 adjust_debt API.
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... | Adjust the amount of debt for an asset
:param Amount delta: Delta amount of the debt (-10 means reduce
debt by 10, +10 means borrow another 10)
:param float new_collateral_ratio: collateral ratio to maintain
(optional, by default tries to maintain old ratio)
... | "Adjust the amount of debt for an asset\n\n :param Amount delta: Delta amount of the debt (-10 means reduce\n debt by 10, +10 means borrow another 10)\n :param float new_collateral_ratio: collateral ratio to maintain\n (optional, by default tries to maintain old r... | 116 | false | bitshares/python-bitshares | adjust_debt | 19,700 | |
LDU_FT/BerkeleyAutomation/visualization/grasp | LDU_FT | [
"<BEGIN>\n## `figure`",
"Create a blank figure.",
" Parameters\n ----------\n bgcolor : (3,) float\n Color of the background with values in [0,1].\n size : (2,) int\n Width and height of the figure in pixels.\n<END>",
"<BEGIN>\n## `show`",
"Display the current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the grasp API.
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 grasp API.
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... | Plots a 2D grasp with arrow and jaw style using matplotlib
Parameters
----------
grasp : :obj:`Grasp2D`
2D grasp to plot
width : float
width, in pixels, of the grasp (overrides Grasp2D.width_px)
color : :obj:`str`
color of plotted gras... | "Plots a 2D grasp with arrow and jaw style using matplotlib\n \n Parameters\n ----------\n grasp : :obj:`Grasp2D`\n 2D grasp to plot\n width : float\n width, in pixels, of the grasp (overrides Grasp2D.width_px)\n color : :obj:`str`\n color of pl... | 54 | false | BerkeleyAutomation/visualization | grasp | 19,701 | |
LDU_FT/SuperCowPowers/chains/get_flow | LDU_FT | [
"<BEGIN>\n## `packet_meta_data`",
"Pull out the metadata about each packet from the input_stream\n Args:\n None\n Returns:\n generator (dictionary): a generator that contains packet meta data in the form of a dictionary\n<END>",
"<BEGIN>\n## `pull`",
"Print out ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flow API.
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_flow API.
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... | Reassemble the flow and return all the info/data | "Reassemble the flow and return all the info/data" | 41 | false | SuperCowPowers/chains | get_flow | 19,702 | |
LDU_FT/sawcordwell/pymdptoolbox/isNonNegative | LDU_FT | [
"<BEGIN>\n## `_checkDimensionsListLike`",
"Check that each array in a list of arrays has the same size.\n<END>",
"<BEGIN>\n## `_checkRewardsListLike`",
"Check that a list-like reward input is valid.\n<END>",
"<BEGIN>\n## `isSquare`",
"Check that ``matrix`` is square.",
" Returns\n =======\n is_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isNonNegative API.
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 isNonNegative API.
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... | Check that ``matrix`` is row non-negative.
Returns
=======
is_stochastic : bool
``True`` if ``matrix`` is non-negative, ``False`` otherwise. | "Check that ``matrix`` is row non-negative.\n\n Returns\n =======\n is_stochastic : bool\n ``True`` if ``matrix`` is non-negative, ``False`` otherwise." | 93 | false | sawcordwell/pymdptoolbox | isNonNegative | 19,703 | |
LDU_FT/etcher-be/emiz/remove_leading_zeros | LDU_FT | [
"<BEGIN>\n## `unit_pos_to_spot`",
"Translates a unit position to a known parking spot",
" Args:\n unit_pos: unit position as Vec2",
" Returns: ParkingSpot object\n<END>",
"<BEGIN>\n## `_tdec`",
"Translates a 4-digit decimal temperature representation",
" Ex: 1045 -> -4.5°C 0237 -> 23.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_leading_zeros 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 remove_leading_zeros API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Strips zeros while handling -, M, and empty strings | "Strips zeros while handling -, M, and empty strings" | 297 | false | etcher-be/emiz | remove_leading_zeros | 19,704 | |
LDU_FT/crate/crate-python/rowcount | LDU_FT | [
"<BEGIN>\n## `coerce`",
"Convert plain dictionaries to MutableDict.\n<END>",
"<BEGIN>\n## `_raise_for_status`",
"make sure that only crate.exceptions are raised that are defined in\n the DB-API specification\n<END>",
"<BEGIN>\n## `_server_url`",
"Normalizes a given server string to an url",
" >>> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rowcount API.
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 rowcount API.
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... | This read-only attribute specifies the number of rows that the last
.execute*() produced (for DQL statements like ``SELECT``) or affected
(for DML statements like ``UPDATE`` or ``INSERT``). | "This read-only attribute specifies the number of rows that the last\n .execute*() produced (for DQL statements like ``SELECT``) or affected\n (for DML statements like ``UPDATE`` or ``INSERT``)." | 81 | false | crate/crate-python | rowcount | 19,705 | |
LDU_FT/cyrus-/cypy/include_many | LDU_FT | [
"<BEGIN>\n## `packed`",
"each row is placed side-by-side with the length of the row interlaced\n the head of the packed matrix contains offsets to this length\n e.g. [[11, 22, 33], [44, 55], []] => [3, 7, 10, 3, 11, 22, 33, 2, 44, 55, 0]\n<END>",
"<BEGIN>\n## `reversed`",
"Create a connectivity ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include_many API.
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 include_many API.
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... | Do whatever it takes to make ``elem in gset`` true for each elem in ``elems``.
See :func:`include`. | "Do whatever it takes to make ``elem in gset`` true for each elem in ``elems``.\n \n See :func:`include`." | 209 | false | cyrus-/cypy | include_many | 19,706 | |
LDU_FT/sorgerlab/indra/evidence_random_noise_prior | LDU_FT | [
"<BEGIN>\n## `group_and_sort_statements`",
"Group statements by type and arguments, and sort by prevalence.",
" Parameters\n ----------\n stmt_list : list[Statement]\n A list of INDRA statements.\n ev_totals : dict{int: int}\n A dictionary, keyed by statement hash (shallow) with counts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evidence_random_noise_prior API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evidence_random_noise_prior API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Determines the random-noise prior probability for this evidence.
If the evidence corresponds to a subtype, and that subtype has a curated
prior noise probability, use that.
Otherwise, gives the random-noise prior for the overall rule type. | "Determines the random-noise prior probability for this evidence.\n\n If the evidence corresponds to a subtype, and that subtype has a curated\n prior noise probability, use that.\n\n Otherwise, gives the random-noise prior for the overall rule type." | 2,493 | true | sorgerlab/indra | evidence_random_noise_prior | 19,707 | |
LDU_FT/CEA-COSMIC/ModOpt/convolve_stack | LDU_FT | [
"<BEGIN>\n## `add_args_kwargs`",
"Add Args and Kwargs",
" This wrapper adds support for additional arguments and keyword arguments to\n any callable function",
" Parameters\n ----------\n func : function\n Callable function",
" Returns\n -------\n function wrapper\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convolve_stack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convolve_stack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | r"""Convolve stack of data with stack of kernels
This method convolves the input data with a given kernel using FFT and
is the default convolution used for all routines
Parameters
----------
data : np.ndarray
Input data array, normally a 2D image
kernel : np.ndarray
Input kerne... | "r\"\"\"Convolve stack of data with stack of kernels\n\n This method convolves the input data with a given kernel using FFT and\n is the default convolution used for all routines\n\n Parameters\n ----------\n data : np.ndarray\n Input data array, normally a 2D image\n kernel : np.ndarray\n ... | 565 | false | CEA-COSMIC/ModOpt | convolve_stack | 19,708 | |
LDU_FT/PMBio/limix-backup/postprocess | 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 postprocess API.
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 postprocess API.
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... | perform parametric fit of the test statistics and provide permutation and test pvalues | "perform parametric fit of the test statistics and provide permutation and test pvalues" | 428 | false | PMBio/limix-backup | postprocess | 19,709 | |
LDU_FT/HttpRunner/HttpRunner/print_info | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"setup root logger with ColoredFormatter.\n<END>",
"<BEGIN>\n## `_handle_skip_feature`",
"handle skip feature for test\n - skip: skip current test unconditionally\n - skipIf: skip current test if condition is true\n - skipUnless: skip current test... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | print info in mapping.
Args:
info_mapping (dict): input(variables) or output mapping.
Examples:
>>> info_mapping = {
"var_a": "hello",
"var_b": "world"
}
>>> info_mapping = {
"status_code": 500
}
>>> print_... | "print info in mapping.\n\n Args:\n info_mapping (dict): input(variables) or output mapping.\n\n Examples:\n >>> info_mapping = {\n \"var_a\": \"hello\",\n \"var_b\": \"world\"\n }\n >>> info_mapping = {\n \"status_code\": 500\n ... | 267 | false | HttpRunner/HttpRunner | print_info | 19,710 | |
LDU_FT/OCA/odoorpc/save | LDU_FT | [
"<BEGIN>\n## `commit`",
"Commit dirty records to the server. This method is automatically\n called when the `auto_commit` option is set to `True` (default).\n It can be useful to set the former option to `False` to get better\n performance by reducing the number of RPC requests generated.",
... | 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 :class:`ODOO <odoorpc.ODOO>` instance (a `session`)
inside `rc_file` (``~/.odoorpcrc`` by default). This session will be
identified by `name`::
>>> import odoorpc
>>> odoo = odoorpc.ODOO('localhost', port=8069)
>>> odoo.login('db_name', 'admin', 'adm... | "Save the current :class:`ODOO <odoorpc.ODOO>` instance (a `session`)\n inside `rc_file` (``~/.odoorpcrc`` by default). This session will be\n identified by `name`::\n\n >>> import odoorpc\n >>> odoo = odoorpc.ODOO('localhost', port=8069)\n >>> odoo.login('db_name', 'admin... | 264 | false | OCA/odoorpc | save | 19,711 | |
LDU_FT/automl/HpBandSter/get_configspace | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Function to sample a new configuration",
"\t\t\tThis function is called inside Hyperband to query a new configuration",
"\t\t\tParameters:\n\t\t\t-----------\n\t\t\tbudget: float\n\t\t\t\tthe budget for which this configuration is scheduled",
"\t\t\treturns: config\n\t\t\t\tshou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_configspace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_configspace API.
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... | It builds the configuration space with the needed hyperparameters.
It is easily possible to implement different types of hyperparameters.
Beside float-hyperparameters on a log scale, it is also able to handle categorical input parameter.
:return: ConfigurationsSpace-Object | "It builds the configuration space with the needed hyperparameters.\n\t\tIt is easily possible to implement different types of hyperparameters.\n\t\tBeside float-hyperparameters on a log scale, it is also able to handle categorical input parameter.\n\t\t:return: ConfigurationsSpace-Object" | 188 | false | automl/HpBandSter | get_configspace | 19,712 | |
LDU_FT/refinery29/chassis/_check_type | LDU_FT | [
"<BEGIN>\n## `detect_circle`",
"Wrapper for recursive _detect_circle function\n<END>",
"<BEGIN>\n## `_detect_circle`",
"Recursively iterate over nodes checking\n if we've traveled to that node before.\n<END>",
"<BEGIN>\n## `_do`",
"Recursive method to instantiate services\n<END>",
"<BEGIN>\n## `_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_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 extra... | Raise a TypeError if object is not of expected type | "Raise a TypeError if object is not of expected type" | 75 | false | refinery29/chassis | _check_type | 19,713 | |
LDU_FT/stephenmcd/django-socketio/subscribe | LDU_FT | [
"<BEGIN>\n## `socketio`",
"Socket.IO handler - maintains the lifecycle of a Socket.IO\n request, sending the each of the events. Also handles\n adding/removing request/socket pairs to the CLIENTS dict\n which is used for sending on_finish events when the server\n stops.\n<END>",
"<BEGIN>\n## `client... | 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... | Add the channel to this socket's channels, and to the list of
subscribed session IDs for the channel. Return False if
already subscribed, otherwise True. | "Add the channel to this socket's channels, and to the list of\n subscribed session IDs for the channel. Return False if\n already subscribed, otherwise True." | 33 | false | stephenmcd/django-socketio | subscribe | 19,714 | |
LDU_FT/google/dotty/infer_type | LDU_FT | [
"<BEGIN>\n## `generate_chunks`",
"Yield 'chunk_size' items from 'data' at a time.\n<END>",
"<BEGIN>\n## `reduce`",
"Repeatedly call fold and merge on data and then finalize.",
" Arguments:\n data: Input for the fold function.\n reducer: The IReducer to use.\n chunk_size: How many ite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_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 infer_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... | Try to infer the type of x[y] if y is a known value (literal). | "Try to infer the type of x[y] if y is a known value (literal)." | 284 | false | google/dotty | infer_type | 19,715 | |
LDU_FT/anti1869/sunhead/consume_queue | 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 consume_queue API.
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 consume_queue API.
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... | Subscribe to the queue consuming.
:param subscriber:
:return: | "Subscribe to the queue consuming.\n\n :param subscriber:\n :return:" | 53 | false | anti1869/sunhead | consume_queue | 19,716 | |
LDU_FT/mozilla-releng/signtool/unpacktar | LDU_FT | [
"<BEGIN>\n## `uploadfile`",
"Uploads file (given by `filename`) to server at `baseurl`.",
" `sesson_key` and `nonce` are string values that get passed as POST\n parameters.\n<END>",
"<BEGIN>\n## `is_authenticode_signed`",
"Returns True if the file is signed with authenticode\n<END>",
"<BEGIN>\n## `p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpacktar API.
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 unpacktar API.
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... | Unpack given tarball into the specified dir | "Unpack given tarball into the specified dir" | 34 | false | mozilla-releng/signtool | unpacktar | 19,717 | |
LDU_FT/pennersr/django-allauth/user_credentials | LDU_FT | [
"<BEGIN>\n## `_stash_user`",
"Now, be aware, the following is quite ugly, let me explain:",
" Even if the user credentials match, the authentication can fail because\n Django's default ModelBackend calls user_can_authenticate(), which\n checks `is_active`. Now, earlier versions of allauth d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_credentials API.
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 user_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Provides the credentials required to authenticate the user for
login. | "Provides the credentials required to authenticate the user for\n login." | 130 | false | pennersr/django-allauth | user_credentials | 19,718 | |
LDU_FT/Yelp/threat_intel/cache_value | LDU_FT | [
"<BEGIN>\n## `init_poolmanager`",
"Called to initialize the HTTPAdapter when no proxy is used.\n<END>",
"<BEGIN>\n## `proxy_manager_for`",
"Called to initialize the HTTPAdapter when a proxy is used.\n<END>",
"<BEGIN>\n## `make_calls`",
"Adds appropriate sleep to avoid making too many calls.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Add the value of an API call to the cache.
Args:
api_name: a string name of the API. Keys and values are segmented by api_name.
key: a string key for the specific call.
value: the value of the call using the specific key | "Add the value of an API call to the cache.\n\n Args:\n api_name: a string name of the API. Keys and values are segmented by api_name.\n key: a string key for the specific call.\n value: the value of the call using the specific key" | 149 | false | Yelp/threat_intel | cache_value | 19,719 | |
LDU_FT/redcanari/canari3/dockerize_package | LDU_FT | [
"<BEGIN>\n## `icon_resource`",
"Returns the absolute URI path to an image. If a package is not explicitly specified then the calling package name is\n used.",
" :param name: path relative to package path of the image resource.\n :param package: package name in dotted format.\n :return: the file URI ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dockerize_package API.
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 dockerize_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Creates a Docker build file pre-configured with Plume. | "Creates a Docker build file pre-configured with Plume." | 126 | false | redcanari/canari3 | dockerize_package | 19,720 | |
LDU_FT/Genida/dependenpy/cast | LDU_FT | [
"<BEGIN>\n## `cast`",
"Cast a set of keys and an array to a Matrix object.\n<END>",
"<BEGIN>\n## `connect_to`",
"Connect this vertex to another one.",
" Args:\n vertex (Vertex): vertex to connect to.\n weight (int): weight of the edge.",
" Returns:\n Edge: th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast API.
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 cast API.
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... | Cast a set of keys and an array to a Matrix object. | "Cast a set of keys and an array to a Matrix object." | 130 | false | Genida/dependenpy | cast | 19,721 | |
LDU_FT/rajeevs1992/pyhealthvault/parse_xml | LDU_FT | [
"<BEGIN>\n## `sendrequest`",
"Recieves a request xml as a string and posts it\n to the health service url specified in the\n settings.py\n<END>",
"<BEGIN>\n## `parse_xml`",
":param xml: lxml.etree.Element representing a single VocabularyItem\n<END>",
"<BEGIN>\n## `write_xml`",
"Write... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API.
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... | :param xml: lxml.etree.Element representing a single VocabularyItem | ":param xml: lxml.etree.Element representing a single VocabularyItem" | 16 | false | rajeevs1992/pyhealthvault | parse_xml | 19,722 | |
LDU_FT/bokeh/bokeh/run_until_shutdown | LDU_FT | [
"<BEGIN>\n## `notify_owner`",
"A decorator for mutating methods of property container classes\n that notifies owners of the property container about mutating changes.",
" Args:\n func (callable) : the container method to wrap in a notification",
" Returns:\n wrapped method",
" Exam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_until_shutdown 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 run_until_shutdown 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... | Run the Bokeh Server until shutdown is requested by the user,
either via a Keyboard interrupt (Ctrl-C) or SIGTERM.
Calling this method will start the Tornado ``IOLoop`` and block
all execution in the calling process.
Returns:
None | "Run the Bokeh Server until shutdown is requested by the user,\n either via a Keyboard interrupt (Ctrl-C) or SIGTERM.\n\n Calling this method will start the Tornado ``IOLoop`` and block\n all execution in the calling process.\n\n Returns:\n None" | 2,090 | true | bokeh/bokeh | run_until_shutdown | 19,723 | |
LDU_FT/hubo1016/namedstruct/_packto | LDU_FT | [
"<BEGIN>\n## `ip_frag`",
"Not fragments:\n ip_frag(packet) == 0\n not ip_frag(packet)",
" First packet of fragments:\n ip_frag(packet) == IP_FRAG_ANY",
" Not first packet of fragments:\n ip_frag(packet) & IP_FRAG_LATER",
" All fragments:\n ip_frag(packet) & IP_FRA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _packto API.
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 _packto API.
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... | Pack current struct into stream. For parser internal use.
:param stream: a buffered stream (File or BytesIO)
:return: packed bytes length | "Pack current struct into stream. For parser internal use.\n \n :param stream: a buffered stream (File or BytesIO)\n \n :return: packed bytes length" | 149 | false | hubo1016/namedstruct | _packto | 19,724 | |
LDU_FT/CalebBell/ht/P_NTU_method | LDU_FT | [
"<BEGIN>\n## `blackbody_spectral_radiance`",
"r'''Returns the spectral radiance, in units of W/m^2/sr/µm.",
" .. math::\n I_{\\lambda,blackbody,e}(\\lambda,T)=\\frac{2hc_o^2}\n {\\lambda^5[\\exp(hc_o/\\lambda k T)-1]}",
" Parameters\n ----------\n T : float\n Temperature of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the P_NTU_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the P_NTU_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | r'''Wrapper for the various P-NTU method function calls,
which can solve a heat exchanger. The heat capacities and mass flows
of each stream and the type of the heat exchanger are always required.
As additional inputs, one combination of the following inputs is required:
* Three of the four inlet a... | "r'''Wrapper for the various P-NTU method function calls,\n which can solve a heat exchanger. The heat capacities and mass flows\n of each stream and the type of the heat exchanger are always required.\n As additional inputs, one combination of the following inputs is required:\n \n * Three of the four i... | 2,013 | true | CalebBell/ht | P_NTU_method | 19,725 | |
LDU_FT/aganezov/gos/identify_assembly_points | LDU_FT | [
"<BEGIN>\n## `get_vertex_surrounding_multicolor`",
"Loops over all edges that are incident to supplied vertex and accumulates all colors,\n that are present in those edges\n<END>",
"<BEGIN>\n## `get_irregular_edge_by_vertex`",
"Loops over all edges that are incident to supplied vertex and return a first i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identify_assembly_points 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 identify_assembly_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | The main granular assembling function, that IDENTIFIES assembly points, but does not perform the assembly on its own
It DOES NOT change the supplied breakpoint graph in any way!!! | "The main granular assembling function, that IDENTIFIES assembly points, but does not perform the assembly on its own\n It DOES NOT change the supplied breakpoint graph in any way!!!" | 39 | false | aganezov/gos | identify_assembly_points | 19,726 | |
LDU_FT/atl/py-smartdc/poll_until | LDU_FT | [
"<BEGIN>\n## `priv`",
"Quick and dirty method to find an IP on a private network given a correctly\n formatted IPv4 quad.\n<END>",
"<BEGIN>\n## `_save`",
"Take the data from a dict and commit them to appropriate attributes.\n<END>",
"<BEGIN>\n## `refresh`",
"::",
" GET /:login/machines/:id... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll_until API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll_until API.
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... | ::
GET /:login/machines/:id
:param state: target state
:type state: :py:class:`basestring`
:param interval: pause in seconds between polls
:type interval: :py:class:`int`
Convenience method that continuously polls the current state ... | "::\n \n GET /:login/machines/:id\n \n :param state: target state\n :type state: :py:class:`basestring`\n \n :param interval: pause in seconds between polls\n :type interval: :py:class:`int`\n \n Convenience method that continuously polls the cur... | 290 | false | atl/py-smartdc | poll_until | 19,727 | |
LDU_FT/GluuFederation/oxd-python/get_authorization_url | LDU_FT | [
"<BEGIN>\n## `register_site`",
"Function to register the site and generate a unique ID for the site",
" Returns:\n **string:** The ID of the site (also called client id) if the registration is successful",
" Raises:\n **OxdServerError:** If the site registration fails.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authorization_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authorization_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Function to get the authorization url that can be opened in the
browser for the user to provide authorization and authentication
Parameters:
* **acr_values (list, optional):** acr values in the order of priority
* **prompt (string, optional):** prompt=login is required if you wa... | "Function to get the authorization url that can be opened in the\n browser for the user to provide authorization and authentication\n\n Parameters:\n * **acr_values (list, optional):** acr values in the order of priority\n * **prompt (string, optional):** prompt=login is required if ... | 124 | false | GluuFederation/oxd-python | get_authorization_url | 19,728 | |
LDU_FT/isislovecruft/python-gnupg/_check_preferences | LDU_FT | [
"<BEGIN>\n## `get_requirements`",
"Extract the list of requirements from our requirements.txt.",
" :rtype: 2-tuple\n :returns: Two lists, the first is a list of requirements in the form of\n pkgname==version. The second is a list of URIs or VCS checkout strings\n which specify the dependency... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_preferences 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 _check_preferences 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... | Check cipher, digest, and compression preference settings.
MD5 is not allowed. This is `not 1994`__. SHA1 is allowed_ grudgingly_.
__ http://www.cs.colorado.edu/~jrblack/papers/md5e-full.pdf
.. _allowed: http://eprint.iacr.org/2008/469.pdf
.. _grudgingly: https://www.schneier.com/blog/archives/2012/10... | "Check cipher, digest, and compression preference settings.\n\n MD5 is not allowed. This is `not 1994`__. SHA1 is allowed_ grudgingly_.\n\n __ http://www.cs.colorado.edu/~jrblack/papers/md5e-full.pdf\n .. _allowed: http://eprint.iacr.org/2008/469.pdf\n .. _grudgingly: https://www.schneier.com/blog/archives/... | 371 | false | isislovecruft/python-gnupg | _check_preferences | 19,729 | |
LDU_FT/ronniedada/tabula/paint | LDU_FT | [
"<BEGIN>\n## `size`",
"Return the viewable size of the Table as @tuple (x,y)\n<END>",
"<BEGIN>\n## `get_ftr`",
"Process footer and return the processed string\n<END>",
"<BEGIN>\n## `conv_units`",
"Format and convert units to be more human readable",
" @return new val with converted units\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paint API.
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 paint API.
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... | Paint the table on terminal
Currently only print out basic string format | "Paint the table on terminal\n Currently only print out basic string format" | 25 | false | ronniedada/tabula | paint | 19,730 | |
LDU_FT/ivelum/graphql-py/p_fragment_definition2 | LDU_FT | [
"<BEGIN>\n## `p_operation_definition1`",
"operation_definition : operation_type name variable_definitions directives selection_set\n<END>",
"<BEGIN>\n## `p_operation_definition2`",
"operation_definition : operation_type name variable_definitions selection_set\n<END>",
"<BEGIN>\n## `p_operation_definition3`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_fragment_definition2 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 p_fragment_definition2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | fragment_definition : FRAGMENT fragment_name ON type_condition selection_set | "fragment_definition : FRAGMENT fragment_name ON type_condition selection_set" | 36 | false | ivelum/graphql-py | p_fragment_definition2 | 19,731 | |
LDU_FT/Richienb/quilt/posnegtoggle | LDU_FT | [
"<BEGIN>\n## `userinput`",
"Get the input of the user via a universally secure method.",
" :type prompttext: string\n :param prompttext: The text to display while receiving the data.",
" :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the posnegtoggle API.
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 posnegtoggle API.
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... | Toggle a number between positive and negative.
The converter works as follows:
- 1 > -1
- -1 > 1
- 0 > 0
:type number: number
:param number: The number to toggle. | "Toggle a number between positive and negative.\n The converter works as follows:\n\n - 1 > -1\n - -1 > 1\n - 0 > 0\n\n :type number: number\n :param number: The number to toggle." | 210 | false | Richienb/quilt | posnegtoggle | 19,732 | |
LDU_FT/duointeractive/sea-cucumber/_update_day_dict | LDU_FT | [
"<BEGIN>\n## `get_boto_ses_connection`",
"Shortcut for instantiating and returning a boto SESConnection object.",
" :rtype: boto.ses.SESConnection\n :returns: A boto SESConnection object, from which email sending is done.\n<END>",
"<BEGIN>\n## `dkim_sign`",
":returns: A signed email message if dkim pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_day_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_day_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Helper method for :meth:`_print_daily_stats`. Given a data point and
the correct day dict, update attribs on the dict with the contents
of the data point.
:param dict data_point: The data point to add to the day's stats dict.
:param dict day_dict: A stats-tracking dict for a 24 ... | "Helper method for :meth:`_print_daily_stats`. Given a data point and\n the correct day dict, update attribs on the dict with the contents\n of the data point.\n \n :param dict data_point: The data point to add to the day's stats dict.\n :param dict day_dict: A stats-tracking dict for... | 26 | false | duointeractive/sea-cucumber | _update_day_dict | 19,733 | |
LDU_FT/raphaelgyory/django-rest-messaging/get_participants | LDU_FT | [
"<BEGIN>\n## `compat_serializer_check_is_valid`",
"http://www.django-rest-framework.org/topics/3.0-announcement/#using-is_validraise_exceptiontrue\n<END>",
"<BEGIN>\n## `compat_serializer_attr`",
"Required only for DRF 3.1, which does not make dynamically added attribute available in obj in serializer.\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_participants API.
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_participants API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Allows to define a callback for serializing information about the user. | "Allows to define a callback for serializing information about the user." | 28 | false | raphaelgyory/django-rest-messaging | get_participants | 19,734 | |
LDU_FT/tommyod/streprogen/repstring_penalty | LDU_FT | [
"<BEGIN>\n## `_set_scalers`",
"Set the variables self._scalers as given by self.scalers,\n if self.scalers is None, then a default value is used.\n<END>",
"<BEGIN>\n## `_validate`",
"The purpose of this method is to verify that the user has set sensible\n values for the training program before r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repstring_penalty API.
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 repstring_penalty API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Penalty function which calculates how "bad" a set of
reps and intensities is, compared to the desired repetitions,
the desired intensity level and the minimum repetitions.
Advanced users may substitute this function for their own version.
Parameters
----------
reps
... | "Penalty function which calculates how \"bad\" a set of\n reps and intensities is, compared to the desired repetitions,\n the desired intensity level and the minimum repetitions.\n Advanced users may substitute this function for their own version.\n \n Parameters\n ----------\n ... | 129 | false | tommyod/streprogen | repstring_penalty | 19,735 | |
LDU_FT/chdzq/ARPAbetAndIPAConvertor/translate_to_international_phonetic_alphabet | LDU_FT | [
"<BEGIN>\n## `convert_to_international_phonetic_alphabet`",
"转换成国际音标\n :param arpabet:\n :return:\n<END>",
"<BEGIN>\n## `convert_to_american_phonetic_alphabet`",
"转换成美音\n :param arpabet:\n :return:\n<END>",
"<BEGIN>\n## `convert_to_english_phonetic_alphabet`",
"转换成英音\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_to_international_phonetic_alphabet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_to_international_phonetic_alphabet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind... | 转换成国际音标。只要一个元音的时候需要隐藏重音标识
:param hide_stress_mark:
:return: | "转换成国际音标。只要一个元音的时候需要隐藏重音标识\n :param hide_stress_mark:\n :return:" | 12 | false | chdzq/ARPAbetAndIPAConvertor | translate_to_international_phonetic_alphabet | 19,736 | |
LDU_FT/heronotears/lazyxml/tag_start | LDU_FT | [
"<BEGIN>\n## `set_options`",
"r\"\"\"Set Parser options.",
" .. seealso::\n ``kw`` argument have the same meaning as in :func:`lazyxml.loads`\n<END>",
"<BEGIN>\n## `xml2object`",
"r\"\"\"Convert xml content to python object.",
" :param content: xml content\n :rtype: dict",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | r"""Build started tag info.
:param tag: tag name
:param attrs: tag attributes. Default:``None``.
:type attrs: dict or None
:rtype: str | "r\"\"\"Build started tag info.\n\n :param tag: tag name\n :param attrs: tag attributes. Default:``None``.\n :type attrs: dict or None\n :rtype: str" | 60 | false | heronotears/lazyxml | tag_start | 19,737 | |
LDU_FT/linkedin/pyexchange/add_resources | LDU_FT | [
"<BEGIN>\n## `add_attendees`",
"Adds new attendees to the event.",
" *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects.\n<END>",
"<BEGIN>\n## `remove_attendees`",
"Removes attendees from the event.",
" *attendees* can be a list of email addresses or :class:`Excha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Adds new resources to the event.
*resources* can be a list of email addresses or :class:`ExchangeEventAttendee` objects. | "Adds new resources to the event.\n\n *resources* can be a list of email addresses or :class:`ExchangeEventAttendee` objects." | 102 | false | linkedin/pyexchange | add_resources | 19,738 | |
LDU_FT/miguelgrinberg/python-socketio/trigger_event | LDU_FT | [
"<BEGIN>\n## `get_participants`",
"Return an iterable with the active participants in a room.\n<END>",
"<BEGIN>\n## `connect`",
"Register a client connection to a namespace.\n<END>",
"<BEGIN>\n## `pre_disconnect`",
"Put the client in the to-be-disconnected list.",
" This allows the client data st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Dispatch an event to the proper handler method.
In the most common usage, this method is not overloaded by subclasses,
as it performs the routing of events to methods. However, this
method can be overriden if special dispatching rules are needed, or if
having a single method that catche... | "Dispatch an event to the proper handler method.\n\n In the most common usage, this method is not overloaded by subclasses,\n as it performs the routing of events to methods. However, this\n method can be overriden if special dispatching rules are needed, or if\n having a single method that ... | 172 | false | miguelgrinberg/python-socketio | trigger_event | 19,739 | |
LDU_FT/tBuLi/symfit/covariance | LDU_FT | [
"<BEGIN>\n## `seperate_symbols`",
"Seperate the symbols in symbolic function func. Return them in alphabetical\n order.",
" :param func: scipy symbolic function.\n :return: (vars, params), a tuple of all variables and parameters, each \n sorted in alphabetical order.\n :raises TypeError: only... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the covariance API.
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 covariance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the covariance between param_1 and param_2.
:param param_1: ``Parameter`` Instance.
:param param_2: ``Parameter`` Instance.
:return: Covariance of the two params. | "Return the covariance between param_1 and param_2.\n\n :param param_1: ``Parameter`` Instance.\n :param param_2: ``Parameter`` Instance.\n :return: Covariance of the two params." | 239 | false | tBuLi/symfit | covariance | 19,740 | |
LDU_FT/pymacaron/pymacaron/to_epoch | LDU_FT | [
"<BEGIN>\n## `load_clients`",
"Generate client libraries for the given apis, without starting an\n api server\n<END>",
"<BEGIN>\n## `load_apis`",
"Load all swagger files found at the given path, except those whose\n names are in the 'ignore' list\n<END>",
"<BEGIN>\n## `publish_apis`",
"Publi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_epoch API.
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 to_epoch API.
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... | Take a datetime, either as a string or a datetime.datetime object,
and return the corresponding epoch | "Take a datetime, either as a string or a datetime.datetime object,\n and return the corresponding epoch" | 47 | false | pymacaron/pymacaron | to_epoch | 19,741 | |
LDU_FT/pandeylab/pythomics/parseScan | LDU_FT | [
"<BEGIN>\n## `add_header`",
"Parses the VCF Header field and returns the number of samples in the VCF file\n<END>",
"<BEGIN>\n## `parse_entry`",
"Parse an individual VCF entry and return a VCFEntry which contains information about\n the call (such as alternative allele, zygosity, etc.)\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseScan API.
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 parseScan API.
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... | All input follows the BEGIN IONS row and ends before END IONS | "All input follows the BEGIN IONS row and ends before END IONS" | 49 | false | pandeylab/pythomics | parseScan | 19,742 | |
LDU_FT/dw/mitogen/on_action_run | LDU_FT | [
"<BEGIN>\n## `setup`",
"Install handlers for Mitogen loggers to redirect them into the Ansible\n display framework. Ansible installs its own logging framework handlers when\n C.DEFAULT_LOG_PATH is set, therefore disable propagation for our handlers.\n<END>",
"<BEGIN>\n## `dict_diff`",
"Return a dict rep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_action_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_action_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Invoked by ActionModuleMixin to indicate a new task is about to start
executing. We use the opportunity to grab relevant bits from the
task-specific data.
:param dict task_vars:
Task variable dictionary.
:param str delegate_to_hostname:
:data:`None`, or the templ... | "Invoked by ActionModuleMixin to indicate a new task is about to start\n executing. We use the opportunity to grab relevant bits from the\n task-specific data.\n\n :param dict task_vars:\n Task variable dictionary.\n :param str delegate_to_hostname:\n :data:`None`, or t... | 843 | false | dw/mitogen | on_action_run | 19,743 | |
LDU_FT/openpermissions/koi/_update_local_conf | LDU_FT | [
"<BEGIN>\n## `define_options`",
"Define the options from default.conf dynamically\n<END>",
"<BEGIN>\n## `log_config`",
"Logs the config used to start the application\n<END>",
"<BEGIN>\n## `ssl_server_options`",
"ssl options for tornado https server\n these options are defined in each application's defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_local_conf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_local_conf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Update local.conf with service id and client secrets
:param config: Location of config files
:param service_id: Service ID
:param client_secret: Client Secret | "Update local.conf with service id and client secrets\n :param config: Location of config files\n :param service_id: Service ID\n :param client_secret: Client Secret" | 122 | false | openpermissions/koi | _update_local_conf | 19,744 | |
LDU_FT/rdussurget/py-altimetry/track_list | LDU_FT | [
"<BEGIN>\n## `bilinear_interpolation`",
"Interpolate (x,y) from values associated with four points.\r",
" The four points are a list of four triplets: (x, y, value).\r\n The four points can be in any order. They should form a rectangle.\r",
" >>> bilinear_interpolation(12, 5.5,\r\n ... ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the track_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the track_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 extrac... | return the list of tracks contained if the dataset | "return the list of tracks contained if the dataset" | 320 | false | rdussurget/py-altimetry | track_list | 19,745 | |
LDU_FT/Netflix-Skunkworks/historical/handler | LDU_FT | [
"<BEGIN>\n## `handler`",
"Historical security group event differ.",
" Listens to the Historical current table and determines if there are differences that need to be persisted in the\n historical record.\n<END>",
"<BEGIN>\n## `serialize`",
"Serializes the JSON for the Polling Event Model.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Historical S3 event differ.
Listens to the Historical current table and determines if there are differences that need to be persisted in the
historical record. | "Historical S3 event differ.\n\n Listens to the Historical current table and determines if there are differences that need to be persisted in the\n historical record." | 146 | false | Netflix-Skunkworks/historical | handler | 19,746 | |
LDU_FT/ckoepp/TwitterSearch/check_http_status | LDU_FT | [
"<BEGIN>\n## `set_source_filter`",
"Only search for tweets entered via given source",
" :param source: String. Name of the source to search for. An example \\\n would be ``source=twitterfeed`` for tweets submitted via TwitterFeed\n :raises: TwitterSearchException\n<END>",
"<BEGIN>\n## `ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_http_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_http_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Checks if given HTTP status code is within the list at \
``TwitterSearch.exceptions`` and raises a ``TwitterSearchException`` \
if this is the case. Example usage: ``checkHTTPStatus(200)`` and \
``checkHTTPStatus(401)``
:param http_status: Integer value of the HTTP status of the \
... | "Checks if given HTTP status code is within the list at \\\n ``TwitterSearch.exceptions`` and raises a ``TwitterSearchException`` \\\n if this is the case. Example usage: ``checkHTTPStatus(200)`` and \\\n ``checkHTTPStatus(401)``\n\n :param http_status: Integer value of the HTTP status of... | 91 | false | ckoepp/TwitterSearch | check_http_status | 19,747 | |
LDU_FT/edaniszewski/pylint-quotes/leave_module | LDU_FT | [
"<BEGIN>\n## `leave_module`",
"Leave module and check remaining triple quotes.",
" Args:\n node: the module node we are leaving.\n<END>",
"<BEGIN>\n## `_process_for_docstring`",
"Check for docstring quote consistency.",
" Args:\n node: the AST node being visited.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the leave_module API.
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 leave_module API.
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... | Leave module and check remaining triple quotes.
Args:
node: the module node we are leaving. | "Leave module and check remaining triple quotes.\n\n Args:\n node: the module node we are leaving." | 38 | false | edaniszewski/pylint-quotes | leave_module | 19,748 | |
LDU_FT/mbodenhamer/syn/enumerate | LDU_FT | [
"<BEGIN>\n## `assign`",
"Assigns B to A.attr, yields, and then assigns A.attr back to its\n original value.\n<END>",
"<BEGIN>\n## `nearest_base`",
"Returns the closest ancestor to cls in bases.\n<END>",
"<BEGIN>\n## `get_typename`",
"Returns the name of the type of x, if x is an object. Otherwise, ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enumerate API.
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 enumerate API.
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... | Iterate through all possible sequences (lists). By default, will
stop after 50 items have been yielded. This value can be
change by supplying a different value via the max_enumerate kwarg. | "Iterate through all possible sequences (lists). By default, will\n stop after 50 items have been yielded. This value can be\n change by supplying a different value via the max_enumerate kwarg." | 71 | false | mbodenhamer/syn | enumerate | 19,749 | |
LDU_FT/tchellomello/python-amcrest/enable_audio_video_cmd | LDU_FT | [
"<BEGIN>\n## `record_config`",
"rec_opt is the Record options listed as example below:",
" +----------------------+--------+------------------------------------+\n | ParamName | Value | Description |\n +----------------------+--------+---------------------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_audio_video_cmd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_audio_video_cmd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Return command to enable/disable all audio/video streams. | "Return command to enable/disable all audio/video streams." | 105 | false | tchellomello/python-amcrest | enable_audio_video_cmd | 19,750 | |
LDU_FT/rossmann-engineering/EasyModbusTCP.PY/convert_double_to_two_registers | LDU_FT | [
"<BEGIN>\n## `convert_double_to_two_registers`",
"Convert 32 Bit Value to two 16 Bit Value to send as Modbus Registers\n doubleValue: Value to be converted\n return: 16 Bit Register values int[]\n<END>",
"<BEGIN>\n## `convert_float_to_two_registers`",
"Convert 32 Bit real Value to two 16 Bit Value to se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_double_to_two_registers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_double_to_two_registers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Convert 32 Bit Value to two 16 Bit Value to send as Modbus Registers
doubleValue: Value to be converted
return: 16 Bit Register values int[] | "Convert 32 Bit Value to two 16 Bit Value to send as Modbus Registers\n doubleValue: Value to be converted\n return: 16 Bit Register values int[]" | 16 | false | rossmann-engineering/EasyModbusTCP.PY | convert_double_to_two_registers | 19,751 | |
LDU_FT/StanfordVL/robosuite/add_keyup_callback | LDU_FT | [
"<BEGIN>\n## `clear_objects`",
"Clears objects with name @obj out of the task space. This is useful\n for supporting task modes with single types of objects, as in\n @self.single_object_mode without changing the model definition.\n<END>",
"<BEGIN>\n## `staged_rewards`",
"Returns staged rewards b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_keyup_callback 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 add_keyup_callback 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... | Allows for custom callback functions for the viewer. Called on key up.
Parameter 'any' will ensure that the callback is called on any key up,
and block default mujoco viewer callbacks from executing, except for
the ESC callback to close the viewer. | "Allows for custom callback functions for the viewer. Called on key up.\n Parameter 'any' will ensure that the callback is called on any key up,\n and block default mujoco viewer callbacks from executing, except for \n the ESC callback to close the viewer." | 354 | false | StanfordVL/robosuite | add_keyup_callback | 19,752 | |
LDU_FT/demurgos/py-pathmatch/filter | LDU_FT | [
"<BEGIN>\n## `process_tokens`",
"u\"\"\"\n Iterate other tokens to find strings and ensure that they are prefixed.\n :param tokens:\n :return:\n<END>",
"<BEGIN>\n## `_parse_bracket_expression`",
"u\"\"\"",
" :type pattern: text_type\n :param pattern:\n :param start:\n :retur... | 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 ... | u"""
Returns a generator yielding the elements of `texts` matching this pattern.
:type texts: typing.Iterable[text_type]
:param texts: An iterable collection of texts to match
:rtype: typing.Iterable[text_type]
:return: A generator of filtered elements. | "u\"\"\"\n Returns a generator yielding the elements of `texts` matching this pattern.\n\n :type texts: typing.Iterable[text_type]\n :param texts: An iterable collection of texts to match\n :rtype: typing.Iterable[text_type]\n :return: A generator of filtered elements." | 29 | false | demurgos/py-pathmatch | filter | 19,753 | |
LDU_FT/petrjasek/eve-elastic/find_one | LDU_FT | [
"<BEGIN>\n## `get_dates`",
"Return list of datetime fields for given schema.\n<END>",
"<BEGIN>\n## `set_filters`",
"Put together all filters we have and set them as 'and' filter\n within filtered query.",
" :param query: elastic query being constructed\n :param base_filters: all filters set outside... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_one API.
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 find_one API.
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... | Find single document, if there is _id in lookup use that, otherwise filter. | "Find single document, if there is _id in lookup use that, otherwise filter." | 106 | false | petrjasek/eve-elastic | find_one | 19,754 | |
LDU_FT/contraslash/django-crud-generator/generic_insert_with_folder | LDU_FT | [
"<BEGIN>\n## `render_template_with_args_in_file`",
"Get a file and render the content of the template_file_name with kwargs in a file\n :param file: A File Stream to write\n :param template_file_name: path to route with template name\n :param **kwargs: Args to be rendered in template\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_insert_with_folder 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 generic_insert_with_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | In general if we need to put a file on a folder, we use this method | "In general if we need to put a file on a folder, we use this method" | 10 | false | contraslash/django-crud-generator | generic_insert_with_folder | 19,755 | |
LDU_FT/metachris/logzero/setup_default_logger | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"Configures and returns a fully configured logger instance, no hassles.\n If a logger with the specified name already exists, it returns the existing instance,\n else creates a new one.",
" If you set the ``logfile`` parameter with a filename, the logger will save the mess... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_default_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_default_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Deprecated. Use `logzero.loglevel(..)`, `logzero.logfile(..)`, etc.
Globally reconfigures the default `logzero.logger` instance.
Usage:
.. code-block:: python
from logzero import logger, setup_default_logger
setup_default_logger(level=logging.WARN)
logger.info("hello") # this wi... | "Deprecated. Use `logzero.loglevel(..)`, `logzero.logfile(..)`, etc.\n\n Globally reconfigures the default `logzero.logger` instance.\n\n Usage:\n\n .. code-block:: python\n\n from logzero import logger, setup_default_logger\n setup_default_logger(level=logging.WARN)\n logger.info(\"hello\... | 38 | false | metachris/logzero | setup_default_logger | 19,756 | |
LDU_FT/shexSpec/grammar/_language_exclusions | LDU_FT | [
"<BEGIN>\n## `visitNodeConstraintLiteral`",
"nodeConstraint: KW_LITERAL xsFacet* # nodeConstraintLiteral\n<END>",
"<BEGIN>\n## `visitNodeConstraintNonLiteral`",
"nodeConstraint: nonLiteralKind stringFacet* # nodeConstraintNonLiteral\n<END>",
"<BEGIN>\n## `visitNodeConstraintDatatype`",
"nodeConstraint: d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _language_exclusions 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 _language_exclusions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | languageExclusion = '-' LANGTAG STEM_MARK? | "languageExclusion = '-' LANGTAG STEM_MARK?" | 93 | false | shexSpec/grammar | _language_exclusions | 19,757 | |
LDU_FT/pylp/pylp/transform | LDU_FT | [
"<BEGIN>\n## `transform`",
"Function called when a file need to be transformed.\n<END>",
"<BEGIN>\n## `_make_color_fn`",
"Create a function that set the foreground color.\n<END>",
"<BEGIN>\n## `just_log`",
"Log a text without adding the current time.\n<END>",
"<BEGIN>\n## `bind_end`",
"Bind a 'TaskEnd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Function called when a file need to be transformed. | "Function called when a file need to be transformed." | 14 | false | pylp/pylp | transform | 19,758 | |
LDU_FT/GemHQ/round-py/unlock | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new Device object.",
" Devices tie Users and Applications together. For your Application to\n access and act on behalf of a User, the User must authorize a Device\n created by your Application.",
" This function will return a `device_token` which y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlock API.
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 unlock API.
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 ... | Unlock the Wallet by decrypting the primary_private_seed with the
supplied passphrase. Once unlocked, the private seed is accessible in
memory and calls to `account.pay` will succeed. This is a necessary step
for creating transactions.
Args:
passphrase (str): The passphrase th... | "Unlock the Wallet by decrypting the primary_private_seed with the\n supplied passphrase. Once unlocked, the private seed is accessible in\n memory and calls to `account.pay` will succeed. This is a necessary step\n for creating transactions.\n\n Args:\n passphrase (str): The passph... | 136 | false | GemHQ/round-py | unlock | 19,759 | |
LDU_FT/biocore/burrito-fillings/aln_tree_seqs | LDU_FT | [
"<BEGIN>\n## `raxml_alignment`",
"Run raxml on alignment object",
" align_obj: Alignment object\n params: you can set any params except -w and -n",
" returns: tuple (phylonode,\n parsimonyphylonode,\n log likelihood,\n total exec time)\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aln_tree_seqs API.
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 aln_tree_seqs API.
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... | Muscle align sequences and report tree from iteration2.
Unlike cluster_seqs, returns tree2 which is the tree made during the
second muscle iteration (it should be more accurate that the cluster from
the first iteration which is made fast based on k-mer words)
seqs: either file name or list of sequenc... | "Muscle align sequences and report tree from iteration2.\n\n Unlike cluster_seqs, returns tree2 which is the tree made during the\n second muscle iteration (it should be more accurate that the cluster from\n the first iteration which is made fast based on k-mer words)\n\n seqs: either file name or list of ... | 618 | false | biocore/burrito-fillings | aln_tree_seqs | 19,760 | |
LDU_FT/joerick/pyinstrument/first_interesting_frame | LDU_FT | [
"<BEGIN>\n## `file_supports_color`",
"Returns True if the running system's terminal supports color.",
" Borrowed from Django\n https://github.com/django/django/blob/master/django/core/management/color.py\n<END>",
"<BEGIN>\n## `load_report`",
"Returns the session referred to by identifier\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_interesting_frame 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 first_interesting_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Traverse down the frame hierarchy until a frame is found with more than one child | "Traverse down the frame hierarchy until a frame is found with more than one child" | 43 | false | joerick/pyinstrument | first_interesting_frame | 19,761 | |
LDU_FT/HDI-Project/MLPrimitives/window_design | LDU_FT | [
"<BEGIN>\n## `resample`",
"pd.DataFrame.resample adapter.",
" Call the `df.resample` method on the given time_index\n and afterwards call the indicated aggregation.",
" Optionally group the dataframe by the indicated columns before\n performing the resampling.",
" If groupby option is used, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the window_design API.
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 window_design API.
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... | Kaiser window design
Args:
window_length: Length of the window in number of samples
beta: Beta value for Kaiser window design
Returns:
window: Window designed using the beta and length provided as inputs | "Kaiser window design\r\n\r\n Args:\r\n window_length: Length of the window in number of samples\r\n beta: Beta value for Kaiser window design\r\n\r\n Returns:\r\n window: Window designed using the beta and length provided as inputs" | 96 | false | HDI-Project/MLPrimitives | window_design | 19,762 | |
LDU_FT/larsmans/seqlearn/fit | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit HMM model to data.",
" Parameters\n ----------\n X : {array-like, sparse matrix}, shape (n_samples, n_features)\n Feature matrix of individual samples.",
" y : array-like, shape (n_samples,)\n Target labels.",
" lengths : arr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Fit HMM model to data.
Parameters
----------
X : {array-like, sparse matrix}, shape (n_samples, n_features)
Feature matrix of individual samples.
y : array-like, shape (n_samples,)
Target labels.
lengths : array-like of integers, shape (n_sequences,)
... | "Fit HMM model to data.\n\n Parameters\n ----------\n X : {array-like, sparse matrix}, shape (n_samples, n_features)\n Feature matrix of individual samples.\n\n y : array-like, shape (n_samples,)\n Target labels.\n\n lengths : array-like of integers, shape (n_seq... | 60 | false | larsmans/seqlearn | fit | 19,763 | |
LDU_FT/clld/clldutils/text | LDU_FT | [
"<BEGIN>\n## `parse`",
"Convert iso formatted timestamps found as values in the dict d to datetime objects.",
" :return: A shallow copy of d with converted timestamps.\n<END>",
"<BEGIN>\n## `dump`",
"Python 2 + 3 compatible version of json.dump.",
" :param obj: The object to be dumped.\n :param p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text API.
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 text API.
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... | Linearize the bib source according to the rules of the unified style.
Book:
author. year. booktitle. (series, volume.) address: publisher.
Article:
author. year. title. journal volume(issue). pages.
Incollection:
author. year. title. In editor (ed.), booktitle, pages. ... | "Linearize the bib source according to the rules of the unified style.\n\n Book:\n author. year. booktitle. (series, volume.) address: publisher.\n\n Article:\n author. year. title. journal volume(issue). pages.\n\n Incollection:\n author. year. title. In editor (ed.), booktitl... | 70 | false | clld/clldutils | text | 19,764 | |
LDU_FT/hayd/ctox/expand_curlys | LDU_FT | [
"<BEGIN>\n## `expand_curlys`",
"Takes string and returns list of options:",
" Example\n -------\n >>> expand_curlys(\"py{26, 27}\")\n [\"py26\", \"py27\"]\n<END>",
"<BEGIN>\n## `_split_out_of_braces`",
"Generator to split comma seperated string, but not split commas inside\n curly braces.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_curlys API.
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 expand_curlys API.
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... | Takes string and returns list of options:
Example
-------
>>> expand_curlys("py{26, 27}")
["py26", "py27"] | "Takes string and returns list of options:\n\n Example\n -------\n >>> expand_curlys(\"py{26, 27}\")\n [\"py26\", \"py27\"]" | 40 | false | hayd/ctox | expand_curlys | 19,765 | |
LDU_FT/rlabbe/filterpy/get_prediction | LDU_FT | [
"<BEGIN>\n## `reset`",
"reset filter back to state at time of construction\n<END>",
"<BEGIN>\n## `update`",
"Update filter with new measurement `z`",
" Returns\n -------",
" x : np.array\n estimate for this time step (same as self.x)\n<END>",
"<BEGIN>\n## `errors`",
"Co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prediction API.
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_prediction API.
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... | Predicts the next state of the filter and returns it. Does not
alter the state of the filter.
Parameters
----------
u : ndarray
optional control input
Returns
-------
x : ndarray
State vector of the prediction. | "Predicts the next state of the filter and returns it. Does not\n alter the state of the filter.\n\n Parameters\n ----------\n u : ndarray\n optional control input\n\n Returns\n -------\n x : ndarray\n State vector of the prediction." | 665 | false | rlabbe/filterpy | get_prediction | 19,766 | |
LDU_FT/subdownloader/subdownloader/parse_path | LDU_FT | [
"<BEGIN>\n## `do_po`",
"Update all po files with the data in the pot reference file.\n<END>",
"<BEGIN>\n## `configuration_get_default_folder`",
"Return the default folder where user-specific data is stored.\n This depends of the system on which Python is running,\n :return: path to the user-specific con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse a video at filepath, using pymediainfo framework.
:param path: path of video to parse as string | "Parse a video at filepath, using pymediainfo framework.\n :param path: path of video to parse as string" | 87 | false | subdownloader/subdownloader | parse_path | 19,767 | |
LDU_FT/rackerlabs/fleece/extract_http_metadata | LDU_FT | [
"<BEGIN>\n## `build_wsgi_environ_from_event`",
"Create a WSGI environment from the proxy integration event.\n<END>",
"<BEGIN>\n## `wsgi_handler`",
"lambda handler function.\n This function runs the WSGI app with it and collects its response, then\n translates the response back into the format expected b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_http_metadata 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 extract_http_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Provide HTTP request metadata for improved visualization.
See documentation for this data structure:
http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-http | "Provide HTTP request metadata for improved visualization.\n\n See documentation for this data structure:\n http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-http" | 108 | false | rackerlabs/fleece | extract_http_metadata | 19,768 | |
LDU_FT/keon/algorithms/convolved_2d | LDU_FT | [
"<BEGIN>\n## `convert_to_list`",
"converts a positive integer into a (reversed) linked list.\n for example: give 112\n result 2 -> 1 -> 1\n<END>",
"<BEGIN>\n## `convert_to_str`",
"converts the non-negative number list into a string.\n<END>",
"<BEGIN>\n## `three_sum`",
":param array: List[int... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convolved_2d API.
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 convolved_2d API.
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... | 2D Iterable to get every convolution window per loop iteration.
For more information, refer to:
- https://github.com/guillaume-chevalier/python-conv-lib/blob/master/conv/conv.py
- https://github.com/guillaume-chevalier/python-conv-lib
- MIT License, Copyright (c) 2018 Guillaume Chevalier | "2D Iterable to get every convolution window per loop iteration.\n\n For more information, refer to:\n - https://github.com/guillaume-chevalier/python-conv-lib/blob/master/conv/conv.py\n - https://github.com/guillaume-chevalier/python-conv-lib\n - MIT License, Copyright (c) 2018 Guillaume Chevalier" | 273 | false | keon/algorithms | convolved_2d | 19,769 | |
LDU_FT/Projectplace/basepage/get_element_with_text | LDU_FT | [
"<BEGIN>\n## `click`",
"Click web element.",
" :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>",
"<BEGIN>\n## `alt_click`",
"Alt-click web element.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_element_with_text 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_element_with_text 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 element that contains <text> either by text or by attribute value.
Note: if timeout is 0, this function will not wait for the element(s) to become present.
:param locator: locator tuple or list of WebElements
:param text: text that the element should contain
:param params: (optiona... | "Get element that contains <text> either by text or by attribute value.\n\n Note: if timeout is 0, this function will not wait for the element(s) to become present.\n\n :param locator: locator tuple or list of WebElements\n :param text: text that the element should contain\n :param params: (... | 138 | false | Projectplace/basepage | get_element_with_text | 19,770 | |
LDU_FT/heikomuller/sco-client/get_resource_listing | LDU_FT | [
"<BEGIN>\n## `download_file`",
"Download attached file as temporary file.",
" Parameters\n ----------\n url : string\n SCO-API download Url\n suffix : string, optional\n If suffix is specified, the name of the downloaded file will end with\n that suffix, otherwise there will be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource_listing 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_resource_listing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Gneric method to retrieve a resource listing from a SCO-API. Takes the
resource-specific API listing Url as argument.
Parameters
----------
url : string
Resource listing Url for a SCO-API
offset : int, optional
Starting offset for returned list items
limit : int, optional
... | "Gneric method to retrieve a resource listing from a SCO-API. Takes the\n resource-specific API listing Url as argument.\n\n Parameters\n ----------\n url : string\n Resource listing Url for a SCO-API\n offset : int, optional\n Starting offset for returned list items\n limit : int, optio... | 164 | false | heikomuller/sco-client | get_resource_listing | 19,771 | |
LDU_FT/daknuett/py_register_machine2/reset | LDU_FT | [
"<BEGIN>\n## `int_to_bytes`",
".. _int_to_bytes:",
"\tConverts the ``int`` ``int_`` to a ``bytes`` object.\n\t``len(result) == width``.",
"\tIf ``width`` is None, a number of bytes that is able to hold the\n\tnumber is choosen, depending on ``int_.bit_length()``.",
"\tSee also: bytes_to_int_\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
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 reset API.
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... | Resets the control registers of the Processor_(PC_, ECR_ and SP_) | "Resets the control registers of the Processor_(PC_, ECR_ and SP_)" | 154 | false | daknuett/py_register_machine2 | reset | 19,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.