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/rwl/pylon/get_neg_one_task_agent
LDU_FT
[ "<BEGIN>\n## `performAction`", "perform an action on the world that changes it's internal state\n (maybe stochastically).", " All you have to do is pull one of the arm and receive a payout. Each\n arm has a distribution of different payouts that are delivered with\n different probabi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_neg_one_task_agent 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_neg_one_task_agent 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 a task-agent tuple whose action is always minus one.
"Returns a task-agent tuple whose action is always minus one."
527
false
rwl/pylon
get_neg_one_task_agent
10,773
LDU_FT/stevearc/dql/add_query_kwargs
LDU_FT
[ "<BEGIN>\n## `field_or_value`", "For a clause that could be a field or value,\n create the right one and return it\n<END>", "<BEGIN>\n## `from_where`", "Factory method for creating the top-level expression\n<END>", "<BEGIN>\n## `_factory`", "Factory for joining constraints with a single conjunction\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_query_kwargs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_query_kwargs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Construct KeyConditionExpression and FilterExpression
"Construct KeyConditionExpression and FilterExpression"
157
false
stevearc/dql
add_query_kwargs
10,774
LDU_FT/tango-controls/pytango/remove
LDU_FT
[ "<BEGIN>\n## `get_object_executor`", "Returns the proper executor for the given object.", " If the object has *_executors* and *_green_mode* members it returns\n the submit callable for the executor corresponding to the green_mode.\n Otherwise it returns the global executor for the given green_mode.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Remove the first occurence of an item, the caseless way.
"Remove the first occurence of an item, the caseless way."
577
false
tango-controls/pytango
remove
10,775
LDU_FT/thefactory/marathon-python/create_app
LDU_FT
[ "<BEGIN>\n## `_parse_response`", "Parse a Marathon response into an object or list of objects.\n<END>", "<BEGIN>\n## `create_app`", "Create and start an app.", " :param str app_id: application ID\n :param :class:`marathon.models.app.MarathonApp` app: the application to create\n :param b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_app API. 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 create_app API. 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...
Create and start an app. :param str app_id: application ID :param :class:`marathon.models.app.MarathonApp` app: the application to create :param bool minimal: ignore nulls and empty collections :returns: the created app (on success) :rtype: :class:`marathon.models.app.MarathonA...
"Create and start an app.\n\n :param str app_id: application ID\n :param :class:`marathon.models.app.MarathonApp` app: the application to create\n :param bool minimal: ignore nulls and empty collections\n\n :returns: the created app (on success)\n :rtype: :class:`marathon.models.app.M...
146
false
thefactory/marathon-python
create_app
10,776
LDU_FT/manahl/arctic/restore_version
LDU_FT
[ "<BEGIN>\n## `delete`", "Delete all chunks for a symbol.", " Which are, for the moment, fully contained in the passed in\n date_range.", " Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Restore the specified 'symbol' data and metadata to the state of a given version/snapshot/date. Returns a VersionedItem object only with a metadata element. Fast operation: Zero data/segment read/write operations. Parameters ---------- symbol : `str` symbol name for ...
"Restore the specified 'symbol' data and metadata to the state of a given version/snapshot/date.\n Returns a VersionedItem object only with a metadata element.\n Fast operation: Zero data/segment read/write operations.\n\n Parameters\n ----------\n symbol : `str`\n symbol n...
429
false
manahl/arctic
restore_version
10,777
LDU_FT/MozillaSecurity/fuzzfetch/_artifact_base
LDU_FT
[ "<BEGIN>\n## `_si`", "Format a number using base-2 SI prefixes\n<END>", "<BEGIN>\n## `_extract_file`", "Extract files while explicitly setting the proper permissions\n<END>", "<BEGIN>\n## `build_string`", "Taskcluster denotes builds in one of two formats - i.e. linux64-asan or linux64-asan-opt\n Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _artifact_base API. 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 _artifact_base API. 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...
Build the artifact basename Builds are base.tar.bz2, info is base.json, shell is base.jsshell.zip...
"Build the artifact basename\n Builds are base.tar.bz2, info is base.json, shell is base.jsshell.zip..."
60
false
MozillaSecurity/fuzzfetch
_artifact_base
10,778
LDU_FT/openid/python-openid/getAssociation
LDU_FT
[ "<BEGIN>\n## `queryURL`", "Build a URL to query the proxy resolver.", " @param xri: An XRI to resolve.\n @type xri: unicode", " @param service_type: The service type to resolve, if you desire\n service endpoint selection. A service type is a URI.\n @type service_type: s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAssociation API. 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 getAssociation API. 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...
Retrieve an association. If no handle is specified, return the association with the latest expiration. (str, str or NoneType) -> Association or NoneType
"Retrieve an association. If no handle is specified, return\n the association with the latest expiration.\n\n (str, str or NoneType) -> Association or NoneType"
828
false
openid/python-openid
getAssociation
10,779
LDU_FT/coghost/izen/_sem_crawl
LDU_FT
[ "<BEGIN>\n## `encrypt`", "简单封装系统加密", " :param plain: 待加密内容\n :type plain: ``str/bytes``\n :param algorithm: 加密算法\n :type algorithm: str\n :return:\n :rtype:\n<END>", "<BEGIN>\n## `aes_obj`", "生成aes加密所需要的 ``key, iv``", " .. warning:: 每个AES.new对象, 只能使用一次", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sem_crawl API. 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 _sem_crawl API. 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...
use semaphore ``encapsulate`` the crawl_media \n with async crawl, should avoid crawl too fast to become DDos attack to the crawled server should set the ``semaphore size``, and take ``a little gap`` between each crawl behavior. :param sem: the size of semaphore :type sem: :para...
"use semaphore ``encapsulate`` the crawl_media \\n\n with async crawl, should avoid crawl too fast to become DDos attack to the crawled server\n should set the ``semaphore size``, and take ``a little gap`` between each crawl behavior.\n\n :param sem: the size of semaphore\n :type sem:\n ...
273
false
coghost/izen
_sem_crawl
10,780
LDU_FT/mohamedattahri/PyXMLi/duplicate
LDU_FT
[ "<BEGIN>\n## `c14n`", "Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>", "<BEGIN>\n## `sign`", "Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the duplicate API. 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 duplicate API. 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 copy of the current address. @returns: Address
"Returns a copy of the current address.\n @returns: Address"
102
false
mohamedattahri/PyXMLi
duplicate
10,781
LDU_FT/michaeljohnbarr/django-timezone-utils/_check_choices_attribute
LDU_FT
[ "<BEGIN>\n## `get_choices`", "Retrieves timezone choices from any iterable (normally pytz).\n<END>", "<BEGIN>\n## `validate`", "Validates value and throws ValidationError. Subclasses should override\n this to provide validation logic.\n<END>", "<BEGIN>\n## `get_prep_value`", "Converts timezone inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_choices_attribute 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 _check_choices_attribute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Checks to make sure that choices contains valid timezone choices.
"Checks to make sure that choices contains valid timezone choices."
28
false
michaeljohnbarr/django-timezone-utils
_check_choices_attribute
10,782
LDU_FT/bjmorgan/vasppy/lengths
LDU_FT
[ "<BEGIN>\n## `md5sum`", "Generate the md5 checksum for a string", " Args:\n string (Str): The string to be checksummed.", " Returns:\n (Str): The hex checksum.\n<END>", "<BEGIN>\n## `file_md5`", "Generate the md5 checksum for a file", " Args:\n filename (Str): The file to b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lengths API. 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 lengths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
The cell lengths. Args: None Returns: (np.array(a,b,c)): The cell lengths.
"The cell lengths.\n\n Args:\n None\n\n Returns:\n (np.array(a,b,c)): The cell lengths."
174
false
bjmorgan/vasppy
lengths
10,783
LDU_FT/duniter/duniter-python-api/from_inline
LDU_FT
[ "<BEGIN>\n## `from_signed_raw`", "Return Certification instance from signed raw document", " :param signed_raw: Signed raw document\n :return:\n<END>", "<BEGIN>\n## `from_inline`", "Return Certification instance from inline document", " Only self.pubkey_to is populated.\n You m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_inline API. 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 from_inline API. 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 UnknownEndpoint instance from endpoint string :param inline: Endpoint string :return:
"Return UnknownEndpoint instance from endpoint string\n\n :param inline: Endpoint string\n :return:"
415
false
duniter/duniter-python-api
from_inline
10,784
LDU_FT/nickmilon/Hellas/color_code
LDU_FT
[ "<BEGIN>\n## `logging_format`", "returns a format\n :parameter:\n - str style: defines style of output format (defaults to txt)\n - txt plain text\n - dict like text which can be casted to dict\n<END>", "<BEGIN>\n## `logger_multi`", "a logger that logs to file as well as as scr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color_code API. 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 color_code API. 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 code for color :param tuple_or_code color: either a tuple as in colors.values or a string key to colors dictionary
"returns code for color\n :param tuple_or_code color: either a tuple as in colors.values or a string key to colors dictionary"
71
false
nickmilon/Hellas
color_code
10,785
LDU_FT/cyrus-/cypy/lazy
LDU_FT
[ "<BEGIN>\n## `packed`", "each row is placed side-by-side with the length of the row interlaced\n the head of the packed matrix contains offsets to this length\n e.g. [[11, 22, 33], [44, 55], []] => [3, 7, 10, 3, 11, 22, 33, 2, 44, 55, 0]\n<END>", "<BEGIN>\n## `reversed`", "Create a connectivity ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lazy API. 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 lazy API. 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...
A descriptor modifier which caches the result of __get__.
"A descriptor modifier which caches the result of __get__."
209
false
cyrus-/cypy
lazy
10,786
LDU_FT/dpgaspar/Flask-AppBuilder/has_access_api
LDU_FT
[ "<BEGIN>\n## `dict_to_json`", "Converts a list of dicts from datamodel query results\n to google chart json data.", " :param xcol:\n The name of a string column to be used has X axis on chart\n :param ycols:\n A list with the names of series cols, that can be used as n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_access_api API. 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 has_access_api API. 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...
Use this decorator to enable granular security permissions to your API methods. Permissions will be associated to a role, and roles are associated to users. By default the permission's name is the methods name. this will return a message and HTTP 401 is case of unauthorized access.
"Use this decorator to enable granular security permissions to your API methods.\n Permissions will be associated to a role, and roles are associated to users.\n\n By default the permission's name is the methods name.\n\n this will return a message and HTTP 401 is case of unauthorized access."
393
false
dpgaspar/Flask-AppBuilder
has_access_api
10,787
LDU_FT/dmlc/gluon-nlp/parameter_from_numpy
LDU_FT
[ "<BEGIN>\n## `train`", "Train textCNN model for sentiment analysis.\n<END>", "<BEGIN>\n## `embedding`", "Get tokens, tokens embedding", " Parameters\n ----------\n sentences : List[str]\n sentences for encoding.\n oov_way : str, default avg.\n use **avg**, *...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameter_from_numpy 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 parameter_from_numpy 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 parameter with its value initialized according to a numpy tensor Parameters ---------- name : str parameter name array : np.ndarray initiation value Returns ------- mxnet.gluon.parameter a parameter object
"Create parameter with its value initialized according to a numpy tensor\n\n Parameters\n ----------\n name : str\n parameter name\n array : np.ndarray\n initiation value\n\n Returns\n -------\n mxnet.gluon.parameter\n a parameter object"
801
false
dmlc/gluon-nlp
parameter_from_numpy
10,788
LDU_FT/ncclient/ncclient/parse
LDU_FT
[ "<BEGIN>\n## `request`", "Retrieve running configuration and device state information.", " *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)", " :seealso: :ref:`filter_params`\n<END>", "<BEGIN>\n## `request`", "command text\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns tuple of (session-id (str), capabilities (Capabilities)
"Returns tuple of (session-id (str), capabilities (Capabilities)"
179
false
ncclient/ncclient
parse
10,789
LDU_FT/vatlab/SoS/workflow
LDU_FT
[ "<BEGIN>\n## `process_request`", "port is the open port at the worker, num_pending is the num_pending of stack.\n A non-zero num_pending means that the worker is pending on something while\n looking for new job, so the worker should not be killed.\n<END>", "<BEGIN>\n## `check_workers`", "Kill wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the workflow API. 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 workflow API. 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 workflow with name_step+name_step specified in wf_name This function might be called recursively because of nested workflow.
"Return a workflow with name_step+name_step specified in wf_name\n This function might be called recursively because of nested\n workflow."
193
false
vatlab/SoS
workflow
10,790
LDU_FT/jhuapl-boss/intern/_get_resource_params
LDU_FT
[ "<BEGIN>\n## `list_groups`", "Get the groups the logged in user is a member of.", " Optionally filter by 'member' or 'maintainer'.", " Args:\n filtr (string|None): ['member'|'maintainer'] or defaults to None.\n url_prefix (string): Protocol + host such as https://api.thebos...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_resource_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_resource_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get dictionary containing all parameters for the given resource. When getting params for a coordinate frame update, only name and description are returned because they are the only fields that can be updated. Args: resource (intern.resource.boss.resource.BossResource): A su...
"Get dictionary containing all parameters for the given resource.\n\n When getting params for a coordinate frame update, only name and\n description are returned because they are the only fields that can\n be updated.\n\n Args:\n resource (intern.resource.boss.resource.BossResourc...
451
false
jhuapl-boss/intern
_get_resource_params
10,791
LDU_FT/matthewdeanmartin/jiggle_version/read_setup_py_source
LDU_FT
[ "<BEGIN>\n## `require_python`", "Require at least a minimum Python version.", " The version number is expressed in terms of `sys.hexversion`. E.g. to\n require a minimum of Python 2.6, use::", " >>> require_python(0x206000f0)", " :param minimum: Minimum Python version supported.\n :type mini...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_setup_py_source API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_setup_py_source API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Read setup.py to string :return:
"Read setup.py to string\n :return:"
124
false
matthewdeanmartin/jiggle_version
read_setup_py_source
10,792
LDU_FT/GoogleCloudPlatform/appengine-gcs-client/do_request_async
LDU_FT
[ "<BEGIN>\n## `check_status`", "Check HTTP response status is expected.", " Args:\n status: HTTP response status. int.\n expected: a list of expected statuses. A list of ints.\n path: filename or a path prefix.\n headers: HTTP request headers.\n resp_headers: HTTP response headers.\n body: HTT...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_request_async API. 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 do_request_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Inherit docs. This method translates urlfetch exceptions to more service specific ones.
"Inherit docs.\n\n This method translates urlfetch exceptions to more service specific ones."
270
false
GoogleCloudPlatform/appengine-gcs-client
do_request_async
10,793
LDU_FT/plandes/actioncli/instance
LDU_FT
[ "<BEGIN>\n## `populate`", "Set attributes in ``obj`` with ``setattr`` from the all values in\n ``section``.\n<END>", "<BEGIN>\n## `_get_calling_module`", "Get the last module in the call stack that is not this module or ``None`` if\n the call originated from this module.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instance API. 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 instance API. 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...
Create an instance of the specified class in the initializer. :param args: the arguments given to the initializer of the new class :param kwargs: the keyword arguments given to the initializer of the new class
"Create an instance of the specified class in the initializer.\n\n :param args: the arguments given to the initializer of the new class\n :param kwargs: the keyword arguments given to the initializer of the\n new class"
67
false
plandes/actioncli
instance
10,794
LDU_FT/lwcook/horsetail-matching/_matrix_integration
LDU_FT
[ "<BEGIN>\n## `_extalg`", "Given an array xarr of values, smoothly return the max/min\n<END>", "<BEGIN>\n## `_extgrad`", "Given an array xarr of values, return the gradient of the smooth min/max\n swith respect to each entry in the array\n<END>", "<BEGIN>\n## `_matrix_integration`", "Returns the dp metr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _matrix_integration 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 _matrix_integration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns the dp metric for a single horsetail curve at a given value of the epistemic uncertainties
"Returns the dp metric for a single horsetail\n curve at a given value of the epistemic uncertainties"
90
false
lwcook/horsetail-matching
_matrix_integration
10,795
LDU_FT/ethan92429/onshapepy/get_features
LDU_FT
[ "<BEGIN>\n## `log`", "Logs a message to the console, with optional level paramater", " Args:\n - msg (str): message to send to console\n - level (int): log level; 0 for info, 1 for error (default = 0)\n<END>", "<BEGIN>\n## `parse_quantity`", "Parse an OnShape units definition\n Args:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_features API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_features API. 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...
Gets the feature list for specified document / workspace / part studio. Args: - did (str): Document ID - wid (str): Workspace ID - eid (str): Element ID Returns: - requests.Response: Onshape response data
"Gets the feature list for specified document / workspace / part studio.\n\n Args:\n - did (str): Document ID\n - wid (str): Workspace ID\n - eid (str): Element ID\n\n Returns:\n - requests.Response: Onshape response data"
93
false
ethan92429/onshapepy
get_features
10,796
LDU_FT/tomturner/django-tenants/set_schema_to_public
LDU_FT
[ "<BEGIN>\n## `get_table_list`", "Returns a list of table names in the current database and schema.\n<END>", "<BEGIN>\n## `get_table_description`", "Returns a description of the table, with the DB-API cursor.description interface.\n<END>", "<BEGIN>\n## `delete`", "Deletes this row. Drops the tenant's schem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_schema_to_public 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 set_schema_to_public API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Instructs to stay in the common 'public' schema.
"Instructs to stay in the common 'public' schema."
50
false
tomturner/django-tenants
set_schema_to_public
10,797
LDU_FT/CodyKochmann/graphdb/store_item
LDU_FT
[ "<BEGIN>\n## `graph_hash`", "this hashes all types to a hash without colissions. python's hashing algorithms are not cross type compatable but hashing tuples with the type as the first element seems to do the trick\n<END>", "<BEGIN>\n## `store_item`", "use this function to store a python object in the databas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_item API. 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 store_item API. 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...
use this function to store a python object in the database
"use this function to store a python object in the database"
44
false
CodyKochmann/graphdb
store_item
10,798
LDU_FT/polyaxon/polyaxon/start
LDU_FT
[ "<BEGIN>\n## `on_failure`", "Update query status and send email notification to a user\n<END>", "<BEGIN>\n## `on_success`", "Send email notification and a file, if requested to do so by a user\n<END>", "<BEGIN>\n## `user_write_events`", "Return event types where use acted on an object.", " The wr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Start the celery task of this operation.
"Start the celery task of this operation."
270
false
polyaxon/polyaxon
start
10,799
LDU_FT/tagcubeio/tagcube-cli/create_resource
LDU_FT
[ "<BEGIN>\n## `create_scans`", "This method is rather simple, it will group the urls to be scanner together\n based on (protocol, domain and port).", " :param urls_file: The filename with all the URLs\n :return: A list of scans to be run\n<END>", "<BEGIN>\n## `parse_url`", "Parse a URL into the part...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_resource API. 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 create_resource API. 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...
Shortcut for creating a new resource :return: The newly created resource as a Resource object
"Shortcut for creating a new resource\n :return: The newly created resource as a Resource object"
72
false
tagcubeio/tagcube-cli
create_resource
10,800
LDU_FT/sixty-north/added-value/tabulate_body
LDU_FT
[ "<BEGIN>\n## `make_repr_node`", "Render a Python object to text using the repr() function.", " :param rawtext: Text being replaced with link node.\n :param app: Sphinx application context\n :param prefixed_name: The dotted Python name for obj.\n :param obj: The Python object to be rendered to text.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tabulate_body API. 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 tabulate_body API. 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...
Args: v_level_indexes: A sequence of level indexes. h_level_indexes: A sequence of level indexes.
"Args:\n v_level_indexes: A sequence of level indexes.\n h_level_indexes: A sequence of level indexes."
66
false
sixty-north/added-value
tabulate_body
10,801
LDU_FT/hufman/flask_rdf/get_graph
LDU_FT
[ "<BEGIN>\n## `output`", "Formats a response from a view to handle any RDF graphs\n\t\t If a view function returns an RDF graph, serialize it based on Accept header\n\t\t If it's not an RDF graph, return it without any special handling\n<END>", "<BEGIN>\n## `decorate`", "Wraps a view function to return f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Given a Flask response, find the rdflib Graph
"Given a Flask response, find the rdflib Graph"
26
false
hufman/flask_rdf
get_graph
10,802
LDU_FT/kervi/kervi-core/add
LDU_FT
[ "<BEGIN>\n## `set_channels`", "Sets the state of multiple channels in one operation.", " :param channels:\n A dictionary where keys are channels and values the value to set for each channel.", " :type channels: ``dict``\n<END>", "<BEGIN>\n## `action`", "Decorator that turns a func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. 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 add API. 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...
Factory function that creates a value. :param value_id: id of the value, used to reference the value within this list.BaseException :param value_class: The class of the value that should be created with this function.
"Factory function that creates a value.\n\n :param value_id: id of the value, used to reference the value within this list.BaseException\n\n :param value_class: The class of the value that should be created with this function."
101
false
kervi/kervi-core
add
10,803
LDU_FT/diging/tethne/serializeCitation
LDU_FT
[ "<BEGIN>\n## `to_dxgmml`", "Writes a :class:`.GraphCollection` to\n `dynamic XGMML. <https://code.google.com/p/dynnetwork/wiki/DynamicXGMML>`_.", " Dynamic XGMML is a schema for describing dynamic networks in Cytoscape 3.0.\n This method assumes that `Graph` indices are orderable points in time\n (e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serializeCitation API. 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 serializeCitation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
This method creates a fixture for the "django-tethne_citation" model. Returns ------- citation details which can be written to a file
"This method creates a fixture for the \"django-tethne_citation\" model.\n\n Returns\n -------\n citation details which can be written to a file"
497
false
diging/tethne
serializeCitation
10,804
LDU_FT/Dallinger/Dallinger/new_recruit
LDU_FT
[ "<BEGIN>\n## `setup`", "Setup the networks.", " Setup only does stuff if there are no networks, this is so it only\n runs once at the start of the experiment. It first calls the same\n function in the super (see experiments.py in dallinger). Then it adds a\n source to each network.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_recruit API. 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 new_recruit API. 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...
Dispatched to by notify(). If a recruitment request has been issued, open a browser window for the a new participant (in this case the person doing local debugging).
"Dispatched to by notify(). If a recruitment request has been issued,\n open a browser window for the a new participant (in this case the\n person doing local debugging)."
425
false
Dallinger/Dallinger
new_recruit
10,805
LDU_FT/nyrkovalex/httpsrv/always
LDU_FT
[ "<BEGIN>\n## `status`", "Respond with given status and no content", " :type status: int\n :param status: status code to return", " :type headers: dict\n :param headers: dictionary of headers to add to response", " :returns: itself\n :rtype: Rule\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the always API. 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 always API. 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 ...
Sends response every time matching parameters are found util :func:`Server.reset` is called :type method: str :param method: request method: ``'GET'``, ``'POST'``, etc. can be some custom string :type path: str :param path: request path including query parameters :type headers...
"Sends response every time matching parameters are found util :func:`Server.reset` is called\n\n :type method: str\n :param method: request method: ``'GET'``, ``'POST'``, etc. can be some custom string\n\n :type path: str\n :param path: request path including query parameters\n\n :typ...
49
false
nyrkovalex/httpsrv
always
10,806
LDU_FT/shazow/workerpool/put
LDU_FT
[ "<BEGIN>\n## `put`", "Perform a job by a member in the pool and return the result.\n<END>", "<BEGIN>\n## `contract`", "Perform a contract on a number of jobs and block until a result is\n retrieved for each job.\n<END>", "<BEGIN>\n## `shrink`", "Get rid of one worker from the pool. Raises IndexErro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API. 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 put API. 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...
Perform a job by a member in the pool and return the result.
"Perform a job by a member in the pool and return the result."
10
false
shazow/workerpool
put
10,807
LDU_FT/mozilla/amo-validator/get_object
LDU_FT
[ "<BEGIN>\n## `decode`", "Decode data employing some charset detection and including unicode BOM\n stripping.\n<END>", "<BEGIN>\n## `get_context`", "Returns a tuple containing the context for a line\n<END>", "<BEGIN>\n## `_format_line`", "Formats a line from the data to be the appropriate length\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object API. 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_object API. 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...
Eliminates some of the glue code for searching RDF. Pass in a URIRef object (generated by the `uri` function above or a BNode object (returned by this function) for either of the parameters.
"Eliminates some of the glue code for searching RDF. Pass\n in a URIRef object (generated by the `uri` function above or\n a BNode object (returned by this function) for either of the\n parameters."
94
false
mozilla/amo-validator
get_object
10,808
LDU_FT/madmaze/pytesseract/image_to_data
LDU_FT
[ "<BEGIN>\n## `cleanup`", "Tries to remove temp files by filename wildcard path.\n<END>", "<BEGIN>\n## `get_tesseract_version`", "Returns LooseVersion object of the Tesseract version\n<END>", "<BEGIN>\n## `image_to_string`", "Returns the result of a Tesseract OCR run on the provided image to string\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_to_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 image_to_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...
Returns string containing box boundaries, confidences, and other information. Requires Tesseract 3.05+
"Returns string containing box boundaries, confidences,\n and other information. Requires Tesseract 3.05+"
12
false
madmaze/pytesseract
image_to_data
10,809
LDU_FT/rycus86/prometheus_flask_exporter/counter
LDU_FT
[ "<BEGIN>\n## `start_http_server`", "Start an HTTP server for exposing the metrics, if the\n `should_start_http_server` function says we should, otherwise just return.\n Uses the implementation from `prometheus_client` rather than a Flask app.", " :param port: the HTTP port to expose the met...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the counter API. 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 counter API. 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...
Use a Counter to track the total number of invocations of the method. :param name: the name of the metric :param description: the description of the metric :param labels: a dictionary of `{labelname: callable_or_value}` for labels :param kwargs: additional keyword arguments for creating...
"Use a Counter to track the total number of invocations of the method.\n\n :param name: the name of the metric\n :param description: the description of the metric\n :param labels: a dictionary of `{labelname: callable_or_value}` for labels\n :param kwargs: additional keyword arguments for cr...
42
false
rycus86/prometheus_flask_exporter
counter
10,810
LDU_FT/dwavesystems/dimod/sample
LDU_FT
[ "<BEGIN>\n## `sample`", "Give random samples for a binary quadratic model.", " Variable assignments are chosen by coin flip.", " Args:\n bqm (:obj:`.BinaryQuadraticModel`):\n Binary quadratic model to be sampled from.", " num_reads (int, optional, default=1...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample API. 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 sample API. 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 ...
Sample from the binary quadratic model. Args: bqm (:obj:`~dimod.BinaryQuadraticModel`): Binary quadratic model to be sampled from. num_spin_reversal_transforms (integer, optional, default=2): Number of spin reversal transform runs. spin_reve...
"Sample from the binary quadratic model.\n\n Args:\n bqm (:obj:`~dimod.BinaryQuadraticModel`):\n Binary quadratic model to be sampled from.\n\n num_spin_reversal_transforms (integer, optional, default=2):\n Number of spin reversal transform runs.\n\n ...
908
false
dwavesystems/dimod
sample
10,811
LDU_FT/jleclanche/fireplace/get_spell_damage
LDU_FT
[ "<BEGIN>\n## `get_spell_damage`", "Returns the amount of damage \\a amount will do, taking\n\t\tSPELLPOWER and SPELLPOWER_DOUBLE into account.\n<END>", "<BEGIN>\n## `can_pay_cost`", "Returns whether the player can pay the resource cost of a card.\n<END>", "<BEGIN>\n## `pay_cost`", "Make player pay \\a amo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_spell_damage API. 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_spell_damage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the amount of damage \a amount will do, taking SPELLPOWER and SPELLPOWER_DOUBLE into account.
"Returns the amount of damage \\a amount will do, taking\n\t\tSPELLPOWER and SPELLPOWER_DOUBLE into account."
52
false
jleclanche/fireplace
get_spell_damage
10,812
LDU_FT/twilio/twilio-python/stream
LDU_FT
[ "<BEGIN>\n## `stream`", "Streams KeyInstance records from the API as a generator stream.\n This operation lazily loads records as efficiently as possible until the limit\n is reached.\n The results are returned as a generator, so this operation is memory efficient.", " :param int lim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream API. 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 stream API. 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 ...
Streams SubscribedTrackInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient. :param datetime date_created_after: The ...
"Streams SubscribedTrackInstance records from the API as a generator stream.\n This operation lazily loads records as efficiently as possible until the limit\n is reached.\n The results are returned as a generator, so this operation is memory efficient.\n\n :param datetime date_created_after...
4,304
true
twilio/twilio-python
stream
10,813
LDU_FT/nuagenetworks/monolithe/_set_enum_list_local_type
LDU_FT
[ "<BEGIN>\n## `raiseError`", "Print an error message", " Args:\n message: the message to print\n<END>", "<BEGIN>\n## `json`", "Print a nice JSON output", " Args:\n message: the message to print\n<END>", "<BEGIN>\n## `to_dict`", "Transform the current ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_enum_list_local_type 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 _set_enum_list_local_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
This method is needed until get_type_name() is enhanced to include specification subtype and local_name
"This method is needed until get_type_name() is enhanced to include specification subtype and local_name"
69
false
nuagenetworks/monolithe
_set_enum_list_local_type
10,814
LDU_FT/ReadabilityHoldings/python-readability-api/cast_datetime_filter
LDU_FT
[ "<BEGIN>\n## `cast_datetime_filter`", "Cast a datetime filter value.", " :param value: string representation of a value that needs to be casted to\n a `datetime` object.\n<END>", "<BEGIN>\n## `filter_args_to_dict`", "Cast and validate filter args.", " :param filter_dict: Filter kwargs\n :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast_datetime_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast_datetime_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Cast a datetime filter value. :param value: string representation of a value that needs to be casted to a `datetime` object.
"Cast a datetime filter value.\n\n :param value: string representation of a value that needs to be casted to\n a `datetime` object."
83
false
ReadabilityHoldings/python-readability-api
cast_datetime_filter
10,815
LDU_FT/nakagami/pyfirebirdsql/client_session
LDU_FT
[ "<BEGIN>\n## `client_seed`", "A: Client public key\n a: Client private key\n<END>", "<BEGIN>\n## `server_seed`", "B: Server public key\n b: Server private key\n<END>", "<BEGIN>\n## `client_session`", "Client session secret\n Both: u = H(A, B)", " User: x = H(s, p) ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client_session API. 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 client_session API. 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...
Client session secret Both: u = H(A, B) User: x = H(s, p) (user enters password) User: S = (B - kg^x) ^ (a + ux) (computes session key) User: K = H(S)
"Client session secret\n Both: u = H(A, B)\n\n User: x = H(s, p) (user enters password)\n User: S = (B - kg^x) ^ (a + ux) (computes session key)\n User: K = H(S)"
16
false
nakagami/pyfirebirdsql
client_session
10,816
LDU_FT/pydata/xarray/interp_like
LDU_FT
[ "<BEGIN>\n## `_infer_coords_and_dims`", "All the logic for creating a new DataArray\n<END>", "<BEGIN>\n## `to_dataset`", "Convert a DataArray to a Dataset.", " Parameters\n ----------\n dim : str, optional\n Name of the dimension on this array along which to split this array\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interp_like API. 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 interp_like API. 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...
Interpolate this object onto the coordinates of another object, filling out of range values with NaN. Parameters ---------- other : Dataset or DataArray Object with an 'indexes' attribute giving a mapping from dimension names to an 1d array-like, which provides c...
"Interpolate this object onto the coordinates of another object,\n filling out of range values with NaN.\n\n Parameters\n ----------\n other : Dataset or DataArray\n Object with an 'indexes' attribute giving a mapping from dimension\n names to an 1d array-like, which pr...
2,080
true
pydata/xarray
interp_like
10,817
LDU_FT/ladybug-tools/ladybug/from_values
LDU_FT
[ "<BEGIN>\n## `project`", "Return one vector projected on the vector other\n<END>", "<BEGIN>\n## `rotate_around`", "Return the vector rotated around axis through angle theta.", " Right hand rule applies.\n<END>", "<BEGIN>\n## `to_ip`", "Return values in IP and the units to which the values have be...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Create wea from a list of irradiance values. This method converts input lists to data collection.
"Create wea from a list of irradiance values.\n\n This method converts input lists to data collection."
743
false
ladybug-tools/ladybug
from_values
10,818
LDU_FT/openthread/openthread/_readline
LDU_FT
[ "<BEGIN>\n## `wait_until`", "Wait until `what` return True", " Args:\n what (Callable[bool]): Call `wait()` again and again until it returns True\n times (int): Maximum times of trials before giving up", " Returns:\n True if success, False if times threshold reached\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _readline API. 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 _readline API. 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...
Read exactly one line from the device, nonblocking. Returns: None on no data
"Read exactly one line from the device, nonblocking.\n\n Returns:\n None on no data"
403
false
openthread/openthread
_readline
10,819
LDU_FT/horejsek/python-webdriverwrapper/wait_for_element_show
LDU_FT
[ "<BEGIN>\n## `expected_error_page`", "Decorator expecting defined error page at the end of test method. As param\n use what :py:meth:`~.WebdriverWrapperErrorMixin.get_error_page`\n returns.", " .. versionadded:: 2.0\n Before this decorator was called ``ShouldBeErrorPage``.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_element_show 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 wait_for_element_show API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Shortcut for waiting for visible element. If it not ends with exception, it returns that element. Detault timeout is `~.default_wait_timeout`. Same as following: .. code-block:: python selenium.webdriver.support.wait.WebDriverWait(driver, timeout).until(lambda driver: driver.get_el...
"Shortcut for waiting for visible element. If it not ends with exception, it\n returns that element. Detault timeout is `~.default_wait_timeout`.\n Same as following:\n\n .. code-block:: python\n\n selenium.webdriver.support.wait.WebDriverWait(driver, timeout).until(lambda driver: driver...
120
false
horejsek/python-webdriverwrapper
wait_for_element_show
10,820
LDU_FT/0k/kids.cmd/get_obj_subcmds
LDU_FT
[ "<BEGIN>\n## `get_obj_subcmds`", "Fetch action in callable attributes which and commands", " Callable must have their attribute 'command' set to True to\n be recognised by this lookup.", " Please consider using the decorator ``@cmd`` to declare your\n subcommands in classes for instance.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_obj_subcmds API. 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_obj_subcmds API. 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...
Fetch action in callable attributes which and commands Callable must have their attribute 'command' set to True to be recognised by this lookup. Please consider using the decorator ``@cmd`` to declare your subcommands in classes for instance.
"Fetch action in callable attributes which and commands\n\n Callable must have their attribute 'command' set to True to\n be recognised by this lookup.\n\n Please consider using the decorator ``@cmd`` to declare your\n subcommands in classes for instance."
26
false
0k/kids.cmd
get_obj_subcmds
10,821
LDU_FT/happyleavesaoc/python-firetv/device_connect
LDU_FT
[ "<BEGIN>\n## `_dump`", "Perform a service dump.", " :param service: Service to dump.\n :param grep: Grep for this string.\n :returns: Dump, optionally grepped.\n<END>", "<BEGIN>\n## `_dump_has`", "Check if a dump has particular content.", " :param service: Service to dump.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the device_connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the device_connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Force a connection attempt via HTTP GET.
"Force a connection attempt via HTTP GET."
43
false
happyleavesaoc/python-firetv
device_connect
10,822
LDU_FT/miLibris/flask-rest-jsonapi/name
LDU_FT
[ "<BEGIN>\n## `_get_key_values`", "Return a dict containing key / values items for a given key, used for items like filters, page, etc.", " :param str name: name of the querystring parameter\n :return dict: a dict of key / values items\n<END>", "<BEGIN>\n## `querystring`", "Return original quer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return the name of the node or raise a BadRequest exception :return str: the name of the field to filter on
"Return the name of the node or raise a BadRequest exception\n\n :return str: the name of the field to filter on"
149
false
miLibris/flask-rest-jsonapi
name
10,823
LDU_FT/pip-services3-python/pip-services3-components-python/configure
LDU_FT
[ "<BEGIN>\n## `configure`", "Configures component by passing configuration parameters.", " :param config: configuration parameters to be set.\n<END>", "<BEGIN>\n## `can_create`", "Checks if this factory is able to create component by given locator.", " This method searches for all registered ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Configures component by passing configuration parameters. :param config: configuration parameters to be set.
"Configures component by passing configuration parameters.\n\n :param config: configuration parameters to be set."
272
false
pip-services3-python/pip-services3-components-python
configure
10,824
LDU_FT/teffland/pytorch-monitor/remove_grad_hooks
LDU_FT
[ "<BEGIN>\n## `set_monitor`", "Defines the monitor method on the module.\n<END>", "<BEGIN>\n## `set_monitoring`", "Defines the monitoring method on the module.\n<END>", "<BEGIN>\n## `remove_grad_hooks`", "Remove gradient hooks to all of the parameters and monitored vars\n<END>", "<BEGIN>\n## `get_monitor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_grad_hooks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_grad_hooks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Remove gradient hooks to all of the parameters and monitored vars
"Remove gradient hooks to all of the parameters and monitored vars"
13
false
teffland/pytorch-monitor
remove_grad_hooks
10,825
LDU_FT/Microsoft/knack/command
LDU_FT
[ "<BEGIN>\n## `ensure_new_style_deprecation`", "Helper method to make the previous string-based deprecate_info kwarg\n work with the new style.\n<END>", "<BEGIN>\n## `prompt_choice_list`", "Prompt user to select from a list of possible choices.", " :param msg:A message displayed to the user bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API. 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 command API. 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...
Register a command into the command table :param name: The name of the command :type name: str :param handler_name: The name of the handler that will be applied to the operations template :type handler_name: str :param kwargs: Kwargs to apply to the command. ...
"Register a command into the command table\n\n :param name: The name of the command\n :type name: str\n :param handler_name: The name of the handler that will be applied to the operations template\n :type handler_name: str\n :param kwargs: Kwargs to apply to the command.\n ...
88
false
Microsoft/knack
command
10,826
LDU_FT/optimizely/python-sdk/evaluate
LDU_FT
[ "<BEGIN>\n## `is_datafile_valid`", "Given a datafile determine if it is valid or not.", " Args:\n datafile: JSON string representing the project.", " Returns:\n Boolean depending upon whether datafile is valid or not.\n<END>", "<BEGIN>\n## `is_user_profile_valid`", "Determine if provided user prof...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API. 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 evaluate API. 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...
Given a custom attribute audience condition and user attributes, evaluate the condition against the attributes. Args: index: Index of the condition to be evaluated. Returns: Boolean: - True if the user attributes match the given condition. - False if the user attributes don...
"Given a custom attribute audience condition and user attributes, evaluate the\n condition against the attributes.\n\n Args:\n index: Index of the condition to be evaluated.\n\n Returns:\n Boolean:\n - True if the user attributes match the given condition.\n - False if the user attr...
302
false
optimizely/python-sdk
evaluate
10,827
LDU_FT/b3j0f/conf/parse
LDU_FT
[ "<BEGIN>\n## `pathresource`", "Returns specific resource.", " :param str rscpath: resource path.\n :param Logger logger: logger to use.\n :param bool error: raise internal error if True (False by default).\n :param bool force: create the resource even if rscpath does not exist.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parser which delegates parsing to expression or format parser.
"Parser which delegates parsing to expression or format parser."
151
false
b3j0f/conf
parse
10,828
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/start_stream
LDU_FT
[ "<BEGIN>\n## `update_get_params`", "Update HTTP GET params with the given fields that user wants to fetch.\n<END>", "<BEGIN>\n## `_fetch_meta_data`", "Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>", "<BEGIN>\n## `_populate_data`", "Assing some probe's raw meta da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_stream API. 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 start_stream API. 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...
Starts new stream for given type with given parameters
"Starts new stream for given type with given parameters"
62
false
RIPE-NCC/ripe-atlas-cousteau
start_stream
10,829
LDU_FT/sbarham/dsrt/vectorize_dialogue
LDU_FT
[ "<BEGIN>\n## `predict`", "Take in an integer-vectorized (i.e., index) vector, and predict the maximally\n likely response, returning it as an integer-vectorized (i.e., index) vector.\n<END>", "<BEGIN>\n## `pad_dialogues`", "Pad the entire dataset.\n This involves adding padding at the end of eac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vectorize_dialogue 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 vectorize_dialogue 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...
Take in a dialogue (a sequence of tokenized utterances) and transform it into a sequence of sequences of indices
"Take in a dialogue (a sequence of tokenized utterances) and transform it into a\n sequence of sequences of indices"
77
false
sbarham/dsrt
vectorize_dialogue
10,830
LDU_FT/release-engineering/productmd/dump
LDU_FT
[ "<BEGIN>\n## `parse_nvra`", "Parse RPM N-E:V-R.A string to a dict.", " :param nvra: N-E:V-R.A string. This can be a file name or a file path including the '.rpm' suffix.\n :type nvra: str\n :rtype: dict, with \"name\", \"epoch\", \"version\", \"release\", and \"arch\" elements.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Dump data to a file. :param f: file-like object or path to file :type f: file or str
"Dump data to a file.\n\n :param f: file-like object or path to file\n :type f: file or str"
61
false
release-engineering/productmd
dump
10,831
LDU_FT/thautwarm/Redy/_constexpr_transform
LDU_FT
[ "<BEGIN>\n## `map_by`", "when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constexpr_transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _constexpr_transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
>>> from Redy.Opt.ConstExpr import constexpr, const, optimize, macro >>> import dis >>> a = 1; b = ""; c = object() >>> x = 1 >>> @optimize >>> def f(y): >>> val1: const[int] = a >>> val2: const = b >>> if constexpr[x is c]: >>> return val1, y >>> elif con...
">>> from Redy.Opt.ConstExpr import constexpr, const, optimize, macro\n >>> import dis\n >>> a = 1; b = \"\"; c = object()\n >>> x = 1\n >>> @optimize\n >>> def f(y):\n >>> val1: const[int] = a\n >>> val2: const = b\n >>> if constexpr[x is c]:\n >>> return val1, y\n >>>...
83
false
thautwarm/Redy
_constexpr_transform
10,832
LDU_FT/juju/python-libjuju/wait_for_action
LDU_FT
[ "<BEGIN>\n## `get_charm_series`", "Inspects the charm directory at ``path`` and returns a default\n series from its metadata.yaml (the first item in the 'series' list).", " Returns None if no series can be determined.\n<END>", "<BEGIN>\n## `cares_about`", "Return True if this observer \"cares about\" ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_action API. 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 wait_for_action API. 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...
Given an action, wait for it to complete.
"Given an action, wait for it to complete."
672
false
juju/python-libjuju
wait_for_action
10,833
LDU_FT/jonhadfield/python-hosts/is_ipv6
LDU_FT
[ "<BEGIN>\n## `get_entry_type`", "Return the type of entry for the line of hosts file passed\n :param hosts_entry: A line from the hosts file\n :return: 'comment' | 'blank' | 'ipv4' | 'ipv6'\n<END>", "<BEGIN>\n## `str_to_hostentry`", "Transform a line from a hosts file into an instance of HostsEn...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_ipv6 API. 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_ipv6 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Check if the string provided is a valid ipv6 address :param entry: A string representation of an IP address :return: True if valid, False if invalid
"Check if the string provided is a valid ipv6 address\n :param entry: A string representation of an IP address\n :return: True if valid, False if invalid"
28
false
jonhadfield/python-hosts
is_ipv6
10,834
LDU_FT/elastic/apm-agent-python/close
LDU_FT
[ "<BEGIN>\n## `extract_signature`", "Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature\n<END>", "<BEGIN>\n## `_timed_queue_join`", "implementation of Queue.join which takes a 'timeout' argument", " returns True on s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. 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 close API. 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...
Cleans up resources and closes connection :return:
"Cleans up resources and closes connection\n :return:"
163
false
elastic/apm-agent-python
close
10,835
LDU_FT/rhayes777/PyAutoFit/residual_map_from_data_mask_and_model_data
LDU_FT
[ "<BEGIN>\n## `residual_map_from_data_mask_and_model_data`", "Compute the residual map between a masked observed data and model data, where:", " Residuals = (Data - Model_Data).", " Parameters\n -----------\n data : np.ndarray\n The observed data that is fitted.\n mask : np.ndarray\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the residual_map_from_data_mask_and_model_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the residual_map_from_data_mask_and_model_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic...
Compute the residual map between a masked observed data and model data, where: Residuals = (Data - Model_Data). Parameters ----------- data : np.ndarray The observed data that is fitted. mask : np.ndarray The mask applied to the data, where *False* entries are included in the calcu...
"Compute the residual map between a masked observed data and model data, where:\n\n Residuals = (Data - Model_Data).\n\n Parameters\n -----------\n data : np.ndarray\n The observed data that is fitted.\n mask : np.ndarray\n The mask applied to the data, where *False* entries are included in...
243
false
rhayes777/PyAutoFit
residual_map_from_data_mask_and_model_data
10,836
LDU_FT/arviz-devs/arviz/plot_joint
LDU_FT
[ "<BEGIN>\n## `generate_dims_coords`", "Generate default dimensions and coordinates for a variable.", " Parameters\n ----------\n shape : tuple[int]\n Shape of the variable\n var_name : str\n Name of the variable. Used in the default name, if necessary\n dims : list\n List of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_joint API. 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 plot_joint API. 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...
Plot a scatter or hexbin of two variables with their respective marginals distributions. Parameters ---------- data : obj Any object that can be converted to an az.InferenceData object Refer to documentation of az.convert_to_dataset for details var_names : Iter of 2 e.g. (var_1, var_2) ...
"Plot a scatter or hexbin of two variables with their respective marginals distributions.\n\n Parameters\n ----------\n data : obj\n Any object that can be converted to an az.InferenceData object\n Refer to documentation of az.convert_to_dataset for details\n var_names : Iter of 2 e.g. (var_1,...
674
false
arviz-devs/arviz
plot_joint
10,837
LDU_FT/exa-analytics/exa/slice_naive
LDU_FT
[ "<BEGIN>\n## `_create`", "Globally called function for creating the isotope/element API.\n<END>", "<BEGIN>\n## `read_tarball`", "Read a (possibly compressed) tarball archive and return a dictionary of\n editors.", " .. code-block:: python", " eds = read_tarball(path, classes=MyEditor) # Al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slice_naive API. 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 slice_naive API. 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...
Naively slice each data object in the container by the object's index. Args: key: Int, slice, or list by which to extra "sub"-container Returns: sub: Sub container of the same format with a view of the data Warning: To ensure that a new container is created...
"Naively slice each data object in the container by the object's index.\n\n Args:\n key: Int, slice, or list by which to extra \"sub\"-container\n\n Returns:\n sub: Sub container of the same format with a view of the data\n\n Warning:\n To ensure that a new containe...
194
false
exa-analytics/exa
slice_naive
10,838
LDU_FT/aheadley/python-crunchyroll/_build_hash_secret
LDU_FT
[ "<BEGIN>\n## `return_collection`", "Change method return value from raw API output to collection of models\n<END>", "<BEGIN>\n## `_do_post_request_tasks`", "Handle actions that need to be done with every response", " I'm not sure what these session_ops are actually used for yet, seems to\n be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_hash_secret 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 _build_hash_secret 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...
Build a seed for the hash based on the Fibonacci sequence Take first `seq_len` + len(`seq_seed`) characters of Fibonacci sequence, starting with `seq_seed`, and applying e % `mod_value` + `HASH_SECRET_CHAR_OFFSET` to the resulting sequence, then return as a string @param tuple|...
"Build a seed for the hash based on the Fibonacci sequence\n\n Take first `seq_len` + len(`seq_seed`) characters of Fibonacci\n sequence, starting with `seq_seed`, and applying e % `mod_value` +\n `HASH_SECRET_CHAR_OFFSET` to the resulting sequence, then return as\n a string\n\n @para...
100
false
aheadley/python-crunchyroll
_build_hash_secret
10,839
LDU_FT/EwilDawe/typy/hold
LDU_FT
[ "<BEGIN>\n## `move_line`", "Moves the cursor in a straight line to (x, y) at a certain speed", " :param x: target x-ordinate\n :param y: target y-ordinate\n :param speed: pixel traversal rate\n :return: None\n<END>", "<BEGIN>\n## `move_arc`", "Moves the cursor in an arc of radius r to (x, y) at ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hold API. 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 hold API. 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...
Simulates the holding of all the keys passed to the function These keys are held down for a default period of 0 seconds before release :param keys: list of keys to be held :param hold_time: length of time to hold keys :param hold_while: hold keys while hold_while returns True :return: None
"Simulates the holding of all the keys passed to the function\n These keys are held down for a default period of 0 seconds before release\n\n :param keys: list of keys to be held\n :param hold_time: length of time to hold keys\n :param hold_while: hold keys while hold_while returns True\n :return: None"
27
false
EwilDawe/typy
hold
10,840
LDU_FT/cronofy/pycronofy/_request
LDU_FT
[ "<BEGIN>\n## `format_event_time`", "Accepts either an ISO 8601 string, a dict with a time and tzid OR a datetime object.\n Must be in UTC format:", " 2016-01-31T12:33:00Z\n 2016-01-31T12:33:00UTC\n 2016-01-31T12:33:00+00:00", " https://en.wikipedia.org/wiki/ISO_8601", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Perform a http request via the specified method to an API endpoint. :param string request_method: Request method. :param string endpoint: Target endpoint. (Optional). :param string url: Override the endpoint and provide the full url (eg for pagination). (Optional). :param dict params: P...
"Perform a http request via the specified method to an API endpoint.\n\n :param string request_method: Request method.\n :param string endpoint: Target endpoint. (Optional).\n :param string url: Override the endpoint and provide the full url (eg for pagination). (Optional).\n :param dict par...
111
false
cronofy/pycronofy
_request
10,841
LDU_FT/ND-CSE-30151/tock/is_finite
LDU_FT
[ "<BEGIN>\n## `match`", "Returns true iff self (as a pattern) matches other (as a\n configuration). Note that this is asymmetric: other is allowed\n to have symbols that aren't found in self.\n<END>", "<BEGIN>\n## `has_cell`", "Tests whether store `s` is a cell, that is, it uses exactly one\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_finite API. 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 is_finite API. 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...
Tests whether machine is a finite automaton.
"Tests whether machine is a finite automaton."
38
false
ND-CSE-30151/tock
is_finite
10,842
LDU_FT/SergeySatskiy/cdm-gc-plugin/populateBufferContextMenu
LDU_FT
[ "<BEGIN>\n## `getPluginVersion`", "The version must be updated in the .cdmp file\n<END>", "<BEGIN>\n## `activate`", "Activates the plugin.", " The plugin may override the method to do specific\n plugin activation handling.", " ideSettings - reference to the IDE Settings singleton\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populateBufferContextMenu 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 populateBufferContextMenu API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Populates the editing buffer context menu. The buffer context menu shown for the current edited/viewed file will have an item with a plugin name and subitems which are populated here. If no items were populated then the plugin menu item will not be shown. Note: when a buffer co...
"Populates the editing buffer context menu.\n\n The buffer context menu shown for the current edited/viewed file\n will have an item with a plugin name and subitems which are\n populated here. If no items were populated then the plugin menu\n item will not be shown.\n\n Note: when a b...
17
false
SergeySatskiy/cdm-gc-plugin
populateBufferContextMenu
10,843
LDU_FT/tuomas2/automate/request_service
LDU_FT
[ "<BEGIN>\n## `call_eval`", "Value might be either name registered in System namespace, or object, either\n StatusObject or Callable. If Callable, evaluate :meth:`.call` method. If StatusObject,\n return status.\n<END>", "<BEGIN>\n## `setup_callable_system`", "This function basically sets...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Used by Sensors/Actuators/other services that need to use other services for their operations.
"Used by Sensors/Actuators/other services that need to use other services for their\n operations."
91
false
tuomas2/automate
request_service
10,844
LDU_FT/bookieio/breadability/clean_document
LDU_FT
[ "<BEGIN>\n## `check_node_attributes`", "Searches match in attributes against given pattern and if\n finds the match against any of them returns True.\n<END>", "<BEGIN>\n## `generate_hash_id`", "Generates a hash_id for the node in question.", " :param node: lxml etree node\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_document API. 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 clean_document API. 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...
Cleans up the final document we return as the readable article.
"Cleans up the final document we return as the readable article."
48
false
bookieio/breadability
clean_document
10,845
LDU_FT/eandersson/amqpstorm/get
LDU_FT
[ "<BEGIN>\n## `open`", "Open Socket and establish a connection.", " :raises AMQPConnectionError: Raises if the connection\n encountered an error.\n :return:\n<END>", "<BEGIN>\n## `write_to_socket`", "Write data to the socket.", " :param str frame_dat...
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...
HTTP GET operation. :param path: URI Path :param payload: HTTP Body :param headers: HTTP Headers :raises ApiError: Raises if the remote server encountered an error. :raises ApiConnectionError: Raises if there was a connectivity issue. :return: Response
"HTTP GET operation.\n\n :param path: URI Path\n :param payload: HTTP Body\n :param headers: HTTP Headers\n\n :raises ApiError: Raises if the remote server encountered an error.\n :raises ApiConnectionError: Raises if there was a connectivity issue.\n\n :return: Response"
612
false
eandersson/amqpstorm
get
10,846
LDU_FT/ranaroussi/pywallet/from_signature
LDU_FT
[ "<BEGIN>\n## `create_new_address_for_user`", "Create a new bitcoin address to accept payments for a User.", " This is a convenience wrapper around `get_child` that helps you do\n the right thing. This method always creates a public, non-prime\n address that can be generated from a BIP32 pub...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Attempts to create PublicKey object by deriving it from the message and signature. Args: message (bytes): The message to be verified. signature (Signature): The signature for message. The recovery_id must not be None! Returns: PublicKey: ...
"Attempts to create PublicKey object by deriving it\n from the message and signature.\n\n Args:\n message (bytes): The message to be verified.\n signature (Signature): The signature for message.\n The recovery_id must not be None!\n\n Returns:\n Public...
186
false
ranaroussi/pywallet
from_signature
10,847
LDU_FT/Xion/taipan/omit
LDU_FT
[ "<BEGIN>\n## `decorator`", "Decorator for decorators (sic), written either as classes or functions.", " In either case, the decorator ``decor`` must be \"doubly-callable\":", " * for classes, this means implementing ``__call__`` method\n in addition to possible ``__init__``\n * for f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the omit API. 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 omit API. 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 a subsequence from given tuple, omitting specified indices. :param indices: Iterable of indices to exclude :param strict: Whether ``indices`` are required to exist in the tuple :return: Tuple without elements of specified indices :raise IndexError: If ``strict`` is True and one of ``indices``...
"Returns a subsequence from given tuple, omitting specified indices.\n\n :param indices: Iterable of indices to exclude\n :param strict: Whether ``indices`` are required to exist in the tuple\n\n :return: Tuple without elements of specified indices\n\n :raise IndexError: If ``strict`` is True and one of ``i...
396
false
Xion/taipan
omit
10,848
LDU_FT/nitely/kua/_deconstruct_url
LDU_FT
[ "<BEGIN>\n## `normalize_url`", "Remove leading and trailing slashes from a URL", " :param url: URL\n :return: URL with no leading and trailing slashes", " :private:\n<END>", "<BEGIN>\n## `_unwrap`", "Yield URL parts. The given parts are usually in reverse order.\n<END>", "<BEGIN>\n## `make_para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deconstruct_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deconstruct_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Split a regular URL into parts :param url: A normalized URL :return: Parts of the URL :raises kua.routes.RouteError: \ If the depth of the URL exceeds\ the max depth of the deepest\ registered pattern :private:
"Split a regular URL into parts\n\n :param url: A normalized URL\n :return: Parts of the URL\n :raises kua.routes.RouteError: \\\n If the depth of the URL exceeds\\\n the max depth of the deepest\\\n registered pattern\n\n :private:"
27
false
nitely/kua
_deconstruct_url
10,849
LDU_FT/playpauseandstop/rororo/validate_func_factory
LDU_FT
[ "<BEGIN>\n## `str_to_timedelta`", "Convert string value to timedelta instance according to the given format.", " If format not set function tries to load timedelta using default\n ``TIMEDELTA_FORMAT`` and then both of magic \"full\" formats.", " You should also specify list of formats and function tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_func_factory 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 validate_func_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Provide default function for Schema validation. :param validator_class: JSONSchema suitable validator class.
"Provide default function for Schema validation.\n\n :param validator_class: JSONSchema suitable validator class."
128
false
playpauseandstop/rororo
validate_func_factory
10,850
LDU_FT/google/textfsm/Reset
LDU_FT
[ "<BEGIN>\n## `_SetValues`", "Set values from supplied dictionary or list.", " Args:\n values: A Row, dict indexed by column name, or list.", " Raises:\n TypeError: Argument is not a list or dict, or list is not equal row\n length or dictionary keys don't match.\n<END>", "<BEGIN>\n## `Fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Reset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Reset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Preserves FSM but resets starting state and current record.
"Preserves FSM but resets starting state and current record."
149
false
google/textfsm
Reset
10,851
LDU_FT/Dentosal/python-sc2/direction_vector
LDU_FT
[ "<BEGIN>\n## `main_base_ramp`", "Returns the Ramp instance of the closest main-ramp to start location. Look in game_info.py for more information\n<END>", "<BEGIN>\n## `get_available_abilities`", "Returns available abilities of one or more units.\n<END>", "<BEGIN>\n## `distribute_workers`", "Distributes wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the direction_vector API. 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 direction_vector API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Converts a vector to a direction that can face vertically, horizontally or diagonal or be zero, e.g. (0, 0), (1, -1), (1, 0)
"Converts a vector to a direction that can face vertically, horizontally or diagonal or be zero, e.g. (0, 0), (1, -1), (1, 0)"
155
false
Dentosal/python-sc2
direction_vector
10,852
LDU_FT/sorend/sshconf/add
LDU_FT
[ "<BEGIN>\n## `read_ssh_config`", "Read ssh config file and return parsed SshConfig\n<END>", "<BEGIN>\n## `_remap_key`", "Change key into correct casing if we know the parameter\n<END>", "<BEGIN>\n## `host`", "Return the configuration of a specific host as a dictionary.", " Dictionary always conta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. 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 add API. 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...
Add another host to the SSH configuration. Parameters ---------- host: The Host entry to add. **kwargs: The parameters for the host (without "Host" parameter itself)
"Add another host to the SSH configuration.\n\n Parameters\n ----------\n host: The Host entry to add.\n **kwargs: The parameters for the host (without \"Host\" parameter itself)"
27
false
sorend/sshconf
add
10,853
LDU_FT/blackecho/Deep-Learning-TensorFlow/gibbs_sampling_step
LDU_FT
[ "<BEGIN>\n## `fit`", "Fit the model to the given data.", " :param train_set: training data\n :param test_set: test data\n<END>", "<BEGIN>\n## `_run_train_step`", "Run a single training step.", " :param data: input data\n :param mode: 'train' or 'test'.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gibbs_sampling_step 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 gibbs_sampling_step 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...
Perform one step of gibbs sampling. :param visible: activations of the visible units :param n_features: number of features :return: tuple(hidden probs, hidden states, visible probs, new hidden probs, new hidden states)
"Perform one step of gibbs sampling.\n\n :param visible: activations of the visible units\n :param n_features: number of features\n :return: tuple(hidden probs, hidden states, visible probs,\n new hidden probs, new hidden states)"
284
false
blackecho/Deep-Learning-TensorFlow
gibbs_sampling_step
10,854
LDU_FT/samirelanduk/quickplots/x_label
LDU_FT
[ "<BEGIN>\n## `color`", "Returns or sets (if a value is provided) the series' colour.", " :param str color: If given, the series' colour will be set to this.\n :rtype: ``str``\n<END>", "<BEGIN>\n## `name`", "Returns or sets (if a value is provided) the series' name.", " :param str name...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the x_label API. 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 x_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns or sets (if a value is provided) the chart's x-axis label. :param str x_label: If given, the chart's x_label will be set to this. :rtype: ``str``
"Returns or sets (if a value is provided) the chart's x-axis label.\n\n :param str x_label: If given, the chart's x_label will be set to this.\n :rtype: ``str``"
112
false
samirelanduk/quickplots
x_label
10,855
LDU_FT/quadrismegistus/prosodic/plot
LDU_FT
[ "<BEGIN>\n## `loadLanguage`", "This function loads up a language configuration file and returns\n\tthe configuration to be passed to the syllabify function.\n<END>", "<BEGIN>\n## `syllabify`", "Syllabifies the word, given a language configuration loaded with loadLanguage.\n\t word is either a string of phon...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. 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 plot API. 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...
Interactive plotting of parsing features.
"Interactive plotting of parsing features."
80
false
quadrismegistus/prosodic
plot
10,856
LDU_FT/aalireza/SimpleAudioIndexer/_get_audio_sample_bit
LDU_FT
[ "<BEGIN>\n## `set_username_ibm`", "Parameters\n ----------\n username_ibm : str", " Raises\n ------\n Exception\n If mode is not `ibm`\n<END>", "<BEGIN>\n## `set_password_ibm`", "Parameters\n ----------\n password_ibm : str", " Raises\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_audio_sample_bit 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_audio_sample_bit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Parameters ---------- audio_abs_path : str Returns ------- sample_bit : int
"Parameters\n ----------\n audio_abs_path : str\n\n Returns\n -------\n sample_bit : int"
159
false
aalireza/SimpleAudioIndexer
_get_audio_sample_bit
10,857
LDU_FT/jenisys/parse_type/register_packages
LDU_FT
[ "<BEGIN>\n## `build_type_dict`", "Builds type dictionary for user-defined type converters,\n used by :mod:`parse` module.\n This requires that each type converter has a \"name\" attribute.", " :param converters: List of type converters (parse_types)\n :return: Type converter dictionary\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_packages API. 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 register_packages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Register release (packages) in artifact-store/repository.
"Register release (packages) in artifact-store/repository."
115
false
jenisys/parse_type
register_packages
10,858
LDU_FT/ales-erjavec/anyqt/fix_pyqt5_QGraphicsItem_itemChange
LDU_FT
[ "<BEGIN>\n## `obsolete_rename`", "Simple obsolete/removed method decorator", " Parameters\n ----------\n oldname : str\n The name of the old obsolete name\n newfunc : FunctionType\n Replacement unbound member function.\n<END>", "<BEGIN>\n## `comittoapi`", "Commit to the use of spec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_pyqt5_QGraphicsItem_itemChange 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 fix_pyqt5_QGraphicsItem_itemChange API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
Attempt to remedy: https://www.riverbankcomputing.com/pipermail/pyqt/2016-February/037015.html
"Attempt to remedy:\n https://www.riverbankcomputing.com/pipermail/pyqt/2016-February/037015.html"
23
false
ales-erjavec/anyqt
fix_pyqt5_QGraphicsItem_itemChange
10,859
LDU_FT/benfred/implicit/get_lastfm
LDU_FT
[ "<BEGIN>\n## `download_file`", "Simple wrapper around urlretrieve that uses tqdm to display a progress\n bar of download progress\n<END>", "<BEGIN>\n## `extract_gcc_binaries`", "Try to find GCC on OSX for OpenMP support.\n<END>", "<BEGIN>\n## `set_gcc`", "Try to use GCC on OSX for OpenMP support.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lastfm API. 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_lastfm API. 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 lastfm360k dataset, downloading locally if necessary. Returns a tuple of (artistids, userids, plays) where plays is a CSR matrix
"Returns the lastfm360k dataset, downloading locally if necessary.\n Returns a tuple of (artistids, userids, plays) where plays is a CSR matrix"
87
false
benfred/implicit
get_lastfm
10,860
LDU_FT/e-dard/postcodes/get_nearest
LDU_FT
[ "<BEGIN>\n## `get`", "Request data associated with `postcode`.", " :param postcode: the postcode to search for. The postcode may \n contain spaces (they will be removed).", " :returns: a dict of the nearest postcode's data or None if no \n postcode data is found.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nearest API. 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_nearest API. 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...
Calls `postcodes.get_nearest` but checks correctness of `lat` and `long`, and by default utilises a local cache. :param skip_cache: optional argument specifying whether to skip the cache and make an explicit request. :raises IllegalPointException: if the latitude o...
"Calls `postcodes.get_nearest` but checks correctness of `lat` \n and `long`, and by default utilises a local cache.\n\n :param skip_cache: optional argument specifying whether to skip \n the cache and make an explicit request.\n\n :raises IllegalPointException: if the lat...
31
false
e-dard/postcodes
get_nearest
10,861
LDU_FT/slimkrazy/python-google-places/autocomplete
LDU_FT
[ "<BEGIN>\n## `_fetch_remote_file`", "Retrieves a file from a URL.", " Returns a tuple (mimetype, filename, data)\n<END>", "<BEGIN>\n## `geocode_location`", "Converts a human-readable location to lat-lng.", " Returns a dict with lat and lng keys.", " keyword arguments:\n location -- A human-r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autocomplete API. 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 autocomplete API. 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...
Perform an autocomplete search using the Google Places API. Only the input kwarg is required, the rest of the keyword arguments are optional. keyword arguments: input -- The text string on which to search, for example: "Hattie B's". lat_lng -- A dict con...
"Perform an autocomplete search using the Google Places API.\n\n Only the input kwarg is required, the rest of the keyword arguments\n are optional.\n\n keyword arguments:\n input -- The text string on which to search, for example:\n \"Hattie B's\".\n lat_lng --...
72
false
slimkrazy/python-google-places
autocomplete
10,862
LDU_FT/nuagenetworks/bambou/instantiate_child
LDU_FT
[ "<BEGIN>\n## `start`", "Starts listening to events.", " Args:\n timeout (int): number of seconds before timeout. Used for testing purpose only.\n root_object (bambou.NURESTRootObject): NURESTRootObject object that is listening. Used for testing purpose only.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instantiate_child API. 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 instantiate_child API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Instantiate an nurest_object from a template object Args: nurest_object: the NURESTObject object to add from_template: the NURESTObject template object callback: callback containing the object and the connection Returns: Returns t...
"Instantiate an nurest_object from a template object\n\n Args:\n nurest_object: the NURESTObject object to add\n from_template: the NURESTObject template object\n callback: callback containing the object and the connection\n\n Returns:\n ...
177
false
nuagenetworks/bambou
instantiate_child
10,863
LDU_FT/awslabs/sockeye/make_input_from_json_string
LDU_FT
[ "<BEGIN>\n## `check_arg_compatibility`", "Check if some arguments are incompatible with each other.", " :param args: Arguments as returned by argparse.\n<END>", "<BEGIN>\n## `check_resume`", "Check if we should resume a broken training run.", " :param args: Arguments as returned by argparse.\n :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_input_from_json_string 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 make_input_from_json_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Returns a TranslatorInput object from a JSON object, serialized as a string. :param sentence_id: Sentence id. :param json_string: A JSON object serialized as a string that must contain a key "text", mapping to the input text, and optionally a key "factors" that maps to a list of strings, each of whi...
"Returns a TranslatorInput object from a JSON object, serialized as a string.\n\n :param sentence_id: Sentence id.\n :param json_string: A JSON object serialized as a string that must contain a key \"text\", mapping to the input text,\n and optionally a key \"factors\" that maps to a list of strings, ea...
1,056
true
awslabs/sockeye
make_input_from_json_string
10,864
LDU_FT/jelmer/python-fastimport/_who_when
LDU_FT
[ "<BEGIN>\n## `check_path`", "Check that a path is legal.", " :return: the path if all is OK\n :raise ValueError: if the path is illegal\n<END>", "<BEGIN>\n## `format_path`", "Format a path in utf8, quoting it if necessary.\n<END>", "<BEGIN>\n## `format_who_when`", "Format a tuple of name,email,sec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _who_when API. 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 _who_when API. 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...
Parse who and when information from a string. :return: a tuple of (name,email,timestamp,timezone). name may be the empty string if only an email address was given.
"Parse who and when information from a string.\n\n :return: a tuple of (name,email,timestamp,timezone). name may be\n the empty string if only an email address was given."
100
false
jelmer/python-fastimport
_who_when
10,865
LDU_FT/curious-containers/cc-core/is_sufficient
LDU_FT
[ "<BEGIN>\n## `brief_exception_text`", "Returns the Exception class and the message of the exception as string.", " :param exception: The exception to format\n :param secret_values: Values to hide in output\n<END>", "<BEGIN>\n## `print_exception`", "Prints the exception message and the name of the exce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_sufficient API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_sufficient API. 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...
Returns whether the device is sufficient for this requirement. :param device: A GPUDevice instance. :type device: GPUDevice :return: True if the requirement is fulfilled otherwise False
"Returns whether the device is sufficient for this requirement.\n\n :param device: A GPUDevice instance.\n :type device: GPUDevice\n :return: True if the requirement is fulfilled otherwise False"
96
false
curious-containers/cc-core
is_sufficient
10,866
LDU_FT/skelsec/minidump/parse
LDU_FT
[ "<BEGIN>\n## `hexdump`", "@brief Return {src} in hex dump.\n\t@param[in] length\t{Int} Nb Bytes by row.\n\t@param[in] sep\t\t{Char} For the text part, {sep} will be used for non ASCII char.\n\t@return {Str} The hexdump", "\t@note Full support for python2 and python3 !\n<END>", "<BEGIN>\n## `parse_mini`", "m...
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...
mod: MINIDUMP_MODULE buff: file handle
"mod: MINIDUMP_MODULE\n\t\tbuff: file handle"
27
false
skelsec/minidump
parse
10,867
LDU_FT/albu/albumentations/keypoint_flip
LDU_FT
[ "<BEGIN>\n## `add_snow`", "Bleaches out pixels, mitation snow.", " From https://github.com/UjjwalSaxena/Automold--Road-Augmentation-Library", " Args:\n img:\n snow_point:\n brightness_coeff:", " Returns:\n<END>", "<BEGIN>\n## `add_fog`", "Add fog to the image.", " From...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keypoint_flip API. 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 keypoint_flip API. 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...
Flip a keypoint either vertically, horizontally or both depending on the value of `d`. Raises: ValueError: if value of `d` is not -1, 0 or 1.
"Flip a keypoint either vertically, horizontally or both depending on the value of `d`.\n\n Raises:\n ValueError: if value of `d` is not -1, 0 or 1."
100
false
albu/albumentations
keypoint_flip
10,868
LDU_FT/bambinos/bambi/random_terms
LDU_FT
[ "<BEGIN>\n## `reset`", "Reset PyMC3 model and all tracked distributions and parameters.\n<END>", "<BEGIN>\n## `build`", "Compile the PyMC3 model from an abstract model specification.\n Args:\n spec (Model): A bambi Model instance containing the abstract\n specification of the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_terms API. 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 random_terms API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return dict of all and only random effects in model.
"Return dict of all and only random effects in model."
88
false
bambinos/bambi
random_terms
10,869
LDU_FT/jmvrbanac/Specter/get_real_last_traceback
LDU_FT
[ "<BEGIN>\n## `print_error`", "A crude way of output the errors for now. This needs to be\n cleaned up into something better.\n<END>", "<BEGIN>\n## `combine_coverage_reports`", "Method to force the combination of parallel coverage reports.\n<END>", "<BEGIN>\n## `serialize`", "Serializes the CaseWrap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_real_last_traceback 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_real_last_traceback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
An unfortunate evil... All because Python's traceback cannot determine where my executed code is coming from...
"An unfortunate evil... All because Python's traceback cannot\n determine where my executed code is coming from..."
47
false
jmvrbanac/Specter
get_real_last_traceback
10,870
LDU_FT/asweigart/pytweening/easeInOutQuart
LDU_FT
[ "<BEGIN>\n## `easeInOutQuad`", "A quadratic tween function that accelerates, reaches the midpoint, and then decelerates.", " Args:\n n (float): The time progress, starting at 0.0 and ending at 1.0.", " Returns:\n (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the easeInOutQuart API. 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 easeInOutQuart API. 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...
A quartic tween function that accelerates, reaches the midpoint, and then decelerates. Args: n (float): The time progress, starting at 0.0 and ending at 1.0. Returns: (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine().
"A quartic tween function that accelerates, reaches the midpoint, and then decelerates.\n\n Args:\n n (float): The time progress, starting at 0.0 and ending at 1.0.\n\n Returns:\n (float) The line progress, starting at 0.0 and ending at 1.0. Suitable for passing to getPointOnLine()."
52
false
asweigart/pytweening
easeInOutQuart
10,871
LDU_FT/hickeroar/LatLon23/to_string
LDU_FT
[ "<BEGIN>\n## `string2geocoord`", "Create a GeoCoord object (e.g. Latitude or Longitude) from a string.\n Inputs:\n coord_str (str) - a string representation of a geographic coordinate (e.g. '5.083 N'). Each\n section of the string must be separated by some kind of a separator character ('5.083N...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extract...
Output lat, lon coordinates as string in chosen format Inputs: format (str) - A string of the form A%B%C where A, B and C are identifiers. Unknown identifiers (e.g. ' ', ', ' or '_' will be inserted as separators in a position corresponding to the position in format. ...
"Output lat, lon coordinates as string in chosen format\n Inputs:\n format (str) - A string of the form A%B%C where A, B and C are identifiers.\n Unknown identifiers (e.g. ' ', ', ' or '_' will be inserted as separators\n in a position corresponding to the position in format....
30
false
hickeroar/LatLon23
to_string
10,872