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/pjamesjoyce/lcopt/lcopt_bw2_setup | LDU_FT | [
"<BEGIN>\n## `write`",
"write the current settings to the config file\n<END>",
"<BEGIN>\n## `hierarchy_pos`",
"If there is a cycle that is reachable from root, then this will see infinite recursion.\n G: the graph\n root: the root node of current branch\n width: horizontal space allocated fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lcopt_bw2_setup API.
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 lcopt_bw2_setup API.
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... | Utility function to set up brightway2 to work correctly with lcopt.
It requires the path to the ecospold files containing the Ecoinvent 3.3 cutoff database.
If you don't have these files, log into `ecoinvent.org <http://www.ecoinvent.org/login-databases.html>`_ and go to the Files tab
Download the file ... | "Utility function to set up brightway2 to work correctly with lcopt.\n\n It requires the path to the ecospold files containing the Ecoinvent 3.3 cutoff database.\n\n If you don't have these files, log into `ecoinvent.org <http://www.ecoinvent.org/login-databases.html>`_ and go to the Files tab\n\n Download th... | 73 | false | pjamesjoyce/lcopt | lcopt_bw2_setup | 16,773 | |
LDU_FT/graphql-python/graphql-core-next/build_ast_schema | LDU_FT | [
"<BEGIN>\n## `uni_char_code`",
"Convert unicode characters to integers.",
" Converts four hexadecimal chars to the integer that the string represents.\n For example, uni_char_code('0','0','0','f') will return 15,\n and uni_char_code('0','0','f','f') returns 255.",
" Returns a negative number on er... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_ast_schema API.
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 build_ast_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Build a GraphQL Schema from a given AST.
This takes the ast of a schema document produced by the parse function in
src/language/parser.py.
If no schema definition is provided, then it will look for types named Query
and Mutation.
Given that AST it constructs a GraphQLSchema. The resulting schema ... | "Build a GraphQL Schema from a given AST.\n\n This takes the ast of a schema document produced by the parse function in\n src/language/parser.py.\n\n If no schema definition is provided, then it will look for types named Query\n and Mutation.\n\n Given that AST it constructs a GraphQLSchema. The resultin... | 470 | false | graphql-python/graphql-core-next | build_ast_schema | 16,774 | |
LDU_FT/miLibris/flask-rest-jsonapi/related_model | LDU_FT | [
"<BEGIN>\n## `_get_key_values`",
"Return a dict containing key / values items for a given key, used for items like filters, page, etc.",
" :param str name: name of the querystring parameter\n :return dict: a dict of key / values items\n<END>",
"<BEGIN>\n## `querystring`",
"Return original quer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the related_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the related_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the related model of a relationship field
:return DeclarativeMeta: the related model | "Get the related model of a relationship field\n\n :return DeclarativeMeta: the related model" | 149 | false | miLibris/flask-rest-jsonapi | related_model | 16,775 | |
LDU_FT/inspirehep/inspire-json-merger/merge | LDU_FT | [
"<BEGIN>\n## `scan_author_string_for_phrases`",
"Scan a name string and output an object representing its structure.\n Example:\n Sample output for the name 'Jingleheimer Schmitt, John Jacob, XVI.' is::\n {\n 'TOKEN_TAG_LIST' : ['lastnames', 'nonlastnames', 'titles', 'raw'],\n ... | 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... | This function instantiate a ``Merger`` object using a configuration in
according to the ``source`` value of head and update params.
Then it run the merger on the three files provided in input.
Params
root(dict): the last common parent json of head and update
head(dict): the last version of ... | "This function instantiate a ``Merger`` object using a configuration in\n according to the ``source`` value of head and update params.\n Then it run the merger on the three files provided in input.\n\n Params\n root(dict): the last common parent json of head and update\n head(dict): the last vers... | 32 | false | inspirehep/inspire-json-merger | merge | 16,776 | |
LDU_FT/markovmodel/PyEMMA/_generate_lags | LDU_FT | [
"<BEGIN>\n## `filenames`",
"list of file names the data is originally being read from.",
" Returns\n -------\n names : list of str\n list of file names at the beginning of the input chain.\n<END>",
"<BEGIN>\n## `_data_flow_chain`",
"Get a list of all elements in the data flow... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_lags API.
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 _generate_lags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | r"""Generate a set of lag times starting from 1 to maxlag,
using the given multiplier between successive lags | "r\"\"\"Generate a set of lag times starting from 1 to maxlag,\n using the given multiplier between successive lags" | 1,924 | true | markovmodel/PyEMMA | _generate_lags | 16,777 | |
LDU_FT/aws/sagemaker-python-sdk/tuning_config | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy this ``Model`` to an ``Endpoint`` and optionally return a ``Predictor``.",
" Create a SageMaker ``Model`` and ``EndpointConfig``, and deploy an ``Endpoint`` from this ``Model``.\n If ``self.predictor_cls`` is not None, this method returns a the result of invoking\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tuning_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tuning_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Export Airflow tuning config from an estimator
Args:
tuner (sagemaker.tuner.HyperparameterTuner): The tuner to export tuning config from.
inputs: Information about the training data. Please refer to the ``fit()`` method of
the associated estimator in the tuner, as this can take any ... | "Export Airflow tuning config from an estimator\n\n Args:\n tuner (sagemaker.tuner.HyperparameterTuner): The tuner to export tuning config from.\n inputs: Information about the training data. Please refer to the ``fit()`` method of\n the associated estimator in the tuner, as this can tak... | 796 | false | aws/sagemaker-python-sdk | tuning_config | 16,778 | |
LDU_FT/gplepage/lsqfit/_unpack_fcn | LDU_FT | [
"<BEGIN>\n## `run`",
"Append version number to lsqfit/__init__.py\n<END>",
"<BEGIN>\n## `_reformat`",
"Apply format of ``p`` to data in 1-d array ``buf``.\n<END>",
"<BEGIN>\n## `_unpack_data`",
"Unpack data and prior into ``(x, y, prior, fdata)``.",
" This routine unpacks ``data`` and ``prior`` into ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack_fcn API.
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 _unpack_fcn API.
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... | reconfigure fitting fcn so inputs, outputs = flat arrays; hide x | "reconfigure fitting fcn so inputs, outputs = flat arrays; hide x" | 208 | false | gplepage/lsqfit | _unpack_fcn | 16,779 | |
LDU_FT/Lagg/steamodd/level | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns context data for a given app, can be an ID or a case insensitive name\n<END>",
"<BEGIN>\n## `hash_name`",
"The URL-friendly identifier for the item. Generates its own approximation if one isn't available\n<END>",
"<BEGIN>\n## `quality`",
"Can't really trust presence of a sche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the level API.
Each 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 level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns the the user's profile level, note that this runs a separate
request because the profile level data isn't in the standard player summary
output even though it should be. Which is also why it's not implemented
as a separate class. You won't need this output and not the profile output | "Returns the the user's profile level, note that this runs a separate\n request because the profile level data isn't in the standard player summary\n output even though it should be. Which is also why it's not implemented\n as a separate class. You won't need this output and not the profile output" | 49 | false | Lagg/steamodd | level | 16,780 | |
LDU_FT/jeongyoonlee/Kaggler/save_libsvm | LDU_FT | [
"<BEGIN>\n## `fit`",
"Train a network with the quasi-Newton method.",
" Args:\n X (np.array of float): feature matrix for training\n y (np.array of float): target values for training\n X_val (np.array of float): feature matrix for validation\n y_val (np.array o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_libsvm API.
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 save_libsvm API.
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... | Save data as a LibSVM file.
Args:
X (numpy or scipy sparse matrix): Data matrix
y (numpy array): Target vector.
path (str): Path to the CSV file to save data. | "Save data as a LibSVM file.\n\n Args:\n X (numpy or scipy sparse matrix): Data matrix\n y (numpy array): Target vector.\n path (str): Path to the CSV file to save data." | 114 | false | jeongyoonlee/Kaggler | save_libsvm | 16,781 | |
LDU_FT/robehickman/simple-http-file-sync/begin_commit | LDU_FT | [
"<BEGIN>\n## `lock_access`",
"Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>",
"<BEGIN>\n## `can_aquire_user_lock`",
"Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the begin_commit API.
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 begin_commit API.
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... | Allow a client to begin a commit and acquire the write lock | "Allow a client to begin a commit and acquire the write lock" | 60 | false | robehickman/simple-http-file-sync | begin_commit | 16,782 | |
LDU_FT/awacha/sastool/fit | LDU_FT | [
"<BEGIN>\n## `readB1logfile`",
"Read B1 logfile (*.log)",
" Inputs:\n filename: the file name",
" Output: A dictionary.\n<END>",
"<BEGIN>\n## `writeB1logfile`",
"Write a header structure into a B1 logfile.",
" Inputs:\n filename: name of the file.\n data: header dictionary"... | 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... | Perform a nonlinear least-squares fit, using sastool.misc.fitter.Fitter()
Other arguments and keyword arguments will be passed through to the
__init__ method of Fitter. For example, these are:
- lbounds
- ubounds
- ytransform
- loss
- method
Returns: the... | "Perform a nonlinear least-squares fit, using sastool.misc.fitter.Fitter()\n\n Other arguments and keyword arguments will be passed through to the\n __init__ method of Fitter. For example, these are:\n - lbounds\n - ubounds\n - ytransform\n - loss\n - method\n\n R... | 426 | false | awacha/sastool | fit | 16,783 | |
LDU_FT/iancmcc/ouimeaux/receiver | LDU_FT | [
"<BEGIN>\n## `get_func_full_args`",
"Return a list of (argument name, default value) tuples. If the argument\n does not have a default value, omit it in the tuple. Arguments such as\n *args and **kwargs are also included.\n<END>",
"<BEGIN>\n## `func_accepts_var_args`",
"Return True if function 'func' ac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receiver API.
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 receiver API.
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 decorator for connecting receivers to signals. Used by passing in the
signal (or list of signals) and keyword arguments to connect::
@receiver(post_save, sender=MyModel)
def signal_receiver(sender, **kwargs):
...
@receiver([post_save, post_delete], sender=MyModel)
def... | "A decorator for connecting receivers to signals. Used by passing in the\n signal (or list of signals) and keyword arguments to connect::\n\n @receiver(post_save, sender=MyModel)\n def signal_receiver(sender, **kwargs):\n ...\n\n @receiver([post_save, post_delete], sender=MyModel)\n ... | 48 | false | iancmcc/ouimeaux | receiver | 16,784 | |
LDU_FT/elmotec/massedit/append_executable | LDU_FT | [
"<BEGIN>\n## `get_function`",
"Retrieve the function defined by the function_name.",
" Arguments:\n fn_name: specification of the type module:function_name.\n<END>",
"<BEGIN>\n## `parse_command_line`",
"Parse command line argument. See -h option.",
" Arguments:\n argv: arguments on the com... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_executable API.
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 append_executable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Append san executable os command to the list to be called.
Argument:
executable (str): os callable executable. | "Append san executable os command to the list to be called.\n\n Argument:\n executable (str): os callable executable." | 43 | false | elmotec/massedit | append_executable | 16,785 | |
LDU_FT/LuminosoInsight/wordfreq/preprocess_text | LDU_FT | [
"<BEGIN>\n## `simple_tokenize`",
"Tokenize the given text using a straightforward, Unicode-aware token\n expression.",
" The expression mostly implements the rules of Unicode Annex #29 that\n are contained in the `regex` module's word boundary matching, including\n the refinement that splits words b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preprocess_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preprocess_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | This function applies pre-processing steps that convert forms of words
considered equivalent into one standardized form.
As one straightforward step, it case-folds the text. For the purposes of
wordfreq and related tools, a capitalized word shouldn't have a different
frequency from its lowercase versio... | "This function applies pre-processing steps that convert forms of words\n considered equivalent into one standardized form.\n\n As one straightforward step, it case-folds the text. For the purposes of\n wordfreq and related tools, a capitalized word shouldn't have a different\n frequency from its lowercase ... | 139 | false | LuminosoInsight/wordfreq | preprocess_text | 16,786 | |
LDU_FT/bykof/billomapy/update_email_template | LDU_FT | [
"<BEGIN>\n## `_create_get_request`",
"Creates a get request and return the response data\n<END>",
"<BEGIN>\n## `_create_put_request`",
"Creates a put request and return the response data\n<END>",
"<BEGIN>\n## `_create_delete_request`",
"Creates a post request and return the response data\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_email_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_email_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Updates a emailtemplate
:param template_id: the template id
:param template_dict: dict
:return: dict | "Updates a emailtemplate\n\n :param template_id: the template id\n :param template_dict: dict\n :return: dict" | 502 | false | bykof/billomapy | update_email_template | 16,787 | |
LDU_FT/mmerickel/subparse/command | LDU_FT | [
"<BEGIN>\n## `parse_docstring`",
"Parse a PEP-257 docstring.",
" SHORT -> blank line -> LONG\n<END>",
"<BEGIN>\n## `add_command`",
"Attach a command directly to the :class:`CLI` object.\n<END>",
"<BEGIN>\n## `command`",
"Attach a command to the current :class:`CLI` object.",
" The function s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Attach a command to the current :class:`CLI` object.
The function should accept an instance of an
:class:`argparse.ArgumentParser` and use it to define extra
arguments and options. These options will only affect the specified
command. | "Attach a command to the current :class:`CLI` object.\n\n The function should accept an instance of an\n :class:`argparse.ArgumentParser` and use it to define extra\n arguments and options. These options will only affect the specified\n command." | 19 | false | mmerickel/subparse | command | 16,788 | |
LDU_FT/iancmcc/ouimeaux/retry_with_delay | LDU_FT | [
"<BEGIN>\n## `get_func_full_args`",
"Return a list of (argument name, default value) tuples. If the argument\n does not have a default value, omit it in the tuple. Arguments such as\n *args and **kwargs are also included.\n<END>",
"<BEGIN>\n## `func_accepts_var_args`",
"Return True if function 'func' ac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retry_with_delay API.
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 retry_with_delay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Retry the wrapped requests.request function in case of ConnectionError.
Optionally limit the number of retries or set the delay between retries. | "Retry the wrapped requests.request function in case of ConnectionError.\n Optionally limit the number of retries or set the delay between retries." | 48 | false | iancmcc/ouimeaux | retry_with_delay | 16,789 | |
LDU_FT/makinacorpus/landez/add_layer | LDU_FT | [
"<BEGIN>\n## `find_coverage`",
"Returns the bounding box (minx, miny, maxx, maxy) of an adjacent\n group of tiles at this zoom level.\n<END>",
"<BEGIN>\n## `tile`",
"Download the specified tile from `tiles_url`\n<END>",
"<BEGIN>\n## `project`",
"Returns the coordinates in meters from WGS84\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_layer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_layer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a layer to be blended (alpha-composite) on top of the tile.
tilemanager -- a `TileManager` instance
opacity -- transparency factor for compositing | "Add a layer to be blended (alpha-composite) on top of the tile.\n tilemanager -- a `TileManager` instance\n opacity -- transparency factor for compositing" | 25 | false | makinacorpus/landez | add_layer | 16,790 | |
LDU_FT/bulkan/robotframework-requests/create_digest_session | LDU_FT | [
"<BEGIN>\n## `_create_session`",
"Create Session: create a HTTP session to a server",
" ``url`` Base url of the server",
" ``alias`` Robot Framework alias to identify the session",
" ``headers`` Dictionary of default headers",
" ``cookies`` Dictionary of cookies",
" ``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_digest_session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_digest_session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Create Session: create a HTTP session to a server
``url`` Base url of the server
``alias`` Robot Framework alias to identify the session
``headers`` Dictionary of default headers
``cookies`` Dictionary of cookies
``auth`` ['DOMAIN', 'username', 'password'] for NTLM Authentic... | "Create Session: create a HTTP session to a server\n\n ``url`` Base url of the server\n\n ``alias`` Robot Framework alias to identify the session\n\n ``headers`` Dictionary of default headers\n\n ``cookies`` Dictionary of cookies\n\n ``auth`` ['DOMAIN', 'username', 'password'] for NTL... | 151 | false | bulkan/robotframework-requests | create_digest_session | 16,791 | |
LDU_FT/WZBSocialScienceCenter/tmtoolkit/_words_by_distinctiveness_score | LDU_FT | [
"<BEGIN>\n## `compute_models_parallel`",
"Compute several Topic Models in parallel using the \"lda\" package. Use a single or multiple document term matrices\n `data` and optionally a list of varying parameters `varying_parameters`. Pass parameters in `constant_parameters`\n dict to each model calculation. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _words_by_distinctiveness_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _words_by_distinctiveness_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Return words in `vocab` ordered by distinctiveness score. | "Return words in `vocab` ordered by distinctiveness score." | 135 | false | WZBSocialScienceCenter/tmtoolkit | _words_by_distinctiveness_score | 16,792 | |
LDU_FT/wiredrive/wtframework/find_element_by_selectors | LDU_FT | [
"<BEGIN>\n## `print_debug`",
"Print if and only if the debug flag is set true in the config.yaml file.",
" Args:\n args : var args of print arguments.\n<END>",
"<BEGIN>\n## `print_time`",
"Print the current elapsed time.",
" Kwargs:\n message (str) : Message to prefix the time ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_element_by_selectors 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 find_element_by_selectors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Utility method makes it easier to find an element using multiple selectors. This is
useful for problematic elements what might works with one browser, but fail in another.
(Like different page elements being served up for different browsers)
Args:
selectors - var arg if N number of... | "Utility method makes it easier to find an element using multiple selectors. This is \n useful for problematic elements what might works with one browser, but fail in another.\n (Like different page elements being served up for different browsers)\n\n Args:\n selectors - var arg if N num... | 236 | false | wiredrive/wtframework | find_element_by_selectors | 16,793 | |
LDU_FT/sveetch/boussole/_validate_paths | LDU_FT | [
"<BEGIN>\n## `clean`",
"Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.",
" Args:\n settings (dict): Loaded settings.",
" Returns:\n dict: Settings object filtered.\n<END>",
"<BEGIN>\n## `set_settings`",
"Set every given settings... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_paths API.
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 _validate_paths API.
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... | Apply ``SettingsPostProcessor._validate_path`` to each element in
list.
Args:
settings (dict): Current settings.
name (str): Setting name.
value (list): List of paths to patch.
Raises:
boussole.exceptions.SettingsInvalidError: Once a path does no... | "Apply ``SettingsPostProcessor._validate_path`` to each element in\n list.\n\n Args:\n settings (dict): Current settings.\n name (str): Setting name.\n value (list): List of paths to patch.\n\n Raises:\n boussole.exceptions.SettingsInvalidError: Once a pa... | 289 | false | sveetch/boussole | _validate_paths | 16,794 | |
LDU_FT/dls-controls/pymalcolm/abort | LDU_FT | [
"<BEGIN>\n## `camel_to_title`",
"Takes a camelCaseFieldName and returns an Title Case Field Name",
" Args:\n name (str): E.g. camelCaseFieldName",
" Returns:\n str: Title Case converted name. E.g. Camel Case Field Name\n<END>",
"<BEGIN>\n## `snake_to_camel`",
"Takes a snake_field_name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abort API.
Each 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 abort API.
Each 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... | Abort the current operation and block until aborted
Normally it will return in Aborted state. If something goes wrong it
will return in Fault state. If the user disables then it will return in
Disabled state. | "Abort the current operation and block until aborted\n\n Normally it will return in Aborted state. If something goes wrong it\n will return in Fault state. If the user disables then it will return in\n Disabled state." | 332 | false | dls-controls/pymalcolm | abort | 16,795 | |
LDU_FT/sods/paramz/_repr_html_ | LDU_FT | [
"<BEGIN>\n## `adjust_name_for_printing`",
"Make sure a name can be printed, alongside used as a variable name.\n<END>",
"<BEGIN>\n## `name`",
"Set the name of this object.\n Tell the parent if the name has changed.\n<END>",
"<BEGIN>\n## `hierarchy_name`",
"return the name for this object with the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _repr_html_ API.
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 _repr_html_ API.
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... | Representation of the model in html for notebook display. | "Representation of the model in html for notebook display." | 225 | false | sods/paramz | _repr_html_ | 16,796 | |
LDU_FT/uw-it-aca/uw-restclients-uwnetid/get_netid_categories | LDU_FT | [
"<BEGIN>\n## `_has_desired_permit`",
"return True if permits has one whose\n category_code and status_code match with the given ones\n<END>",
"<BEGIN>\n## `get_office365edu_prod_subs`",
"Return a restclients.models.uwnetid.Subscription objects\n on the given uwnetid\n<END>",
"<BEGIN>\n## `get_netid_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_netid_categories 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_netid_categories 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 a list of uwnetid.models Category objects
corresponding to the netid and category code or list provided | "Return a list of uwnetid.models Category objects\n corresponding to the netid and category code or list provided" | 22 | false | uw-it-aca/uw-restclients-uwnetid | get_netid_categories | 16,797 | |
LDU_FT/staffanm/layeredconfig/set | LDU_FT | [
"<BEGIN>\n## `typevalue`",
"Given a parameter identified by ``key`` and an untyped string,\n convert that string to the type that our version of key has.\n<END>",
"<BEGIN>\n## `write`",
"Commits any pending modifications, ie save a configuration file if\n it has been marked \"dirty\" as a result... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Sets a value in this config object *without* marking any source
dirty, and with exact control of exactly where to set the
value. This is mostly useful for low-level trickery with
config objects.
:param config: The configuration object to set values on
:param key: The parameter n... | "Sets a value in this config object *without* marking any source\n dirty, and with exact control of exactly where to set the\n value. This is mostly useful for low-level trickery with\n config objects.\n\n :param config: The configuration object to set values on\n :param key: The para... | 15 | false | staffanm/layeredconfig | set | 16,798 | |
LDU_FT/timothyb0912/pylogit/calc_bias_abc | LDU_FT | [
"<BEGIN>\n## `get_dataframe_from_data`",
"Parameters\n ----------\n data : string or pandas dataframe.\n If string, data should be an absolute or relative path to a CSV file\n containing the long format data for this choice model. Note long format\n has one row per available alternative... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_bias_abc API.
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 calc_bias_abc API.
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... | Calculates the approximate bias of the MLE estimates for use in calculating
the approximate bootstrap confidence (ABC) intervals.
Parameters
----------
second_order_influence : 2D ndarray.
Should have one row for each observation. Should have one column for
each parameter in the paramet... | "Calculates the approximate bias of the MLE estimates for use in calculating\n the approximate bootstrap confidence (ABC) intervals.\n\n Parameters\n ----------\n second_order_influence : 2D ndarray.\n Should have one row for each observation. Should have one column for\n each parameter in the... | 871 | false | timothyb0912/pylogit | calc_bias_abc | 16,799 | |
LDU_FT/simonvh/genomepy/filter_fasta | LDU_FT | [
"<BEGIN>\n## `register_provider`",
"Register method to keep list of providers.\n<END>",
"<BEGIN>\n## `tar_to_bigfile`",
"Convert tar of multiple FASTAs to one file.\n<END>",
"<BEGIN>\n## `download_genome`",
"Download a (gzipped) genome file to a specific directory",
" Parameters\n --------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_fasta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_fasta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Filter fasta file based on regex.
Parameters
----------
infa : str
Filename of input fasta file.
outfa : str
Filename of output fasta file. Cannot be the same as infa.
regex : str, optional
Regular expression used for selecting sequences.
v : bool, optional
... | "Filter fasta file based on regex.\n\n Parameters\n ----------\n infa : str\n Filename of input fasta file.\n \n outfa : str\n Filename of output fasta file. Cannot be the same as infa.\n\n regex : str, optional\n Regular expression used for selecting sequences.\n\n v : bool, o... | 87 | false | simonvh/genomepy | filter_fasta | 16,800 | |
LDU_FT/crdoconnor/commandlib/with_env | LDU_FT | [
"<BEGIN>\n## `_check_directory`",
"Raise exception if directory does not exist.\n<END>",
"<BEGIN>\n## `env`",
"Dict of all environment variables that will be run with this command.\n<END>",
"<BEGIN>\n## `ignore_errors`",
"Return new command object that will not raise an exception when\n return code... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_env API.
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 with_env API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return new Command object that will be run with additional
environment variables.
Specify environment variables as follows:
new_cmd = old_cmd.with_env(PYTHON_PATH=".", ENV_PORT="2022") | "Return new Command object that will be run with additional\n environment variables.\n\n Specify environment variables as follows:\n\n new_cmd = old_cmd.with_env(PYTHON_PATH=\".\", ENV_PORT=\"2022\")" | 30 | false | crdoconnor/commandlib | with_env | 16,801 | |
LDU_FT/bitesofcode/projex/toXml | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds the new key to this enumerated type.",
" :param key | <str>\n<END>",
"<BEGIN>\n## `all`",
"Returns all the values joined together.",
" :return <int>\n<END>",
"<BEGIN>\n## `base`",
"Returns the root base for the given value from this enumeration.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toXml API.
Each 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 toXml API.
Each 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... | Saves the settings for this dataset to the inputted parent xml.
:param xparent | <xml.etree.ElementTree.Element> | "Saves the settings for this dataset to the inputted parent xml.\n \n :param xparent | <xml.etree.ElementTree.Element>" | 676 | false | bitesofcode/projex | toXml | 16,802 | |
LDU_FT/IBM/pyxcli/get | LDU_FT | [
"<BEGIN>\n## `str_brief`",
"Truncates a string, starting from 'lim' chars. The given object\n can be a string, or something that can be casted to a string.",
" >>> import string\n >>> str_brief(string.uppercase)\n 'ABCDEFGHIJKLMNOPQRST...'\n >>> str_brief(2 ** 50, lim=10, dots='0')\n '11258999... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Gets an existing connection or opens a new one | "Gets an existing connection or opens a new one" | 48 | false | IBM/pyxcli | get | 16,803 | |
LDU_FT/interstar/FSQuery/open_file | LDU_FT | [
"<BEGIN>\n## `children`",
"If the FSNode is a directory, returns a list of the children\n<END>",
"<BEGIN>\n## `add_file`",
"If this FSNode is a directory, write a file called fName containing content inside it\n<END>",
"<BEGIN>\n## `open_file`",
"If this FSNode is a file, open it for reading and return th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | If this FSNode is a file, open it for reading and return the file handle | "If this FSNode is a file, open it for reading and return the file handle" | 12 | false | interstar/FSQuery | open_file | 16,804 | |
LDU_FT/gmr/infoblox/get | LDU_FT | [
"<BEGIN>\n## `delete_old_host`",
"Remove all records for the host.",
" :param str hostname: Hostname to remove\n :rtype: bool\n<END>",
"<BEGIN>\n## `add_new_host`",
"Add or update a host in the infoblox, overwriting any IP address\n entries.",
" :param str hostname: Hostname to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Call the Infoblox device to get the obj for the data passed in
:param str obj_reference: The object reference data
:param dict data: The data for the get request
:rtype: requests.Response | "Call the Infoblox device to get the obj for the data passed in\n\n :param str obj_reference: The object reference data\n :param dict data: The data for the get request\n :rtype: requests.Response" | 42 | false | gmr/infoblox | get | 16,805 | |
LDU_FT/telefonicaid/fiware-sdc/_call_api | LDU_FT | [
"<BEGIN>\n## `_xml_to_dict`",
"Convert RAW XML string to Python dict\n :param xml_to_convert: XML to convert (string/text)\n :return: Python dict with all XML data\n<END>",
"<BEGIN>\n## `response_body_to_dict`",
"Convert a XML or JSON response in a Python dict\n :param http_requests_response: 'Reques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_api API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_api API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Launch HTTP request to the API with given arguments
:param uri_pattern: string pattern of the full API url with keyword arguments (format string syntax)
:param method: HTTP method to execute (string) [get | post | put | delete | update]
:param body: Raw Body content (string) (Plain/XML/JSON to b... | "Launch HTTP request to the API with given arguments\n :param uri_pattern: string pattern of the full API url with keyword arguments (format string syntax)\n :param method: HTTP method to execute (string) [get | post | put | delete | update]\n :param body: Raw Body content (string) (Plain/XML/JSON ... | 60 | false | telefonicaid/fiware-sdc | _call_api | 16,806 | |
LDU_FT/Linaro/squad/decode_complex_ops | 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 decode_complex_ops 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 decode_complex_ops 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... | Returns a list of (querystring, negate, op) tuples that represent complex operations.
This function will raise a `ValidationError`s if:
- the individual querystrings are not wrapped in parentheses
- the set operators do not match the provided `operators`
- there is trailing content after the ending quer... | "Returns a list of (querystring, negate, op) tuples that represent complex operations.\n This function will raise a `ValidationError`s if:\n - the individual querystrings are not wrapped in parentheses\n - the set operators do not match the provided `operators`\n - there is trailing content after the ending... | 31 | false | Linaro/squad | decode_complex_ops | 16,807 | |
LDU_FT/FujiMakoto/IPS-Vagrant/styled_status | LDU_FT | [
"<BEGIN>\n## `dev_tools_installer`",
"Installer factory\n @param cv: Current version (The version of Developer Tools we are installing)\n @type cv: ips_vagrant.common.version.Version\n @return: Installer instance\n @rtype: ips_vagrant.installer.dev_tools.latest.DevToolsInstaller\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the styled_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the styled_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Generate a styled status string
@param enabled: Enabled / Disabled boolean
@type enabled: bool
@param bold: Display status in bold format
@type bold: bool
@rtype: str | "Generate a styled status string\n @param enabled: Enabled / Disabled boolean\n @type enabled: bool\n @param bold: Display status in bold format\n @type bold: bool\n @rtype: str" | 87 | false | FujiMakoto/IPS-Vagrant | styled_status | 16,808 | |
LDU_FT/myusuf3/delorean/range_daily | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses a datetime string and returns a `Delorean` object.",
" :param datetime_str: The string to be interpreted into a `Delorean` object.\n :param timezone: Pass this parameter and the returned Delorean object will be normalized to this timezone. Any\n offsets passed as part... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range_daily API.
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 range_daily API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | This an alternative way to generating sets of Delorean objects with
DAILY stops | "This an alternative way to generating sets of Delorean objects with\n DAILY stops" | 85 | false | myusuf3/delorean | range_daily | 16,809 | |
LDU_FT/FutunnOpen/futuquant/_async_sub_acc_push | LDU_FT | [
"<BEGIN>\n## `unpack_rsp`",
"Convert from PLS response to user response\n<END>",
"<BEGIN>\n## `getJsonPath`",
"获取JSON配置文件的路径:\n 1. 优先从当前工作目录查找JSON文件\n 2. 若无法找到则前往模块所在目录查找\n<END>",
"<BEGIN>\n## `set_client_info`",
".. py:function:: set_client_info(cls, client_id, client_ver)",
" 设置调用api的客户端... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _async_sub_acc_push 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 _async_sub_acc_push 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... | 异步连接指定要接收送的acc id
:param acc_id:
:return: | "异步连接指定要接收送的acc id\n :param acc_id:\n :return:" | 288 | false | FutunnOpen/futuquant | _async_sub_acc_push | 16,810 | |
LDU_FT/openstates/billy/add_action | LDU_FT | [
"<BEGIN>\n## `decimal_format`",
"Format a decimal.Decimal like to 2 decimal places.\n<END>",
"<BEGIN>\n## `notification_preference`",
"Display two radio buttons for turning notifications on or off.\n The default value is is have alerts_on = True.\n<END>",
"<BEGIN>\n## `committee_object`",
"If the commi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Add an action that was performed on this bill.
:param actor: a string representing who performed the action.
If the action is associated with one of the chambers this
should be 'upper' or 'lower'. Alternatively, this could be
the name of a committee, a specific legislator, or an o... | "Add an action that was performed on this bill.\n\n :param actor: a string representing who performed the action.\n If the action is associated with one of the chambers this\n should be 'upper' or 'lower'. Alternatively, this could be\n the name of a committee, a specific legislator, o... | 168 | false | openstates/billy | add_action | 16,811 | |
LDU_FT/lago-project/lago/_save_metadata | LDU_FT | [
"<BEGIN>\n## `expose`",
"Decorator to be used with :class:`SDKWrapper`. This decorator indicates\n that the wrapped method or class should be exposed in the proxied object.",
" Args:\n func(types.FunctionType/types.MethodType): function to decorate",
" Returns:\n None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _save_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.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _save_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.
The ex... | Write this prefix metadata to disk
Returns:
None | "Write this prefix metadata to disk\n\n Returns:\n None" | 718 | false | lago-project/lago | _save_metadata | 16,812 | |
LDU_FT/jaraco/jaraco.services/_disable_venv | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the service, catching and logging exceptions\n<END>",
"<BEGIN>\n## `start_class`",
"Start all services of a given class. If this manager doesn't already\n have a service of that class, it constructs one and starts it.\n<END>",
"<BEGIN>\n## `log_root`",
"Find a director... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _disable_venv API.
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 _disable_venv API.
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... | Disable virtualenv and venv in the environment. | "Disable virtualenv and venv in the environment." | 12 | false | jaraco/jaraco.services | _disable_venv | 16,813 | |
LDU_FT/ktbyers/netmiko/_check_file_exists_unix | LDU_FT | [
"<BEGIN>\n## `show_version`",
"Execute show version command using Netmiko.\n<END>",
"<BEGIN>\n## `main`",
"Use threads and Netmiko to connect to each of the devices. Execute\n 'show version' on each device. Record the amount of time required to do this.\n<END>",
"<BEGIN>\n## `session_preparation`",
"Pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_file_exists_unix 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 _check_file_exists_unix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Check if the dest_file already exists on the file system (return boolean). | "Check if the dest_file already exists on the file system (return boolean)." | 532 | false | ktbyers/netmiko | _check_file_exists_unix | 16,814 | |
LDU_FT/carta/ldap_tools/parse_membership | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an LDAP Group.",
" Raises:\n ldap3.core.exceptions.LDAPNoSuchObjectResult:\n an object involved with the request is missing",
" ldap3.core.exceptions.LDAPEntryAlreadyExistsResult:\n the entity being created already exis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_membership API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_membership API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Print membership for #by_group and #by_user. | "Print membership for #by_group and #by_user." | 65 | false | carta/ldap_tools | parse_membership | 16,815 | |
LDU_FT/Nachtfeuer/pipeline/update_report_collector | LDU_FT | [
"<BEGIN>\n## `calculate_columns`",
"Find all row names and the maximum column widths.",
" Args:\n columns (dict): the keys are the column name and the value the max length.",
" Returns:\n dict: column names (key) and widths (value).\n<END>",
"<BEGIN>\n## `calculate_row_format`",
"Calcu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_report_collector API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_report_collector API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Updating report collector for pipeline details. | "Updating report collector for pipeline details." | 196 | false | Nachtfeuer/pipeline | update_report_collector | 16,816 | |
LDU_FT/robinagist/ezo/get_topic_sha3 | LDU_FT | [
"<BEGIN>\n## `get_topic_sha3`",
"takes an event block and returns a signature for sha3 hashing\n :param event_block:\n :return:\n<END>",
"<BEGIN>\n## `info`",
"Since this will always respond with height=0, Tendermint\n will resync this app from the begining\n<END>",
"<BEGIN>\n## `check_tx`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_topic_sha3 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_topic_sha3 API.
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... | takes an event block and returns a signature for sha3 hashing
:param event_block:
:return: | "takes an event block and returns a signature for sha3 hashing\n :param event_block:\n :return:" | 45 | false | robinagist/ezo | get_topic_sha3 | 16,817 | |
LDU_FT/rgmining/ria/retrieve_products | LDU_FT | [
"<BEGIN>\n## `update`",
"Update reviewers' anomalous scores and products' summaries.",
" Returns:\n maximum absolute difference between old summary and new one, and\n old anomalous score and new one.\n<END>",
"<BEGIN>\n## `anomalous_score`",
"Anomalous score of this reviewer.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_products API.
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 retrieve_products API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Retrieve products reviewed by a given reviewer.
Args:
reviewer: A reviewer.
Returns:
A list of products which the reviewer reviews.
Raises:
TypeError: when given reviewer isn't instance of specified reviewer
class when this graph is constructed. | "Retrieve products reviewed by a given reviewer.\n\n Args:\n reviewer: A reviewer.\n\n Returns:\n A list of products which the reviewer reviews.\n\n Raises:\n TypeError: when given reviewer isn't instance of specified reviewer\n class when this graph is constru... | 87 | false | rgmining/ria | retrieve_products | 16,818 | |
LDU_FT/googlefonts/fontbakery/get_html | LDU_FT | [
"<BEGIN>\n## `get_module_profile`",
"Get or create a profile from a module and return it.",
" If the name `module.profile` is present the value of that is returned.\n Otherwise, if the name `module.profile_factory` is present, a new profile\n is created using `module.profile_factory` and then `profile.auto_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_html API.
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_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return complete report as a HTML string. | "Return complete report as a HTML string." | 381 | false | googlefonts/fontbakery | get_html | 16,819 | |
LDU_FT/LuminosoInsight/python-ftfy/fix_one_step_and_explain | LDU_FT | [
"<BEGIN>\n## `fix_encoding_and_explain`",
"Re-decodes text that has been decoded incorrectly, and also return a\n \"plan\" indicating all the steps required to fix it.",
" The resulting plan could be used with :func:`ftfy.fixes.apply_plan`\n to fix additional strings that are broken in the same way.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_one_step_and_explain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_one_step_and_explain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Performs a single step of re-decoding text that's been decoded incorrectly.
Returns the decoded text, plus a "plan" for how to reproduce what it did. | "Performs a single step of re-decoding text that's been decoded incorrectly.\n\n Returns the decoded text, plus a \"plan\" for how to reproduce what it did." | 123 | false | LuminosoInsight/python-ftfy | fix_one_step_and_explain | 16,820 | |
LDU_FT/horejsek/python-fastjsonschema/in_scope | LDU_FT | [
"<BEGIN>\n## `indent`",
"Decorator for allowing to use method as normal method or with\n context manager for auto-indenting code blocks.\n<END>",
"<BEGIN>\n## `resolve_path`",
"Return definition from path.\r",
" Path is unescaped according https://tools.ietf.org/html/rfc6901\n<END>",
"<BEGIN>\n## `r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the in_scope API.
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 in_scope API.
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... | Context manager to handle current scope. | "Context manager to handle current scope." | 157 | false | horejsek/python-fastjsonschema | in_scope | 16,821 | |
LDU_FT/fabiobatalha/crossrefapi/sample | LDU_FT | [
"<BEGIN>\n## `version`",
"This attribute retrieve the API version.",
" >>> Works().version\n '1.0.0'\n<END>",
"<BEGIN>\n## `count`",
"This method retrieve the total of records resulting from a given query.",
" This attribute can be used compounded with query, filter,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | This method retrieve an iterable object that implements the method
__iter__. The arguments given will compose the parameters in the
request url.
kwargs: sample_size (Integer) between 0 and 100.
return: iterable object of Works metadata
Example:
>>> from crossref.re... | "This method retrieve an iterable object that implements the method\n __iter__. The arguments given will compose the parameters in the\n request url.\n\n kwargs: sample_size (Integer) between 0 and 100.\n\n return: iterable object of Works metadata\n\n Example:\n >>> from c... | 108 | false | fabiobatalha/crossrefapi | sample | 16,822 | |
LDU_FT/alpacahq/pylivetrader/skip_http_error | LDU_FT | [
"<BEGIN>\n## `_deprecated_getitem_method`",
"Create a deprecated ``__getitem__`` method that tells users to use\n getattr instead.",
" Parameters\n ----------\n name : str\n The name of the object in the warning message.\n attrs : iterable[str]\n The set of allowed attributes.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skip_http_error API.
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 skip_http_error API.
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... | A decorator to wrap with try..except to swallow
specific HTTP errors.
@skip_http_error((404, 503))
def fetch():
... | "A decorator to wrap with try..except to swallow\n specific HTTP errors.\n\n @skip_http_error((404, 503))\n def fetch():\n ..." | 81 | false | alpacahq/pylivetrader | skip_http_error | 16,823 | |
LDU_FT/demurgos/py-pathmatch/translate | LDU_FT | [
"<BEGIN>\n## `process_tokens`",
"u\"\"\"\n Iterate other tokens to find strings and ensure that they are prefixed.\n :param tokens:\n :return:\n<END>",
"<BEGIN>\n## `_parse_bracket_expression`",
"u\"\"\"",
" :type pattern: text_type\n :param pattern:\n :param start:\n :retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API.
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 translate API.
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... | u"""
Converts a wildmatch pattern to a regex
Note that the EXTMATCH (ksh extended glob patterns) option is not available
:type pattern: text_type
:param pattern: A wildmatch pattern
:type no_escape: bool
:param no_escape: Disable backslash escaping
:type path_name: bool
:param path_nam... | "u\"\"\"\n Converts a wildmatch pattern to a regex\n\n Note that the EXTMATCH (ksh extended glob patterns) option is not available\n\n :type pattern: text_type\n :param pattern: A wildmatch pattern\n :type no_escape: bool\n :param no_escape: Disable backslash escaping\n :type path_name: bool\n :... | 29 | false | demurgos/py-pathmatch | translate | 16,824 | |
LDU_FT/Xion/taipan/lastindex | LDU_FT | [
"<BEGIN>\n## `decorator`",
"Decorator for decorators (sic), written either as classes or functions.",
" In either case, the decorator ``decor`` must be \"doubly-callable\":",
" * for classes, this means implementing ``__call__`` method\n in addition to possible ``__init__``\n * for f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lastindex API.
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 lastindex API.
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... | Search a list backwards for an exact element,
or element satisfying a predicate.
Usage::
lastindex(element, list_)
lastindex(of=element, in_=list_)
lastindex(where=predicate, in_=list_)
:param element, of: Element to search for (by equality comparison)
:param where: Predicate ... | "Search a list backwards for an exact element,\n or element satisfying a predicate.\n\n Usage::\n\n lastindex(element, list_)\n lastindex(of=element, in_=list_)\n lastindex(where=predicate, in_=list_)\n\n :param element, of: Element to search for (by equality comparison)\n :param where:... | 396 | false | Xion/taipan | lastindex | 16,825 | |
LDU_FT/adamreeve/npTDMS/_read_metadata | LDU_FT | [
"<BEGIN>\n## `to_file`",
"Wrapper around ndarray.tofile to support any file-like object\n<END>",
"<BEGIN>\n## `write_segment`",
"Write a segment of data to a TDMS file",
" :param objects: A list of TdmsObject instances to write\n<END>",
"<BEGIN>\n## `fromfile`",
"Wrapper around np.fromfile to sup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_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.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_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.
The ex... | Read the metadata for a DAQmx raw segment. This is the raw
DAQmx-specific portion of the raw data index. | "Read the metadata for a DAQmx raw segment. This is the raw\n DAQmx-specific portion of the raw data index." | 65 | false | adamreeve/npTDMS | _read_metadata | 16,826 | |
LDU_FT/qiniu/python-sdk/get_ap_port_healthcheck | LDU_FT | [
"<BEGIN>\n## `execute`",
"执行持久化处理:",
" Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关",
" Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 54... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ap_port_healthcheck 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_ap_port_healthcheck API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | 查看健康检查结果
检查接入点的指定端口的后端健康状况。
Args:
- apid: 接入点ID
- port: 要设置的端口号
Returns:
返回一个tuple对象,其格式为(<result>, <ResponseInfo>)
- result 成功返回健康状况,失败返回{"error": "<errMsg string>"}
- ResponseInfo 请求的Response信息 | "查看健康检查结果\n\n 检查接入点的指定端口的后端健康状况。\n\n Args:\n - apid: 接入点ID\n - port: 要设置的端口号\n\n Returns:\n 返回一个tuple对象,其格式为(<result>, <ResponseInfo>)\n - result 成功返回健康状况,失败返回{\"error\": \"<errMsg string>\"}\n - ResponseInfo 请求的Response信息" | 337 | false | qiniu/python-sdk | get_ap_port_healthcheck | 16,827 | |
LDU_FT/dcos/shakedown/install_package | LDU_FT | [
"<BEGIN>\n## `get_tasks`",
"Get a list of tasks, optionally filtered by task id.\n The task_id can be the abbrevated. Example: If a task named 'sleep' is\n scaled to 3 in marathon, there will be be 3 tasks starting with 'sleep.'",
" :param task_id: task ID\n :type task_id: str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Install a package via the DC/OS library
:param package_name: name of the package
:type package_name: str
:param package_version: version of the package (defaults to latest)
:type package_version: str
:param service_name: unique service name for the package
:type service_... | "Install a package via the DC/OS library\n\n :param package_name: name of the package\n :type package_name: str\n :param package_version: version of the package (defaults to latest)\n :type package_version: str\n :param service_name: unique service name for the package\n :type ... | 288 | false | dcos/shakedown | install_package | 16,828 | |
LDU_FT/earlye/nephele/do_print | LDU_FT | [
"<BEGIN>\n## `do_mfa`",
"Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ",
" mfa -h for more details\n<END>",
"<BEGIN>\n## `do_up`",
"Navigate up by one level.",
" For example, if you are in `(aws)/stack:.../asg:.../`, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_print API.
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 do_print API.
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... | Print the current stack. print -h for detailed help | "Print the current stack. print -h for detailed help" | 52 | false | earlye/nephele | do_print | 16,829 | |
LDU_FT/cebel/pyuniprot/subcellular_location | LDU_FT | [
"<BEGIN>\n## `get_args`",
"Check allowed argument names and return is as dictionary\n<END>",
"<BEGIN>\n## `query_disease`",
"Returns list of diseases by query parameters\n ---",
" tags:",
" - Query functions",
" parameters:",
" - name: identifier\n in: query\n type: st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subcellular_location 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 subcellular_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Method to query :class:`.models.SubcellularLocation` objects in database
:param location: subcellular location(s)
:type location: str or tuple(str) or None
:param entry_name: name(s) in :class:`.models.Entry`
:type entry_name: str or tuple(str) or None
:param limit:
... | "Method to query :class:`.models.SubcellularLocation` objects in database\n\n :param location: subcellular location(s)\n :type location: str or tuple(str) or None\n\n :param entry_name: name(s) in :class:`.models.Entry`\n :type entry_name: str or tuple(str) or None\n\n :param limit:\n... | 416 | false | cebel/pyuniprot | subcellular_location | 16,830 | |
LDU_FT/openpermissions/koi/get_json_body | LDU_FT | [
"<BEGIN>\n## `define_options`",
"Define the options from default.conf dynamically\n<END>",
"<BEGIN>\n## `log_config`",
"Logs the config used to start the application\n<END>",
"<BEGIN>\n## `ssl_server_options`",
"ssl options for tornado https server\n these options are defined in each application's defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_body API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_body API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get JSON from the request body
:param required: optionally provide a list of keys that should be
in the JSON body (raises a 400 HTTPError if any are missing)
:param validator: optionally provide a dictionary of items that should
be in the body with a method that validates the item.
... | "Get JSON from the request body\n\n :param required: optionally provide a list of keys that should be\n in the JSON body (raises a 400 HTTPError if any are missing)\n :param validator: optionally provide a dictionary of items that should\n be in the body with a method that validates the item... | 122 | false | openpermissions/koi | get_json_body | 16,831 | |
LDU_FT/rhelmot/nclib/shutdown | LDU_FT | [
"<BEGIN>\n## `launch`",
"A static method for launching a process that is connected to a given\n socket. Same rules from the Process constructor apply.\n<END>",
"<BEGIN>\n## `respond`",
"Send a message back to a peer.",
" :param packet: The data to send\n :param peer: The add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Send a shutdown signal for both reading and writing, or whatever
socket.SHUT_* constant you like.
Shutdown differs from closing in that it explicitly changes the state of
the socket resource to closed, whereas closing will only decrement the
number of peers on this end of the socket, si... | "Send a shutdown signal for both reading and writing, or whatever\n socket.SHUT_* constant you like.\n\n Shutdown differs from closing in that it explicitly changes the state of\n the socket resource to closed, whereas closing will only decrement the\n number of peers on this end of the sock... | 44 | false | rhelmot/nclib | shutdown | 16,832 | |
LDU_FT/pneff/wsgiservice/handle_exception | LDU_FT | [
"<BEGIN>\n## `raise_201`",
"Abort the current request with a 201 (Created) response code. Sets the\n Location header correctly. If the location does not start with a slash,\n the path of the current request is prepended.",
" :param instance: Resource instance (used to access the response)\n :type in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Handle the given exception. Log, sets the response code and
output the exception message as an error message.
:param e: Exception which is being handled.
:type e: :class:`Exception`
:param status: Status code to set.
:type status: int | "Handle the given exception. Log, sets the response code and\n output the exception message as an error message.\n\n :param e: Exception which is being handled.\n :type e: :class:`Exception`\n :param status: Status code to set.\n :type status: int" | 156 | false | pneff/wsgiservice | handle_exception | 16,833 | |
LDU_FT/IdentityPython/pysaml2/geturl | LDU_FT | [
"<BEGIN>\n## `add_vo_information_about_user`",
"Add information to the knowledge I have about the user. This is\n for Virtual organizations.",
" :param name_id: The subject identifier\n :return: A possibly extended knowledge.\n<END>",
"<BEGIN>\n## `create_authn_request`",
"Creates an au... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geturl API.
Each 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 geturl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Rebuilds a request URL (from PEP 333).
You may want to chose to use the environment variables
server_name and server_port instead of http_host in some case.
The parameter use_server_name allows you to chose.
:param query: Is QUERY_STRING included in URI (default: True)
:param path: Is path included... | "Rebuilds a request URL (from PEP 333).\n You may want to chose to use the environment variables\n server_name and server_port instead of http_host in some case.\n The parameter use_server_name allows you to chose.\n\n :param query: Is QUERY_STRING included in URI (default: True)\n :param path: Is path i... | 738 | false | IdentityPython/pysaml2 | geturl | 16,834 | |
LDU_FT/boatd/python-boatd/get_home_position | LDU_FT | [
"<BEGIN>\n## `from_radians`",
"Return a new instance of Point from a pair of coordinates in radians.\n<END>",
"<BEGIN>\n## `distance_to`",
"Return the distance between this point and another point in meters.",
" :param point: Point to measure distance to\n :type point: Point",
" :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_home_position API.
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_home_position API.
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 the current home position from boatd.
:returns: The configured home position
:rtype: Points | "Get the current home position from boatd.\n\n :returns: The configured home position\n :rtype: Points" | 49 | false | boatd/python-boatd | get_home_position | 16,835 | |
LDU_FT/nyergler/hieroglyph/inspect_config | LDU_FT | [
"<BEGIN>\n## `filter_doctree_for_slides`",
"Given a doctree, remove all non-slide related elements from it.\n<END>",
"<BEGIN>\n## `_make_title_node`",
"Generate a new title node for ``node``.",
" ``node`` is a ``nextslide`` node. The title will use the node's\n parent's title, or the title spe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Inspect the Sphinx configuration and update for slide-linking.
If links from HTML to slides are enabled, make sure the sidebar
configuration includes the template and add the necessary theme
directory as a loader so the sidebar template can be located.
If the sidebar configuration already includes ``s... | "Inspect the Sphinx configuration and update for slide-linking.\n\n If links from HTML to slides are enabled, make sure the sidebar\n configuration includes the template and add the necessary theme\n directory as a loader so the sidebar template can be located.\n\n If the sidebar configuration already inclu... | 39 | false | nyergler/hieroglyph | inspect_config | 16,836 | |
LDU_FT/zagaran/mongolia/authenticate | LDU_FT | [
"<BEGIN>\n## `exists`",
"Like __init__ but simply returns a boolean as to whether or not the\n object exists, rather than returning the whole object.",
" NOTE: if you pass in a single argument to exists, this will\n match against ID_KEY.",
" @param query: a dictionary specifying ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
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 authenticate API.
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... | Authenticates the MongoClient with the passed username and password | "Authenticates the MongoClient with the passed username and password" | 95 | false | zagaran/mongolia | authenticate | 16,837 | |
LDU_FT/MoseleyBioinformaticsLab/mwtab/_output_path | LDU_FT | [
"<BEGIN>\n## `read`",
"Read data into a :class:`~mwtab.mwtab.MWTabFile` instance.",
" :param filehandle: file-like object.\n :type filehandle: :py:class:`io.TextIOWrapper`, :py:class:`gzip.GzipFile`,\n :py:class:`bz2.BZ2File`, :py:class:`zipfile.ZipFile`\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _output_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _output_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 extr... | Construct an output path string from an input path string.
:param str input_path: Input path string.
:return: Output path string.
:rtype: :py:class:`str` | "Construct an output path string from an input path string.\n :param str input_path: Input path string.\n :return: Output path string.\n :rtype: :py:class:`str`" | 74 | false | MoseleyBioinformaticsLab/mwtab | _output_path | 16,838 | |
LDU_FT/6809/MC6809/instruction_COM_memory | LDU_FT | [
"<BEGIN>\n## `instruction_RTS`",
"Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.",
" source code forms: RTS",
" CC bits \"HNZVC\": -----\n<END>",
"<BEGIN>\n## `instruction_BSR_JSR`",
"Program control is transferre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instruction_COM_memory 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 instruction_COM_memory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Replaces the contents of memory location M with its logical complement.
source code forms: COM Q | "Replaces the contents of memory location M with its logical complement.\n source code forms: COM Q" | 224 | false | 6809/MC6809 | instruction_COM_memory | 16,839 | |
LDU_FT/baccuslab/shannon/cond_mi | LDU_FT | [
"<BEGIN>\n## `remove_symbol_from_dist`",
"prob is a ndarray representing a probability distribution.\n index is a number between 0 and and the number of symbols ( len(prob)-1 )\n return the probability distribution if the element at 'index' was no longer available\n<END>",
"<BEGIN>\n## `change_response`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cond_mi API.
Each 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 cond_mi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | compute and return the mutual information between x and y given z, I(x, y | z)
inputs:
-------
x, y, z: iterables with discrete symbols
output:
-------
mi: float
implementation notes:
---------------------
I(x, y | z) = H(x | z) - H(x | y, z)
... | "compute and return the mutual information between x and y given z, I(x, y | z)\n\n inputs:\n -------\n x, y, z: iterables with discrete symbols\n\n output:\n -------\n mi: float\n\n implementation notes:\n ---------------------\n I(x, y | z) = H(x | z) - H(x | y, z)\n ... | 83 | false | baccuslab/shannon | cond_mi | 16,840 | |
LDU_FT/metachris/logzero/reset_default_logger | LDU_FT | [
"<BEGIN>\n## `setup_logger`",
"Configures and returns a fully configured logger instance, no hassles.\n If a logger with the specified name already exists, it returns the existing instance,\n else creates a new one.",
" If you set the ``logfile`` parameter with a filename, the logger will save the mess... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_default_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_default_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Resets the internal default logger to the initial configuration | "Resets the internal default logger to the initial configuration" | 38 | false | metachris/logzero | reset_default_logger | 16,841 | |
LDU_FT/mapbox/mapboxgl-jupyter/rgb_tuple_from_str | LDU_FT | [
"<BEGIN>\n## `generate_vector_color_map`",
"Generate color stops array for use with match expression in mapbox template\n<END>",
"<BEGIN>\n## `generate_vector_numeric_map`",
"Generate stops array for use with match expression in mapbox template\n<END>",
"<BEGIN>\n## `check_vector_template`",
"Determines i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgb_tuple_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgb_tuple_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.
Th... | Convert color in format 'rgb(RRR,GGG,BBB)', 'rgba(RRR,GGG,BBB,alpha)',
'#RRGGBB', or limited English color name (eg 'red') to tuple (RRR, GGG, BBB) | "Convert color in format 'rgb(RRR,GGG,BBB)', 'rgba(RRR,GGG,BBB,alpha)', \n '#RRGGBB', or limited English color name (eg 'red') to tuple (RRR, GGG, BBB)" | 57 | false | mapbox/mapboxgl-jupyter | rgb_tuple_from_str | 16,842 | |
LDU_FT/logston/py3s3/md5hash | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves new content to the file specified by name. The content should be\n a proper File object or any python file-like object, ready to be read\n from the beginning.\n<END>",
"<BEGIN>\n## `_prepend_name_prefix`",
"Return file name (ie. path) with the prefix directory prepen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the md5hash API.
Each 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 md5hash API.
Each 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 MD5 hash string of the file content | "Return the MD5 hash string of the file content" | 25 | false | logston/py3s3 | md5hash | 16,843 | |
LDU_FT/PyCQA/astroid/ast_from_file | LDU_FT | [
"<BEGIN>\n## `_handle_blacklist`",
"remove files/directories in the black list",
" dirnames/filenames are usually from os.walk\n<END>",
"<BEGIN>\n## `load_module_from_name`",
"Load a Python module from its name.",
" :type dotted_name: str\n :param dotted_name: python name of a module or package",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ast_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ast_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | given a module name, return the astroid object | "given a module name, return the astroid object" | 1,051 | true | PyCQA/astroid | ast_from_file | 16,844 | |
LDU_FT/softwarefactory-project/rdopkg/version_parts | LDU_FT | [
"<BEGIN>\n## `rdopkg_runner`",
"default rdopkg action runner including rdopkg action modules\n<END>",
"<BEGIN>\n## `rdopkg`",
"rdopkg CLI interface",
" Execute rdopkg action with specified arguments and return\n shell friendly exit code.",
" This is the default high level way to interact with rdo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_parts API.
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 version_parts API.
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... | Split a version string into numeric X.Y.Z part and the rest (milestone). | "Split a version string into numeric X.Y.Z part and the rest (milestone)." | 60 | false | softwarefactory-project/rdopkg | version_parts | 16,845 | |
LDU_FT/nilp0inter/cpe/_is_alphanum | LDU_FT | [
"<BEGIN>\n## `_trim`",
"Remove trailing colons from the URI back to the first non-colon.",
" :param string s: input URI string\n :returns: URI string with trailing colons removed\n :rtype: string",
" TEST: trailing colons necessary",
" >>> s = '1:2::::'\n >>> CPE._t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_alphanum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_alphanum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns True if c is an uppercase letter, a lowercase letter,
a digit or an underscore, otherwise False.
:param string c: Character to check
:returns: True if char is alphanumeric or an underscore,
False otherwise
:rtype: boolean
TEST: a wrong character
>>> ... | "Returns True if c is an uppercase letter, a lowercase letter,\n a digit or an underscore, otherwise False.\n\n :param string c: Character to check\n :returns: True if char is alphanumeric or an underscore,\n False otherwise\n :rtype: boolean\n\n TEST: a wrong character\n ... | 206 | false | nilp0inter/cpe | _is_alphanum | 16,846 | |
LDU_FT/Tinche/cattrs/_structure_set | LDU_FT | [
"<BEGIN>\n## `make_dict_unstructure_fn`",
"Generate a specialized dict unstructuring function for a class.\n<END>",
"<BEGIN>\n## `unstruct_strat`",
"The default way of unstructuring ``attrs`` classes.\n<END>",
"<BEGIN>\n## `register_structure_hook`",
"Register a primitive-to-class converter function for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _structure_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _structure_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert an iterable into a potentially generic set. | "Convert an iterable into a potentially generic set." | 43 | false | Tinche/cattrs | _structure_set | 16,847 | |
LDU_FT/gc3-uzh-ch/elasticluster/_check_keypair | LDU_FT | [
"<BEGIN>\n## `to_vars_dict`",
"Return local state which is relevant for the cluster setup process.\n<END>",
"<BEGIN>\n## `_init_az_api`",
"Initialise client objects for talking to Azure API.",
" This is in a separate function so to be called by ``__init__``\n and ``__setstate__``.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_keypair API.
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 _check_keypair API.
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... | First checks if the keypair is valid, then checks if the keypair
is registered with on the cloud. If not the keypair is added to the
users ssh keys.
:param str name: name of the ssh key
:param str public_key_path: path to the ssh public key file
:param str private_key_path: path... | "First checks if the keypair is valid, then checks if the keypair\n is registered with on the cloud. If not the keypair is added to the\n users ssh keys.\n\n :param str name: name of the ssh key\n :param str public_key_path: path to the ssh public key file\n :param str private_key_pat... | 378 | false | gc3-uzh-ch/elasticluster | _check_keypair | 16,848 | |
LDU_FT/madedotcom/photon-pump/get_all | LDU_FT | [
"<BEGIN>\n## `NewEvent`",
"Build the data structure for a new event.",
" Args:\n type: An event type.\n id: The uuid identifier for the event.\n data: A dict containing data for the event. These data\n must be json serializable.\n metadata: A dict containing metadata ab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Read a range of events from the whole database.
Args:
direction (optional): Controls whether to read events forward or backward.
defaults to Forward.
from_position (optional): The position to read from.
defaults to the beginning of the stream when direction i... | "Read a range of events from the whole database.\n\n Args:\n direction (optional): Controls whether to read events forward or backward.\n defaults to Forward.\n from_position (optional): The position to read from.\n defaults to the beginning of the stream when dire... | 94 | false | madedotcom/photon-pump | get_all | 16,849 | |
LDU_FT/daler/metaseq/ci | LDU_FT | [
"<BEGIN>\n## `requirements_check`",
"Ensure we have programs needed to download/manipulate the data\n<END>",
"<BEGIN>\n## `_up_to_date`",
"Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>",
"<BEGIN>\n## `logged_command`",
"helper function to log a command and then run it\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ci API.
Each 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 ci API.
Each 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... | Column-wise confidence interval.
Parameters
----------
arr : array-like
conf : float
Confidence interval
Returns
-------
m : array
column-wise mean
lower : array
lower column-wise confidence bound
upper : array
upper column-wise confidence bound | "Column-wise confidence interval.\n\n Parameters\n ----------\n arr : array-like\n\n conf : float\n Confidence interval\n\n Returns\n -------\n m : array\n column-wise mean\n lower : array\n lower column-wise confidence bound\n upper : array\n upper column-wise con... | 400 | false | daler/metaseq | ci | 16,850 | |
LDU_FT/sixty-north/python-transducers/coroutine | LDU_FT | [
"<BEGIN>\n## `coroutine`",
"Decorator for priming generator-based coroutines.\n<END>",
"<BEGIN>\n## `ticker`",
"Yield numbers from 0 to `to` every `delay` seconds.\n<END>",
"<BEGIN>\n## `rprint`",
"A coroutine sink which prints received items stdout",
" Args:\n sep: Optional separator to be pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coroutine API.
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 coroutine API.
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... | Decorator for priming generator-based coroutines. | "Decorator for priming generator-based coroutines." | 38 | false | sixty-north/python-transducers | coroutine | 16,851 | |
LDU_FT/envi-idl/envipyengine/get_environment | LDU_FT | [
"<BEGIN>\n## `task`",
"Returns an ENVI Py Engine Task object. See ENVI Py Engine Task for examples.",
" :param task_name: The name of the task to retrieve.\n :return: An ENVI Py Engine Task object.\n<END>",
"<BEGIN>\n## `tasks`",
"Returns a list of all tasks known to the engine.",
" :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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.
The e... | Return all environment values from the config files. Values
stored in the user configuration file will take precedence
over values stored in the system configuration file.
:return: A dictionary containing the name/value pairs of all
environment settings in the config file. | "Return all environment values from the config files. Values\n stored in the user configuration file will take precedence\n over values stored in the system configuration file.\n\n :return: A dictionary containing the name/value pairs of all\n environment settings in the config file." | 42 | false | envi-idl/envipyengine | get_environment | 16,852 | |
LDU_FT/openearth/mmi-python/process_incoming | LDU_FT | [
"<BEGIN>\n## `key_occurrence`",
"Return a dict containing the value of the provided key and its uuid as\n value.\n<END>",
"<BEGIN>\n## `zmq_address`",
"Return a ZeroMQ address to the module with the provided key.\n<END>",
"<BEGIN>\n## `send_array`",
"send a numpy array with metadata over zmq",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_incoming API.
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 process_incoming API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | process incoming messages
data is a dict with several arrays | "process incoming messages\n\n data is a dict with several arrays" | 30 | false | openearth/mmi-python | process_incoming | 16,853 | |
LDU_FT/SmileyChris/easy-thumbnails/get | LDU_FT | [
"<BEGIN>\n## `default`",
"Easy-thumbnails' default name processor.",
" For example: ``source.jpg.100x100_q80_crop_upscale.jpg``\n<END>",
"<BEGIN>\n## `alias`",
"Generate filename based on thumbnail alias name (option ``THUMBNAIL_ALIASES``).",
" For example: ``source.jpg.medium_large.jpg``\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a dictionary of aliased options.
:param alias: The name of the aliased options.
:param target: Get alias for this specific target (optional).
If no matching alias is found, returns ``None``. | "Get a dictionary of aliased options.\n\n :param alias: The name of the aliased options.\n :param target: Get alias for this specific target (optional).\n\n If no matching alias is found, returns ``None``." | 218 | false | SmileyChris/easy-thumbnails | get | 16,854 | |
LDU_FT/tgsmith61591/pmdarima/transform | 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 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... | Create Fourier term features
When an ARIMA is fit with an exogenous array, it must be forecasted
with one also. Since at ``predict`` time in a pipeline we won't have
``y`` (and we may not yet have an ``exog`` array), we have to know how
far into the future for which to compute Fourier t... | "Create Fourier term features\n\n When an ARIMA is fit with an exogenous array, it must be forecasted\n with one also. Since at ``predict`` time in a pipeline we won't have\n ``y`` (and we may not yet have an ``exog`` array), we have to know how\n far into the future for which to compute Fou... | 356 | false | tgsmith61591/pmdarima | transform | 16,855 | |
LDU_FT/openstax/cnx-archive/get_collated_content | LDU_FT | [
"<BEGIN>\n## `redirect_legacy_content`",
"Redirect from legacy /content/id/version to new /contents/uuid@version.",
" Handles collection context (book) as well.\n<END>",
"<BEGIN>\n## `robots`",
"Return a simple \"don't index me\" robots.txt file.\n<END>",
"<BEGIN>\n## `_get_sql`",
"Returns the conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collated_content 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_collated_content 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 collated content for ``ident_hash``. | "Return collated content for ``ident_hash``." | 208 | false | openstax/cnx-archive | get_collated_content | 16,856 | |
LDU_FT/deshima-dev/decode/plot_chmap | LDU_FT | [
"<BEGIN>\n## `xarrayfunc`",
"Make a function compatible with xarray.DataArray.",
" This function is intended to be used as a decorator like::",
" >>> @dc.xarrayfunc\n >>> def func(array):\n ... # do something\n ... return newarray\n >>>\n >>> result = func(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_chmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_chmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Plot an intensity map.
Args:
cube (xarray.DataArray): Cube which the spectrum information is included.
kidid (int): Kidid.
ax (matplotlib.axes): Axis the figure is plotted on.
kwargs (optional): Plot options passed to ax.imshow(). | "Plot an intensity map.\n\n Args:\n cube (xarray.DataArray): Cube which the spectrum information is included.\n kidid (int): Kidid.\n ax (matplotlib.axes): Axis the figure is plotted on.\n kwargs (optional): Plot options passed to ax.imshow()." | 137 | false | deshima-dev/decode | plot_chmap | 16,857 | |
LDU_FT/TC01/python-xkcd/convertToAscii | LDU_FT | [
"<BEGIN>\n## `getRandomComic`",
"Produces a :class:`Comic` object for a random xkcd comic. Uses the\n\t\tPython standard library random number generator in order to select\n\t\ta comic.",
"\t\tReturns the resulting comic object.\n<END>",
"<BEGIN>\n## `getComic`",
"Produces a :class:`Comic` object with index... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convertToAscii API.
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 convertToAscii API.
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... | Utility function that converts a unicode string to ASCII. This
exists so the :class:`Comic` class can be compatible with Python 2
libraries that expect ASCII strings, such as Twisted (as of this writing,
anyway). It is unlikely something you will need directly, and its
use is discouraged.
Arguments:
stri... | "Utility function that converts a unicode string to ASCII. This\n\t\texists so the :class:`Comic` class can be compatible with Python 2\n\t\tlibraries that expect ASCII strings, such as Twisted (as of this writing,\n\t\tanyway). It is unlikely something you will need directly, and its\n\t\tuse is discouraged.\n\n\t\tAr... | 31 | false | TC01/python-xkcd | convertToAscii | 16,858 | |
LDU_FT/StagPython/StagPy/dtime | 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 dtime API.
Each 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 dtime API.
Each 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... | Time increment dt.
Compute dt as a function of time.
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 None.
tend (float): time at which... | "Time increment dt.\n\n Compute dt as a function of time.\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 if set to None.\n tend (float): time... | 299 | false | StagPython/StagPy | dtime | 16,859 | |
LDU_FT/matheuscas/pyIE/start | LDU_FT | [
"<BEGIN>\n## `start`",
"Checks the number valiaty for the Rondônia state\n<END>",
"<BEGIN>\n## `start`",
"Checks the number valiaty for the São Paulo state\n<END>",
"<BEGIN>\n## `start`",
"Checks the number valiaty for the Pernanbuco state\n<END>",
"<BEGIN>\n## `start`",
"Checks the number valiaty for... | 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... | Checks the number valiaty for the Amazonas state | "Checks the number valiaty for the Amazonas state" | 30 | false | matheuscas/pyIE | start | 16,860 | |
LDU_FT/BoboTiG/python-mss/_set_cfunctions | LDU_FT | [
"<BEGIN>\n## `to_png`",
"Dump data to a PNG file. If `output` is `None`, create no file but return\n the whole PNG data.",
" :param bytes data: RGBRGB...RGB data.\n :param tuple size: The (width, height) pair.\n :param int level: PNG compression level.\n :param str output: Output file name.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_cfunctions API.
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 _set_cfunctions API.
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... | Set all ctypes functions and attach them to attributes. | "Set all ctypes functions and attach them to attributes." | 62 | false | BoboTiG/python-mss | _set_cfunctions | 16,861 | |
LDU_FT/jstitch/MambuPy/getloansurl | LDU_FT | [
"<BEGIN>\n## `convertDict2Attrs`",
"The trick for iterable Mambu Objects comes here:",
" You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getloansurl API.
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 getloansurl API.
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... | Request Loans URL.
If idcred is set, you'll get a response adequate for a MambuLoan object.
If not set, you'll get a response adequate for a MambuLoans object.
See mambuloan module and pydoc for further information.
Currently implemented filter parameters:
* fullDetails
* accountState
* br... | "Request Loans URL.\n\n If idcred is set, you'll get a response adequate for a MambuLoan object.\n If not set, you'll get a response adequate for a MambuLoans object.\n See mambuloan module and pydoc for further information.\n\n Currently implemented filter parameters:\n * fullDetails\n * accountState... | 357 | false | jstitch/MambuPy | getloansurl | 16,862 | |
LDU_FT/CalebBell/fluids/material_roughness | LDU_FT | [
"<BEGIN>\n## `ccor`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODELS\n * ALT - altitude\n * R - target ratio\n * H1 - transition scale length\n * ZH - altitude of 1/2 R\n */\n<END>",
"<BEGIN>\n## `ccor2`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the material_roughness 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 material_roughness 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... | r'''Searches through either a dict of clean pipe materials or used pipe
materials and conditions and returns the ID of the nearest material.
Search is performed with either the standard library's difflib or with
the fuzzywuzzy module if available.
Parameters
----------
ID : str
Search t... | "r'''Searches through either a dict of clean pipe materials or used pipe\n materials and conditions and returns the ID of the nearest material.\n Search is performed with either the standard library's difflib or with\n the fuzzywuzzy module if available.\n\n Parameters\n ----------\n ID : str\n ... | 3,613 | true | CalebBell/fluids | material_roughness | 16,863 | |
LDU_FT/MoseleyBioinformaticsLab/nmrstarlib/seq_site_length | LDU_FT | [
"<BEGIN>\n## `csview`",
"View chemical shift values organized by amino acid residue.",
" :param view: Open in default image viewer or save file in current working directory quietly.\n :type view: :py:obj:`True` or :py:obj:`False`\n :return: None\n :rtype: :py:obj:`None`\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the seq_site_length API.
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 seq_site_length API.
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... | Calculate length of a single sequence site based upon relative positions specified in peak descriptions.
:return: Length of sequence site.
:rtype: :py:class:`int` | "Calculate length of a single sequence site based upon relative positions specified in peak descriptions.\n\n :return: Length of sequence site.\n :rtype: :py:class:`int`" | 117 | false | MoseleyBioinformaticsLab/nmrstarlib | seq_site_length | 16,864 | |
LDU_FT/hugapi/hug/invalid_content_type | LDU_FT | [
"<BEGIN>\n## `arguments`",
"Returns the name of all arguments a function takes\n<END>",
"<BEGIN>\n## `generate_accepted_kwargs`",
"Dynamically creates a function that when called with dictionary of arguments will produce a kwarg that's\n compatible with the supplied function\n<END>",
"<BEGIN>\n## `aut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invalid_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invalid_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the content type that should be used by default on validation errors | "Returns the content type that should be used by default on validation errors" | 259 | false | hugapi/hug | invalid_content_type | 16,865 | |
LDU_FT/orbingol/NURBS-Python/bspline_to_nurbs | LDU_FT | [
"<BEGIN>\n## `bspline_to_nurbs`",
"Converts non-rational parametric shapes to rational ones.",
" :param obj: B-Spline shape\n :type obj: BSpline.Curve, BSpline.Surface or BSpline.Volume\n :return: NURBS shape\n :rtype: NURBS.Curve, NURBS.Surface or NURBS.Volume\n :raises: TypeError\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bspline_to_nurbs API.
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 bspline_to_nurbs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Converts non-rational parametric shapes to rational ones.
:param obj: B-Spline shape
:type obj: BSpline.Curve, BSpline.Surface or BSpline.Volume
:return: NURBS shape
:rtype: NURBS.Curve, NURBS.Surface or NURBS.Volume
:raises: TypeError | "Converts non-rational parametric shapes to rational ones.\n\n :param obj: B-Spline shape\n :type obj: BSpline.Curve, BSpline.Surface or BSpline.Volume\n :return: NURBS shape\n :rtype: NURBS.Curve, NURBS.Surface or NURBS.Volume\n :raises: TypeError" | 809 | false | orbingol/NURBS-Python | bspline_to_nurbs | 16,866 | |
LDU_FT/callowayproject/django-staff/get_staff_updater | LDU_FT | [
"<BEGIN>\n## `get_formset`",
"Return a form, if the obj has a staffmember object, otherwise\n return an empty form\n<END>",
"<BEGIN>\n## `get_staff_updater`",
"This returns a function for passing to a signal.\n<END>",
"<BEGIN>\n## `save`",
"Makes sure we are in sync with the User field\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_staff_updater API.
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_staff_updater API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | This returns a function for passing to a signal. | "This returns a function for passing to a signal." | 10 | false | callowayproject/django-staff | get_staff_updater | 16,867 | |
LDU_FT/rbarrois/confutils/get_one | LDU_FT | [
"<BEGIN>\n## `update`",
"Replace all lines matching `old_line` with `new_line`.",
" If ``once`` is set to True, remove only the first instance.\n<END>",
"<BEGIN>\n## `update`",
"Replace all lines matching `old_line` with `new_line`.",
" If ``once`` is set to True, remove only the first insta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Retrieve the first value for a section/key.
Raises:
KeyError: If no line match the given section/key. | "Retrieve the first value for a section/key.\n\n Raises:\n KeyError: If no line match the given section/key." | 42 | false | rbarrois/confutils | get_one | 16,868 | |
LDU_FT/frictionlessdata/datapackage-pipelines/itersubdirs | LDU_FT | [
"<BEGIN>\n## `_filehash`",
"Return the hash object for the file `filepath', processing the file\n by chunk of `blocksize'.",
" :type filepath: str\n :param filepath: Path to file",
" :type blocksize: int\n :param blocksize: Size of the chunk when processing the file\n<END>",
"<BEGIN>\n## `com... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the itersubdirs API.
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 itersubdirs API.
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... | Generator for all subdirs (except excluded).
:type pattern: str
:param pattern: Unix style (glob like/gitignore like) pattern | "Generator for all subdirs (except excluded).\n\n :type pattern: str\n :param pattern: Unix style (glob like/gitignore like) pattern" | 51 | false | frictionlessdata/datapackage-pipelines | itersubdirs | 16,869 | |
LDU_FT/pymc-devs/pymc/assign_method | LDU_FT | [
"<BEGIN>\n## `moral_graph`",
"moral_graph(model,format='raw', prog='dot', path=None)",
" Draws the moral graph for this model and writes it to path with filename name.\n Returns the pydot 'dot' object for further user manipulation.",
" GraphViz and PyDot must be installed to use this function.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a step method instance to handle a
variable. If several methods have the same competence,
it picks one arbitrarily (using set.pop()). | "Returns a step method instance to handle a\n variable. If several methods have the same competence,\n it picks one arbitrarily (using set.pop())." | 1,025 | true | pymc-devs/pymc | assign_method | 16,870 | |
LDU_FT/sixty-north/python-transducers/poisson_source | LDU_FT | [
"<BEGIN>\n## `coroutine`",
"Decorator for priming generator-based coroutines.\n<END>",
"<BEGIN>\n## `ticker`",
"Yield numbers from 0 to `to` every `delay` seconds.\n<END>",
"<BEGIN>\n## `rprint`",
"A coroutine sink which prints received items stdout",
" Args:\n sep: Optional separator to be pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poisson_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poisson_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Send events at random times with uniform probability.
Args:
rate: The average number of events to send per second.
iterable: A series of items which will be sent to the target one by one.
target: The target coroutine or sink.
Returns:
An iterator over any remaining items. | "Send events at random times with uniform probability.\n\n Args:\n rate: The average number of events to send per second.\n iterable: A series of items which will be sent to the target one by one.\n target: The target coroutine or sink.\n\n Returns:\n An iterator over any remaining ite... | 38 | false | sixty-north/python-transducers | poisson_source | 16,871 | |
LDU_FT/prompt-toolkit/pymux/change_size_for_active_pane | LDU_FT | [
"<BEGIN>\n## `read_message_from_pipe`",
"(coroutine)\n Read message from this pipe. Return text.\n<END>",
"<BEGIN>\n## `read_message_bytes_from_pipe`",
"(coroutine)\n Read message from this pipe. Return bytes.\n<END>",
"<BEGIN>\n## `wait_for_event`",
"Wraps a win32 event into a `Future` and wait for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_size_for_active_pane 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 change_size_for_active_pane API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Increase the size of the current pane in any of the four directions. | "Increase the size of the current pane in any of the four directions." | 147 | false | prompt-toolkit/pymux | change_size_for_active_pane | 16,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.