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/fake-name/ChromeController/CacheStorage_requestEntries
LDU_FT
[ "<BEGIN>\n## `close_chromium`", "Close the remote chromium instance.", "\t\tThis command is normally executed as part of the class destructor.\n\t\tIt can be called early without issue, but calling ANY class functions\n\t\tafter the remote chromium instance is shut down will have unknown effects.", "\t\tNote ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CacheStorage_requestEntries 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 CacheStorage_requestEntries API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Function path: CacheStorage.requestEntries Domain: CacheStorage Method name: requestEntries Parameters: Required arguments: 'cacheId' (type: CacheId) -> ID of cache to get entries from. 'skipCount' (type: integer) -> Number of records to skip. 'pageSize' (type: integer) -> Number of recor...
"Function path: CacheStorage.requestEntries\n\t\t\tDomain: CacheStorage\n\t\t\tMethod name: requestEntries\n\t\t\n\t\t\tParameters:\n\t\t\t\tRequired arguments:\n\t\t\t\t\t'cacheId' (type: CacheId) -> ID of cache to get entries from.\n\t\t\t\t\t'skipCount' (type: integer) -> Number of records to skip.\n\t\t\t\t\t'pageS...
709
false
fake-name/ChromeController
CacheStorage_requestEntries
21,073
LDU_FT/roclark/sportsreference/week
LDU_FT
[ "<BEGIN>\n## `dataframe`", "Returns a ``pandas DataFrame`` containing all other relevant class\n properties and values for the specified game.\n<END>", "<BEGIN>\n## `_extract_player_stats`", "Combine all player stats into a single object.", " Since each player generally has a couple of rows wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the week API. 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 week API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns an ``int`` of the week number in the season, such as 1 for the first week of the regular season.
"Returns an ``int`` of the week number in the season, such as 1 for the\n first week of the regular season."
588
false
roclark/sportsreference
week
21,074
LDU_FT/sacherjj/array_devices/__send_buffer
LDU_FT
[ "<BEGIN>\n## `setting`", "Load setting (Amps, Watts, or Ohms depending on program mode)\n<END>", "<BEGIN>\n## `partial_steps_data`", "Iterates 5 steps from start position and\n provides tuple for packing into buffer.", " returns (0, 0) if stpe doesn't exist.", " :param start: Position...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __send_buffer API. 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 __send_buffer API. 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...
Sends the contents of self.__out_buffer to serial device :return: Number of bytes written
"Sends the contents of self.__out_buffer to serial device\n :return: Number of bytes written"
44
false
sacherjj/array_devices
__send_buffer
21,075
LDU_FT/blockchain-certificates/cert-issuer/get_balance
LDU_FT
[ "<BEGIN>\n## `check_internet_off`", "If internet off and USB plugged in, returns true. Else, continues to wait...\n<END>", "<BEGIN>\n## `check_internet_on`", "If internet on and USB unplugged, returns true. Else, continues to wait...\n<END>", "<BEGIN>\n## `issue`", "Issue the certificates on the blockchai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_balance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_balance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get balance available to spend at the address :param address: :return:
"Get balance available to spend at the address\n :param address:\n :return:"
62
false
blockchain-certificates/cert-issuer
get_balance
21,076
LDU_FT/reflexsc/reflex/update_monitors
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure Monitor, pull list of what to monitor, initialize threads\n<END>", "<BEGIN>\n## `feed_monitors`", "Pull from the cached monitors data and feed the workers queue. Run\n every interval (refresh:test).\n<END>", "<BEGIN>\n## `update_monitors`", "Periodically check...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_monitors API. 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 update_monitors API. 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...
Periodically check in with Reflex Engine and refresh the list of what to monitor
"Periodically check in with Reflex Engine and refresh the list of what to monitor"
35
false
reflexsc/reflex
update_monitors
21,077
LDU_FT/niklasb/webkit-server/_read_response
LDU_FT
[ "<BEGIN>\n## `xpath`", "Finds another node by XPath originating at the current node.\n<END>", "<BEGIN>\n## `css`", "Finds another node by a CSS selector relative to the current node.\n<END>", "<BEGIN>\n## `get_bool_attr`", "Returns the value of a boolean HTML attribute like `checked` or `disabled`\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Reads a complete response packet from the server
"Reads a complete response packet from the server"
30
false
niklasb/webkit-server
_read_response
21,078
LDU_FT/swevm/scaleio-py/unregisterSds
LDU_FT
[ "<BEGIN>\n## `get`", "Returns a `list` of all the `System` objects to the cluster. Updates every time - no caching.\n :return: a `list` of all the `System` objects known to the cluster.\n :rtype: list\n<END>", "<BEGIN>\n## `set_sds_name`", "Set name for SDS\n :param name: Name of SDS\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregisterSds API. 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 unregisterSds API. 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...
Unregister SDS from MDM/SIO Cluster :param sdsObj: ScaleIO SDS objecty :return: POST request response :rtype: Requests POST response object
"Unregister SDS from MDM/SIO Cluster\n :param sdsObj: ScaleIO SDS objecty\n :return: POST request response\n :rtype: Requests POST response object"
113
false
swevm/scaleio-py
unregisterSds
21,079
LDU_FT/joowani/kq/using
LDU_FT
[ "<BEGIN>\n## `callback`", "Example callback function.", " :param status: Job status. Possible values are \"invalid\" (job could not be\n deserialized or was malformed), \"failure\" (job raised an exception),\n \"timeout\" (job timed out), or \"success\" (job finished successfully and\n r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the using API. 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 using API. 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...
Set enqueue specifications such as timeout, key and partition. :param timeout: Job timeout threshold in seconds. If not set, default timeout (specified during queue initialization) is used instead. :type timeout: int | float :param key: Kafka message key. Jobs with the same keys are...
"Set enqueue specifications such as timeout, key and partition.\n\n :param timeout: Job timeout threshold in seconds. If not set, default\n timeout (specified during queue initialization) is used instead.\n :type timeout: int | float\n :param key: Kafka message key. Jobs with the same ke...
49
false
joowani/kq
using
21,080
LDU_FT/The-Politico/politico-civic-geography/set_intersection
LDU_FT
[ "<BEGIN>\n## `save`", "**uid**: :code:`division:{parentuid}_{levelcode}-{code}`\n<END>", "<BEGIN>\n## `add_intersecting`", "Adds paired relationships between intersecting divisions.", " Optional intersection represents the portion of the area of the related\n division intersecting this divisio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_intersection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_intersection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Set intersection percentage of intersecting divisions.
"Set intersection percentage of intersecting divisions."
16
false
The-Politico/politico-civic-geography
set_intersection
21,081
LDU_FT/explosion/spaCy/replace_pipe
LDU_FT
[ "<BEGIN>\n## `to_html`", "Doc method extension for saving the current state as a displaCy\n visualization.\n<END>", "<BEGIN>\n## `overlap_tokens`", "Get the tokens from the original Doc that are also in the comparison Doc.\n<END>", "<BEGIN>\n## `iob2json`", "Convert IOB files into JSON format for use w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_pipe API. 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 replace_pipe API. 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...
Replace a component in the pipeline. name (unicode): Name of the component to replace. component (callable): Pipeline component. DOCS: https://spacy.io/api/language#replace_pipe
"Replace a component in the pipeline.\n\n name (unicode): Name of the component to replace.\n component (callable): Pipeline component.\n\n DOCS: https://spacy.io/api/language#replace_pipe"
346
false
explosion/spaCy
replace_pipe
21,082
LDU_FT/pantsbuild/pex/satisfies
LDU_FT
[ "<BEGIN>\n## `isolated`", "Returns a chroot for third_party isolated from the ``sys.path``.", " PEX will typically be installed in site-packages flat alongside many other distributions; as such,\n adding the location of the pex distribution to the ``sys.path`` will typically expose many other\n distributions...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the satisfies API. 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 satisfies API. 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...
Determine whether this package matches the requirement. :param requirement: The requirement to compare this Package against :type requirement: string or :class:`pkg_resources.Requirement` :param Optional[bool] allow_prereleases: Whether to allow prereleases to satisfy the `requirement`. :returns:...
"Determine whether this package matches the requirement.\n\n :param requirement: The requirement to compare this Package against\n :type requirement: string or :class:`pkg_resources.Requirement`\n :param Optional[bool] allow_prereleases: Whether to allow prereleases to satisfy\n the `requirement`.\n :r...
385
false
pantsbuild/pex
satisfies
21,083
LDU_FT/kvesteri/intervals/parse_hyphen_range
LDU_FT
[ "<BEGIN>\n## `py2round`", "Round values as in Python 2, for Python 3 compatibility.", " All x.5 values are rounded away from zero.", " In Python 3, this has changed to avoid bias: when x is even,\n rounding is towards zero, when x is odd, rounding is away\n from zero. Thus, in Python 3, round(2.5)...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_hyphen_range 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 parse_hyphen_range 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...
Parse hyphen ranges such as: 2 - 5, -2 - -1, -3 - 5
"Parse hyphen ranges such as: 2 - 5, -2 - -1, -3 - 5"
19
false
kvesteri/intervals
parse_hyphen_range
21,084
LDU_FT/datascopeanalytics/traces/threshold
LDU_FT
[ "<BEGIN>\n## `duration_to_number`", "If duration is already a numeric type, then just return\n duration. If duration is a timedelta, return a duration in\n seconds.", " TODO: allow for multiple types of units.\n<END>", "<BEGIN>\n## `convert_args_to_list`", "Convert all iterable pairs of inputs into...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the threshold API. 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 threshold API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return True if > than treshold value (or >= threshold value if inclusive=True).
"Return True if > than treshold value (or >= threshold value if\n inclusive=True)."
73
false
datascopeanalytics/traces
threshold
21,085
LDU_FT/twidi/py-dataql/class_repr
LDU_FT
[ "<BEGIN>\n## `EntryPoints`", "Returns an object to use as entry point when calling ``registry.solve_resource``.", " When calling ``registry.solve_resource`` on a \"root\" resource, we don't have any value.\n This function will create a object to use as a first value and is used to specify which\n entry...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the class_repr API. 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 class_repr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns a representation of the value class. Arguments --------- value A class or a class instance Returns ------- str The "module.name" representation of the value class. Example ------- >>> from datetime import date >>> class_repr(date) 'datetime.date' ...
"Returns a representation of the value class.\n\n Arguments\n ---------\n value\n A class or a class instance\n\n Returns\n -------\n str\n The \"module.name\" representation of the value class.\n\n Example\n -------\n >>> from datetime import date\n >>> class_repr(date)\n ...
210
false
twidi/py-dataql
class_repr
21,086
LDU_FT/ciena/afkak/load_consumer_metadata_for_group
LDU_FT
[ "<BEGIN>\n## `_coerce_topic`", "Ensure that the topic name is text string of a valid length.", " :param topic: Kafka topic name. Valid characters are in the set ``[a-zA-Z0-9._-]``.\n :raises ValueError: when the topic name exceeds 249 bytes\n :raises TypeError: when the topic is not :class:`unicode` or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_consumer_metadata_for_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_consumer_metadata_for_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Determine broker for the consumer metadata for the specified group Returns a deferred which callbacks with True if the group's coordinator could be determined, or errbacks with ConsumerCoordinatorNotAvailableError if not. Parameters ---------- group: group n...
"Determine broker for the consumer metadata for the specified group\n\n Returns a deferred which callbacks with True if the group's coordinator\n could be determined, or errbacks with\n ConsumerCoordinatorNotAvailableError if not.\n\n Parameters\n ----------\n group:\n ...
326
false
ciena/afkak
load_consumer_metadata_for_group
21,087
LDU_FT/pip-services3-python/pip-services3-commons-python/get_as_nullable_datetime
LDU_FT
[ "<BEGIN>\n## `equals_as`", "Compares this object value to specified specified value.\n When direct comparison gives negative results it converts\n values to type specified by type code and compare them again.", " :param value_type: the Typecode type that defined the type of the result", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_nullable_datetime 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 get_as_nullable_datetime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Converts map element into a Date or returns None if conversion is not possible. :param key: an index of element to get. :return: Date value of the element or None if conversion is not supported.
"Converts map element into a Date or returns None if conversion is not possible.\n\n :param key: an index of element to get.\n\n :return: Date value of the element or None if conversion is not supported."
811
false
pip-services3-python/pip-services3-commons-python
get_as_nullable_datetime
21,088
LDU_FT/PyGithub/PyGithub/get_public_events
LDU_FT
[ "<BEGIN>\n## `add_membership`", ":calls: `PUT /teams/:id/memberships/:user <http://developer.github.com/v3/orgs/teams>`_\n :param member: :class:`github.Nameduser.NamedUser`\n :param role: string\n :rtype: None\n<END>", "<BEGIN>\n## `add_to_repos`", ":calls: `PUT /teams/:id/repos/:org/:re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_public_events API. 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_public_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
:calls: `GET /users/:user/events/public <http://developer.github.com/v3/activity/events>`_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event`
":calls: `GET /users/:user/events/public <http://developer.github.com/v3/activity/events>`_\n :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Event.Event`"
520
false
PyGithub/PyGithub
get_public_events
21,089
LDU_FT/mdgart/sentrylogs/create_daemon
LDU_FT
[ "<BEGIN>\n## `process_arguments`", "Deal with arguments passed on the command line\n<END>", "<BEGIN>\n## `parse_sentry_configuration`", "Parse Sentry DSN out of an application or Sentry configuration file\n<END>", "<BEGIN>\n## `follow_tail`", "Read (tail and follow) the log file, parse entries and send me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_daemon API. 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 create_daemon API. 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...
Detach a process from the controlling terminal and run it in the background as a daemon.
"Detach a process from the controlling terminal and run it in the\n background as a daemon."
12
false
mdgart/sentrylogs
create_daemon
21,090
LDU_FT/dossier/dossier.web/v1_label_direct
LDU_FT
[ "<BEGIN>\n## `as_multi_dict`", "Coerce a dictionary to a bottle.MultiDict\n<END>", "<BEGIN>\n## `set_query_params`", "Set the query parameters.", " The query parameters should be a dictionary mapping keys to\n strings or lists of strings.", " :param query_params: query parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the v1_label_direct API. 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 v1_label_direct API. 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...
Return directly connected labels. The routes for this endpoint are ``/dossier/v1/label/<cid>/direct`` and ``/dossier/v1/label/<cid>/subtopic/<subid>/direct``. This returns all directly connected labels for ``cid``. Or, if a subtopic id is given, then only directly connected labels for ``(cid, ...
"Return directly connected labels.\n\n The routes for this endpoint are\n ``/dossier/v1/label/<cid>/direct`` and\n ``/dossier/v1/label/<cid>/subtopic/<subid>/direct``.\n\n This returns all directly connected labels for ``cid``. Or, if\n a subtopic id is given, then only directly connected labels for\n ...
223
false
dossier/dossier.web
v1_label_direct
21,091
LDU_FT/dbcli/athenacli/is_mutating
LDU_FT
[ "<BEGIN>\n## `refresher`", "Decorator to add the decorated function to the dictionary of\n refreshers. Any function decorated with a @refresher will be executed as\n part of the completion refresh routine.\n<END>", "<BEGIN>\n## `refresh`", "Creates a SQLCompleter object and populates it with the relevan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_mutating API. 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 is_mutating API. 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...
Determines if the statement is mutating based on the status.
"Determines if the statement is mutating based on the status."
95
false
dbcli/athenacli
is_mutating
21,092
LDU_FT/HumanCellAtlas/cloud-blobstore/get_cloud_checksum
LDU_FT
[ "<BEGIN>\n## `list`", "Returns an iterator of all blob entries in a bucket that match a given prefix. Do not return any keys that\n contain the delimiter past the\n prefix.\n<END>", "<BEGIN>\n## `delete`", "Deletes an object in a bucket. If the operation definitely did not delete anything, ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cloud_checksum 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 get_cloud_checksum 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...
Retrieves the cloud-provided checksum for a given object in a given bucket. :param bucket: the bucket the object resides in. :param key: the key of the object for which checksum is being retrieved. :return: the cloud-provided checksum
"Retrieves the cloud-provided checksum for a given object in a given bucket.\n :param bucket: the bucket the object resides in.\n :param key: the key of the object for which checksum is being retrieved.\n :return: the cloud-provided checksum"
59
false
HumanCellAtlas/cloud-blobstore
get_cloud_checksum
21,093
LDU_FT/awslabs/aws-sam-cli/read
LDU_FT
[ "<BEGIN>\n## `invoke_common_options`", "Common CLI options shared by \"local invoke\" and \"local start-api\" commands", " :param f: Callback passed by Click\n<END>", "<BEGIN>\n## `get_or_default_template_file_name`", "Default value for the template file name option is more complex than what Click can ha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. 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 read API. 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...
Gets the Swagger document from either of the given locations. If we fail to retrieve or parse the Swagger file, this method will return None. Returns ------- dict: Swagger document. None, if we cannot retrieve the document
"Gets the Swagger document from either of the given locations. If we fail to retrieve or parse the Swagger\n file, this method will return None.\n\n Returns\n -------\n dict:\n Swagger document. None, if we cannot retrieve the document"
708
false
awslabs/aws-sam-cli
read
21,094
LDU_FT/pre-commit/pre-commit-hooks/first_key
LDU_FT
[ "<BEGIN>\n## `check_docstring_first`", "Returns nonzero if the source has what looks like a docstring that is\n not at the beginning of the source.", " A string will be considered a docstring if it is a STRING token with a\n col offset of 0.\n<END>", "<BEGIN>\n## `get_aws_secrets_from_env`", "Extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_key API. 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 first_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns a string representing the sort key of a block. The sort key is the first YAML key we encounter, ignoring comments, and stripping leading quotes. >>> print(test) # some comment 'foo': true >>> first_key(test) 'foo'
"Returns a string representing the sort key of a block.\n\n The sort key is the first YAML key we encounter, ignoring comments, and\n stripping leading quotes.\n\n >>> print(test)\n # some comment\n 'foo': true\n >>> first_key(test)\n 'foo'"
25
false
pre-commit/pre-commit-hooks
first_key
21,095
LDU_FT/zarr-developers/zarr/tree
LDU_FT
[ "<BEGIN>\n## `group`", "Create a group.", " Parameters\n ----------\n store : MutableMapping or string, optional\n Store or path to directory in file system.\n overwrite : bool, optional\n If True, delete any pre-existing data in `store` at `path` before\n creating the group.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tree API. 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 tree API. 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...
Provide a ``print``-able display of the hierarchy. Parameters ---------- expand : bool, optional Only relevant for HTML representation. If True, tree will be fully expanded. level : int, optional Maximum depth to descend into hierarchy. Examples ...
"Provide a ``print``-able display of the hierarchy.\n\n Parameters\n ----------\n expand : bool, optional\n Only relevant for HTML representation. If True, tree will be fully expanded.\n level : int, optional\n Maximum depth to descend into hierarchy.\n\n Example...
436
false
zarr-developers/zarr
tree
21,096
LDU_FT/shad7/tvrenamer/publish
LDU_FT
[ "<BEGIN>\n## `execute`", "Renames a file based on the name generated using metadata.", " :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>", "<BEGIN>\n## `get_series_by_name`", "Perform lookup for series", " :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API. 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 publish API. 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...
Publish packaged distributions to pypi index
"Publish packaged distributions to pypi index"
135
false
shad7/tvrenamer
publish
21,097
LDU_FT/laymonage/kbbi-python/_varian
LDU_FT
[ "<BEGIN>\n## `ambil_teks_dalam_label`", "Mengambil semua teks dalam sup label HTML (tanpa anak-anaknya).", " :param sup: BeautifulSoup dari suatu label HTML\n :type sup: BeautifulSoup\n :returns: String semua teks dalam sup label HTML\n :rtype: str\n<END>", "<BEGIN>\n## `_init_entri`", "Membuat ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _varian API. 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 _varian API. 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...
Mengembalikan representasi string untuk varian entri ini. Dapat digunakan untuk "Varian" maupun "Bentuk tidak baku". :param varian: List bentuk tidak baku atau varian :type varian: list :returns: String representasi varian atau bentuk tidak baku :rtype: str
"Mengembalikan representasi string untuk varian entri ini.\n Dapat digunakan untuk \"Varian\" maupun \"Bentuk tidak baku\".\n\n :param varian: List bentuk tidak baku atau varian\n :type varian: list\n :returns: String representasi varian atau bentuk tidak baku\n :rtype: str"
30
false
laymonage/kbbi-python
_varian
21,098
LDU_FT/bigchaindb/bigchaindb/post_transaction
LDU_FT
[ "<BEGIN>\n## `get`", "API endpoint to retrieve a list of links to transaction\n outputs.", " Returns:\n A :obj:`list` of :cls:`str` of links to outputs.\n<END>", "<BEGIN>\n## `run_configure`", "Run a script to configure the current node.\n<END>", "<BEGIN>\n## `run_election...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_transaction API. 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 post_transaction API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Submit a valid transaction to the mempool.
"Submit a valid transaction to the mempool."
398
false
bigchaindb/bigchaindb
post_transaction
21,099
LDU_FT/happyleavesaoc/aoc-mgz/ObjectEnum
LDU_FT
[ "<BEGIN>\n## `ObjectEnum`", "Object Enumeration.", " Should export the whole list from the game for the best accuracy.\n<END>", "<BEGIN>\n## `_parse`", "Parse stream to find a given byte string.\n<END>", "<BEGIN>\n## `_parse`", "Parse until a given byte string is found.\n<END>", "<BEGIN>\n## `_find...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ObjectEnum API. 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 ObjectEnum API. 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...
Object Enumeration. Should export the whole list from the game for the best accuracy.
"Object Enumeration.\n\n Should export the whole list from the game for the best accuracy."
43
false
happyleavesaoc/aoc-mgz
ObjectEnum
21,100
LDU_FT/ldomic/lintools/get_saltbridge_frequency
LDU_FT
[ "<BEGIN>\n## `draw_hydrogen_bonds`", "For each bond that has been determined to be important, a line gets drawn.\n<END>", "<BEGIN>\n## `draw_salt_bridges`", "For each bond that has been determined to be important, a line gets drawn.\n<END>", "<BEGIN>\n## `change_lines_in_svg`", "Used to change lines in an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_saltbridge_frequency 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 get_saltbridge_frequency API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Calculates the frequency of salt bridges throughout simulations. If the frequency exceeds the analysis cutoff, this interaction will be taken for further consideration. Takes: * analysis_cutoff * - fraction of simulation time a feature has to be present for to be plotted Output: ...
"Calculates the frequency of salt bridges throughout simulations. If the frequency exceeds the\n analysis cutoff, this interaction will be taken for further consideration.\n Takes:\n * analysis_cutoff * - fraction of simulation time a feature has to be present for to be plotted\n Output:...
117
false
ldomic/lintools
get_saltbridge_frequency
21,101
LDU_FT/nickstenning/tagalog/release
LDU_FT
[ "<BEGIN>\n## `fields`", "Add a set of fields to each item in ``iterable``. The set of fields have a\n key=value format. '@' are added to the front of each key.\n<END>", "<BEGIN>\n## `tag`", "Add tags to each dict or dict-like object in ``iterable``. Tags are added\n to each dict with a key set by ``key`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API. 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 release API. 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...
Releases the connection back to the pool
"Releases the connection back to the pool"
17
false
nickstenning/tagalog
release
21,102
LDU_FT/mkouhei/tonicdnscli/get_zone
LDU_FT
[ "<BEGIN>\n## `check_infile`", "Check text file exisitense.", " Argument:", " filename: text file of bulk updating\n<END>", "<BEGIN>\n## `set_json`", "Convert text file to JSON.", " Arguments:", " domain: domain name of updating target\n action: True ; for PUT/POST HTTP m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_zone API. 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_zone API. 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...
Retrieve zone records. Argument: server: TonicDNS API server token: TonicDNS API authentication token domain: Specify domain name keyword: Search keyword x-authentication-token: token
"Retrieve zone records.\n\n Argument:\n\n server: TonicDNS API server\n token: TonicDNS API authentication token\n domain: Specify domain name\n keyword: Search keyword\n\n x-authentication-token: token"
192
false
mkouhei/tonicdnscli
get_zone
21,103
LDU_FT/zeaphoo/budoc/is_submodule
LDU_FT
[ "<BEGIN>\n## `import_module`", "Imports a module. A single point of truth for importing modules to\n be documented by `pydoc`. In particular, it makes sure that the top\n module in `module_name` can be imported by using only the paths in\n `pydoc.import_path`.", " If a module has already been import...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_submodule API. 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 is_submodule API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns `True` if and only if `name` starts with the full import path of `self` and has length at least one greater than `len(self.name)`.
"Returns `True` if and only if `name` starts with the full\n import path of `self` and has length at least one greater than\n `len(self.name)`."
54
false
zeaphoo/budoc
is_submodule
21,104
LDU_FT/zyga/python-glibc/fromfd
LDU_FT
[ "<BEGIN>\n## `_get_fd`", "Get a descriptor out of a file object.", " :param fileobj:\n An integer (existing descriptor) or any object having the `fileno()`\n method.\n :raises ValueError:\n if the descriptor cannot be obtained or if the descriptor is invalid\n :returns:\n fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromfd API. 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 fromfd API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a new signalfd object from a given file descriptor :param fd: A pre-made file descriptor obtained from ``signalfd_create(2)` :param signals: A pre-made frozenset that describes the monitored signals :raises ValueError: If fd is not a valid file descrip...
"Create a new signalfd object from a given file descriptor\n\n :param fd:\n A pre-made file descriptor obtained from ``signalfd_create(2)`\n :param signals:\n A pre-made frozenset that describes the monitored signals\n :raises ValueError:\n If fd is not a valid file...
106
false
zyga/python-glibc
fromfd
21,105
LDU_FT/watson-developer-cloud/python-sdk/_to_dict
LDU_FT
[ "<BEGIN>\n## `synthesize_using_websocket`", "Synthesizes text to spoken audio using web sockets. It supports the use of\n the SSML <mark> element to identify the location of user-specified markers in the audio.\n It can also return timing information for all strings of the input text.\n Note:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return a json dictionary representing this model.
"Return a json dictionary representing this model."
1,254
true
watson-developer-cloud/python-sdk
_to_dict
21,106
LDU_FT/nesaro/pydsl/append_position_to_token_list
LDU_FT
[ "<BEGIN>\n## `check`", "Checks if the input follows the definition\n<END>", "<BEGIN>\n## `formatchecker_factory`", "Converts a dictionary of strings:checkers into a formatchecker object\n<END>", "<BEGIN>\n## `item_set_goto`", "returns an itemset\n locate inside itemset every element with inputsymbol fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_position_to_token_list 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 append_position_to_token_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Converts a list of Token into a list of Token, asuming size == 1
"Converts a list of Token into a list of Token, asuming size == 1"
32
false
nesaro/pydsl
append_position_to_token_list
21,107
LDU_FT/jborean93/requests-credssp/_get_subject_public_key
LDU_FT
[ "<BEGIN>\n## `check_error_code`", "For CredSSP version of 3 or newer, the server can response with an\n NtStatus error code with details of what error occurred. This method\n will check if the error code exists and throws an NTStatusException\n if it is no STATUS_SUCCESS.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_subject_public_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_subject_public_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Returns the SubjectPublicKey asn.1 field of the SubjectPublicKeyInfo field of the server's certificate. This is used in the server verification steps to thwart MitM attacks. :param cert: X509 certificate from pyOpenSSL .get_peer_certificate() :return: byte string of the asn.1 DER encode...
"Returns the SubjectPublicKey asn.1 field of the SubjectPublicKeyInfo\n field of the server's certificate. This is used in the server\n verification steps to thwart MitM attacks.\n\n :param cert: X509 certificate from pyOpenSSL .get_peer_certificate()\n :return: byte string of the asn.1 DER ...
41
false
jborean93/requests-credssp
_get_subject_public_key
21,108
LDU_FT/jumpscale7/python-consistent-toml/dumps
LDU_FT
[ "<BEGIN>\n## `peek`", "Returns PeekableIterator.Nothing when the iterator is exhausted.\n<END>", "<BEGIN>\n## `_append_to_parent`", "Causes this ephemeral table to be persisted on the TOMLFile.\n<END>", "<BEGIN>\n## `structure`", "Accepts an ordered sequence of TopLevel instances and returns a navigable o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Dumps a data structure to TOML source code. The given value must be either a dict of dict values, a dict, or a TOML file constructed by this module.
"Dumps a data structure to TOML source code.\n\n The given value must be either a dict of dict values, a dict, or a TOML file constructed by this module."
43
false
jumpscale7/python-consistent-toml
dumps
21,109
LDU_FT/binux/pyspider/refresh
LDU_FT
[ "<BEGIN>\n## `get_encoding`", "Get encoding from request headers or page head.\n<END>", "<BEGIN>\n## `encoding`", "encoding of Response.content.", " if Response.encoding is None, encoding will be guessed\n by header or content or chardet if available.\n<END>", "<BEGIN>\n## `text`", "Conten...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Explicitly refresh one or more index, making all operations performed since the last refresh available for search.
"Explicitly refresh one or more index, making all operations\n performed since the last refresh available for search."
126
false
binux/pyspider
refresh
21,110
LDU_FT/CybOXProject/mixbox/get_xmlns_string
LDU_FT
[ "<BEGIN>\n## `__make_id`", "Generate an identifier for a callable signal receiver.", " This is used when disconnecting receivers, where we need to correctly\n establish equivalence between the input receiver and the receivers assigned\n to a signal.", " Args:\n receiver: A callable object."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_xmlns_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. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_xmlns_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. The ...
Generates XML namespace declarations for namespaces in this set. It must be suitable for use in an actual XML document, so an exception is raised if this can't be done, e.g. if it would have more than one default namespace declaration. If ``preferred_prefixes_only`` is ``True`` and a n...
"Generates XML namespace declarations for namespaces in this\n set. It must be suitable for use in an actual XML document,\n so an exception is raised if this can't be done, e.g. if it would\n have more than one default namespace declaration.\n\n If ``preferred_prefixes_only`` is ``True`` a...
249
false
CybOXProject/mixbox
get_xmlns_string
21,111
LDU_FT/wal-e/wal-e/do_lzop_get
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure logging.", " Borrowed from logging.basicConfig", " Uses the IndentFormatter instead of the regular Formatter", " Also, opts the caller into Syslog output, unless syslog could not\n be opened for some reason or another, in which case a warning will\n be pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_lzop_get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_lzop_get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get and decompress an S3 or WABS URL This streams the content directly to lzop; the compressed version is never stored on disk.
"Get and decompress an S3 or WABS URL\n\n This streams the content directly to lzop; the compressed version\n is never stored on disk."
214
false
wal-e/wal-e
do_lzop_get
21,112
LDU_FT/peergradeio/flask-mongo-profiler/generic_lazy_ref_formatter
LDU_FT
[ "<BEGIN>\n## `generic_ref_formatter`", "For GenericReferenceField and LazyGenericReferenceField", " See Also\n --------\n diff_formatter\n<END>", "<BEGIN>\n## `generic_lazy_ref_formatter`", "See Also\n --------\n diff_formatter\n<END>", "<BEGIN>\n## `generic_document_type_formatter`", "Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_lazy_ref_formatter 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_lazy_ref_formatter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
See Also -------- diff_formatter
"See Also\n --------\n diff_formatter"
40
false
peergradeio/flask-mongo-profiler
generic_lazy_ref_formatter
21,113
LDU_FT/gmr/queries/free
LDU_FT
[ "<BEGIN>\n## `close`", "Close the connection", " :raises: ConnectionBusyError\n<END>", "<BEGIN>\n## `busy`", "Return if the connection is currently executing a query or is locked\n by a session that still exists.", " :rtype: bool\n<END>", "<BEGIN>\n## `free`", "Remove the lock on ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the free API. 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 free API. 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...
Free a connection that was locked by a session :param str pid: The pool ID :param connection: The connection to remove :type connection: psycopg2.extensions.connection
"Free a connection that was locked by a session\n\n :param str pid: The pool ID\n :param connection: The connection to remove\n :type connection: psycopg2.extensions.connection"
181
false
gmr/queries
free
21,114
LDU_FT/uberVU/mongo-pool/_get_connection
LDU_FT
[ "<BEGIN>\n## `get_cluster`", "Returns a connection to a mongo-clusters.", " Args:\n label (string): the label of a cluster.", " Returns:\n A connection to the cluster labeld with label.", " Raises:\n AttributeError: there is no cluster with the given lab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Return a connection to a Cluster. Return a MongoClient or a MongoReplicaSetClient for the given Cluster. This is done in a lazy manner (if there is already a Client connected to the Cluster, it is returned and no other Client is created). Args: cluster: A dict containing in...
"Return a connection to a Cluster.\n\n Return a MongoClient or a MongoReplicaSetClient for the given Cluster.\n This is done in a lazy manner (if there is already a Client connected to\n the Cluster, it is returned and no other Client is created).\n\n Args:\n cluster: A dict conta...
37
false
uberVU/mongo-pool
_get_connection
21,115
LDU_FT/maas/python-libmaas/get_profile_names_and_default
LDU_FT
[ "<BEGIN>\n## `calculate_dict_diff`", "Return the parameters based on the difference.", " If a parameter exists in `old_params` but not in `new_params` then\n parameter will be set to an empty string.\n<END>", "<BEGIN>\n## `datum_to_value`", "Convert a given MAAS-side datum to a Python-side value.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_profile_names_and_default 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_profile_names_and_default API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Return the list of profile names and the default profile object. The list of names is sorted.
"Return the list of profile names and the default profile object.\n\n The list of names is sorted."
452
false
maas/python-libmaas
get_profile_names_and_default
21,116
LDU_FT/phaethon/kamene/deactivatePdpContextAccept
LDU_FT
[ "<BEGIN>\n## `post_build`", "Called implicitly before a packet is sent.\n<END>", "<BEGIN>\n## `float_encode`", "Convert the integer value to its IGMPv3 encoded time value if needed.", " If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deactivatePdpContextAccept 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 deactivatePdpContextAccept API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
DEACTIVATE PDP CONTEXT ACCEPT Section 9.5.9
"DEACTIVATE PDP CONTEXT ACCEPT Section 9.5.9"
477
false
phaethon/kamene
deactivatePdpContextAccept
21,117
LDU_FT/ChristopherRabotin/bungiesearch/get_models
LDU_FT
[ "<BEGIN>\n## `update_index`", "Updates the index for the provided model_items.\n :param model_items: a list of model_items (django Model instances, or proxy instances) which are to be indexed/updated or deleted.\n If action is 'index', the model_items must be serializable objects. If action is 'delete', the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_models API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_models API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns the list of models defined for this index. :param index: index name. :param as_class: set to True to return the model as a model object instead of as a string.
"Returns the list of models defined for this index.\n :param index: index name.\n :param as_class: set to True to return the model as a model object instead of as a string."
46
false
ChristopherRabotin/bungiesearch
get_models
21,118
LDU_FT/cohorte/cohorte-herald/make_lastbeat
LDU_FT
[ "<BEGIN>\n## `main`", "Runs the framework", " :param http_port: HTTP port to listen to\n :param peer_name: Name of the peer\n :param node_name: Name (also, UID) of the node hosting the peer\n :param app_id: Application ID\n<END>", "<BEGIN>\n## `_get_link`", "Returns a link to the given peer", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_lastbeat API. 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 make_lastbeat API. 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...
Prepares the last beat UDP packet (when the peer is going away) Format : Little endian * Kind of beat (1 byte) * Peer UID length (2 bytes) * Peer UID (variable, UTF-8) * Application ID length (2 bytes) * Application ID (variable, UTF-8) :param peer_uid: Peer UID :param app_id: Applicat...
"Prepares the last beat UDP packet (when the peer is going away)\n\n Format : Little endian\n * Kind of beat (1 byte)\n * Peer UID length (2 bytes)\n * Peer UID (variable, UTF-8)\n * Application ID length (2 bytes)\n * Application ID (variable, UTF-8)\n\n :param peer_uid: Peer UID\n :param app_i...
110
false
cohorte/cohorte-herald
make_lastbeat
21,119
LDU_FT/oscarlazoarjona/fast/orbital_spin_nuclear_matrices
LDU_FT
[ "<BEGIN>\n## `fit_lorentizan`", "Fits a lorentzian curve using p0=[x0,A,gamma] as an initial guess.\r\n\tIt returns a curve with N_points.\n<END>", "<BEGIN>\n## `electric_field_amplitude_gaussian`", "Return the amplitude of the electric field for a Gaussian beam.\r", " This the amplitude at the center of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orbital_spin_nuclear_matrices 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 orbital_spin_nuclear_matrices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
ur"""Return the matrix representation of the orbita, electron-spin, and \ nuclear-spin angular momentum operators \ :math:`\hat{\vec{L}}, \hat{\vec{L}}, \hat{\vec{L}}` in the coupled basis \ :math:`[|J, -J\rangle, \cdot, |J, J\rangle]`. INPUT: - ``ind`` - A string ("x", "y", "z", "all") indicatin...
"ur\"\"\"Return the matrix representation of the orbita, electron-spin, and \\\n nuclear-spin angular momentum operators \\\n :math:`\\hat{\\vec{L}}, \\hat{\\vec{L}}, \\hat{\\vec{L}}` in the coupled basis \\\n :math:`[|J, -J\\rangle, \\cdot, |J, J\\rangle]`.\n\n INPUT:\n\n - ``ind`` - A string (\"x\", \...
668
false
oscarlazoarjona/fast
orbital_spin_nuclear_matrices
21,120
LDU_FT/dcos/shakedown/distribute_docker_credentials_to_private_agents
LDU_FT
[ "<BEGIN>\n## `get_tasks`", "Get a list of tasks, optionally filtered by task id.\n The task_id can be the abbrevated. Example: If a task named 'sleep' is\n scaled to 3 in marathon, there will be be 3 tasks starting with 'sleep.'", " :param task_id: task ID\n :type task_id: str\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distribute_docker_credentials_to_private_agents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distribute_docker_credentials_to_private_agents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ...
Create and distributes a docker credentials file to all private agents :param username: docker username :type username: str :param password: docker password :type password: str :param file_name: credentials file name `docker.tar.gz` by default :type file_name: str
"Create and distributes a docker credentials file to all private agents\n\n :param username: docker username\n :type username: str\n :param password: docker password\n :type password: str\n :param file_name: credentials file name `docker.tar.gz` by default\n :type file_name: st...
288
false
dcos/shakedown
distribute_docker_credentials_to_private_agents
21,121
LDU_FT/jgorset/facepy/get
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse a signed request, returning a dictionary describing its payload.\n<END>", "<BEGIN>\n## `generate`", "Generate a signed request from this instance.\n<END>", "<BEGIN>\n## `for_application`", "Initialize GraphAPI with an OAuth access token for an application.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Get an item from the Graph API. :param path: A string describing the path to the item. :param page: A boolean describing whether to return a generator that iterates over each page of results. :param retry: An integer describing how many times the request may be retried. ...
"Get an item from the Graph API.\n\n :param path: A string describing the path to the item.\n :param page: A boolean describing whether to return a generator that\n iterates over each page of results.\n :param retry: An integer describing how many times the request may be retrie...
40
false
jgorset/facepy
get
21,122
LDU_FT/fprimex/zdesk/dynamic_content_item_create
LDU_FT
[ "<BEGIN>\n## `batch`", "Helper to setup batch requests.", " There are endpoints which support updating multiple resources at once,\n but they are often limited to 100 updates per request.\n This function helps with splitting bigger requests into sequence of\n smaller ones.", " Example:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dynamic_content_item_create 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 dynamic_content_item_create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#create-item
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#create-item"
803
false
fprimex/zdesk
dynamic_content_item_create
21,123
LDU_FT/AndresMWeber/Nomenclate/_build_abbreviation_regex
LDU_FT
[ "<BEGIN>\n## `purge_tokens`", "Removes all specified token_attrs that exist in instance.token_attrs", " :param token_attrs: list(str), list of string values of tokens to remove. If None, removes all\n<END>", "<BEGIN>\n## `combine_dicts`", "Combines all arguments (if they are dictionaries) and kwargs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_abbreviation_regex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_abbreviation_regex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
builds a recursive regex based on an input string to find possible abbreviations more simply. e.g. = punct(u(a(t(i(on?)?)?)?)?)? :param input_string: str, input string :return: str, output regex
"builds a recursive regex based on an input string to find possible abbreviations more simply.\n e.g. = punct(u(a(t(i(on?)?)?)?)?)?\n\n :param input_string: str, input string\n :return: str, output regex"
140
false
AndresMWeber/Nomenclate
_build_abbreviation_regex
21,124
LDU_FT/vulndb/python-sdk/handle_references
LDU_FT
[ "<BEGIN>\n## `from_file`", "This is an alternative \"constructor\" for the DBVuln class which loads\n the data from a file.", " :param db_file: Contents of a json file from the DB\n :param language: The user's language (en, es, etc.)\n<END>", "<BEGIN>\n## `from_id`", "This is an alterna...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_references API. 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 handle_references API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Create a list of reference objects that represent this part of the JSON data: "references": [ {"url": "http://foo.com/xss", "title": "First reference to ..."}, {"url": "http://asp.net/xss", "title": "How to fix ..."}, {"url": "http://owasp.org/xss", "title": ...
"Create a list of reference objects that represent this part of the JSON\n data:\n\n \"references\": [\n {\"url\": \"http://foo.com/xss\", \"title\": \"First reference to ...\"},\n {\"url\": \"http://asp.net/xss\", \"title\": \"How to fix ...\"},\n {\"url\": \"http...
26
false
vulndb/python-sdk
handle_references
21,125
LDU_FT/LudovicRousseau/pyscard/OnAddReaders
LDU_FT
[ "<BEGIN>\n## `translateprotocolmask`", "Translate CardConnection protocol mask into PCSC protocol mask.\n<END>", "<BEGIN>\n## `translateprotocolheader`", "Translate protocol into PCSC protocol header.\n<END>", "<BEGIN>\n## `connect`", "Connect to the card.", " If protocol is not specified, connec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the OnAddReaders API. 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 OnAddReaders API. 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...
Called when a reader is inserted. Adds the smart card reader to the smartcard readers tree.
"Called when a reader is inserted.\n Adds the smart card reader to the smartcard readers tree."
164
false
LudovicRousseau/pyscard
OnAddReaders
21,126
LDU_FT/isambard-uob/ampal/fasta
LDU_FT
[ "<BEGIN>\n## `write_pdb`", "Writes a pdb file for a list of residues.", " Parameters\n ----------\n residues : list\n List of Residue objects.\n chain_id : str\n String of the chain id, defaults to ' '.\n alt_states : bool, optional\n If true, include all occupancy states of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fasta API. 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 fasta API. 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...
Generates sequence data for the protein in FASTA format.
"Generates sequence data for the protein in FASTA format."
84
false
isambard-uob/ampal
fasta
21,127
LDU_FT/tariqdaouda/rabaDB/initateSave
LDU_FT
[ "<BEGIN>\n## `removeFromRegistery`", "Removes an object/rabalist from registery. This is useful if you want to allow the garbage collector to free the memory\n\ttaken by the objects you've already loaded. Be careful might cause some discrepenties in your scripts. For objects,\n\tcascades to free the registeries o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initateSave API. 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 initateSave API. 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...
Tries to initiates a save sessions. Each object can only be saved once during a session. The session begins when a raba object initates it and ends when this object and all it's dependencies have been saved
"Tries to initiates a save sessions. Each object can only be saved once during a session.\n\t\tThe session begins when a raba object initates it and ends when this object and all it's dependencies have been saved"
55
false
tariqdaouda/rabaDB
initateSave
21,128
LDU_FT/NoviceLive/intellicoder/_c_base_var
LDU_FT
[ "<BEGIN>\n## `format`", "Format the record using the corresponding formatter.\n<END>", "<BEGIN>\n## `make_c_header`", "Build a C header from the front and body.\n<END>", "<BEGIN>\n## `reloc_var`", "Build C source code to relocate a variable.\n<END>", "<BEGIN>\n## `make_c_args`", "Build a C argument li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _c_base_var API. 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 _c_base_var API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the name of the module base variable.
"Return the name of the module base variable."
117
false
NoviceLive/intellicoder
_c_base_var
21,129
LDU_FT/oceanprotocol/squid-py/process_tx_receipt
LDU_FT
[ "<BEGIN>\n## `get_requests_session`", "Set connection pool maxsize and block value to avoid `connection pool full` warnings.", " :return: requests session\n<END>", "<BEGIN>\n## `request_tokens`", "Request an amount of tokens for a particular address.\n This transaction has gas cost", " :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_tx_receipt 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 process_tx_receipt 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...
Wait until the tx receipt is processed. :param tx_hash: hash of the transaction :param event: AttributeDict with the event data. :param event_name: name of the event to subscribe, str :return:
"Wait until the tx receipt is processed.\n\n :param tx_hash: hash of the transaction\n :param event: AttributeDict with the event data.\n :param event_name: name of the event to subscribe, str\n :return:"
417
false
oceanprotocol/squid-py
process_tx_receipt
21,130
LDU_FT/digidotcom/python-devicecloud/get_data_type
LDU_FT
[ "<BEGIN>\n## `_parse_command_response`", "Parse an SCI command response into ElementTree XML", " This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.", " :param response...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_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 ext...
Get the data type of this stream if it exists The data type is the type of data stored in this data stream. Valid types include: * INTEGER - data can be represented with a network (= big-endian) 32-bit two's-complement integer. Data with this type maps to a python int. * LONG - data...
"Get the data type of this stream if it exists\n\n The data type is the type of data stored in this data stream. Valid types include:\n\n * INTEGER - data can be represented with a network (= big-endian) 32-bit two's-complement integer. Data\n with this type maps to a python int.\n * LONG...
366
false
digidotcom/python-devicecloud
get_data_type
21,131
LDU_FT/hirokiky/uiro/main
LDU_FT
[ "<BEGIN>\n## `setup_lookup`", "Registering template directories of apps to Lookup.", " Lookups will be set up as dictionary, app name\n as key and lookup for this app will be it's value.\n Each lookups is correspond to each template directories of apps._lookups.\n The directory should be named 'temp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Entry point to create Uiro application. Setup all of necessary things: * Getting root matching * Initializing DB connection * Initializing Template Lookups * Collecting installed applications * Creating apps for serving static files and will create/return Uiro application.
"Entry point to create Uiro application.\n\n Setup all of necessary things:\n\n * Getting root matching\n * Initializing DB connection\n * Initializing Template Lookups\n * Collecting installed applications\n * Creating apps for serving static files\n\n and will create/return Uiro applica...
37
false
hirokiky/uiro
main
21,132
LDU_FT/RiotGames/cloud-inquisitor/to_json
LDU_FT
[ "<BEGIN>\n## `options`", "Returns metadata information required for User Creation\n<END>", "<BEGIN>\n## `run`", "Update the cache of all DNS entries and perform checks", " Args:\n *args: Optional list of arguments\n **kwargs: Optional list of keyword arguments", " Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Augment the base `to_json` function, adding information about volumes Returns: `dict`
"Augment the base `to_json` function, adding information about volumes\n\n Returns:\n `dict`"
693
false
RiotGames/cloud-inquisitor
to_json
21,133
LDU_FT/richardkiss/pycoin/make_variable_handler
LDU_FT
[ "<BEGIN>\n## `parse_as_header`", "Parse the Block header from the file-like object\n<END>", "<BEGIN>\n## `stream_header_legacy`", "Stream the block header in the standard way to the file-like object f.\n<END>", "<BEGIN>\n## `stream_header`", "Stream the block header in the standard way to the file-like ob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_variable_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_variable_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. ...
Create a handler for a data opcode that returns literal data of a variable size that's fetched and decoded by the function dec_f.
"Create a handler for a data opcode that returns literal data of a variable size\n that's fetched and decoded by the function dec_f."
336
false
richardkiss/pycoin
make_variable_handler
21,134
LDU_FT/cole/aiosmtplib/help
LDU_FT
[ "<BEGIN>\n## `connection_made`", "Modified ``connection_made`` that supports upgrading our transport in\n place using STARTTLS.", " We set the _transport directly on the StreamReader, rather than calling\n set_transport (which will raise an AssertionError on upgrade).\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the help API. 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 help API. 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...
Send the SMTP HELP command, which responds with help text. :raises SMTPResponseException: on unexpected server response code
"Send the SMTP HELP command, which responds with help text.\n\n :raises SMTPResponseException: on unexpected server response code"
142
false
cole/aiosmtplib
help
21,135
LDU_FT/hsolbrig/PyShEx/rdf
LDU_FT
[ "<BEGIN>\n## `conforms`", "`5.6.1 Schema Validation Requirement <http://shex.io/shex-semantics/#validation-requirement>`_", " A graph G is said to conform with a schema S with a ShapeMap m when:", " Every, SemAct in the startActs of S has a successful evaluation of semActsSatisfied.\n Every node n in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rdf API. 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 rdf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Set the RDF DataSet to be evaulated. If ``rdf`` is a string, the presence of a return is the indicator that it is text instead of a location. :param rdf: File name, URL, representation of rdflib Graph
"Set the RDF DataSet to be evaulated. If ``rdf`` is a string, the presence of a return is the\n indicator that it is text instead of a location.\n\n :param rdf: File name, URL, representation of rdflib Graph"
234
false
hsolbrig/PyShEx
rdf
21,136
LDU_FT/cmap/cmapPy/assemble_data
LDU_FT
[ "<BEGIN>\n## `subset_main`", "Separate method from main() in order to make testing easier and to\n enable command-line access.\n<END>", "<BEGIN>\n## `_read_arg`", "If arg is a list with 1 element that corresponds to a valid file path, use\n set_io.grp to read the grp file. Otherwise, check that arg is a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assemble_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assemble_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Assemble the data dfs together. Both indices are sorted. Args: data_dfs (list of pandas dfs) concat_direction (string): 'horiz' or 'vert' Returns: all_data_df_sorted (pandas df)
"Assemble the data dfs together. Both indices are sorted.\n\n Args:\n data_dfs (list of pandas dfs)\n concat_direction (string): 'horiz' or 'vert'\n\n Returns:\n all_data_df_sorted (pandas df)"
210
false
cmap/cmapPy
assemble_data
21,137
LDU_FT/daveoncode/python-string-utils/is_slug
LDU_FT
[ "<BEGIN>\n## `is_url`", "Check if a string is a valid url.", " :param string: String to check.\n :param allowed_schemes: List of valid schemes ('http', 'https', 'ftp'...). Default to None (any scheme is valid).\n :return: True if url, false otherwise\n :rtype: bool\n<END>", "<BEGIN>\n## `is_credit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_slug API. 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 is_slug API. 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...
Checks if a given string is a slug. :param string: String to check. :type string: str :param sign: Join sign used by the slug. :type sign: str :return: True if slug, false otherwise.
"Checks if a given string is a slug.\n\n :param string: String to check.\n :type string: str\n :param sign: Join sign used by the slug.\n :type sign: str\n :return: True if slug, false otherwise."
46
false
daveoncode/python-string-utils
is_slug
21,138
LDU_FT/simpleenergy/env-excavator/env_string
LDU_FT
[ "<BEGIN>\n## `env_int`", "Pulls an environment variable out of the environment and casts it to an\n integer. If the name is not present in the environment and no default is\n specified then a ``ValueError`` will be raised. Similarly, if the\n environment value is not castable to an integer, a ``ValueErro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_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. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_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. The extrac...
Pulls an environment variable out of the environment returning it as a string. If not present in the environment and no default is specified, an empty string is returned. :param name: The name of the environment variable be pulled :type name: str :param required: Whether the environment variable i...
"Pulls an environment variable out of the environment returning it as a\n string. If not present in the environment and no default is specified, an\n empty string is returned.\n\n :param name: The name of the environment variable be pulled\n :type name: str\n\n :param required: Whether the environment va...
45
false
simpleenergy/env-excavator
env_string
21,139
LDU_FT/data-8/datascience/where
LDU_FT
[ "<BEGIN>\n## `_is_array_integer`", "Returns True if an array contains integers (integer type or near-int\n float values) and False otherwise.", " >>> _is_array_integer(np.arange(10))\n True\n >>> _is_array_integer(np.arange(7.0, 20.0, 1.0))\n True\n >>> _is_array_integer(np.arange(0, 1, 0.1))\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API. 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 where API. 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...
Return a new ``Table`` containing rows where ``value_or_predicate`` returns True for values in ``column_or_label``. Args: ``column_or_label``: A column of the ``Table`` either as a label (``str``) or an index (``int``). Can also be an array of booleans; only the rows...
"Return a new ``Table`` containing rows where ``value_or_predicate``\n returns True for values in ``column_or_label``.\n\n Args:\n ``column_or_label``: A column of the ``Table`` either as a label\n (``str``) or an index (``int``). Can also be an array of booleans;\n only t...
401
false
data-8/datascience
where
21,140
LDU_FT/inveniosoftware-attic/invenio-utils/_load_latex2unicode_constants
LDU_FT
[ "<BEGIN>\n## `get_callable_signature_as_string`", "Return a string representing a callable.", " It is executed as if it would have been declared on the prompt.", " >>> def foo(arg1, arg2, arg3='val1', arg4='val2', *args, **argd):\n ... pass\n >>> get_callable_signature_as_string(foo)\n def ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_latex2unicode_constants 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 _load_latex2unicode_constants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Load LaTeX2Unicode translation table dictionary. Load LaTeX2Unicode translation table dictionary and regular expression object from KB to a global dictionary. :param kb_file: full path to file containing latex2unicode translations. Defaults to CFG_ETCDIR/bibconvert/KB/latex-to-unicode....
"Load LaTeX2Unicode translation table dictionary.\n\n Load LaTeX2Unicode translation table dictionary and regular\n expression object from KB to a global dictionary.\n\n :param kb_file: full path to file containing latex2unicode translations.\n Defaults to CFG_ETCDIR/bibconvert/KB/latex-to-u...
424
false
inveniosoftware-attic/invenio-utils
_load_latex2unicode_constants
21,141
LDU_FT/vtkiorg/vtki/_get_scalar_names
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_scalar_names API. 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_scalar_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Only give scalar options that have a varying range
"Only give scalar options that have a varying range"
1,121
true
vtkiorg/vtki
_get_scalar_names
21,142
LDU_FT/AdvancedClimateSystems/uModbus/create_function_from_response_pdu
LDU_FT
[ "<BEGIN>\n## `pdu_to_function_code_or_raise_error`", "Parse response PDU and return of :class:`ModbusFunction` or\n raise error.", " :param resp_pdu: PDU of response.\n :return: Subclass of :class:`ModbusFunction` matching the response.\n :raises ModbusError: When response contains error code.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_function_from_response_pdu API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_function_from_response_pdu API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Parse response PDU and return instance of :class:`ModbusFunction` or raise error. :param resp_pdu: PDU of response. :param req_pdu: Request PDU, some functions require more info than in response PDU in order to create instance. Default is None. :return: Number or list with response data.
"Parse response PDU and return instance of :class:`ModbusFunction` or\n raise error.\n\n :param resp_pdu: PDU of response.\n :param req_pdu: Request PDU, some functions require more info than in\n response PDU in order to create instance. Default is None.\n :return: Number or list with response data...
186
false
AdvancedClimateSystems/uModbus
create_function_from_response_pdu
21,143
LDU_FT/caktus/django-timepiece/render_to_response
LDU_FT
[ "<BEGIN>\n## `add_timezone`", "If the value is naive, then the timezone is added to it.", " If no timezone is given, timezone.get_current_timezone() is used.\n<END>", "<BEGIN>\n## `get_active_entry`", "Returns the user's currently-active entry, or None.\n<END>", "<BEGIN>\n## `get_month_start`", "Retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
When the user makes a search and there is only one result, redirect to the result's detail page rather than rendering the list.
"When the user makes a search and there is only one result, redirect\n to the result's detail page rather than rendering the list."
88
false
caktus/django-timepiece
render_to_response
21,144
LDU_FT/bigchaindb/bigchaindb-driver/prepare_transaction
LDU_FT
[ "<BEGIN>\n## `info`", "Retrieves information of the node being connected to via the\n root endpoint ``'/'``.", " Args:\n headers (dict): Optional headers to pass to the request.", " Returns:\n dict: Details of the node that this instance is connected\n to....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_transaction 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 prepare_transaction 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...
Prepares a transaction payload, ready to be fulfilled. Depending on the value of ``operation``, simply dispatches to either :func:`~.prepare_create_transaction` or :func:`~.prepare_transfer_transaction`. Args: operation (str): The operation to perform. Must be ``'CREATE'`` or ``'TRA...
"Prepares a transaction payload, ready to be fulfilled. Depending on\n the value of ``operation``, simply dispatches to either\n :func:`~.prepare_create_transaction` or\n :func:`~.prepare_transfer_transaction`.\n\n Args:\n operation (str): The operation to perform. Must be ``'CREATE'``\n o...
169
false
bigchaindb/bigchaindb-driver
prepare_transaction
21,145
LDU_FT/jam31118/vis/get_text_alignment
LDU_FT
[ "<BEGIN>\n## `estimate_global_norm_range`", "Return estimated global range for 2D (pcolormesh-like) plot.", " ## Returns:\n - vmin\n - vmax\n<END>", "<BEGIN>\n## `process_frames_argument`", "Check and process 'frames' argument\n into a proper iterable for an animation object", " ## Argument...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_alignment 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 get_text_alignment 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...
Return 'verticalalignment'('va') and 'horizontalalignment'('ha') for given 'pos' (position)
"Return 'verticalalignment'('va') and 'horizontalalignment'('ha') for given 'pos' (position)"
53
false
jam31118/vis
get_text_alignment
21,146
LDU_FT/StanfordBioinformatics/scgpm_seqresults_dnanexus/share_with_org
LDU_FT
[ "<BEGIN>\n## `log_file_name`", "Function : Creates a logfile name, named after this script and includes the number of seconds since the Epoch.\n An optional extension can be specified to make the logfile name more meaningful regarding its purpose.\n Args : ext - The extension to add to the log fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the share_with_org API. 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 share_with_org API. 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...
Shares one or more DNAnexus projects with an organization. Args: project_ids: `list`. One or more DNAnexus project identifiers, where each project ID is in the form "project-FXq6B809p5jKzp2vJkjkKvg3". org: `str`. The name of the DNAnexus org with which to share the projects. ...
"Shares one or more DNAnexus projects with an organization.\n\n Args:\n project_ids: `list`. One or more DNAnexus project identifiers, where each project ID is in \n the form \"project-FXq6B809p5jKzp2vJkjkKvg3\". \n org: `str`. The name of the DNAnexus org with which to share the projects. \...
63
false
StanfordBioinformatics/scgpm_seqresults_dnanexus
share_with_org
21,147
LDU_FT/secure-systems-lab/securesystemslib/digest
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 digest API. 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 digest API. 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 ...
<Purpose> Provide the caller with the ability to create digest objects without having to worry about crypto library availability or which library to use. The caller also has the option of specifying which hash algorithm and/or library to use. # Creation of a digest object using defaults or by spec...
"<Purpose>\n Provide the caller with the ability to create digest objects without having\n to worry about crypto library availability or which library to use. The\n caller also has the option of specifying which hash algorithm and/or\n library to use.\n\n # Creation of a digest object using defaults or ...
663
false
secure-systems-lab/securesystemslib
digest
21,148
LDU_FT/EntilZha/PyFunctional/starmap_t
LDU_FT
[ "<BEGIN>\n## `name`", "Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>", "<BEGIN>\n## `map_t`", "Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>", "<BEGIN>\n## `starmap_t`", "Transfo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starmap_t API. 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 starmap_t API. 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...
Transformation for Sequence.starmap and Sequence.smap :param func: starmap function :return: transformation
"Transformation for Sequence.starmap and Sequence.smap\n :param func: starmap function\n :return: transformation"
249
false
EntilZha/PyFunctional
starmap_t
21,149
LDU_FT/ulf1/oxyba/leland94
LDU_FT
[ "<BEGIN>\n## `clean_german_number`", "Convert a string with a German number into a Decimal", " Parameters\n ----------\n x : str, list, tuple, numpy.ndarray, pandas.DataFrame\n A string with a number with German formatting,\n or an array of these strings, e.g. list, ndarray, df.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the leland94 API. 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 leland94 API. 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...
Leland94 Capital Structure model, Corporate Bond valuation model Parameters: ----------- V : float Asset Value of the unlevered firm s : float Volatility s of the asset value V of the unlevered firm r : float Risk free rate a : float Bankruptcy cost t : f...
"Leland94 Capital Structure model, Corporate Bond valuation model\n\n Parameters:\n -----------\n V : float\n Asset Value of the unlevered firm\n\n s : float\n Volatility s of the asset value V of the unlevered firm\n\n r : float\n Risk free rate\n\n a : float\n Bankruptcy ...
218
false
ulf1/oxyba
leland94
21,150
LDU_FT/square/connect-python-sdk/reason
LDU_FT
[ "<BEGIN>\n## `attribute_name`", "Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.", " :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>", "<BEGIN>\n## `idempotency_key`", "Sets the idempotency_key of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reason API. 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 reason API. 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 ...
Sets the reason of this CreateRefundRequest. A description of the reason for the refund. Default value: `Refund via API` :param reason: The reason of this CreateRefundRequest. :type: str
"Sets the reason of this CreateRefundRequest.\n A description of the reason for the refund. Default value: `Refund via API`\n\n :param reason: The reason of this CreateRefundRequest.\n :type: str"
148
false
square/connect-python-sdk
reason
21,151
LDU_FT/jlevy/strif/make_all_dirs
LDU_FT
[ "<BEGIN>\n## `new_timestamped_uid`", "A unique id that begins with an ISO timestamp followed by fractions of seconds and bits of\n randomness. The advantage of this is it sorts nicely by time, while still being unique.\n Example: 20150912T084555Z-378465-43vtwbx\n<END>", "<BEGIN>\n## `abbreviate_str`", "Abbr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_all_dirs API. 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 make_all_dirs API. 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...
Ensure local dir, with all its parent dirs, are created. Unlike os.makedirs(), will not fail if the path already exists.
"Ensure local dir, with all its parent dirs, are created.\n Unlike os.makedirs(), will not fail if the path already exists."
38
false
jlevy/strif
make_all_dirs
21,152
LDU_FT/ChristianTremblay/BAC0/address
LDU_FT
[ "<BEGIN>\n## `sim`", "Simulate I/O points by setting the Out_Of_Service property, then doing a \r\n WriteProperty to the point's Present_Value.\r", " :param args: String with <addr> <type> <inst> <prop> <value> [ <indx> ] [ <priority> ]\n<END>", "<BEGIN>\n## `out_of_service`", "Set the Out_Of_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the address API. 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 address API. 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...
IP Address using bacpypes Address format
"IP Address using bacpypes Address format"
73
false
ChristianTremblay/BAC0
address
21,153
LDU_FT/taskcluster/taskcluster-client.py/listRoleIds
LDU_FT
[ "<BEGIN>\n## `ping`", "Ping Server", " Respond without doing anything.\n This endpoint is used to check that the service is up.", " This method is ``stable``\n<END>", "<BEGIN>\n## `githubWebHookConsumer`", "Consume GitHub WebHook", " Capture a GitHub event and publish it via ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listRoleIds API. 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 listRoleIds API. 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...
List Role IDs If no limit is given, the roleIds of all roles are returned. Since this list may become long, callers can use the `limit` and `continuationToken` query arguments to page through the responses. This method gives output: ``v1/list-role-ids-response.json#`` This met...
"List Role IDs\n\n If no limit is given, the roleIds of all roles are returned. Since this\n list may become long, callers can use the `limit` and `continuationToken`\n query arguments to page through the responses.\n\n This method gives output: ``v1/list-role-ids-response.json#``\n\n ...
997
false
taskcluster/taskcluster-client.py
listRoleIds
21,154
LDU_FT/skymill/automated-ebs-snapshots/unwatch_from_file
LDU_FT
[ "<BEGIN>\n## `connect_to_ec2`", "Connect to AWS ec2", " :type region: str\n :param region: AWS region to connect to\n :type access_key: str\n :param access_key: AWS access key id\n :type secret_key: str\n :param secret_key: AWS secret access key\n :returns: boto.ec2.connection.EC2Connection...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unwatch_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unwatch_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Start watching a new volume :type connection: boto.ec2.connection.EC2Connection :param connection: EC2 connection object :type file_name: str :param file_name: path to config file :returns: None
"Start watching a new volume\n\n :type connection: boto.ec2.connection.EC2Connection\n :param connection: EC2 connection object\n :type file_name: str\n :param file_name: path to config file\n :returns: None"
42
false
skymill/automated-ebs-snapshots
unwatch_from_file
21,155
LDU_FT/dourvaris/nano-python/chain
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 chain API. 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 chain API. 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...
Returns a list of block hashes in the account chain starting at **block** up to **count** :param block: Block hash to start at :type block: str :param count: Number of blocks to return up to :type count: int :raises: :py:exc:`nano.rpc.RPCException` >>> rpc.cha...
"Returns a list of block hashes in the account chain starting at\n **block** up to **count**\n\n :param block: Block hash to start at\n :type block: str\n\n :param count: Number of blocks to return up to\n :type count: int\n\n :raises: :py:exc:`nano.rpc.RPCException`\n\n ...
574
false
dourvaris/nano-python
chain
21,156
LDU_FT/zimeon/iiif/file
LDU_FT
[ "<BEGIN>\n## `do_first`", "Load generator, set size.", " We take the generator module name from self.srcfile so that\n this manipulator will work with different generators in a\n similar way to how the ordinary generators work with\n different images\n<END>", "<BEGIN>\n## `main`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Filename property for the source image for the current identifier.
"Filename property for the source image for the current identifier."
333
false
zimeon/iiif
file
21,157
LDU_FT/camptocamp/marabunta/parse
LDU_FT
[ "<BEGIN>\n## `perform`", "Perform the version upgrade on the database.\n<END>", "<BEGIN>\n## `_perform_version`", "Inner method for version upgrade.", " Not intended for standalone use. This method performs the actual\n version upgrade with all the pre, post operations and addons upgrades.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Check input and return a :class:`Migration` instance.
"Check input and return a :class:`Migration` instance."
48
false
camptocamp/marabunta
parse
21,158
LDU_FT/nickpandolfi/Cyther/extractVersion
LDU_FT
[ "<BEGIN>\n## `get_content`", "Finds the 'content' tag from a 'pattern' in the provided 'string'\n<END>", "<BEGIN>\n## `extract`", "Used to extract a given regex pattern from a string, given several options\n<END>", "<BEGIN>\n## `extractRuntime`", "Used to find the correct static lib name to pass to gcc\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extractVersion API. 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 extractVersion API. 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...
Extracts a three digit standard format version number
"Extracts a three digit standard format version number"
131
false
nickpandolfi/Cyther
extractVersion
21,159
LDU_FT/thiagopbueno/pyrddl/p_case_list
LDU_FT
[ "<BEGIN>\n## `rename_next_state_fluent`", "Returns next state fluent canonical name.", " Args:\n name (str): The current state fluent name.", " Returns:\n str: The next state fluent name.\n<END>", "<BEGIN>\n## `rename_state_fluent`", "Returns current state fluent canonical name.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_case_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_case_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
case_list : case_list COMMA case_def | case_def
"case_list : case_list COMMA case_def\n | case_def"
158
false
thiagopbueno/pyrddl
p_case_list
21,160
LDU_FT/ethereum/pyethereum/vm_trace
LDU_FT
[ "<BEGIN>\n## `_canonical_type`", "Replace aliases to the corresponding type to compute the ids.\n<END>", "<BEGIN>\n## `method_id`", "Return the unique method id.", " The signature is defined as the canonical expression of the basic\n prototype, i.e. the function name with the parenthesised list of par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vm_trace API. 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 vm_trace API. 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 diverges from normal logging, as we use the logging namespace only to decide which features get logged in 'eth.vm.op' i.e. tracing can not be activated by activating a sub like 'eth.vm.op.stack'
"This diverges from normal logging, as we use the logging namespace\n only to decide which features get logged in 'eth.vm.op'\n i.e. tracing can not be activated by activating a sub\n like 'eth.vm.op.stack'"
138
false
ethereum/pyethereum
vm_trace
21,161
LDU_FT/mardix/Yass/setup_dns
LDU_FT
[ "<BEGIN>\n## `setup_dns`", "Setup site domain to route to static site\n<END>", "<BEGIN>\n## `create_site`", "Create a new site directory and init Yass\n<END>", "<BEGIN>\n## `init`", "Initialize Yass in the current directory\n<END>", "<BEGIN>\n## `create_page`", "Create a new page Omit the extension, i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_dns API. 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 setup_dns API. 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...
Setup site domain to route to static site
"Setup site domain to route to static site"
36
false
mardix/Yass
setup_dns
21,162
LDU_FT/ask/carrot/fetch
LDU_FT
[ "<BEGIN>\n## `establish_connection`", "Establish connection to the AMQP broker.\n<END>", "<BEGIN>\n## `queue_exists`", "Check if a queue has been declared.", " :rtype bool:\n<END>", "<BEGIN>\n## `queue_bind`", "Bind queue to an exchange using a routing key.\n<END>", "<BEGIN>\n## `get`", "Rece...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. 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 fetch API. 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...
Receive the next message waiting on the queue. :returns: A :class:`carrot.backends.base.BaseMessage` instance, or ``None`` if there's no messages to be received. :keyword enable_callbacks: Enable callbacks. The message will be processed with all registered callbacks. Default is...
"Receive the next message waiting on the queue.\n\n :returns: A :class:`carrot.backends.base.BaseMessage` instance,\n or ``None`` if there's no messages to be received.\n\n :keyword enable_callbacks: Enable callbacks. The message will be\n processed with all registered callbacks. Def...
162
false
ask/carrot
fetch
21,163
LDU_FT/faucamp/python-gsmmodem/_setSmsMemory
LDU_FT
[ "<BEGIN>\n## `status`", "Status of this SMS. Can be ENROUTE, DELIVERED or FAILED", " The actual status report object may be accessed via the 'report' attribute\n if status is 'DELIVERED' or 'FAILED'\n<END>", "<BEGIN>\n## `connect`", "Opens the port and initializes the modem and SIM card", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setSmsMemory API. 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 _setSmsMemory API. 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...
Set the current SMS memory to use for read/delete/write operations
"Set the current SMS memory to use for read/delete/write operations"
214
false
faucamp/python-gsmmodem
_setSmsMemory
21,164
LDU_FT/rsmuc/health_monitoring_plugins/check
LDU_FT
[ "<BEGIN>\n## `check_ups_estimated_minutes_remaining`", "OID .1.3.6.1.2.1.33.1.2.3.0\n MIB excerpt\n An estimate of the time to battery charge depletion\n under the present load conditions if the utility power\n is off and remains off, or if it were to be lost and\n remain off.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Evaluate health status from device parameters.
"Evaluate health status from device parameters."
75
false
rsmuc/health_monitoring_plugins
check
21,165
LDU_FT/carlospalol/money/format
LDU_FT
[ "<BEGIN>\n## `install`", "Install an exchange rates backend using a python path string\n<END>", "<BEGIN>\n## `rate`", "Return quotation between the base and another currency\n<END>", "<BEGIN>\n## `quotation`", "Return quotation between two currencies (origin, target)\n<END>", "<BEGIN>\n## `to`", "Retu...
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 ...
Return a locale-aware, currency-formatted string. This method emulates babel.numbers.format_currency(). A specific locale identifier (language[_territory]) can be passed, otherwise the system's default locale will be used. A custom formatting pattern of the form "¤#,##0...
"Return a locale-aware, currency-formatted string.\n \n This method emulates babel.numbers.format_currency().\n \n A specific locale identifier (language[_territory]) can be passed,\n otherwise the system's default locale will be used. A custom\n formatting pattern of the form ...
16
false
carlospalol/money
format
21,166
LDU_FT/Microsoft/LightGBM/get_leaf_output
LDU_FT
[ "<BEGIN>\n## `check_dependicies`", "Check the dynamic symbol versions.", " Parameters\n ----------\n objdump_string : string\n The dynamic symbol table entries of the file (result of `objdump -T` command).\n<END>", "<BEGIN>\n## `_objective_function_wrapper`", "Decorate an objective function....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_leaf_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. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_leaf_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. The e...
Get the output of a leaf. Parameters ---------- tree_id : int The index of the tree. leaf_id : int The index of the leaf in the tree. Returns ------- result : float The output of the leaf.
"Get the output of a leaf.\n\n Parameters\n ----------\n tree_id : int\n The index of the tree.\n leaf_id : int\n The index of the leaf in the tree.\n\n Returns\n -------\n result : float\n The output of the leaf."
379
false
Microsoft/LightGBM
get_leaf_output
21,167
LDU_FT/dhain/potpy/parse_config
LDU_FT
[ "<BEGIN>\n## `inject`", "Inject arguments from context into a callable.", " :param func: The callable to inject arguments into.\n :param \\*\\*kwargs: Specify values to override context items.\n<END>", "<BEGIN>\n## `match`", "Match a string against the template.", " If the string matc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Parse a config file. Names referenced within the config file are found within the calling scope. For example:: >>> from potpy.configparser import parse_config >>> class foo: ... @staticmethod ... def bar(): ... pass ... >>> config = ''' ...
"Parse a config file.\n\n Names referenced within the config file are found within the calling\n scope. For example::\n\n >>> from potpy.configparser import parse_config\n >>> class foo:\n ... @staticmethod\n ... def bar():\n ... pass\n ...\n >>> co...
45
false
dhain/potpy
parse_config
21,168
LDU_FT/ungarj/tilematrix/affine
LDU_FT
[ "<BEGIN>\n## `tile`", "Return Tile object of this TilePyramid.", " - zoom: zoom level\n - row: tile matrix row\n - col: tile matrix column\n<END>", "<BEGIN>\n## `matrix_width`", "Tile matrix width (number of columns) at zoom level.", " - zoom: zoom level\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the affine API. 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 affine API. 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 an Affine object of tile. - pixelbuffer: tile buffer in pixels
"Return an Affine object of tile.\n\n - pixelbuffer: tile buffer in pixels"
71
false
ungarj/tilematrix
affine
21,169
LDU_FT/xoolive/traffic/tas2mach
LDU_FT
[ "<BEGIN>\n## `closest_point_of_approach`", "Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.", " In order to be computed efficiently, the method needs the following\n parameters:", " - projection: a firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tas2mach API. 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 tas2mach API. 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...
True airspeed (tas) to mach number conversion
"True airspeed (tas) to mach number conversion"
147
false
xoolive/traffic
tas2mach
21,170
LDU_FT/sass/libsass-python/compile
LDU_FT
[ "<BEGIN>\n## `build_directory`", "Compiles all Sass/SCSS files in ``path`` to CSS.", " :param sass_path: the path of the directory which contains source files\n to compile\n :type sass_path: :class:`str`, :class:`basestring`\n :param css_path: the path of the directory compiled CSS...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
r"""There are three modes of parameters :func:`compile()` can take: ``string``, ``filename``, and ``dirname``. The ``string`` parameter is the most basic way to compile Sass. It simply takes a string of Sass code, and then returns a compiled CSS string. :param string: Sass source code to compile. ...
"r\"\"\"There are three modes of parameters :func:`compile()` can take:\n ``string``, ``filename``, and ``dirname``.\n\n The ``string`` parameter is the most basic way to compile Sass.\n It simply takes a string of Sass code, and then returns a compiled\n CSS string.\n\n :param string: Sass source code t...
80
false
sass/libsass-python
compile
21,171
LDU_FT/neo4j-drivers/neobolt/update_routing_table_from
LDU_FT
[ "<BEGIN>\n## `watch`", "Quick wrapper for using the Watcher.", " :param logger_name: name of logger to watch\n :param level: minimum log level to show (default INFO)\n :param out: where to send output (default stdout)\n :return: Watcher instance\n<END>", "<BEGIN>\n## `get_user_agent`", "Obtain t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_routing_table_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_routing_table_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Try to update routing tables with the given routers. :return: True if the routing table is successfully updated, otherwise False
"Try to update routing tables with the given routers.\n\n :return: True if the routing table is successfully updated, otherwise False"
86
false
neo4j-drivers/neobolt
update_routing_table_from
21,172