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/dims/etcd3-gateway/get_prefix
LDU_FT
[ "<BEGIN>\n## `get_url`", "Construct a full url to the v3alpha API given a specific path", " :param path:\n :return: url\n<END>", "<BEGIN>\n## `post`", "helper method for HTTP POST", " :param args:\n :param kwargs:\n :return: json response\n<END>", "<BEGIN>\n## `lease`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prefix API. 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_prefix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get a range of keys with a prefix. :param sort_order: 'ascend' or 'descend' or None :param key_prefix: first key in range :returns: sequence of (value, metadata) tuples
"Get a range of keys with a prefix.\n\n :param sort_order: 'ascend' or 'descend' or None\n :param key_prefix: first key in range\n\n :returns: sequence of (value, metadata) tuples"
75
false
dims/etcd3-gateway
get_prefix
6,073
LDU_FT/tjcsl/ion/get_preferred_pic
LDU_FT
[ "<BEGIN>\n## `student_visible`", "Return a list of groups that are student-visible.\n<END>", "<BEGIN>\n## `stdev`", "r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_preferred_pic API. 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_preferred_pic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get a user's preferred picture attributes to pass as an initial value to a PreferredPictureForm.
"Get a user's preferred picture attributes to pass as an initial value to a\n PreferredPictureForm."
407
false
tjcsl/ion
get_preferred_pic
6,074
LDU_FT/openpermissions/chub/async_fetch
LDU_FT
[ "<BEGIN>\n## `prepare_request`", "creates a full featured HTTPRequest objects\n<END>", "<BEGIN>\n## `_request`", "retrieve the caller frame, extract the parameters from\n the caller function, find the matching function,\n and fire the request\n<END>", "<BEGIN>\n## `login`", "login using emai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
fetch resource using the asynchronous AsyncHTTPClient :param request: HTTPRequest object or a url :param method: HTTP method in string format, e.g. GET, POST :param callback: callback function on the result. it is used by the coroutine decorator. :param kwargs: query string entities or POST data
"fetch resource using the asynchronous AsyncHTTPClient\n :param request: HTTPRequest object or a url\n :param method: HTTP method in string format, e.g. GET, POST\n :param callback: callback function on the result. it is used\n by the coroutine decorator.\n :param kwargs: query string entities or POST da...
22
false
openpermissions/chub
async_fetch
6,075
LDU_FT/projectshift/shift-schema/merge
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate\n Perform value validation against validation settings and return\n error object.", " :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API. 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 merge API. 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...
Merges another validation result graph into itself
"Merges another validation result graph into itself"
135
false
projectshift/shift-schema
merge
6,076
LDU_FT/blaklites/fb/publish_cat1
LDU_FT
[ "<BEGIN>\n## `publish_cat1`", "Constructs a \"POST\" and \"DELETE\" URL. The function is used by the publish and delete method\n First category of \"POST\" and \"DELETE\" url construction. Caling it first category because for \n publishing photos or more complex stuffs, newer fucntions might be add...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_cat1 API. 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 publish_cat1 API. 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...
Constructs a "POST" and "DELETE" URL. The function is used by the publish and delete method First category of "POST" and "DELETE" url construction. Caling it first category because for publishing photos or more complex stuffs, newer fucntions might be added to deal with "POST".
"Constructs a \"POST\" and \"DELETE\" URL. The function is used by the publish and delete method\n First category of \"POST\" and \"DELETE\" url construction. Caling it first category because for \n publishing photos or more complex stuffs, newer fucntions might be added to deal with \"POST\"."
12
false
blaklites/fb
publish_cat1
6,077
LDU_FT/arne-cl/discoursegraphs/get_offsets
LDU_FT
[ "<BEGIN>\n## `merging_cli`", "simple commandline interface of the merging module.", " This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>", "<BEGIN>\n## `add_node_ids_as_labels`", "Adds the ID of each node of a discourse graph as a label (an ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_offsets API. 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_offsets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
returns the offsets (character starting and end position) of a token or of all tokens occurring in the document. Parameters ---------- token_node_id : str, int or None Node ID of a token from which we want to retrieve the start and end position. If no node ID is ...
"returns the offsets (character starting and end position) of a token\n or of all tokens occurring in the document.\n\n Parameters\n ----------\n token_node_id : str, int or None\n Node ID of a token from which we want to retrieve the start and end\n position. If no nod...
846
false
arne-cl/discoursegraphs
get_offsets
6,078
LDU_FT/LionelAuroux/cnorm/func
LDU_FT
[ "<BEGIN>\n## `declfuncs`", "generator on all declaration of functions\n<END>", "<BEGIN>\n## `func`", "return the first func defined named name\n<END>", "<BEGIN>\n## `type`", "return the first complete definition of type 'name\n<END>", "<BEGIN>\n## `declallfuncs`", "generator on all declaration of func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the func API. 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 func API. 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 first func defined named name
"return the first func defined named name"
10
false
LionelAuroux/cnorm
func
6,079
LDU_FT/serge-sans-paille/pythran/visit_BoolOp
LDU_FT
[ "<BEGIN>\n## `check_specs`", "Does nothing but raising PythranSyntaxError if specs\n are incompatible with the actual code\n<END>", "<BEGIN>\n## `check_exports`", "Does nothing but raising PythranSyntaxError if specs\n references an undefined global\n<END>", "<BEGIN>\n## `visit_Import`", "Check if i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_BoolOp API. 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 visit_BoolOp API. 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 type may come from any boolop operand.
"Return type may come from any boolop operand."
547
false
serge-sans-paille/pythran
visit_BoolOp
6,080
LDU_FT/jbeluch/xbmcswift2/_make_path
LDU_FT
[ "<BEGIN>\n## `display_listitems`", "Displays a list of items along with the index to enable a user\n to select an item.\n<END>", "<BEGIN>\n## `display_video`", "Prints a message for a playing video and displays the parent\n listitem.\n<END>", "<BEGIN>\n## `get_user_choice`", "Returns the selected it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns a relative path for the given dictionary of items. Uses this url rule's url pattern and replaces instances of <var_name> with the appropriate value from the items dict.
"Returns a relative path for the given dictionary of items.\n\n Uses this url rule's url pattern and replaces instances of <var_name>\n with the appropriate value from the items dict."
164
false
jbeluch/xbmcswift2
_make_path
6,081
LDU_FT/20c/facsimile/check_definition
LDU_FT
[ "<BEGIN>\n## `find_datafile`", "find all matching data files in search_path\n search_path: path of directories to load from\n codecs: allow to override from list of installed\n returns array of tuples (codec_object, filename)\n<END>", "<BEGIN>\n## `load_datafile`", "find datafile and load them from c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_definition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_definition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
called after Defintion was loaded to sanity check raises on error
"called after Defintion was loaded to sanity check\n raises on error"
24
false
20c/facsimile
check_definition
6,082
LDU_FT/Parsely/redis-fluster/round_controlled
LDU_FT
[ "<BEGIN>\n## `get`", "Get any clients ready to be used.", " :returns: Iterable of redis clients\n<END>", "<BEGIN>\n## `round_controlled`", "Return after <rounds> passes through a cycled iterable.\n<END>", "<BEGIN>\n## `_prep_clients`", "Prep a client by tagging it with and id and wrapping methods...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the round_controlled API. 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 round_controlled API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return after <rounds> passes through a cycled iterable.
"Return after <rounds> passes through a cycled iterable."
23
false
Parsely/redis-fluster
round_controlled
6,083
LDU_FT/pyviz/param/_validate
LDU_FT
[ "<BEGIN>\n## `get_setup_version`", "Helper for use in setup.py to get the current version from either\n git describe or the .version file (if available).", " Set pkgname to the package name if it is different from the\n repository name.", " To ensure git information is included in a git archive, a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
val must be None, an instance of self.class_ if self.is_instance=True or a subclass of self_class if self.is_instance=False
"val must be None, an instance of self.class_ if self.is_instance=True or a subclass of self_class if self.is_instance=False"
258
false
pyviz/param
_validate
6,084
LDU_FT/ashleysommer/sanicpluginsframework/websocket
LDU_FT
[ "<BEGIN>\n## `middleware`", "Decorate and register middleware\n :param args: captures all of the positional arguments passed in\n :type args: tuple(Any)\n :param kwargs: captures the keyword arguments passed in\n :type kwargs: dict(Any)\n :return: The middleware function to use ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the websocket API. 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 websocket API. 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...
Create a websocket route from a decorated function :param uri: endpoint at which the socket endpoint will be accessible. :type uri: str :param args: captures all of the positional arguments passed in :type args: tuple(Any) :param kwargs: captures the keyword arguments passed in ...
"Create a websocket route from a decorated function\n :param uri: endpoint at which the socket endpoint will be accessible.\n :type uri: str\n :param args: captures all of the positional arguments passed in\n :type args: tuple(Any)\n :param kwargs: captures the keyword arguments passe...
38
false
ashleysommer/sanicpluginsframework
websocket
6,085
LDU_FT/dask/dask-ml/transform
LDU_FT
[ "<BEGIN>\n## `normalize_params`", "Take a list of dictionaries, and tokenize/normalize.\n<END>", "<BEGIN>\n## `check_cv`", "Dask aware version of ``sklearn.model_selection.check_cv``", " Same as the scikit-learn version, but works if ``y`` is a dask object.\n<END>", "<BEGIN>\n## `compute_n_splits`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Transform a sequence of documents to a document-term matrix. Transformation is done in parallel, and correctly handles dask collections. Parameters ---------- X : dask.Bag of raw text documents, length = n_samples Samples. Each sample must be a text document (either...
"Transform a sequence of documents to a document-term matrix.\n\n Transformation is done in parallel, and correctly handles dask\n collections.\n\n Parameters\n ----------\n X : dask.Bag of raw text documents, length = n_samples\n Samples. Each sample must be a text documen...
361
false
dask/dask-ml
transform
6,086
LDU_FT/ociu/sphinx-traceability-extension/initialize_environment
LDU_FT
[ "<BEGIN>\n## `purge_items`", "Clean, if existing, ``item`` entries in ``traceability_all_items``\n environment variable, for all the source docs being purged.", " This function should be triggered upon ``env-purge-doc`` event.\n<END>", "<BEGIN>\n## `process_item_nodes`", "This function should be trigg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_environment 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 initialize_environment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Perform initializations needed before the build process starts.
"Perform initializations needed before the build process starts."
17
false
ociu/sphinx-traceability-extension
initialize_environment
6,087
LDU_FT/bjodah/pyodesys/from_callback
LDU_FT
[ "<BEGIN>\n## `_is_autonomous`", "Whether the expressions for the dependent variables are autonomous.", " Note that the system may still behave as an autonomous system on the interface\n of :meth:`integrate` due to use of pre-/post-processors.\n<END>", "<BEGIN>\n## `symmetricsys`", "A factory function ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create an instance from a callback. Parameters ---------- rhs : callbable Signature ``rhs(x, y[:], p[:], backend=math) -> f[:]``. ny : int Length of ``y`` in ``rhs``. nparams : int Length of ``p`` in ``rhs``. first_step_factory : calla...
"Create an instance from a callback.\n\n Parameters\n ----------\n rhs : callbable\n Signature ``rhs(x, y[:], p[:], backend=math) -> f[:]``.\n ny : int\n Length of ``y`` in ``rhs``.\n nparams : int\n Length of ``p`` in ``rhs``.\n first_step_fact...
113
false
bjodah/pyodesys
from_callback
6,088
LDU_FT/nwilming/ocupy/prediction_scores
LDU_FT
[ "<BEGIN>\n## `path`", "Constructs the path to categories, images and features.", " This path function assumes that the following storage scheme is used on\n the hard disk to access categories, images and features:\n - categories: /impath/category\n - images: /impath/categ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prediction_scores API. 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 prediction_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Evaluates a prediction against fixations in a fixmat with different measures. The default measures which are used are AUC, NSS and KL-divergence. This can be changed by setting the list of measures with set_scores. As different measures need potentially different parameters, the kw dictionary can be us...
"Evaluates a prediction against fixations in a fixmat with different measures.\n\n The default measures which are used are AUC, NSS and KL-divergence. This\n can be changed by setting the list of measures with set_scores.\n As different measures need potentially different parameters, the kw\n dictionary can...
310
false
nwilming/ocupy
prediction_scores
6,089
LDU_FT/moonso/vcftoolbox/add_vcf_info
LDU_FT
[ "<BEGIN>\n## `get_vcf_header`", "Get the header lines of a vcf file", " Args:\n source(iterable): A vcf file", " Returns:\n head (HeaderParser): A headerparser object\n<END>", "<BEGIN>\n## `get_variant_dict`", "Parse a variant line", " Split a variant line and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_vcf_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_vcf_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Add information to the info field of a vcf variant line. Arguments: variant_line (str): A vcf formatted variant line keyword (str): The info field key annotation (str): If the annotation is a key, value pair this is the string that represents the value ...
"Add information to the info field of a vcf variant line.\n \n Arguments:\n variant_line (str): A vcf formatted variant line\n keyword (str): The info field key\n annotation (str): If the annotation is a key, value pair\n this is the string that represents the value\n...
81
false
moonso/vcftoolbox
add_vcf_info
6,090
LDU_FT/thomasw/djproxy/import_string
LDU_FT
[ "<BEGIN>\n## `generate_proxy`", "Generate a ProxyClass based view that uses the passed base_url.\n<END>", "<BEGIN>\n## `generate_routes`", "Generate a list of urls that map to generated proxy views.", " generate_routes({\n 'test_proxy': {\n 'base_url': 'https://google.com/',\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_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 ext...
Import a dotted module path. Returns the attribute/class designated by the last name in the path. Raises ImportError if the import fails.
"Import a dotted module path.\n\n Returns the attribute/class designated by the last name in the path.\n\n Raises ImportError if the import fails."
26
false
thomasw/djproxy
import_string
6,091
LDU_FT/Pytwitcher/pytwitcherapi/from_str
LDU_FT
[ "<BEGIN>\n## `needs_auth`", "Wraps a method of :class:`TwitchSession` and\n raises an :class:`exceptions.NotAuthorizedError`\n if before calling the method, the session isn't authorized.", " :param meth:\n :type meth:\n :returns: the wrapped method\n :rtype: Method\n :raises: None\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_str API. 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 from_str API. 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 a tag by parsing the tag of a message :param tagstring: A tag string described in the irc protocol :type tagstring: :class:`str` :returns: A tag :rtype: :class:`Tag` :raises: None
"Create a tag by parsing the tag of a message\n\n :param tagstring: A tag string described in the irc protocol\n :type tagstring: :class:`str`\n :returns: A tag\n :rtype: :class:`Tag`\n :raises: None"
198
false
Pytwitcher/pytwitcherapi
from_str
6,092
LDU_FT/Linaro/squad/finished
LDU_FT
[ "<BEGIN>\n## `geomean`", "The intuitive/naive way of calculating a geometric mean (first\n multiply the n values, then take the nth-root of the result) does not\n work in practice. When you multiple an large enough amount of large\n enough numbers, their product will oferflow the float representation,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finished API. 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 finished API. 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...
A finished build is a build that satisfies one of the following conditions: * it has no pending CI test jobs. * it has no submitted CI test jobs, and has at least N test runs for each of the project environments, where N is configured in Environment.expected_test_runs. Environment.e...
"A finished build is a build that satisfies one of the following conditions:\n\n * it has no pending CI test jobs.\n * it has no submitted CI test jobs, and has at least N test runs for each of\n the project environments, where N is configured in\n Environment.expected_test_runs. Environ...
31
false
Linaro/squad
finished
6,093
LDU_FT/Seeed-Studio/wio-cli/cli
LDU_FT
[ "<BEGIN>\n## `cli`", "Delete a device.", " \\b\n DOES:\n Delete a device.\n sn: device_sn\n wio delete <device_sn>", " \\b\n EXAMPLE:\n wio delete 2885b2cab8abc5fb8e229e4a77bf5e4d\n<END>", "<BEGIN>\n## `cli`", "Displays a list of your devices.", " \\b\n DOES...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Change setting of device. \b DOES: The config command lets you change setting of device through upd. 1. Ensure your device is Configure Mode. 2. Change your computer network to Wio's AP. \b EXAMPLE: wio config --debug [on|off], enable/disable wio debug wio confi...
"Change setting of device.\n\n \\b\n DOES:\n The config command lets you change setting of device through upd.\n 1. Ensure your device is Configure Mode.\n 2. Change your computer network to Wio's AP.\n\n \\b\n EXAMPLE:\n wio config --debug [on|off], enable/disable wio debug\n ...
35
false
Seeed-Studio/wio-cli
cli
6,094
LDU_FT/thefactory/marathon-python/list_groups
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 list_groups API. 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 list_groups API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
List all groups. :param kwargs: arbitrary search filters :returns: list of groups :rtype: list[:class:`marathon.models.group.MarathonGroup`]
"List all groups.\n\n :param kwargs: arbitrary search filters\n\n :returns: list of groups\n :rtype: list[:class:`marathon.models.group.MarathonGroup`]"
146
false
thefactory/marathon-python
list_groups
6,095
LDU_FT/intelligenia/modeltranslation/save
LDU_FT
[ "<BEGIN>\n## `_get_fieldtranslations`", "Get all the translations for this object.\n<END>", "<BEGIN>\n## `_load_translations`", "Loads all translations as dynamic attributes:\n\t\t<attr>_<lang_code>\n\t\t<attr>_<lang_code>_is_fuzzy\n<END>", "<BEGIN>\n## `_set_dict_translations`", "Establece los atributos ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save object in database, updating the datetimes accordingly.
"Save object in database, updating the datetimes accordingly."
36
false
intelligenia/modeltranslation
save
6,096
LDU_FT/bernardopires/django-tenant-schemas/handle
LDU_FT
[ "<BEGIN>\n## `clean_tenant_url`", "Removes the TENANT_TOKEN from a particular string\n<END>", "<BEGIN>\n## `app_labels`", "Returns a list of app labels of the given apps_list, now properly handles\n new Django 1.7+ application registry.", " https://docs.djangoproject.com/en/1.8/ref/applications/#djan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API. 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 handle API. 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 ...
Iterates a command over all registered schemata.
"Iterates a command over all registered schemata."
31
false
bernardopires/django-tenant-schemas
handle
6,097
LDU_FT/ev3dev/ev3dev-lang-python/stop_actions
LDU_FT
[ "<BEGIN>\n## `list_motors`", "This is a generator function that enumerates all tacho motors that match\n the provided arguments.", " Parameters:\n name_pattern: pattern that device name should match.\n For example, 'motor*'. Default value: '*'.\n keyword arguments: used for matchi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_actions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_actions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Gets a list of stop actions. Valid values are `coast` and `brake`.
"Gets a list of stop actions. Valid values are `coast`\n and `brake`."
452
false
ev3dev/ev3dev-lang-python
stop_actions
6,098
LDU_FT/quintusdias/glymur/version
LDU_FT
[ "<BEGIN>\n## `version`", "Wrapper for opj_version library routine.\n<END>", "<BEGIN>\n## `check_error`", "Set a generic function as the restype attribute of all OpenJPEG\n functions that return a BOOL_TYPE value. This way we do not have to check\n for error status in each wrapping function and an excep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Wrapper for opj_version library routine.
"Wrapper for opj_version library routine."
550
false
quintusdias/glymur
version
6,099
LDU_FT/ethpm/py-ethpm/filter_all_data_by_selected_fields
LDU_FT
[ "<BEGIN>\n## `fetch_uri_contents`", "Return content-addressed URI stored at registry URI.\n<END>", "<BEGIN>\n## `pin_assets`", "Return a dict containing the IPFS hash, file name, and size of a file.\n<END>", "<BEGIN>\n## `create_content_addressed_github_uri`", "Returns a content-addressed Github \"git_url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_all_data_by_selected_fields 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 filter_all_data_by_selected_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
Raises exception if selected field data is not available in the contract type data automatically gathered by normalize_compiler_output. Otherwise, returns the data.
"Raises exception if selected field data is not available in the contract type data\n automatically gathered by normalize_compiler_output. Otherwise, returns the data."
133
false
ethpm/py-ethpm
filter_all_data_by_selected_fields
6,100
LDU_FT/jaraco/path.py/walk
LDU_FT
[ "<BEGIN>\n## `load`", "If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>", "<BEGIN>\n## `simple_cache`", "Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>", "<BEGIN>\n## `only_newer`", "Wrap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk API. 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 walk API. 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...
D.walk() -> iterator over files and subdirs, recursively. The iterator yields Path objects naming each child item of this directory and its descendants. This requires that ``D.isdir()``. This performs a depth-first traversal of the directory tree. Each directory is returned ju...
"D.walk() -> iterator over files and subdirs, recursively.\n\n The iterator yields Path objects naming each child item of\n this directory and its descendants. This requires that\n ``D.isdir()``.\n\n This performs a depth-first traversal of the directory tree.\n Each directory is ret...
158
false
jaraco/path.py
walk
6,101
LDU_FT/CZ-NIC/yangson/peek_step
LDU_FT
[ "<BEGIN>\n## `schema_root`", "Return the root node of the receiver's schema.\n<END>", "<BEGIN>\n## `iname`", "Return the instance name corresponding to the receiver.\n<END>", "<BEGIN>\n## `_node_digest`", "Return dictionary of receiver's properties suitable for clients.\n<END>", "<BEGIN>\n## `_iname2qna...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the peek_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. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the peek_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. The extract...
Return member value addressed by the receiver + its schema node. Args: val: Current value (object). sn: Current schema node.
"Return member value addressed by the receiver + its schema node.\n\n Args:\n val: Current value (object).\n sn: Current schema node."
352
false
CZ-NIC/yangson
peek_step
6,102
LDU_FT/adamziel/python_translate/select_message
LDU_FT
[ "<BEGIN>\n## `load_messages`", "Loads translation found in a directory.", " @type directory: string\n @param directory: The directory to search", " @type catalogue: MessageCatalogue\n @param catalogue: The message catalogue to dump", " @raises: ValueError\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_message API. 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 select_message API. 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...
Given a message with different plural translations separated by a pipe (|), this method returns the correct portion of the message based on the given number, locale and the pluralization rules in the message itself. The message supports two different types of pluralization rules: interval: {0} The...
"Given a message with different plural translations separated by a\n pipe (|), this method returns the correct portion of the message based\n on the given number, locale and the pluralization rules in the message\n itself.\n\n The message supports two different types of pluralization rules:\n\n interval:...
136
false
adamziel/python_translate
select_message
6,103
LDU_FT/craffel/mir_eval/load_events
LDU_FT
[ "<BEGIN>\n## `_open`", "Either open a file handle, or use an existing file-like object.", " This will behave as the `open` function if `file_or_str` is a string.", " If `file_or_str` has the `read` attribute, it will return `file_or_str`.", " Otherwise, an `IOError` is raised.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
r"""Import time-stamp events from an annotation file. The file should consist of a single column of numeric values corresponding to the event times. This is primarily useful for processing events which lack duration, such as beats or onsets. Parameters ---------- filename : str Path to...
"r\"\"\"Import time-stamp events from an annotation file. The file should\n consist of a single column of numeric values corresponding to the event\n times. This is primarily useful for processing events which lack duration,\n such as beats or onsets.\n\n Parameters\n ----------\n filename : str\n ...
1,001
false
craffel/mir_eval
load_events
6,104
LDU_FT/SpriteLink/NIPAP/smart_search_prefix
LDU_FT
[ "<BEGIN>\n## `_serve_file`", "Call Paste's FileApp (a WSGI application) to serve the file\n at the specified path\n<END>", "<BEGIN>\n## `extract_prefix_attr`", "Extract prefix attributes from arbitary dict.\n<END>", "<BEGIN>\n## `extract_pool_attr`", "Extract pool attributes from arbitary dict.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_search_prefix 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 smart_search_prefix 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 a smart search on prefix list. * `auth` [BaseAuth] AAA options. * `query_str` [string] Search string * `search_options` [options_dict] Search options. See :func:`search_prefix`. * `extra_query` [dict_to_sql] ...
"Perform a smart search on prefix list.\n\n * `auth` [BaseAuth]\n AAA options.\n * `query_str` [string]\n Search string\n * `search_options` [options_dict]\n Search options. See :func:`search_prefix`.\n * `extra_query` [dict_to_sql...
454
false
SpriteLink/NIPAP
smart_search_prefix
6,105
LDU_FT/aliyun/aliyun-log-python-sdk/update_index
LDU_FT
[ "<BEGIN>\n## `set`", "override base to handle escape case: replace \\\" to \"\n<END>", "<BEGIN>\n## `copy_project`", "copy project, logstore, machine group and logtail config to target project,\n will create the target project if it doesn't exist", " :type from_client: LogClient\n :param from_clien...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_index API. 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 update_index API. 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...
update index for a logstore Unsuccessful opertaion will cause an LogException. :type project_name: string :param project_name: the Project name :type logstore_name: string :param logstore_name: the logstore name :type index_detail: IndexConfig :param...
"update index for a logstore\r\n Unsuccessful opertaion will cause an LogException.\r\n\r\n :type project_name: string\r\n :param project_name: the Project name \r\n\r\n :type logstore_name: string\r\n :param logstore_name: the logstore name\r\n\r\n :type index_detail: IndexCon...
600
false
aliyun/aliyun-log-python-sdk
update_index
6,106
LDU_FT/blockcypher/blockcypher-python/get_address_details
LDU_FT
[ "<BEGIN>\n## `script_to_address`", "Like script_to_address but supports altcoins\n Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236\n<END>", "<BEGIN>\n## `get_address_details`", "Takes an address and coin_symbol...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_address_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_address_details 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...
Takes an address and coin_symbol and returns the address details Optional: - txn_limit: # transactions to include - before_bh: filters response to only include transactions below before height in the blockchain. - after_bh: filters response to only include transactions above after hei...
"Takes an address and coin_symbol and returns the address details\n\n Optional:\n - txn_limit: # transactions to include\n - before_bh: filters response to only include transactions below before\n height in the blockchain.\n - after_bh: filters response to only include transactions above after\n ...
163
false
blockcypher/blockcypher-python
get_address_details
6,107
LDU_FT/tgsmith61591/pmdarima/load_austres
LDU_FT
[ "<BEGIN>\n## `nsdiffs`", "Estimate the seasonal differencing term, ``D``.", " Perform a test of seasonality for different levels of ``D`` to\n estimate the number of seasonal differences required to make a given time\n series stationary. Will select the maximum value of ``D`` for which\n the time se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_austres API. 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 load_austres API. 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...
Quarterly residential data. Numbers (in thousands) of Australian residents measured quarterly from March 1971 to March 1994. Parameters ---------- as_series : bool, optional (default=False) Whether to return a Pandas series. If False, will return a 1d numpy array. Returns ...
"Quarterly residential data.\n\n Numbers (in thousands) of Australian residents measured quarterly from\n March 1971 to March 1994.\n\n Parameters\n ----------\n as_series : bool, optional (default=False)\n Whether to return a Pandas series. If False, will return a 1d\n numpy array.\n\n ...
356
false
tgsmith61591/pmdarima
load_austres
6,108
LDU_FT/timothydmorton/simpledist/resample
LDU_FT
[ "<BEGIN>\n## `double_lorgauss`", "Evaluates a normalized distribution that is a mixture of a double-sided Gaussian and Double-sided Lorentzian.", " Parameters\n ----------\n x : float or array-like\n Value(s) at which to evaluate distribution", " p : array-like\n Input parameters: mu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resample API. 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 resample API. 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...
Random resampling of the doublegauss distribution
"Random resampling of the doublegauss distribution"
90
false
timothydmorton/simpledist
resample
6,109
LDU_FT/Dispersive-Hydrodynamics-Lab/PACE/get_algo
LDU_FT
[ "<BEGIN>\n## `get_args`", "Get program arguments.", " Just use --help....\n<END>", "<BEGIN>\n## `get_keys`", "Return list of SHA512 hash keys that exist in datafile", " :return: list of keys\n<END>", "<BEGIN>\n## `check_key`", "Checks if key exists in datastore. True if yes, False if no.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_algo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_algo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns machine learning algorithm based on arguments
"Returns machine learning algorithm based on arguments"
46
false
Dispersive-Hydrodynamics-Lab/PACE
get_algo
6,110
LDU_FT/praekeltfoundation/molo.yourtips/get_your_tip
LDU_FT
[ "<BEGIN>\n## `convert_to_article`", "This method converts a tip entry to an unpublished article\n :param entry_id: Tip entry to convert\n :return: redirect to the edit page of the converted tip\n<END>", "<BEGIN>\n## `your_tips_on_homepage`", "A template tag for the Tip of the Day on the homepage.\n N...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_your_tip API. 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_your_tip API. 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...
A simple tag to return the YourTips page. :param context: takes context :return: A YourTip object
"A simple tag to return the YourTips page.\n :param context: takes context\n :return: A YourTip object"
12
false
praekeltfoundation/molo.yourtips
get_your_tip
6,111
LDU_FT/contains-io/rcli/_merge_doc
LDU_FT
[ "<BEGIN>\n## `setup_keyword`", "Add autodetected commands as entry points.", " Args:\n dist: The distutils Distribution object for the project being\n installed.\n _: The keyword used in the setup function. Unused.\n value: The value set to the keyword in the setup function. I...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_doc API. 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 _merge_doc API. 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...
Merge two usage strings together. Args: original: The source of headers and initial section lines. to_merge: The source for the additional section lines to append. Returns: A new usage string that contains information from both usage strings.
"Merge two usage strings together.\n\n Args:\n original: The source of headers and initial section lines.\n to_merge: The source for the additional section lines to append.\n\n Returns:\n A new usage string that contains information from both usage strings."
147
false
contains-io/rcli
_merge_doc
6,112
LDU_FT/PierreRust/apigpio/connect
LDU_FT
[ "<BEGIN>\n## `u2i`", "Converts a 32 bit unsigned number to signed.", " uint32:= an unsigned 32 bit number", " ...\n print(u2i(4294967272))\n -24\n print(u2i(37))\n 37\n ...\n<END>", "<BEGIN>\n## `_u2i`", "Converts a 32 bit unsigned number to signed. If the number\n is negative it ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Connect to a remote or local gpiod daemon. :param address: a pair (address, port), the address must be already resolved (for example an ip address) :return:
"Connect to a remote or local gpiod daemon.\n :param address: a pair (address, port), the address must be already\n resolved (for example an ip address)\n :return:"
102
false
PierreRust/apigpio
connect
6,113
LDU_FT/ulf1/oxyba/crossvalidation_loop
LDU_FT
[ "<BEGIN>\n## `clean_german_number`", "Convert a string with a German number into a Decimal", " Parameters\n ----------\n x : str, list, tuple, numpy.ndarray, pandas.DataFrame\n A string with a number with German formatting,\n or an array of these strings, e.g. list, ndarray, df.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crossvalidation_loop 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 crossvalidation_loop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Cross Validation Parameters: ----------- fitfunc : function A function that wraps the model/algorithm, has 1 data variable as input argument, and returns the estimated coefficients, model parameters, weights, etc. evalfunc : function A function pointer to an evaluation,...
"Cross Validation\n\n Parameters:\n -----------\n fitfunc : function\n A function that wraps the model/algorithm, has 1 data\n variable as input argument, and returns the estimated\n coefficients, model parameters, weights, etc.\n\n evalfunc : function\n A function pointer to an ...
218
false
ulf1/oxyba
crossvalidation_loop
6,114
LDU_FT/d0c-s4vage/pfp/_pfp__process_metadata
LDU_FT
[ "<BEGIN>\n## `instantiate`", "Create a ParamList instance for actual interpretation", " :args: TODO\n :returns: A ParamList object\n<END>", "<BEGIN>\n## `int3`", "Define the ``Int3()`` function in the interpreter. Calling\n ``Int3()`` will drop the user into an interactive debugger.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pfp__process_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pfp__process_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Process the metadata once the entire struct has been declared.
"Process the metadata once the entire struct has been\n declared."
383
false
d0c-s4vage/pfp
_pfp__process_metadata
6,115
LDU_FT/prometheus/client_python/_get_names
LDU_FT
[ "<BEGIN>\n## `add_sample`", "Add a sample to the metric.", " Internal-only, do not use.\n<END>", "<BEGIN>\n## `add_metric`", "Add a metric to the metric family.", " Args:\n labels: A list of label values\n value: The value of the metric\n created: Optional unix tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get names of timeseries the collector produces.
"Get names of timeseries the collector produces."
100
false
prometheus/client_python
_get_names
6,116
LDU_FT/JasonKessler/scattertext/produce_semiotic_square_explorer
LDU_FT
[ "<BEGIN>\n## `coarse_tag_str`", "Convert POS sequence to our coarse system, formatted as a string.\n<END>", "<BEGIN>\n## `extract_finditer`", "The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>", "<BEGIN>\n## `extract_ngram_filter`", "The \"FilterFSA\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the produce_semiotic_square_explorer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the produce_semiotic_square_explorer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Produces a semiotic square visualization. Parameters ---------- semiotic_square : SemioticSquare The basis of the visualization x_label : str The x-axis label in the scatter plot. Relationship between `category_a` and `category_b`. y_label The y-axis label in the scatter pl...
"Produces a semiotic square visualization.\n\n Parameters\n ----------\n semiotic_square : SemioticSquare\n The basis of the visualization\n x_label : str\n The x-axis label in the scatter plot. Relationship between `category_a` and `category_b`.\n y_label\n The y-axis label in the ...
419
false
JasonKessler/scattertext
produce_semiotic_square_explorer
6,117
LDU_FT/emory-libraries/eulxml/_html_output
LDU_FT
[ "<BEGIN>\n## `_serialize`", "Generate token strings which, when joined together, form a valid\n XPath serialization of the AST.\n<END>", "<BEGIN>\n## `download_schema`", "Download a schema from a specified URI and save it locally.", " :param uri: url where the schema should be downloaded\n :param p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _html_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _html_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Extend BaseForm's helper function for outputting HTML. Used by as_table(), as_ul(), as_p(). Combines the HTML version of the main form's fields with the HTML content for any subforms.
"Extend BaseForm's helper function for outputting HTML. Used by as_table(), as_ul(), as_p().\n\n Combines the HTML version of the main form's fields with the HTML content\n for any subforms."
109
false
emory-libraries/eulxml
_html_output
6,118
LDU_FT/frasertweedale/ledgertools/apply
LDU_FT
[ "<BEGIN>\n## `apply`", "Manufacture decorator that filters return value with given function.", " ``filter``:\n Callable that takes a single parameter.\n<END>", "<BEGIN>\n## `format_outpat`", "Format an outpat for the given transaction.", " Format the given output filename pattern. The pattern ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API. 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 apply API. 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...
Manufacture decorator that filters return value with given function. ``filter``: Callable that takes a single parameter.
"Manufacture decorator that filters return value with given function.\n\n ``filter``:\n Callable that takes a single parameter."
82
false
frasertweedale/ledgertools
apply
6,119
LDU_FT/aiidateam/aiida-codtools/from_dictionary
LDU_FT
[ "<BEGIN>\n## `run_filter_calculation`", "Run the CifFilterCalculation on the CifData input node.\n<END>", "<BEGIN>\n## `inspect_filter_calculation`", "Inspect the result of the CifFilterCalculation, verifying that it produced a CifData output node.\n<END>", "<BEGIN>\n## `run_select_calculation`", "Run the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dictionary API. 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 from_dictionary API. 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...
Parse a dictionary representing all command line parameters.
"Parse a dictionary representing all command line parameters."
73
false
aiidateam/aiida-codtools
from_dictionary
6,120
LDU_FT/baguette-io/baguette-messaging/start
LDU_FT
[ "<BEGIN>\n## `to_json`", "Convert a model into a json using the playhouse shortcut.\n<END>", "<BEGIN>\n## `run`", "Consume the event stream.\n :param timeout: Duration of the connection timeout.\n :type timeout: int\n :param limit: Number of events to consume.\n :type limit: int\n ...
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 all the registered entrypoints | that have been added to `ENTRYPOINTS`. :rtype: None
"| Start all the registered entrypoints\n | that have been added to `ENTRYPOINTS`.\n\n :rtype: None"
44
false
baguette-io/baguette-messaging
start
6,121
LDU_FT/niemasd/TreeSwift/num_nodes
LDU_FT
[ "<BEGIN>\n## `plot_ltt`", "Plot the Lineages Through Time (LTT) curve of a given tree", " Args:\n ``lineages`` (``dict``): The ``lineages`` dictionary returned by a ``Tree`` object's ``lineages_through_time()`` function call", " ``show_plot`` (``bool``): ``True`` to show the plot, otherwise `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the num_nodes API. 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 num_nodes API. 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...
Compute the total number of selected nodes in this ``Tree`` Args: ``leaves`` (``bool``): ``True`` to include leaves, otherwise ``False`` ``internal`` (``bool``): ``True`` to include internal nodes, otherwise ``False`` Returns: ``int``: The total number of selected ...
"Compute the total number of selected nodes in this ``Tree``\n\n Args:\n ``leaves`` (``bool``): ``True`` to include leaves, otherwise ``False``\n\n ``internal`` (``bool``): ``True`` to include internal nodes, otherwise ``False``\n\n Returns:\n ``int``: The total number of ...
280
false
niemasd/TreeSwift
num_nodes
6,122
LDU_FT/dmbee/seglearn/transform
LDU_FT
[ "<BEGIN>\n## `fit`", "Fit the model", " Fit all the transforms one after the other and transform the\n data, then fit the transformed data using the final estimator.", " Parameters\n ----------\n X : iterable\n Training data. Must fulfill input requirements of fir...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Transforms the time series data into fixed length segments using padding and or truncation If y is a time series and passed, it will be transformed as well Parameters ---------- X : array-like, shape [n_series, ...] Time series data and (optionally) contextual data y ...
"Transforms the time series data into fixed length segments using padding and or truncation\n If y is a time series and passed, it will be transformed as well\n\n Parameters\n ----------\n X : array-like, shape [n_series, ...]\n Time series data and (optionally) contextual data\n ...
165
false
dmbee/seglearn
transform
6,123
LDU_FT/tanghaibao/goatools/_init_fld2col_widths
LDU_FT
[ "<BEGIN>\n## `run`", "Compare two or more sets of GO IDs. Best done using sections.\n<END>", "<BEGIN>\n## `get_nts_sorted`", "Return a flat list of grouped and sorted GO terms.\n<END>", "<BEGIN>\n## `get_sorted_hdrgo2usrgos`", "Return GO IDs sorting using go2nt's namedtuple.\n<END>", "<BEGIN>\n## `plot_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_fld2col_widths 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 _init_fld2col_widths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return default column widths for writing an Excel Spreadsheet.
"Return default column widths for writing an Excel Spreadsheet."
996
false
tanghaibao/goatools
_init_fld2col_widths
6,124
LDU_FT/ph4r05/monero-serialize/eref
LDU_FT
[ "<BEGIN>\n## `load_uint`", "Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>", "<BEGIN>\n## `dump_uint`", "Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>", "<BEGIN>\n## `load_uvarint_b`", "Vari...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eref API. 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 eref API. 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 element reference :param obj: :param key: :param is_assoc: :return:
"Returns element reference\n :param obj:\n :param key:\n :param is_assoc:\n :return:"
273
false
ph4r05/monero-serialize
eref
6,125
LDU_FT/poppy-project/pypot/recent_update_frequencies
LDU_FT
[ "<BEGIN>\n## `set_snap_server_variables`", "Change dynamically port and host variable in xml Snap! project file\n<END>", "<BEGIN>\n## `run`", "Start the tornado server, run forever.\n 'quiet' and 'server' arguments are no longer used, they are keep only for backward compatibility\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recent_update_frequencies 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 recent_update_frequencies API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Returns the 10 most recent update frequencies. The given frequencies are computed as short-term frequencies! The 0th element of the list corresponds to the most recent frequency.
"Returns the 10 most recent update frequencies.\n\n The given frequencies are computed as short-term frequencies!\n The 0th element of the list corresponds to the most recent frequency."
371
false
poppy-project/pypot
recent_update_frequencies
6,126
LDU_FT/Robin8Put/pmes/create_table
LDU_FT
[ "<BEGIN>\n## `create_table`", "RPC method for creating table with custom name and fields\n :return event id\n<END>", "<BEGIN>\n## `insert`", "RPC method for inserting data to the table\n :return: None\n<END>", "<BEGIN>\n## `select`", "RPC method for selecting data from the database\n :return sele...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Create table with defined name and fields :return: None
"Create table with defined name and fields\n :return: None"
170
false
Robin8Put/pmes
create_table
6,127
LDU_FT/ryan-roemer/django-cloud-browser/check_version
LDU_FT
[ "<BEGIN>\n## `is_key`", "Return ``True`` if result is a key object.\n<END>", "<BEGIN>\n## `parse_bool`", "Convert ``string`` or ``bool`` to ``bool``.\n<END>", "<BEGIN>\n## `container_permitted`", "Return whether or not a container is permitted.", " :param name: Container name.\n :return: `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_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 ext...
Require minimum version of module using ``__version__`` member.
"Require minimum version of module using ``__version__`` member."
96
false
ryan-roemer/django-cloud-browser
check_version
6,128
LDU_FT/semiversus/python-broqer/flush
LDU_FT
[ "<BEGIN>\n## `build_sink`", "Decorator to wrap a function to return a Sink subscriber.", " :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>", "<BEGIN>\n## `build_map`", "Decorator to wrap a function to return a Map operator.", " :param fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. 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 flush API. 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...
Flush the queue - this will emit the current queue
"Flush the queue - this will emit the current queue"
65
false
semiversus/python-broqer
flush
6,129
LDU_FT/delfick/nose-of-yeti/use_options
LDU_FT
[ "<BEGIN>\n## `normalise_key`", "Make sure key is a valid python attribute\n<END>", "<BEGIN>\n## `use_options`", "If extractor isn't specified, then just update self.values with options.", " Otherwise update values with whatever the result of calling extractor with\n our template and th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_options API. 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 use_options API. 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...
If extractor isn't specified, then just update self.values with options. Otherwise update values with whatever the result of calling extractor with our template and these options returns Also make sure all keys are transformed into valid python attribute names
"If extractor isn't specified, then just update self.values with options.\n\n Otherwise update values with whatever the result of calling extractor with\n our template and these options returns\n\n Also make sure all keys are transformed into valid python attribute names"
59
false
delfick/nose-of-yeti
use_options
6,130
LDU_FT/OpenHumans/open-humans-api/get_sources_by_member
LDU_FT
[ "<BEGIN>\n## `guess_tags`", "Function to get potential tags for files using the file names.", " :param filename: This field is the name of file.\n<END>", "<BEGIN>\n## `characterize_local_files`", "Collate local file info as preperation for Open Humans upload.", " Note: Files with filesize > max_byte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sources_by_member 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_sources_by_member API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Function returns which activities each member has joined. :param base_url: It is URL: `https://www.openhumans.org/api/public-data`. :param limit: It is the limit of data send by one request.
"Function returns which activities each member has joined.\n\n :param base_url: It is URL: `https://www.openhumans.org/api/public-data`.\n :param limit: It is the limit of data send by one request."
162
false
OpenHumans/open-humans-api
get_sources_by_member
6,131
LDU_FT/pydata/numexpr/assignBranchRegisters
LDU_FT
[ "<BEGIN>\n## `set_vml_accuracy_mode`", "Set the accuracy mode for VML operations.", " The `mode` parameter can take the values:\n - 'high': high accuracy mode (HA), <1 least significant bit\n - 'low': low accuracy mode (LA), typically 1-2 least significant bits\n - 'fast': enhanced performance mode ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assignBranchRegisters 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 assignBranchRegisters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Assign temporary registers to each of the branch nodes.
"Assign temporary registers to each of the branch nodes."
69
false
pydata/numexpr
assignBranchRegisters
6,132
LDU_FT/hackthefed/govtrack2csv/extract_events
LDU_FT
[ "<BEGIN>\n## `import_legislators`", "Read the legislators from the csv files into a single Dataframe. Intended\n for importing new data.\n<END>", "<BEGIN>\n## `import_committees`", "Read the committees from the csv files into a single Dataframe. Intended for importing new data.\n<END>", "<BEGIN>\n## `mov...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns all events from legislation. Thing of this as a log for congress. There are alot of events that occur around legislation. For now we are going to kepe it simple. Introduction, cosponsor, votes dates
"Returns all events from legislation. Thing of this as a log for congress.\n There are alot of events that occur around legislation. For now we are\n going to kepe it simple. Introduction, cosponsor, votes dates"
24
false
hackthefed/govtrack2csv
extract_events
6,133
LDU_FT/PeerAssets/pypeerassets/wait_for_confirmation
LDU_FT
[ "<BEGIN>\n## `parse_vote_info`", "decode vote init tx op_return protobuf message and validate it.\n<END>", "<BEGIN>\n## `vote_init`", "initialize vote transaction, must be signed by the deck_issuer privkey\n<END>", "<BEGIN>\n## `find_vote_casts`", "find and verify vote_casts on this vote_choice_address\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_confirmation 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_confirmation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Sleep on a loop until we see a confirmation of the transaction.
"Sleep on a loop until we see a confirmation of the transaction."
86
false
PeerAssets/pypeerassets
wait_for_confirmation
6,134
LDU_FT/timmahrt/pysle/_parsePronunciation
LDU_FT
[ "<BEGIN>\n## `spellCheckTextgrid`", "Spell check words by using the praatio spellcheck function", " Incorrect items are noted in a new tier and optionally\n printed to the screen\n<END>", "<BEGIN>\n## `naiveWordAlignment`", "Performs naive alignment for utterances in a textgrid", " Naive alig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parsePronunciation 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 _parsePronunciation 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...
Parses the pronunciation string Returns the list of syllables and a list of primary and secondary stress locations
"Parses the pronunciation string\n \n Returns the list of syllables and a list of primary and\n secondary stress locations"
60
false
timmahrt/pysle
_parsePronunciation
6,135
LDU_FT/ARMmbed/mbed-connector-api-python/getResources
LDU_FT
[ "<BEGIN>\n## `getConnectorVersion`", "GET the current Connector version.", "\t\t:returns: asyncResult object, populates error and result fields\n\t\t:rtype: asyncResult\n<END>", "<BEGIN>\n## `getEndpoints`", "Get list of all endpoints on the domain.", "\t\t:param str typeOfEndpoint: Optional filter endpo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getResources API. 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 getResources API. 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...
Get list of resources on an endpoint. :param str ep: Endpoint to get the resources of :param bool noResp: Optional - specify no response necessary from endpoint :param bool cacheOnly: Optional - get results from cache on connector, do not wake up endpoint :return: list of resources :rtype: asyncResult
"Get list of resources on an endpoint.\n\t\t\n\t\t:param str ep: Endpoint to get the resources of\n\t\t:param bool noResp: Optional - specify no response necessary from endpoint\n\t\t:param bool cacheOnly: Optional - get results from cache on connector, do not wake up endpoint\n\t\t:return: list of resources \n\t\t:rty...
56
false
ARMmbed/mbed-connector-api-python
getResources
6,136
LDU_FT/martinkosir/neverbounce-python/account
LDU_FT
[ "<BEGIN>\n## `verify`", "Verify a single email address.\n :param str email: Email address to verify.\n :return: A VerifiedEmail object.\n<END>", "<BEGIN>\n## `create_job`", "Create a new bulk verification job for the list of emails.\n :param list emails: Email addresses to verify.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the account API. 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 account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Get the API account details like balance of credits. :return: An Account object.
"Get the API account details like balance of credits.\n :return: An Account object."
22
false
martinkosir/neverbounce-python
account
6,137
LDU_FT/perrygeo/python-rasterstats/chunks
LDU_FT
[ "<BEGIN>\n## `zonalstats`", "zonalstats generates summary statistics of geospatial raster datasets\n based on vector features.", " The input arguments to zonalstats should be valid GeoJSON Features. (see cligj)", " The output GeoJSON will be mostly unchanged but have additional properties per feature...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunks API. 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 chunks API. 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 ...
Yield successive n-sized chunks from a slice-able iterable.
"Yield successive n-sized chunks from a slice-able iterable."
73
false
perrygeo/python-rasterstats
chunks
6,138
LDU_FT/SeleniumHQ/selenium/quit
LDU_FT
[ "<BEGIN>\n## `_make_w3c_caps`", "Makes a W3C alwaysMatch capabilities object.", " Filters out capability names that are not in the W3C spec. Spec-compliant\n drivers will reject requests containing unknown capability names.", " Moves the Firefox profile, if present, from the old location to the new F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Quits the driver and closes every associated window. :Usage: :: driver.quit()
"Quits the driver and closes every associated window.\n\n :Usage:\n ::\n\n driver.quit()"
547
false
SeleniumHQ/selenium
quit
6,139
LDU_FT/payu-org/payu/get_default_lab_path
LDU_FT
[ "<BEGIN>\n## `set_model_pathnames`", "Define the paths associated with this model.\n<END>", "<BEGIN>\n## `archive`", "Store model output to laboratory archive.\n<END>", "<BEGIN>\n## `parse`", "Parse the command line inputs and execute the subcommand.\n<END>", "<BEGIN>\n## `get_model_type`", "Determine...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_lab_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_lab_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generate a default laboratory path based on user environment.
"Generate a default laboratory path based on user environment."
78
false
payu-org/payu
get_default_lab_path
6,140
LDU_FT/sbg/sevenbridges-python/add_member
LDU_FT
[ "<BEGIN>\n## `query`", "Query (List) tasks. Date parameters may be both strings and python date\n objects.\n :param project: Target project. optional.\n :param status: Task status.\n :param batch: Only batch tasks.\n :param parent: Parent batch task identifier.\n :param e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_member API. 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 add_member API. 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...
Add member to team :param user: User object or user's username :return: Added user.
"Add member to team\n :param user: User object or user's username\n :return: Added user."
292
false
sbg/sevenbridges-python
add_member
6,141
LDU_FT/TheHive-Project/Cortex-Analyzers/query
LDU_FT
[ "<BEGIN>\n## `auth_string`", "Authenticate based on username and token which is base64-encoded\n<END>", "<BEGIN>\n## `api_related`", "Find related objects through SoltraEdge API\n<END>", "<BEGIN>\n## `tlp_classifiers`", "Classifier between Cortex and Soltra.\n Soltra uses name-TLP, and Cortex \"val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API. 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 query API. 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...
The actual query happens here. Time from queries is replaced with isoformat. :param domain: The domain which should gets queried. :type domain: str :returns: List of dicts containing the search results. :rtype: [list, dict]
"The actual query happens here. Time from queries is replaced with isoformat.\n\n :param domain: The domain which should gets queried.\n :type domain: str\n :returns: List of dicts containing the search results.\n :rtype: [list, dict]"
328
false
TheHive-Project/Cortex-Analyzers
query
6,142
LDU_FT/angr/claripy/has_false
LDU_FT
[ "<BEGIN>\n## `_align_ast`", "Aligns the AST so that the argument with the highest cardinality is on the left.", " :return: a new AST.\n<END>", "<BEGIN>\n## `_doit`", "This function processes the list of truisms and finds bounds for ASTs.\n<END>", "<BEGIN>\n## `_handleable_truism`", "Checks whethe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_false API. 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 has_false API. 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...
Should return False if `e` can possibly be False. :param e: The AST. :param extra_constraints: Extra constraints (as ASTs) to add to the solver for this solve. :param solver: A solver, for backends that require it. :param model_callback: a function ...
"Should return False if `e` can possibly be False.\n\n :param e: The AST.\n :param extra_constraints: Extra constraints (as ASTs) to add to the solver for this solve.\n :param solver: A solver, for backends that require it.\n :param model_callback: a fun...
453
false
angr/claripy
has_false
6,143
LDU_FT/rosshamish/catanlog/flush
LDU_FT
[ "<BEGIN>\n## `logpath`", "Return the logfile path and filename as a string.", " The file with name self.logpath() is written to on flush().", " The filename contains the log's timestamp and the names of players in the game.\n The logpath changes when reset() or _set_players() are called, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. 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 flush API. 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...
Append the latest updates to file, or optionally to stdout instead. See the constructor for logging options.
"Append the latest updates to file, or optionally to stdout instead. See the constructor\n for logging options."
47
false
rosshamish/catanlog
flush
6,144
LDU_FT/tchellomello/python-arlo/schedule_snapshot
LDU_FT
[ "<BEGIN>\n## `query`", "Return a JSON object or raw session.", " :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_snapshot API. 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 schedule_snapshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Trigger snapshot to be uploaded to AWS. Return success state.
"Trigger snapshot to be uploaded to AWS.\n Return success state."
69
false
tchellomello/python-arlo
schedule_snapshot
6,145
LDU_FT/opennode/waldur-core/format_raw_field
LDU_FT
[ "<BEGIN>\n## `subfield_get`", "Verbatim copy from:\n https://github.com/django/django/blob/1.9.13/django/db/models/fields/subclassing.py#L38\n<END>", "<BEGIN>\n## `_preprocess_kwargs`", "Replace generic key related attribute with filters by object_id and content_type fields\n<END>", "<BEGIN>\n## `list`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_raw_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_raw_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
When ElasticSearch analyzes string, it breaks it into parts. In order make query for not-analyzed exact string values, we should use subfield instead. The index template for Elasticsearch 5.0 has been changed. The subfield for string multi-fields has changed from .raw to .keyword Thus workaround for b...
"When ElasticSearch analyzes string, it breaks it into parts.\n In order make query for not-analyzed exact string values, we should use subfield instead.\n\n The index template for Elasticsearch 5.0 has been changed.\n The subfield for string multi-fields has changed from .raw to .keyword\n\n Thus workaroun...
526
false
opennode/waldur-core
format_raw_field
6,146
LDU_FT/wavefrontHQ/python-client/search_registered_query_deleted_for_facets
LDU_FT
[ "<BEGIN>\n## `display`", "Sets the display of this Message.", " The form of display for this message # noqa: E501", " :param display: The display of this Message. # noqa: E501\n :type: str\n<END>", "<BEGIN>\n## `scope`", "Sets the scope of this Message.", " The audience sco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_registered_query_deleted_for_facets 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 search_registered_query_deleted_for_facets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic...
Lists the values of one or more facets over the customer's deleted derived metric definitions # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_registered_query_d...
"Lists the values of one or more facets over the customer's deleted derived metric definitions # noqa: E501\n\n # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.search_registered_q...
954
false
wavefrontHQ/python-client
search_registered_query_deleted_for_facets
6,147
LDU_FT/andreasjansson/head-in-the-clouds/up
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new base with specified field names\r\n A keyword argument mode can be specified ; it is used if a file\r\n with the base name already exists\r\n - if mode = 'open' : open the existing base, ignore the fields\r\n - if mode = 'override' : erase the exis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the up API. 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 docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the up API. 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 docu...
Create servers and containers as required to meet the configuration specified in _name_. Args: * name: The name of the yaml config file (you can omit the .yml extension for convenience) Example: fab ensemble.up:wordpress
"Create servers and containers as required to meet the configuration\n specified in _name_.\n\n Args:\n * name: The name of the yaml config file (you can omit the .yml extension for convenience)\n\n Example:\n fab ensemble.up:wordpress"
101
false
andreasjansson/head-in-the-clouds
up
6,148
LDU_FT/dnanexus/dx-toolkit/notifications_get
LDU_FT
[ "<BEGIN>\n## `load_app_resource`", ":param kwargs: keyword args for :func:`~dxpy.bindings.search.find_one_data_object`, with the exception of \"project\"\n :raises: :exc:`~dxpy.exceptions.DXError` if \"project\" is given, if this is called with dxpy.JOB_ID not set, or if \"DX_RESOURCES_ID\" or \"DX_PROJECT_CON...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notifications_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notifications_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...
Invokes the /notifications/get API method.
"Invokes the /notifications/get API method."
1,430
true
dnanexus/dx-toolkit
notifications_get
6,149
LDU_FT/Robpol86/sphinxcontrib-imgur/event_doctree_read
LDU_FT
[ "<BEGIN>\n## `query_api`", "Query the Imgur API.", " :raise APIError: When Imgur responds with errors or unexpected data.", " :param sphinx.application.Sphinx app: Sphinx application object.\n :param str client_id: Imgur API client ID to use. https://api.imgur.com/oauth2\n :param str imgur_id: The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_doctree_read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_doctree_read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Called by Sphinx during phase 1 (reading). * Add new Imgur IDs to the cache. :param sphinx.application.Sphinx app: Sphinx application object. :param docutils.nodes.document doctree: Tree of docutils nodes.
"Called by Sphinx during phase 1 (reading).\n\n * Add new Imgur IDs to the cache.\n\n :param sphinx.application.Sphinx app: Sphinx application object.\n :param docutils.nodes.document doctree: Tree of docutils nodes."
90
false
Robpol86/sphinxcontrib-imgur
event_doctree_read
6,150
LDU_FT/bitcraze/crazyflie-lib-python/start_trajectory
LDU_FT
[ "<BEGIN>\n## `set_group_mask`", "Set the group mask that the Crazyflie belongs to", " :param group_mask: mask for which groups this CF belongs to\n<END>", "<BEGIN>\n## `takeoff`", "vertical takeoff from current x-y position to given height", " :param absolute_height_m: absolut (m)\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_trajectory API. 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 start_trajectory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
starts executing a specified trajectory :param trajectory_id: id of the trajectory (previously defined by define_trajectory) :param time_scale: time factor; 1.0 = original speed; >1.0: slower; <1.0: faster ...
"starts executing a specified trajectory\n\n :param trajectory_id: id of the trajectory (previously defined by\n define_trajectory)\n :param time_scale: time factor; 1.0 = original speed;\n >1.0: slower;\n <1.0: fa...
312
false
bitcraze/crazyflie-lib-python
start_trajectory
6,151
LDU_FT/Bystroushaak/zeo_connector_defaults/tmp_context
LDU_FT
[ "<BEGIN>\n## `data_context_name`", "Return the `fn` in absolute path in `template_data` directory.\n<END>", "<BEGIN>\n## `data_context`", "Return content fo the `fn` from the `template_data` directory.\n<END>", "<BEGIN>\n## `tmp_context`", "Return content fo the `fn` from the temporary directory.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tmp_context API. 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 tmp_context API. 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 content fo the `fn` from the temporary directory.
"Return content fo the `fn` from the temporary directory."
10
false
Bystroushaak/zeo_connector_defaults
tmp_context
6,152
LDU_FT/RRZE-HPC/pycachesim/levels
LDU_FT
[ "<BEGIN>\n## `load`", "Load one or more addresses.", " :param addr: byte address of load location\n :param length: All address from addr until addr+length (exclusive) are\n loaded (default: 1)\n<END>", "<BEGIN>\n## `store`", "Store one or more adresses.", " :para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the levels API. 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 levels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return cache levels, optionally including main memory.
"Return cache levels, optionally including main memory."
19
false
RRZE-HPC/pycachesim
levels
6,153
LDU_FT/StagPython/StagPy/dt_dt
LDU_FT
[ "<BEGIN>\n## `out_name`", "Return StagPy out file name.", " Args:\n stem (str): short description of file content.\n timestep (int): timestep if relevant.", " Returns:\n str: the output file name.", " Other Parameters:\n conf.core.outname (str): the generic name stem, de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dt_dt API. 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 dt_dt API. 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...
Derivative of temperature. Compute dT/dt as a function of time using an explicit Euler scheme. Args: sdat (:class:`~stagpy.stagyydata.StagyyData`): a StagyyData instance. tstart (float): time at which the computation should start. Use the beginning of the time series data if set to...
"Derivative of temperature.\n\n Compute dT/dt as a function of time using an explicit Euler scheme.\n\n Args:\n sdat (:class:`~stagpy.stagyydata.StagyyData`): a StagyyData instance.\n tstart (float): time at which the computation should start. Use the\n beginning of the time series data i...
299
false
StagPython/StagPy
dt_dt
6,154
LDU_FT/explosion/thinc/compounding
LDU_FT
[ "<BEGIN>\n## `compounding`", "Yield an infinite series of compounding values. Each time the\n generator is called, a value is produced by multiplying the previous\n value by the compound rate.", " EXAMPLE:\n >>> sizes = compounding(1., 10., 1.5)\n >>> assert next(sizes) == 1.\n >>> asser...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compounding API. 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 compounding API. 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...
Yield an infinite series of compounding values. Each time the generator is called, a value is produced by multiplying the previous value by the compound rate. EXAMPLE: >>> sizes = compounding(1., 10., 1.5) >>> assert next(sizes) == 1. >>> assert next(sizes) == 1 * 1.5 >>> assert nex...
"Yield an infinite series of compounding values. Each time the\n generator is called, a value is produced by multiplying the previous\n value by the compound rate.\n\n EXAMPLE:\n >>> sizes = compounding(1., 10., 1.5)\n >>> assert next(sizes) == 1.\n >>> assert next(sizes) == 1 * 1.5\n >>> a...
75
false
explosion/thinc
compounding
6,155
LDU_FT/FNNDSC/pfmisc/isfile
LDU_FT
[ "<BEGIN>\n## `authorizeClientRequest`", "Checks the authorization permissions of the bearer token passed, and determines whether the sender is permitted to make the request housed in the payload.\n Usage:\n request = The header object from pfioh, or the whole request from pman. This is parsed fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isfile API. 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 isfile API. 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 ...
A convenience function, returns bool if <str_path> is a "file" in the tree space
"A convenience function, returns bool if <str_path> is\n a \"file\" in the tree space"
165
false
FNNDSC/pfmisc
isfile
6,156
LDU_FT/great-expectations/great_expectations/_append_expectation
LDU_FT
[ "<BEGIN>\n## `_setup_source_conn`", "Retrieve connection based on source_conn_id. In case of s3 it also configures the bucket.\n Validates that connection id belongs to supported connection type.\n :param source_conn_id:\n :param source_bucket_name:\n<END>", "<BEGIN>\n## `_setup_dest_conn`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_expectation 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 _append_expectation 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...
Appends an expectation to `DataAsset._expectations_config` and drops existing expectations of the same type. If `expectation_config` is a column expectation, this drops existing expectations that are specific to \ that column and only if it is the same expectation type as `expectation_config`. Ot...
"Appends an expectation to `DataAsset._expectations_config` and drops existing expectations of the same type.\n\n If `expectation_config` is a column expectation, this drops existing expectations that are specific to \\\n that column and only if it is the same expectation type as `expectation_config...
475
false
great-expectations/great_expectations
_append_expectation
6,157
LDU_FT/willkg/socorro-siggen/main
LDU_FT
[ "<BEGIN>\n## `_get_file_content`", "Return a tuple, each value being a line of the source file.", " Remove empty lines and comments (lines starting with a '#').\n<END>", "<BEGIN>\n## `main`", "Takes crash data via stdin and generates a Socorro signature\n<END>", "<BEGIN>\n## `convert_to_crash_data`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Takes crash data via stdin and generates a Socorro signature
"Takes crash data via stdin and generates a Socorro signature"
66
false
willkg/socorro-siggen
main
6,158
LDU_FT/pmacosta/ptrie/make_root
LDU_FT
[ "<BEGIN>\n## `_create_intermediate_nodes`", "Create intermediate nodes if hierarchy does not exist.\n<END>", "<BEGIN>\n## `_delete_subtree`", "Delete subtree private method.", " No argument validation and usage of getter/setter private methods is\n used for speed\n<END>", "<BEGIN>\n## `_prt`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_root API. 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 make_root API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
r""" Make a sub-node the root node of the tree. All nodes not belonging to the sub-tree are deleted :param name: New root node name :type name: :ref:`NodeName` :raises: * RuntimeError (Argument \`name\` is not valid) * RuntimeError (Node *[name]* not in tre...
"r\"\"\"\n Make a sub-node the root node of the tree.\n\n All nodes not belonging to the sub-tree are deleted\n\n :param name: New root node name\n :type name: :ref:`NodeName`\n\n :raises:\n * RuntimeError (Argument \\`name\\` is not valid)\n\n * RuntimeError (Node *[...
166
false
pmacosta/ptrie
make_root
6,159
LDU_FT/minhhoit/yacms/page_not_found
LDU_FT
[ "<BEGIN>\n## `formfield`", "Apply the widget class defined by the\n ``RICHTEXT_WIDGET_CLASS`` setting.\n<END>", "<BEGIN>\n## `as_tag`", "Creates a tag expecting the format:\n ``{% tag_name as var_name %}``\n The decorated func returns the value that is given to\n ``var_name`` in th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_not_found API. 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 page_not_found API. 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...
Mimics Django's 404 handler but with a different template path.
"Mimics Django's 404 handler but with a different template path."
502
false
minhhoit/yacms
page_not_found
6,160
LDU_FT/kodexlab/reliure/select
LDU_FT
[ "<BEGIN>\n## `add_field`", "Add a named field to the schema.", " .. Warning:: the field name should not contains spaces and should not\n start with an underscore.", " :param name: name of the new field\n :type name: str\n :param field: type instance for the field \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Select the components that will by played (with given options). `options` will be passed to :func:`.Optionable.parse_options` if the component is a subclass of :class:`Optionable`. .. Warning:: this function also setup the options (if given) of the selected component. Use :func:`cl...
"Select the components that will by played (with given options).\n\n `options` will be passed to :func:`.Optionable.parse_options` if the\n component is a subclass of :class:`Optionable`.\n\n .. Warning:: this function also setup the options (if given) of the\n selected component. Use :f...
243
false
kodexlab/reliure
select
6,161
LDU_FT/Bogdanp/dramatiq/flush_all
LDU_FT
[ "<BEGIN>\n## `consume`", "Create a new consumer for a queue.", " Parameters:\n queue_name(str): The queue to consume.\n prefetch(int): The number of messages to prefetch.\n timeout(int): The idle timeout in milliseconds.", " Returns:\n Consumer: A consumer tha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush_all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush_all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Drop all messages from all declared queues.
"Drop all messages from all declared queues."
219
false
Bogdanp/dramatiq
flush_all
6,162
LDU_FT/slundberg/shap/boston
LDU_FT
[ "<BEGIN>\n## `imagenet50`", "This is a set of 50 images representative of ImageNet images.", " This dataset was collected by randomly finding a working ImageNet link and then pasting the\n original ImageNet image into Google image search restricted to images licensed for reuse. A\n similar image (now w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the boston API. 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 boston API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return the boston housing data in a nice package.
"Return the boston housing data in a nice package."
299
false
slundberg/shap
boston
6,163
LDU_FT/lsanomaly/lsanomaly/fit
LDU_FT
[ "<BEGIN>\n## `median_kneighbour_distance`", "Calculate the median kneighbor distance.", " Find the distance between a set of random datapoints and\n their kth nearest neighbours. This is a heuristic for setting the\n kernel length scale.\n<END>", "<BEGIN>\n## `pair_distance_centile`", "Calculate ce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Fit the inlier model given training data. This function attempts to choose reasonable defaults for parameters sigma and rho if none are specified, which could then be adjusted to improve performance. Parameters ---------- X : array Examples of inlier data, o...
"Fit the inlier model given training data.\n\n This function attempts to choose reasonable defaults for parameters\n sigma and rho if none are specified, which could then be adjusted\n to improve performance.\n\n Parameters\n ----------\n X : array\n Examples of inli...
29
false
lsanomaly/lsanomaly
fit
6,164
LDU_FT/eaton-lab/toytree/assign_node_labels_and_sizes
LDU_FT
[ "<BEGIN>\n## `_translate_nodes`", "Convert node names into node instances...\n<END>", "<BEGIN>\n## `add_child`", "Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.", " Parameters\n ----------", " child: \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_node_labels_and_sizes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_node_labels_and_sizes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
assign features of nodes to be plotted based on user kwargs
"assign features of nodes to be plotted based on user kwargs"
332
false
eaton-lab/toytree
assign_node_labels_and_sizes
6,165
LDU_FT/bdcht/grandalf/setxy
LDU_FT
[ "<BEGIN>\n## `_meanvalueattr`", "find new position of vertex v according to adjacency in prevlayer.\n position is given by the mean value of adjacent positions.\n experiments show that meanvalue heuristic performs better than median.\n<END>", "<BEGIN>\n## `_medianindex`", "find new position of v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setxy API. 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 setxy API. 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...
computes all vertex coordinates (x,y) using an algorithm by Brandes & Kopf.
"computes all vertex coordinates (x,y) using\n an algorithm by Brandes & Kopf."
41
false
bdcht/grandalf
setxy
6,166
LDU_FT/quantopian/alphalens/compute_mean_returns_spread
LDU_FT
[ "<BEGIN>\n## `factor_information_coefficient`", "Computes the Spearman Rank Correlation based Information Coefficient (IC)\n between factor values and N period forward returns for each period in\n the factor index.", " Parameters\n ----------\n factor_data : pd.DataFrame - MultiIndex\n A M...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_mean_returns_spread 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 compute_mean_returns_spread API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Computes the difference between the mean returns of two quantiles. Optionally, computes the standard error of this difference. Parameters ---------- mean_returns : pd.DataFrame DataFrame of mean period wise returns by quantile. MultiIndex containing date and quantile. See me...
"Computes the difference between the mean returns of\n two quantiles. Optionally, computes the standard error\n of this difference.\n\n Parameters\n ----------\n mean_returns : pd.DataFrame\n DataFrame of mean period wise returns by quantile.\n MultiIndex containing date and quantile.\n ...
243
false
quantopian/alphalens
compute_mean_returns_spread
6,167
LDU_FT/blockchain-certificates/cert-issuer/calculate_tx_fee
LDU_FT
[ "<BEGIN>\n## `check_internet_off`", "If internet off and USB plugged in, returns true. Else, continues to wait...\n<END>", "<BEGIN>\n## `check_internet_on`", "If internet on and USB unplugged, returns true. Else, continues to wait...\n<END>", "<BEGIN>\n## `issue`", "Issue the certificates on the blockchai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_tx_fee API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_tx_fee API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
The course grained (hard-coded value) of something like 0.0001 BTC works great for standard transactions (one input, one output). However, it will cause a lag in more complex or large transactions. So we calculate the raw tx fee, then take the max of the default fee and the refined cost to ensure prompt process...
"The course grained (hard-coded value) of something like 0.0001 BTC works great for standard transactions\n (one input, one output). However, it will cause a lag in more complex or large transactions. So we calculate the\n raw tx fee, then take the max of the default fee and the refined cost to ensure prompt proc...
62
false
blockchain-certificates/cert-issuer
calculate_tx_fee
6,168
LDU_FT/pzs741/TEDT/check_time_extrator
LDU_FT
[ "<BEGIN>\n## `get_url`", "获取url地址并根据网页编码格式自动解析", " Keyword arguments:\n url -- 用户传入地址,头部必须含有http://\n Return:\n 网页源代码(为了下一步预处理方便,所有英文字母转换为小写)\n 网页编解码\n<END>", "<BEGIN>\n## `html_clean`", "获取网页源代码并进行预处理", " Keyword arguments:\n html_code -- 网页源代码,字符...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_time_extrator 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 check_time_extrator 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...
将抽取得时间转换为date标准时间格式 Keyword arguments: string -- 含有时间的文本,str类型 Return: release_time -- 新闻发布时间
"将抽取得时间转换为date标准时间格式\n\n Keyword arguments:\n string -- 含有时间的文本,str类型\n Return:\n release_time -- 新闻发布时间"
91
false
pzs741/TEDT
check_time_extrator
6,169
LDU_FT/kislyuk/ensure/contains_none_of
LDU_FT
[ "<BEGIN>\n## `ensure_annotations`", "Decorator to be used on functions with annotations. Runs type checks to enforce annotations. Raises\n :class:`EnsureError` if any argument passed to *f* is not of the type specified by the annotation. Also raises\n :class:`EnsureError` if the return value of *f* is not o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains_none_of API. 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 contains_none_of API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Ensures :attr:`subject` contains none of *elements*, which must be an iterable.
"Ensures :attr:`subject` contains none of *elements*, which must be an iterable."
81
false
kislyuk/ensure
contains_none_of
6,170
LDU_FT/kenlowrie/pylib/pyVersionStr
LDU_FT
[ "<BEGIN>\n## `pushd`", "Push the current working directory (CWD) onto a stack, set CWD to 'dir'", " Save the CWD onto a global stack so that we can return to it later. If dir\n is None, the function simply stores the CWD onto the stack and returns.\n Use :py:meth:`popd()` to restore the original direct...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pyVersionStr API. 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 pyVersionStr API. 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...
Version of Python running my script Returns ------- str A descriptive string containing the version of Python running this script.
"Version of Python running my script\n\n Returns\n -------\n str\n A descriptive string containing the version of Python running\n this script."
34
false
kenlowrie/pylib
pyVersionStr
6,171
LDU_FT/HPENetworking/PYHPEIMC/get_plat_operator
LDU_FT
[ "<BEGIN>\n## `get_real_time_locate`", "function takes the ipAddress of a specific host and issues a RESTFUL call to get the device and interface that the\n target host is currently connected to. Note: Although intended to return a single location, Multiple locations may\n be returned for a single host due t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plat_operator API. 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_plat_operator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Funtion takes no inputs and returns a list of dictionaties of all of the operators currently configured on the HPE IMC system :return: list of dictionaries
"Funtion takes no inputs and returns a list of dictionaties of all of the operators currently configured on the HPE\n IMC system\n :return: list of dictionaries"
1,448
true
HPENetworking/PYHPEIMC
get_plat_operator
6,172