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/SiLab-Bonn/pyBAR/worker | LDU_FT | [
"<BEGIN>\n## `thunkify`",
"Make a function immediately return a function of no args which, when called,\n waits for the result, which will start being processed in another thread.\n Taken from https://wiki.python.org/moin/PythonDecoratorLibrary.\n<END>",
"<BEGIN>\n## `set_event_when_keyboard_interrupt`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the worker API.
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 worker API.
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 ... | Worker thread continuously filtering and converting data when data becomes available. | "Worker thread continuously filtering and converting data when data becomes available." | 501 | false | SiLab-Bonn/pyBAR | worker | 27,573 | |
LDU_FT/b3j0f/annotation/_checkretry | LDU_FT | [
"<BEGIN>\n## `mixin_function_or_method`",
"Mixin a routine into the target.",
" :param routine: routine to mix in target.\n :param str name: mixin name. Routine name by default.\n :param bool isbound: If True (False by default), the mixin result is a\n bound method to target.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _checkretry API.
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 _checkretry API.
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... | Check if input parameters allow to retries function execution.
:param float mydelay: waiting delay between two execution.
:param int condition: condition to check with this condition.
:param int tries_remaining: tries remaining.
:param data: data to hook. | "Check if input parameters allow to retries function execution.\n\n :param float mydelay: waiting delay between two execution.\n :param int condition: condition to check with this condition.\n :param int tries_remaining: tries remaining.\n :param data: data to hook." | 84 | false | b3j0f/annotation | _checkretry | 27,574 | |
LDU_FT/zeaphoo/reston/get_main_activity | LDU_FT | [
"<BEGIN>\n## `get_access_flags_string`",
"Transform an access flags to the corresponding string",
" :param value: the value of the access flags\n :type value: int",
" :rtype: string\n<END>",
"<BEGIN>\n## `get_shorty_idx_value`",
"Return the string associated to the shorty_idx",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_main_activity API.
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_main_activity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the name of the main activity
:rtype: string | "Return the name of the main activity\n\n :rtype: string" | 152 | false | zeaphoo/reston | get_main_activity | 27,575 | |
LDU_FT/gitpython-developers/smmap/_collect_lru_region | LDU_FT | [
"<BEGIN>\n## `_copy_from`",
"Copy all data from rhs into this instance, handles usage count\n<END>",
"<BEGIN>\n## `use_region`",
"Assure we point to a window which allows access to the given offset into the file",
" :param offset: absolute offset in bytes into the file\n :param size: amount of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _collect_lru_region 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 _collect_lru_region 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... | Unmap the region which was least-recently used and has no client
:param size: size of the region we want to map next (assuming its not already mapped partially or full
if 0, we try to free any available region
:return: Amount of freed regions
.. Note::
We don't raise exc... | "Unmap the region which was least-recently used and has no client\n :param size: size of the region we want to map next (assuming its not already mapped partially or full\n if 0, we try to free any available region\n :return: Amount of freed regions\n\n .. Note::\n We don't ra... | 49 | false | gitpython-developers/smmap | _collect_lru_region | 27,576 | |
LDU_FT/tanghaibao/jcvi/distance | LDU_FT | [
"<BEGIN>\n## `patience_sort`",
"Patience sort an iterable, xs.",
" This function generates a series of pairs (x, pile), where \"pile\"\n is the 0-based index of the pile \"x\" should be placed on top of.\n Elements of \"xs\" must be less-than comparable.\n<END>",
"<BEGIN>\n## `longest_monotonic_subse... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance API.
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 distance API.
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... | %prog distance bedfile
Calculate distance between bed features. The output file is a list of
distances, which can be used to plot histogram, etc. | "%prog distance bedfile\n\n Calculate distance between bed features. The output file is a list of\n distances, which can be used to plot histogram, etc." | 3,304 | true | tanghaibao/jcvi | distance | 27,577 | |
LDU_FT/yfpeng/bioc/write_collection_info | LDU_FT | [
"<BEGIN>\n## `decodes`",
"Deserialize ``s`` to a BioC collection object.",
" Args:\n s: a \"str\" instance containing a BioC collection",
" Returns:\n an object of BioCollection\n<END>",
"<BEGIN>\n## `decode`",
"Deserialize ``fp`` to a BioC collection object.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_collection_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_collection_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Writes the collection information: encoding, version, DTD, source, date, key, infons, etc. | "Writes the collection information: encoding, version, DTD, source, date, key, infons, etc." | 75 | false | yfpeng/bioc | write_collection_info | 27,578 | |
LDU_FT/heikomuller/sco-models/delete_model | LDU_FT | [
"<BEGIN>\n## `init_registry`",
"Initialize a model registry with a list of model definitions in Json\n format.",
" Parameters\n ----------\n mongo : scodata.MongoDBFactory\n Connector for MongoDB\n model_defs : list()\n List of model definitions in Json-like format\n clear_collec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 extr... | Delete the model with given identifier in the database. Returns the
handle for the deleted model or None if object identifier is unknown.
Parameters
----------
identifier : string
Unique model identifier
erase : Boolean, optinal
If true, the record will b... | "Delete the model with given identifier in the database. Returns the\n handle for the deleted model or None if object identifier is unknown.\n\n Parameters\n ----------\n identifier : string\n Unique model identifier\n erase : Boolean, optinal\n If true, the reco... | 27 | false | heikomuller/sco-models | delete_model | 27,579 | |
LDU_FT/gmr/infoblox/remove_ipv6addr | 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 remove_ipv6addr API.
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 remove_ipv6addr API.
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... | Remove an IPv6 address from the host.
:param str ipv6addr: The IP address to remove | "Remove an IPv6 address from the host.\n\n :param str ipv6addr: The IP address to remove" | 42 | false | gmr/infoblox | remove_ipv6addr | 27,580 | |
LDU_FT/GoogleCloudPlatform/appengine-mapreduce/make_value_from_datastore | LDU_FT | [
"<BEGIN>\n## `_validate_filters`",
"Validate user supplied filters.",
" Validate filters are on existing properties and filter values\n have valid semantics.",
" Args:\n filters: user supplied filters. Each filter should be a list or tuple of\n format (<property_name_as_str>, <query_opera... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_value_from_datastore 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 make_value_from_datastore API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Convert value from datastore representation.
Args:
value: datastore value.
Returns:
value to store in the model. | "Convert value from datastore representation.\n\n Args:\n value: datastore value.\n\n Returns:\n value to store in the model." | 766 | false | GoogleCloudPlatform/appengine-mapreduce | make_value_from_datastore | 27,581 | |
LDU_FT/david-cortes/hpfrec/eval_llk | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit Hierarchical Poisson Model to sparse count data",
"\t\tFits a hierarchical Poisson model to count data using mean-field approximation with either\n\t\tfull-batch coordinate-ascent or mini-batch stochastic coordinate-ascent.",
"\t\tNote\n\t\t----\n\t\tDataFrames and arrays passed to '... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval_llk API.
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 eval_llk API.
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... | Evaluate Poisson log-likelihood (plus constant) for a given dataset
Note
----
This Poisson log-likelihood is calculated only for the combinations of users and items
provided here, so it's not a complete likelihood, and it might sometimes turn out to
be a positive number because of this.
Will filter out t... | "Evaluate Poisson log-likelihood (plus constant) for a given dataset\n\t\t\n\t\tNote\n\t\t----\n\t\tThis Poisson log-likelihood is calculated only for the combinations of users and items\n\t\tprovided here, so it's not a complete likelihood, and it might sometimes turn out to\n\t\tbe a positive number because of this.\... | 53 | false | david-cortes/hpfrec | eval_llk | 27,582 | |
LDU_FT/pyokagan/pyglreg/text | LDU_FT | [
"<BEGIN>\n## `import_type`",
"Import Type `name` and its dependencies from Registry `src`\n to Registry `dest`.",
" :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of type to import\n :param str api: Prefer to import Types with api Name `a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Formatted API declarations.
Equivalent to the concatenation of `text` attributes of
types, enums and commands in this Registry. | "Formatted API declarations.\n\n Equivalent to the concatenation of `text` attributes of\n types, enums and commands in this Registry." | 84 | false | pyokagan/pyglreg | text | 27,583 | |
LDU_FT/Kunstmord/datalib/return_features_base | LDU_FT | [
"<BEGIN>\n## `extract_feature_base`",
"Generic function which extracts a feature and stores it in the database",
" Parameters\n ----------\n dbpath : string, path to SQLite database file\n folder_path : string, path to folder where the files are stored\n set_object : object (either TestSet or Tra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_features_base API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_features_base API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generic function which returns a list of extracted features from the database
Parameters
----------
dbpath : string, path to SQLite database file
set_object : object (either TestSet or TrainSet) which is stored in the database
names : list of strings, a list of feature names which are to be retriev... | "Generic function which returns a list of extracted features from the database\n\n Parameters\n ----------\n dbpath : string, path to SQLite database file\n set_object : object (either TestSet or TrainSet) which is stored in the database\n names : list of strings, a list of feature names which are to be ... | 117 | false | Kunstmord/datalib | return_features_base | 27,584 | |
LDU_FT/SCIP-Interfaces/PySCIPOpt/mk_example | LDU_FT | [
"<BEGIN>\n## `gpp`",
"gpp -- model for the graph partitioning problem\n Parameters:\n - V: set/list of nodes in the graph\n - E: set/list of edges in the graph\n Returns a model, ready to be solved.\n<END>",
"<BEGIN>\n## `gpp_soco`",
"gpp -- model for the graph partitioning problem in soco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mk_example API.
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 mk_example API.
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... | mk_example: book example for the single item lot sizing | "mk_example: book example for the single item lot sizing" | 220 | false | SCIP-Interfaces/PySCIPOpt | mk_example | 27,585 | |
LDU_FT/decryptus/sonicprobe/uri_tree_validate | LDU_FT | [
"<BEGIN>\n## `remove_if_stale_pidfile`",
"@pidfile: PID file to remove if it is staled.",
" Exceptions are logged and are not propagated.\n<END>",
"<BEGIN>\n## `take_file_lock`",
"Atomically \"move\" @own_file to @lock_file if the latter does not exists,\n else just remove @own_file.",
" @own_fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uri_tree_validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uri_tree_validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Validate a tree splitted URI in format returned by
uri_tree_normalize(), raising an exception in case something invalid
is detected - that is RFC 3986 is not respected - and returning the
unmodified uri_tree otherwise.
This function must be called on something similar to the return value
of uri_tre... | "Validate a tree splitted URI in format returned by\n uri_tree_normalize(), raising an exception in case something invalid\n is detected - that is RFC 3986 is not respected - and returning the\n unmodified uri_tree otherwise.\n\n This function must be called on something similar to the return value\n of ... | 174 | false | decryptus/sonicprobe | uri_tree_validate | 27,586 | |
LDU_FT/dusty-phillips/opterator/main | LDU_FT | [
"<BEGIN>\n## `main`",
"An example copy script with some example parameters that might\n be used in a file or directory copy command.",
" :param recursive: -r --recursive copy directories\n recursively\n :param backup: -b --backup backup any files you copy over\n :param suffix: -S --suffix ove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | List information about a particular file or set of files
:param show_details: Whether to show detailed info about files
:param cols: specify screen width | "List information about a particular file or set of files\n\n :param show_details: Whether to show detailed info about files\n :param cols: specify screen width" | 21 | false | dusty-phillips/opterator | main | 27,587 | |
LDU_FT/althonos/pronto/_parse_metadata | LDU_FT | [
"<BEGIN>\n## `_extract_resources`",
"Extract the children of an element as a key/value mapping.\n<END>",
"<BEGIN>\n## `_iter_rawterms`",
"Iterate through the raw terms (Classes) in the ontology.\n<END>",
"<BEGIN>\n## `_extract_obo_synonyms`",
"Extract the synonyms defined in the rawterm.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 e... | Parse a metadata line.
The metadata is organized as a ``key: value`` statement which
is split into the proper key and the proper value.
Arguments:
line (str): the line containing the metadata
parse_remarks(bool, optional): set to `False` to avoid
parsing... | "Parse a metadata line.\n\n The metadata is organized as a ``key: value`` statement which\n is split into the proper key and the proper value.\n\n Arguments:\n line (str): the line containing the metadata\n parse_remarks(bool, optional): set to `False` to avoid\n ... | 120 | false | althonos/pronto | _parse_metadata | 27,588 | |
LDU_FT/NerdWalletOSS/savage/get_column_keys_and_names | LDU_FT | [
"<BEGIN>\n## `delete`",
"Performs a hard delete on a row, which means the row is deleted from the Savage\n table as well as the archive table.",
" :param table: the model class which inherits from\n :class:`~savage.models.user_table.SavageModelMixin` and specifies the model\n of the user tab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_column_keys_and_names 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 get_column_keys_and_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Return a generator of tuples k, c such that k is the name of the python attribute for
the column and c is the name of the column in the sql table. | "Return a generator of tuples k, c such that k is the name of the python attribute for\n the column and c is the name of the column in the sql table." | 60 | false | NerdWalletOSS/savage | get_column_keys_and_names | 27,589 | |
LDU_FT/Giphy/giphy-python-client/stickers_search_get | LDU_FT | [
"<BEGIN>\n## `gifs_categories_category_get`",
"Category Tags Endpoint.\n Returns a list of tags for a given category. NOTE `limit` and `offset` must both be set; otherwise they're ignored.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, pleas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stickers_search_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stickers_search_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.
T... | Sticker Search Endpoint
Replicates the functionality and requirements of the classic GIPHY search, but returns animated stickers rather than GIFs.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invo... | "Sticker Search Endpoint\n Replicates the functionality and requirements of the classic GIPHY search, but returns animated stickers rather than GIFs.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be... | 48 | false | Giphy/giphy-python-client | stickers_search_get | 27,590 | |
LDU_FT/ericsuh/dirichlet/mle | LDU_FT | [
"<BEGIN>\n## `meanprecision`",
"Mean and precision of Dirichlet distribution.",
" Parameters\n ----------\n a : array\n Parameters of Dirichlet distribution.",
" Returns\n -------\n mean : array\n Numbers [0,1] of the means of the Dirichlet distribution.\n precision : float\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mle API.
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 mle API.
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... | Iteratively computes maximum likelihood Dirichlet distribution
for an observed data set, i.e. a for which log p(D|a) is maximum.
Parameters
----------
D : 2D array
``N x K`` array of numbers from [0,1] where ``N`` is the number of
observations, ``K`` is the number of parameters for the ... | "Iteratively computes maximum likelihood Dirichlet distribution\n for an observed data set, i.e. a for which log p(D|a) is maximum.\n\n Parameters\n ----------\n D : 2D array\n ``N x K`` array of numbers from [0,1] where ``N`` is the number of\n observations, ``K`` is the number of parameters ... | 39 | false | ericsuh/dirichlet | mle | 27,591 | |
LDU_FT/greyli/flask-dropzone/load | LDU_FT | [
"<BEGIN>\n## `load`",
"Load Dropzone resources with given version and init dropzone configuration.",
" .. versionchanged:: 1.4.3\n Added ``js_url`` and ``css_url`` parameters to pass custom resource URL.",
" .. versionchanged:: 1.4.4\n This method was deprecated due to infl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load Dropzone resources with given version and init dropzone configuration.
.. versionchanged:: 1.4.3
Added ``js_url`` and ``css_url`` parameters to pass custom resource URL.
.. versionchanged:: 1.4.4
This method was deprecated due to inflexible. Now it's divided into three met... | "Load Dropzone resources with given version and init dropzone configuration.\n\n .. versionchanged:: 1.4.3\n Added ``js_url`` and ``css_url`` parameters to pass custom resource URL.\n\n .. versionchanged:: 1.4.4\n This method was deprecated due to inflexible. Now it's divided into th... | 23 | false | greyli/flask-dropzone | load | 27,592 | |
LDU_FT/sepandhaghighi/art/art | LDU_FT | [
"<BEGIN>\n## `font_size_splitter`",
"Split fonts to 4 category (small,medium,large,xlarge) by maximum length of letter in each font.",
" :param font_map: input fontmap\n :type font_map : dict\n :return: splitted fonts as dict\n<END>",
"<BEGIN>\n## `font_list`",
"Print all fonts.",
" :param tex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the art API.
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 art API.
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... | Return 1-line art.
:param artname: artname
:type artname : str
:return: ascii art as str | "Return 1-line art.\n\n :param artname: artname\n :type artname : str\n :return: ascii art as str" | 40 | false | sepandhaghighi/art | art | 27,593 | |
LDU_FT/cmheisel/basecampreporting/list_milestones | LDU_FT | [
"<BEGIN>\n## `people`",
"Dictionary of people on the project, keyed by id\n<END>",
"<BEGIN>\n## `comments`",
"Looks through the last 3 messages and returns those comments.\n<END>",
"<BEGIN>\n## `people_per_project`",
"This will return all of the people in the given company that can\n access the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_milestones API.
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 list_milestones API.
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 lets you query the list of milestones for a project. You can
either return all milestones, or only those that are late, completed,
or upcoming. | "This lets you query the list of milestones for a project. You can\n either return all milestones, or only those that are late, completed,\n or upcoming." | 44 | false | cmheisel/basecampreporting | list_milestones | 27,594 | |
LDU_FT/pyvisa/pyvisa-sim/_match_errors_queues | LDU_FT | [
"<BEGIN>\n## `_get_triplet`",
"Return a triplet from a dialogue dictionary.",
" :param dd: Dialogue dictionary.\n :type dd: Dict[str, str]\n :return: (query, response, error response)\n :rtype: (str, str | NoResponse, str | NoResponse)\n<END>",
"<BEGIN>\n## `_load`",
"YAML Parse a file or str an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_errors_queues 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 _match_errors_queues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Tries to match in error queues
:param query: message tuple
:type query: Tuple[bytes]
:return: response if found or None
:rtype: Tuple[bytes] | None | "Tries to match in error queues\n\n :param query: message tuple\n :type query: Tuple[bytes]\n :return: response if found or None\n :rtype: Tuple[bytes] | None" | 85 | false | pyvisa/pyvisa-sim | _match_errors_queues | 27,595 | |
LDU_FT/lsbardel/python-stdnet/where | LDU_FT | [
"<BEGIN>\n## `load_iterable`",
"Load an ``iterable``.",
" By default it returns a generator of data loaded via the\n :meth:`loads` method.",
" :param iterable: an iterable over data to load.\n :param session: Optional :class:`stdnet.odm.Session`.\n :return: an iterable over ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | For :ref:`backend <db-index>` supporting scripting, it is possible
to construct complex queries which execute the scripting *code* against
each element in the query. The *coe* should reference an instance of
:attr:`model` by ``this`` keyword.
:parameter code: a valid expression in the scripting language of the da... | "For :ref:`backend <db-index>` supporting scripting, it is possible\r\nto construct complex queries which execute the scripting *code* against\r\neach element in the query. The *coe* should reference an instance of\r\n:attr:`model` by ``this`` keyword.\r\n\r\n:parameter code: a valid expression in the scripting languag... | 387 | false | lsbardel/python-stdnet | where | 27,596 | |
LDU_FT/tensorflow/mesh/attention_mask_autoregressive | LDU_FT | [
"<BEGIN>\n## `make_layer_stack`",
"Configurable layer stack.",
" Args:\n layers: a list of subclasses of TransformerLayer\n num_layers: an integer\n Returns:\n a LayerStack\n<END>",
"<BEGIN>\n## `make_bitransformer`",
"Gin-configurable bitransformer constructor.",
" In your config file you nee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attention_mask_autoregressive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attention_mask_autoregressive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Bias for self-attention where attention to the right is disallowed.
Args:
query_pos: a mtf.Tensor with shape [..., length_dim]
dtype: a tf.dtype
Returns:
a mtf.Tensor with shape [..., length_dim, memory_length_dim] | "Bias for self-attention where attention to the right is disallowed.\n\n Args:\n query_pos: a mtf.Tensor with shape [..., length_dim]\n dtype: a tf.dtype\n\n Returns:\n a mtf.Tensor with shape [..., length_dim, memory_length_dim]" | 958 | false | tensorflow/mesh | attention_mask_autoregressive | 27,597 | |
LDU_FT/novopl/peltak/lint | LDU_FT | [
"<BEGIN>\n## `start`",
"Create a new release branch.",
" Args:\n component (str):\n Version component to bump when creating the release. Can be *major*,\n *minor* or *patch*.\n exact (str):\n The exact version to set for the release. Overrides the component\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Lint python files.
Args:
exclude (list[str]):
A list of glob string patterns to test against. If the file/path
matches any of those patters, it will be filtered out.
skip_untracked (bool):
If set to **True** it will skip all files not tracked by git.
comm... | "Lint python files.\n\n Args:\n exclude (list[str]):\n A list of glob string patterns to test against. If the file/path\n matches any of those patters, it will be filtered out.\n skip_untracked (bool):\n If set to **True** it will skip all files not tracked by git.\n ... | 367 | false | novopl/peltak | lint | 27,598 | |
LDU_FT/brainiak/brainiak/fit | LDU_FT | [
"<BEGIN>\n## `_generate_feature`",
"Generate features corresponding to signal",
" Generate a single feature, that can be inserted into the signal volume.\n A feature is a region of activation with a specific shape such as cube\n or ring",
" Parameters\n ----------",
" feature_type : str\n ... | 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... | Compute Hierarchical Topographical Factor Analysis Model
[Manning2014-1][Manning2014-2]
Parameters
----------
X : list of 2D arrays, element i has shape=[voxels_i, samples]
Each element in the list contains the fMRI data of one subject.
R : list of 2D arrays, el... | "Compute Hierarchical Topographical Factor Analysis Model\n [Manning2014-1][Manning2014-2]\n\n Parameters\n ----------\n X : list of 2D arrays, element i has shape=[voxels_i, samples]\n Each element in the list contains the fMRI data of one subject.\n\n R : list of 2D a... | 1,513 | true | brainiak/brainiak | fit | 27,599 | |
LDU_FT/tgalal/yowsup/encrypt | LDU_FT | [
"<BEGIN>\n## `set_prekeys_as_sent`",
":param prekeyIds:\n :type prekeyIds: list\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `encrypt`",
":param recipient_id:\n :type recipient_id: str\n :param data:\n :type data: bytes\n :return:\n :rtype:\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt API.
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 encrypt API.
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... | :param recipient_id:
:type recipient_id: str
:param data:
:type data: bytes
:return:
:rtype: | ":param recipient_id:\n :type recipient_id: str\n :param data:\n :type data: bytes\n :return:\n :rtype:" | 46 | false | tgalal/yowsup | encrypt | 27,600 | |
LDU_FT/seleniumbase/SeleniumBase/is_element_in_an_iframe | LDU_FT | [
"<BEGIN>\n## `generate_application_string`",
"Generate an application string based on some of the given information\n that can be pulled from the test object: app_env, start_time.\n<END>",
"<BEGIN>\n## `_filter_xpath_grouping`",
"This method removes the outer parentheses for xpath grouping.\n Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_element_in_an_iframe 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 is_element_in_an_iframe 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 True if the selector's element is located in an iframe.
Otherwise returns False. | "Returns True if the selector's element is located in an iframe.\n Otherwise returns False." | 362 | false | seleniumbase/SeleniumBase | is_element_in_an_iframe | 27,601 | |
LDU_FT/sprockets/sprockets-influxdb/_start_timeout | LDU_FT | [
"<BEGIN>\n## `add_measurement`",
"Add measurement data to the submission buffer for eventual writing to\n InfluxDB.",
" Example:",
" .. code:: python",
" import sprockets_influxdb as influxdb",
" measurement = influxdb.Measurement('example', 'measurement-name')\n measurement.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _start_timeout API.
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 _start_timeout API.
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... | Stop a running timeout if it's there, then create a new one. | "Stop a running timeout if it's there, then create a new one." | 93 | false | sprockets/sprockets-influxdb | _start_timeout | 27,602 | |
LDU_FT/agoragames/leaderboard-python/remove_member_data_in | LDU_FT | [
"<BEGIN>\n## `pool`",
"Fetch a redis conenction pool for the unique combination of host\n and port. Will create a new one if there isn't one already.\n<END>",
"<BEGIN>\n## `rank_member`",
"Rank a member in the leaderboard.",
" @param member [String] Member name.\n @param score [float] M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_member_data_in API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_member_data_in API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Remove the optional member data for a given member in the named leaderboard.
@param leaderboard_name [String] Name of the leaderboard.
@param member [String] Member name. | "Remove the optional member data for a given member in the named leaderboard.\n\n @param leaderboard_name [String] Name of the leaderboard.\n @param member [String] Member name." | 180 | false | agoragames/leaderboard-python | remove_member_data_in | 27,603 | |
LDU_FT/stefankoegl/kdtree/children | LDU_FT | [
"<BEGIN>\n## `require_axis`",
"Check if the object of the function has axis and sel_axis members\n<END>",
"<BEGIN>\n## `create`",
"Creates a kd-tree from a list of points",
" All points in the list must be of the same dimensionality.",
" If no point_list is given, an empty tree is created. The numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the children API.
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 children API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns an iterator for the non-empty children of the Node
The children are returned as (Node, pos) tuples where pos is 0 for the
left subnode and 1 for the right.
>>> len(list(create(dimensions=2).children))
0
>>> len(list(create([ (1, 2) ]).children))
0
>>> ... | "Returns an iterator for the non-empty children of the Node\n\n The children are returned as (Node, pos) tuples where pos is 0 for the\n left subnode and 1 for the right.\n\n >>> len(list(create(dimensions=2).children))\n 0\n\n >>> len(list(create([ (1, 2) ]).children))\n 0\n\n... | 72 | false | stefankoegl/kdtree | children | 27,604 | |
LDU_FT/sdcooke/django_bundles/get_file_urls | LDU_FT | [
"<BEGIN>\n## `make_bundle`",
"Does all of the processing required to create a bundle and write it to disk, returning its hash version\n<END>",
"<BEGIN>\n## `run_process`",
"This is a modification of subprocess.Popen.communicate that accepts an iterable stdin and is itself a generator for stdout\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file_urls API.
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_file_urls API.
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... | Return a list of file urls - will return a single item if settings.USE_BUNDLES is True | "Return a list of file urls - will return a single item if settings.USE_BUNDLES is True" | 16 | false | sdcooke/django_bundles | get_file_urls | 27,605 | |
LDU_FT/TaurusOlson/fntools/reductions | LDU_FT | [
"<BEGIN>\n## `use_with`",
"Apply a function on the attributes of the data",
" :param data: an object\n :param fn: a function\n :param attrs: some attributes of the object\n :returns: an object",
" Let's create some data first::",
" >>> from collections import namedtuple\n >>> Pe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reductions API.
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 reductions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the intermediate values of a reduction
:param fn: a function
:param seq: a sequence
:param acc: the accumulator
:returns: a list
>>> reductions(lambda x, y: x + y, [1, 2, 3])
[1, 3, 6]
>>> reductions(lambda x, y: x + y, [1, 2, 3], 10)
[11, 13, 16] | "Return the intermediate values of a reduction\n\n :param fn: a function\n :param seq: a sequence\n :param acc: the accumulator\n :returns: a list\n\n >>> reductions(lambda x, y: x + y, [1, 2, 3])\n [1, 3, 6]\n\n >>> reductions(lambda x, y: x + y, [1, 2, 3], 10)\n [11, 13, 16]" | 134 | false | TaurusOlson/fntools | reductions | 27,606 | |
LDU_FT/maas/python-libmaas/release | LDU_FT | [
"<BEGIN>\n## `calculate_dict_diff`",
"Return the parameters based on the difference.",
" If a parameter exists in `old_params` but not in `new_params` then\n parameter will be set to an empty string.\n<END>",
"<BEGIN>\n## `datum_to_value`",
"Convert a given MAAS-side datum to a Python-side value.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Release the machine.
:param comment: Reason machine was released.
:type comment: `str`
:param erase: Erase the disk when release.
:type erase: `bool`
:param secure_erase: Use the drive's secure erase feature if available.
:type secure_erase: `bool`
:param quick_e... | "Release the machine.\n\n :param comment: Reason machine was released.\n :type comment: `str`\n :param erase: Erase the disk when release.\n :type erase: `bool`\n :param secure_erase: Use the drive's secure erase feature if available.\n :type secure_erase: `bool`\n :para... | 452 | false | maas/python-libmaas | release | 27,607 | |
LDU_FT/Hackerfleet/hfos/authenticationrequest | LDU_FT | [
"<BEGIN>\n## `_augment_book`",
"Checks if the newly created object is a book and only has an ISBN.\n If so, tries to fetch the book data off the internet.",
" :param uuid: uuid of book to augment\n :param client: requesting client\n<END>",
"<BEGIN>\n## `serial_ports`",
"Lists serial por... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticationrequest 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 authenticationrequest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Handles authentication requests from clients
:param event: AuthenticationRequest with user's credentials | "Handles authentication requests from clients\n :param event: AuthenticationRequest with user's credentials" | 344 | false | Hackerfleet/hfos | authenticationrequest | 27,608 | |
LDU_FT/umap-project/umap/render_to_json | LDU_FT | [
"<BEGIN>\n## `can_edit`",
"Define if a user can edit or not the instance, according to his account\n or the request.\n<END>",
"<BEGIN>\n## `tilelayer_preview`",
"Return an <img> tag with a tile of the tilelayer.\n<END>",
"<BEGIN>\n## `render_to_json`",
"Generate a JSON HttpResponse with rendered te... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Generate a JSON HttpResponse with rendered template HTML. | "Generate a JSON HttpResponse with rendered template HTML." | 15 | false | umap-project/umap | render_to_json | 27,609 | |
LDU_FT/koordinates/python-client/is_published_version | LDU_FT | [
"<BEGIN>\n## `create`",
"Create single permission for the given object.",
" :param Permission permission: A single Permission object to be set.\n<END>",
"<BEGIN>\n## `set`",
"Set the object permissions. If the parent object already has permissions, they will be overwritten.",
" :param [] per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_published_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_published_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return if this version is the published version of a layer | "Return if this version is the published version of a layer" | 178 | false | koordinates/python-client | is_published_version | 27,610 | |
LDU_FT/fkarb/xltable/_to_pywintypes | LDU_FT | [
"<BEGIN>\n## `itersheets`",
"Iterates over the worksheets in the book, and sets the active\n worksheet as the current one before yielding.\n<END>",
"<BEGIN>\n## `to_xlsx`",
"Write workbook to a .xlsx file using xlsxwriter.\n Return a xlsxwriter.workbook.Workbook.",
" :param kwargs: Extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_pywintypes API.
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 _to_pywintypes API.
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 values in a row to types accepted by excel | "convert values in a row to types accepted by excel" | 48 | false | fkarb/xltable | _to_pywintypes | 27,611 | |
LDU_FT/datacamp/protowhat/check_or | LDU_FT | [
"<BEGIN>\n## `_from_func`",
"Creates a function chain starting with the specified SCT (f), and its arguments.\n<END>",
"<BEGIN>\n## `check_file`",
"Test whether file exists, and make its contents the student code.",
" Note: this SCT fails if the file is a directory.\n<END>",
"<BEGIN>\n## `dump`",
"Co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_or API.
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 check_or API.
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... | Test whether at least one SCT passes.
If all of the tests fail, the feedback of the first test will be presented to the student.
Args:
state: State instance describing student and solution code, can be omitted if used with Ex()
tests: one or more sub-SCTs to run
:Example:
The SCT ... | "Test whether at least one SCT passes.\n\n If all of the tests fail, the feedback of the first test will be presented to the student.\n\n Args:\n state: State instance describing student and solution code, can be omitted if used with Ex()\n tests: one or more sub-SCTs to run\n\n :Example:\n ... | 94 | false | datacamp/protowhat | check_or | 27,612 | |
LDU_FT/robhowley/nhlscrapi/top_by_key | LDU_FT | [
"<BEGIN>\n## `totals`",
"Computes and returns dictionary containing home/away by player, shots and face-off totals",
" :returns: dict of the form ``{ 'home/away': { 'all_keys': w_numeric_data } }``\n<END>",
"<BEGIN>\n## `filter_players`",
"Return the subset home and away players that satisfy the prov... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the top_by_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the top_by_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return home/away by player info for the players on each team that are first in the provided category.
:param sort_key: str, the dictionary key to be sorted on
:returns: dict of the form ``{ 'home/away': { by_player_dict } }``. See :py:func:`home_players` and :py:func:`away_players` | "Return home/away by player info for the players on each team that are first in the provided category.\n \n :param sort_key: str, the dictionary key to be sorted on\n :returns: dict of the form ``{ 'home/away': { by_player_dict } }``. See :py:func:`home_players` and :py:func:`away_players`" | 126 | false | robhowley/nhlscrapi | top_by_key | 27,613 | |
LDU_FT/greenape/mktheapidocs/to_doc | LDU_FT | [
"<BEGIN>\n## `get_line`",
"Get the line number for something.\n Parameters\n ----------\n thing : function, class, module",
" Returns\n -------\n int\n Line number in the source file\n<END>",
"<BEGIN>\n## `_sort_modules`",
"Always sort `index` or `README` as first filename in list.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_doc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_doc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Generate markdown for a class or function
Parameters
----------
name : str
Name of the thing being documented
thing : class or function
Class or function to document
header_level : int
Heading level
source_location : str
URL of repo containing source code | "Generate markdown for a class or function\n\n Parameters\n ----------\n name : str\n Name of the thing being documented\n thing : class or function\n Class or function to document\n header_level : int\n Heading level\n source_location : str\n URL of repo containing source ... | 60 | false | greenape/mktheapidocs | to_doc | 27,614 | |
LDU_FT/Aluriak/bubble-tools/bubble_to_js | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bubble_to_js API.
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 bubble_to_js API.
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... | Write in jsdir a graph equivalent to those depicted in bubble file | "Write in jsdir a graph equivalent to those depicted in bubble file" | 88 | false | Aluriak/bubble-tools | bubble_to_js | 27,615 | |
LDU_FT/samjabrahams/anchorhub/parse_args | LDU_FT | [
"<BEGIN>\n## `get`",
"Extract the specified AnchorHub tag, as well as the portion of the\n line that should be converted from the ATX style Markdown header.",
" :param file_lines: List of strings corresponding to lines in a text file\n :param index: index of file_lines corresponding to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse arguments provided as a list of strings, and return a namespace
with parameter names matching the arguments
:param args: List of strings to be parsed as command-line arguments. If
none, reads in sys.argv as the values.
:return: a namespace containing arguments values | "Parse arguments provided as a list of strings, and return a namespace\n with parameter names matching the arguments\n\n :param args: List of strings to be parsed as command-line arguments. If\n none, reads in sys.argv as the values.\n :return: a namespace containing arguments values" | 148 | false | samjabrahams/anchorhub | parse_args | 27,616 | |
LDU_FT/NLeSC/scriptcwl/list_inputs | LDU_FT | [
"<BEGIN>\n## `load_steps`",
"Return a dictionary containing Steps read from file.",
" Args:\n steps_dir (str, optional): path to directory containing CWL files.\n step_file (str, optional): path or http(s) url to a single CWL file.\n step_list (list, optional): a list of directories, url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_inputs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_inputs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a string listing all the Step's input names and their types.
The types are returned in a copy/pastable format, so if the type is
`string`, `'string'` (with single quotes) is returned.
Returns:
str containing all input names and types. | "Return a string listing all the Step's input names and their types.\n\n The types are returned in a copy/pastable format, so if the type is\n `string`, `'string'` (with single quotes) is returned.\n\n Returns:\n str containing all input names and types." | 85 | false | NLeSC/scriptcwl | list_inputs | 27,617 | |
LDU_FT/pre-commit/pre-commit/_get_default_directory | LDU_FT | [
"<BEGIN>\n## `_shuffled`",
"Deterministically shuffle identically under both py2 + py3.\n<END>",
"<BEGIN>\n## `envcontext`",
"In this context, `os.environ` is modified according to `patch`.",
" `patch` is an iterable of 2-tuples (key, value):\n `key`: string\n `value`:\n - string... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_default_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_default_directory 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 default directory for the Store. This is intentionally
underscored to indicate that `Store.get_default_directory` is the intended
way to get this information. This is also done so
`Store.get_default_directory` can be mocked in tests and
`_get_default_directory` can be tested. | "Returns the default directory for the Store. This is intentionally\n underscored to indicate that `Store.get_default_directory` is the intended\n way to get this information. This is also done so\n `Store.get_default_directory` can be mocked in tests and\n `_get_default_directory` can be tested." | 54 | false | pre-commit/pre-commit | _get_default_directory | 27,618 | |
LDU_FT/stephenmcd/hot-redis/_get_lua_funcs | LDU_FT | [
"<BEGIN>\n## `transaction`",
"Swaps out the current client with a pipeline instance,\n so that each Redis method call inside the context will be\n pipelined. Once the context is exited, we execute the pipeline.\n<END>",
"<BEGIN>\n## `_get_lua_path`",
"Joins the given name with the relative path of the m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_lua_funcs API.
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_lua_funcs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns the name / code snippet pair for each Lua function
in the atoms.lua file. | "Returns the name / code snippet pair for each Lua function\n in the atoms.lua file." | 18 | false | stephenmcd/hot-redis | _get_lua_funcs | 27,619 | |
LDU_FT/gamechanger/schemer/_verify_type | LDU_FT | [
"<BEGIN>\n## `Mixed`",
"Mixed type, used to indicate a field in a schema can be\n one of many types. Use as a last resort only.\n The Mixed type can be used directly as a class to indicate\n any type is permitted for a given field:\n `\"my_field\": {\"type\": Mixed}`\n It can also be instantiated w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Verify that the 'type' in the spec is valid | "Verify that the 'type' in the spec is valid" | 48 | false | gamechanger/schemer | _verify_type | 27,620 | |
LDU_FT/bioasp/iggy/p_identlist | LDU_FT | [
"<BEGIN>\n## `readProfile`",
"input: string, name of a file containing a profile description\n output: asp.TermSet, with atoms matching the contents of the input file",
" Parses a profile description, and returns\n a TermSet object.\n<END>",
"<BEGIN>\n## `get_scenfit`",
"returns the scenfit of data and m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_identlist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_identlist API.
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... | identlist : IDENT
| NOT IDENT
| IDENT AND identlist
| NOT IDENT AND identlist | "identlist : IDENT\n | NOT IDENT\n | IDENT AND identlist\n | NOT IDENT AND identlist" | 13 | false | bioasp/iggy | p_identlist | 27,621 | |
LDU_FT/jldbc/pybaseball/pitching_stats_bref | LDU_FT | [
"<BEGIN>\n## `process_win_streak`",
"Convert \"+++\"/\"---\" formatted win/loss streak column into a +/- integer column\n<END>",
"<BEGIN>\n## `split_request`",
"Splits Statcast queries to avoid request timeouts\n<END>",
"<BEGIN>\n## `statcast_pitcher`",
"Pulls statcast pitch-level data from Baseball Savan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pitching_stats_bref 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 pitching_stats_bref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get all pitching stats for a set season. If no argument is supplied, gives stats for
current season to date. | "Get all pitching stats for a set season. If no argument is supplied, gives stats for \n current season to date." | 46 | false | jldbc/pybaseball | pitching_stats_bref | 27,622 | |
LDU_FT/gc3-uzh-ch/elasticluster/delete | 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 delete API.
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 delete API.
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 ... | Deletes the cluster from memory.
:param cluster: cluster to delete
:type cluster: :py:class:`elasticluster.cluster.Cluster` | "Deletes the cluster from memory.\n\n :param cluster: cluster to delete\n :type cluster: :py:class:`elasticluster.cluster.Cluster`" | 378 | false | gc3-uzh-ch/elasticluster | delete | 27,623 | |
LDU_FT/ricequant/rqalpha/order_target_percent | LDU_FT | [
"<BEGIN>\n## `buy_open`",
"买入开仓。",
" :param id_or_ins: 下单标的物\n :type id_or_ins: :class:`~Instrument` object | `str` | List[:class:`~Instrument`] | List[`str`]",
" :param int amount: 下单手数",
" :param float price: 下单价格,默认为None,表示 :class:`~MarketOrder`, 此参数主要用于简化 `style` 参数。",
" :param style: 下... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_target_percent 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 order_target_percent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | 买入/卖出证券以自动调整该证券的仓位到占有一个目标价值。
加仓时,percent 代表证券已有持仓的价值加上即将花费的现金(包含税费)的总值占当前投资组合总价值的比例。
减仓时,percent 代表证券将被调整到的目标价至占当前投资组合总价值的比例。
其实我们需要计算一个position_to_adjust (即应该调整的仓位)
`position_to_adjust = target_position - current_position`
投资组合价值等于所有已有仓位的价值和剩余现金的总和。买/卖单会被下舍入一手股数(A股是100的倍数)的倍数。目标百分比应该是一个小数,并且最大值... | "买入/卖出证券以自动调整该证券的仓位到占有一个目标价值。\n\n 加仓时,percent 代表证券已有持仓的价值加上即将花费的现金(包含税费)的总值占当前投资组合总价值的比例。\n 减仓时,percent 代表证券将被调整到的目标价至占当前投资组合总价值的比例。\n\n 其实我们需要计算一个position_to_adjust (即应该调整的仓位)\n\n `position_to_adjust = target_position - current_position`\n\n 投资组合价值等于所有已有仓位的价值和剩余现金的总和。买/卖单会被下舍入一手股数(A股是100的倍数)的倍数。目标百分比应该是... | 254 | false | ricequant/rqalpha | order_target_percent | 27,624 | |
LDU_FT/alexa/alexa-skills-kit-sdk-for-python/__set_text_field | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Invokes the dispatcher, to handle the request envelope and\n return a response envelope.",
" :param request_envelope: Request Envelope instance containing\n request information\n :type request_envelope: RequestEnvelope\n :param context: Context pas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_text_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_text_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Helper method to create text field according to text type.
:type text: str
:param text_type: Type of the primary text field. Allowed values
are `PlainText` and `RichText`.
:type text_type: str
:return: Object of type
:py:class:`ask_sdk_model.interfaces.display.PlainText` or
:py:... | "Helper method to create text field according to text type.\n\n :type text: str\n :param text_type: Type of the primary text field. Allowed values\n are `PlainText` and `RichText`.\n :type text_type: str\n :return: Object of type\n :py:class:`ask_sdk_model.interfaces.display.PlainText` or\n ... | 285 | false | alexa/alexa-skills-kit-sdk-for-python | __set_text_field | 27,625 | |
LDU_FT/mdiener/grace/split_delimited | LDU_FT | [
"<BEGIN>\n## `visit`",
"Returns a generator that walks all children recursively.\n<END>",
"<BEGIN>\n## `list_js_files`",
"Generator for all JavaScript files in the directory, recursively",
" >>> 'examples/module.js' in list(list_js_files('examples'))\n True\n<END>",
"<BEGIN>\n## `save_file`",
"Sav... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_delimited API.
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 split_delimited API.
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... | Generator that walks the ``text`` and splits it into an array on
``split_by``, being careful not to break inside a delimiter pair.
``delimiters`` should be an even-length string with each pair of matching
delimiters listed together, open first.
>>> list(split_delimited('{}[]', ',', ''))
['']
>... | "Generator that walks the ``text`` and splits it into an array on\n ``split_by``, being careful not to break inside a delimiter pair.\n ``delimiters`` should be an even-length string with each pair of matching\n delimiters listed together, open first.\n\n\n >>> list(split_delimited('{}[]', ',', ''))\n ['... | 188 | false | mdiener/grace | split_delimited | 27,626 | |
LDU_FT/hangyan/shaw/rget | LDU_FT | [
"<BEGIN>\n## `queryset_iterator`",
"Iterate over a Django Queryset ordered by the primary key",
" This method loads a maximum of chunksize (default: 1000) rows in it's\n memory at the same time while django normally would load all rows in it's\n memory. Using the iterator() method only causes it to not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Recursively get keys from dict, for example:
'a.b.c' --> d['a']['b']['c'], return None if not exist. | "Recursively get keys from dict, for example:\n 'a.b.c' --> d['a']['b']['c'], return None if not exist." | 26 | false | hangyan/shaw | rget | 27,627 | |
LDU_FT/stan-dev/pystan/_get_par_summary | LDU_FT | [
"<BEGIN>\n## `lookup`",
"Look up for a Stan function with similar functionality to a Python\n function (or even an R function, see examples). If the function is\n not present on the lookup table, then attempts to find similar one\n and prints the results. This function requires package `pandas`.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_par_summary API.
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_par_summary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Summarize chains merged and individually
Parameters
----------
sim : dict from stanfit object
n : int
parameter index
probs : iterable of int
quantiles
Returns
-------
summary : dict
Dictionary containing summaries | "Summarize chains merged and individually\n\n Parameters\n ----------\n sim : dict from stanfit object\n n : int\n parameter index\n probs : iterable of int\n quantiles\n\n Returns\n -------\n summary : dict\n Dictionary containing summaries" | 222 | false | stan-dev/pystan | _get_par_summary | 27,628 | |
LDU_FT/grycap/RADL/p_ansible_sentence | LDU_FT | [
"<BEGIN>\n## `parse_radl`",
"Parse a RADL document in JSON.",
" Args.:\n - data(str or list): document to parse.",
" Return(RADL): RADL object.\n<END>",
"<BEGIN>\n## `radlToSimple`",
"Return a list of maps whose values are only other maps or lists.\n<END>",
"<BEGIN>\n## `getValue`",
"Return t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_ansible_sentence 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 p_ansible_sentence 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... | ansible_sentence : ANSIBLE VAR LPAREN features RPAREN | "ansible_sentence : ANSIBLE VAR LPAREN features RPAREN" | 121 | false | grycap/RADL | p_ansible_sentence | 27,629 | |
LDU_FT/micropython/micropython/get_memory_layout | LDU_FT | [
"<BEGIN>\n## `ptr`",
"Returns the numbered function (i.e. USART6) for this AF.\n<END>",
"<BEGIN>\n## `run_loop`",
"Start the loop.",
" :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>",
"<BEGIN>\n## `find_c_file`",
"Search vpaths for the c fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_memory_layout API.
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_memory_layout API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns an array which identifies the memory layout. Each entry
of the array will contain a dictionary with the following keys:
addr - Address of this memory segment
last_addr - Last address contained within the memory segment.
size - size of the segment, in bytes
num... | "Returns an array which identifies the memory layout. Each entry\n of the array will contain a dictionary with the following keys:\n addr - Address of this memory segment\n last_addr - Last address contained within the memory segment.\n size - size of the segment, in bytes\n ... | 54 | false | micropython/micropython | get_memory_layout | 27,630 | |
LDU_FT/alexmojaki/littleutils/group_by_key_func | LDU_FT | [
"<BEGIN>\n## `helpful_error_list_get`",
">>> helpful_error_list_get([1, 2, 3], 1)\n 2\n >>> helpful_error_list_get([1, 2, 3], 4)\n Traceback (most recent call last):\n ...\n IndexError: Tried to access 4, length is only 3\n<END>",
"<BEGIN>\n## `only`",
">>> only([7])\n 7\n >>> only([1, 2]... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_by_key_func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_by_key_func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create a dictionary from an iterable such that the keys are the result of evaluating a key function on elements
of the iterable and the values are lists of elements all of which correspond to the key.
>>> def si(d): return sorted(d.items())
>>> si(group_by_key_func("a bb ccc d ee fff".split(), len))
[(... | "Create a dictionary from an iterable such that the keys are the result of evaluating a key function on elements\n of the iterable and the values are lists of elements all of which correspond to the key.\n\n >>> def si(d): return sorted(d.items())\n >>> si(group_by_key_func(\"a bb ccc d ee fff\".split(), len))... | 34 | false | alexmojaki/littleutils | group_by_key_func | 27,631 | |
LDU_FT/axel-events/axel/fire | LDU_FT | [
"<BEGIN>\n## `handle`",
"Registers a handler. The handler can be transmitted together \r\n with two arguments as a list or dictionary. The arguments are:\r",
" memoize \r\n if True, the execution result will be cached in self.memoize\r\n timeout \r\n will allocate a pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fire API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fire API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Stores all registered handlers in a queue for processing | "Stores all registered handlers in a queue for processing" | 17 | false | axel-events/axel | fire | 27,632 | |
LDU_FT/jpoullet2000/atlasclient/version_str | LDU_FT | [
"<BEGIN>\n## `handle_response`",
"Given a requests.Response object, throw the appropriate exception, if applicable.\n<END>",
"<BEGIN>\n## `create`",
"Create a new instance of this resource type.",
" As a general rule, the identifier should have been provided, but in\n some subclasses the ident... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Convert a version tuple or string to a string.
Should be returned in the form: major.minor.release | "Convert a version tuple or string to a string.\n\n Should be returned in the form: major.minor.release" | 66 | false | jpoullet2000/atlasclient | version_str | 27,633 | |
LDU_FT/itamarst/eliot/_validate_message | LDU_FT | [
"<BEGIN>\n## `stopService`",
"Stop the writer thread, wait for it to finish.\n<END>",
"<BEGIN>\n## `bind`",
"Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>",
"<BEGIN>\n## `_freeze`",
"Freeze this message for logging, registering it with C{action}."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Is C{message} a valid direct child of this action?
@param message: Either a C{WrittenAction} or a C{WrittenMessage}.
@raise WrongTask: If C{message} has a C{task_uuid} that differs from the
action's C{task_uuid}.
@raise WrongTaskLevel: If C{message} has a C{task_level} that means
... | "Is C{message} a valid direct child of this action?\n\n @param message: Either a C{WrittenAction} or a C{WrittenMessage}.\n\n @raise WrongTask: If C{message} has a C{task_uuid} that differs from the\n action's C{task_uuid}.\n @raise WrongTaskLevel: If C{message} has a C{task_level} that ... | 282 | false | itamarst/eliot | _validate_message | 27,634 | |
LDU_FT/googleapis/dialogflow-python-client-v2/update_entity_type | LDU_FT | [
"<BEGIN>\n## `from_service_account_file`",
"Creates an instance of this client using the provided credentials\n file.",
" Args:\n filename (str): The path to the service account private key json\n file.\n args: Additional arguments to pass to the constructor.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_entity_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_entity_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.
Th... | Updates the specified entity type.
Example:
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
>>> # TODO: Initialize ``entity_type``:
>>> entity_type = {}
>>>
>>> response = client.upda... | "Updates the specified entity type.\n\n Example:\n >>> import dialogflow_v2\n >>>\n >>> client = dialogflow_v2.EntityTypesClient()\n >>>\n >>> # TODO: Initialize ``entity_type``:\n >>> entity_type = {}\n >>>\n >>> response = ... | 280 | false | googleapis/dialogflow-python-client-v2 | update_entity_type | 27,635 | |
LDU_FT/Cymmetria/honeycomb/install_dir | LDU_FT | [
"<BEGIN>\n## `config_field_type`",
"Validate a config field against a type.",
" Similar functionality to :func:`validate_field_matches_type` but returns :obj:`honeycomb.defs.ConfigField`\n<END>",
"<BEGIN>\n## `validate_config`",
"Validate a JSON file configuration against list of :obj:`honeycomb.defs.Con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_dir API.
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 install_dir API.
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... | Install plugin from specified directory.
install_path and register_func are same as :func:`install_plugin`.
:param delete_after_install: Delete pkgpath after install (used in :func:`install_from_zip`). | "Install plugin from specified directory.\n\n install_path and register_func are same as :func:`install_plugin`.\n :param delete_after_install: Delete pkgpath after install (used in :func:`install_from_zip`)." | 90 | false | Cymmetria/honeycomb | install_dir | 27,636 | |
LDU_FT/whyscream/dspam-milter/config_str2dict | LDU_FT | [
"<BEGIN>\n## `header`",
"Store all message headers, optionally clean them up.",
" This simply stores all message headers so we can send them to DSPAM.\n Additionally, headers that have the same prefix as the ones we're\n about to add are deleted.\n<END>",
"<BEGIN>\n## `eom`",
"Send the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_str2dict API.
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 config_str2dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Parse the value of a config option and convert it to a dictionary.
The configuration allows lines formatted like:
foo = Bar:1,Baz,Flub:0.75
This gets converted to a dictionary:
foo = { 'Bar': 1, 'Baz': 0, 'Flub': 0.75 }
Args:
option_value -- The config string to parse. | "Parse the value of a config option and convert it to a dictionary.\n\n The configuration allows lines formatted like:\n foo = Bar:1,Baz,Flub:0.75\n This gets converted to a dictionary:\n foo = { 'Bar': 1, 'Baz': 0, 'Flub': 0.75 }\n\n Args:\n option_value -- The config string to parse." | 59 | false | whyscream/dspam-milter | config_str2dict | 27,637 | |
LDU_FT/neighbordog/deviantart/update_user | LDU_FT | [
"<BEGIN>\n## `auth`",
"Authenticates user and retrieves (and refreshes) access token",
" :param code: code provided after redirect (authorization_code only)\n :param refresh_token: the refresh_token to update access_token without authorization\n<END>",
"<BEGIN>\n## `auth_uri`",
"The authorzati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_user API.
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 update_user API.
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... | Update the users profile information
:param user_is_artist: Is the user an artist?
:param artist_level: If the user is an artist, what level are they
:param artist_specialty: If the user is an artist, what is their specialty
:param real_name: The users real name
:param tagline: ... | "Update the users profile information\n\n :param user_is_artist: Is the user an artist?\n :param artist_level: If the user is an artist, what level are they\n :param artist_specialty: If the user is an artist, what is their specialty\n :param real_name: The users real name\n :param ta... | 132 | false | neighbordog/deviantart | update_user | 27,638 | |
LDU_FT/NORDUnet/python-norduniclient/get_indexed_node | LDU_FT | [
"<BEGIN>\n## `get_db_driver`",
":param uri: Bolt uri\n :type uri: str\n :param username: Neo4j username\n :type username: str\n :param password: Neo4j password\n :type password: str\n :param encrypted: Use TLS\n :type encrypted: Boolean\n :param max_pool_size: Maximum number of idle sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_indexed_node API.
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_indexed_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | :param manager: Neo4jDBSessionManager
:param prop: Indexed property
:param value: Indexed value
:param node_type: Label used for index
:param lookup_func: STARTS WITH | CONTAINS | ENDS WITH
:param legacy: Backwards compatibility
:type manager: Neo4jDBSessionManager
:type prop: str
:type... | ":param manager: Neo4jDBSessionManager\n :param prop: Indexed property\n :param value: Indexed value\n :param node_type: Label used for index\n :param lookup_func: STARTS WITH | CONTAINS | ENDS WITH\n :param legacy: Backwards compatibility\n\n :type manager: Neo4jDBSessionManager\n :type prop: str\... | 71 | false | NORDUnet/python-norduniclient | get_indexed_node | 27,639 | |
LDU_FT/abarmat/python-oembed/get | LDU_FT | [
"<BEGIN>\n## `addUrlScheme`",
"Add a url scheme to this endpoint. It takes a url string and create\n the OEmbedUrlScheme object internally.",
" Args:\n url: The url string that represents a url scheme to add.\n<END>",
"<BEGIN>\n## `match`",
"Try to find if url matches against any of... | 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... | Convert the resource url to a complete url and then fetch the
data from it.
Args:
url: The url of an OEmbed resource.
**opt: Parameters passed to the url.
Returns:
OEmbedResponse object according to data fetched | "Convert the resource url to a complete url and then fetch the\n data from it.\n\n Args:\n url: The url of an OEmbed resource.\n **opt: Parameters passed to the url.\n\n Returns:\n OEmbedResponse object according to data fetched" | 23 | false | abarmat/python-oembed | get | 27,640 | |
LDU_FT/kata198/QueryableList/_get_item_value | LDU_FT | [
"<BEGIN>\n## `getFiltersFromArgs`",
"getFiltersFromArgs - Returns a dictionary of each filter type, and the corrosponding field/value",
" @param kwargs <dict> - Dictionary of filter arguments",
" @return - Dictionary of each filter type (minus the ones that are optimized into others), each conta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_item_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_item_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | _get_item_value - Returns the value of a given field on #item, using either dict style (e.x. x['a']) aka __getitem__ access if possible,
otherwise attribute access (aka implements __getattribute__).
This allows you to pass a mix of object types, or objects and dicts, in the same collection.... | "_get_item_value - Returns the value of a given field on #item, using either dict style (e.x. x['a']) aka __getitem__ access if possible,\n otherwise attribute access (aka implements __getattribute__).\n\n This allows you to pass a mix of object types, or objects and dicts, in the same collect... | 45 | false | kata198/QueryableList | _get_item_value | 27,641 | |
LDU_FT/LasLabs/python-five9/update | LDU_FT | [
"<BEGIN>\n## `search`",
"Search for a record on the remote and return the results.",
" Args:\n five9 (five9.Five9): The authenticated Five9 remote.\n filters (dict): A dictionary of search parameters, keyed by the\n name of the field to search. This should conform to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
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 update API.
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 ... | Update the current memory record with the given data dict.
Args:
data (dict): Data dictionary to update the record attributes with. | "Update the current memory record with the given data dict.\n\n Args:\n data (dict): Data dictionary to update the record attributes with." | 74 | false | LasLabs/python-five9 | update | 27,642 | |
LDU_FT/matthewgilbert/mapping/aggregate_weights | LDU_FT | [
"<BEGIN>\n## `plot_composition`",
"Plot time series of generics and label underlying instruments which\n these series are composed of.",
" Parameters:\n -----------\n df: pd.DataFrame\n DataFrame of time series to be plotted. Each column is a generic time\n series.\n intervals: pd.D... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate_weights API.
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 aggregate_weights API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Transforms list of tuples of weights into pandas.DataFrame of weights.
Parameters:
-----------
weights: list
A list of tuples consisting of the generic instrument name,
the tradeable contract as a string, the weight on this contract as a
float and the date as a pandas.Timestamp.
... | "Transforms list of tuples of weights into pandas.DataFrame of weights.\n\n Parameters:\n -----------\n weights: list\n A list of tuples consisting of the generic instrument name,\n the tradeable contract as a string, the weight on this contract as a\n float and the date as a pandas.Timest... | 92 | false | matthewgilbert/mapping | aggregate_weights | 27,643 | |
LDU_FT/MisterY/asset-allocation/print_item_with_children | LDU_FT | [
"<BEGIN>\n## `get_symbols_with_positive_balances`",
"Identifies all the securities with positive balances\n<END>",
"<BEGIN>\n## `__get_pricedb_session`",
"Provides initialization and access to module-level session\n<END>",
"<BEGIN>\n## `format`",
"Returns the view-friendly output of the aa model\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_item_with_children 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 print_item_with_children API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Print the given item and all children items | "Print the given item and all children items" | 56 | false | MisterY/asset-allocation | print_item_with_children | 27,644 | |
LDU_FT/pytroll/satpy/compute | LDU_FT | [
"<BEGIN>\n## `_get_coarse_dataset`",
"Get the coarse dataset refered to by `key` from the XML data.\n<END>",
"<BEGIN>\n## `get_dataset`",
"Get output data and metadata of specified dataset.\n<END>",
"<BEGIN>\n## `find_coefficient_index`",
"Return index in to coefficient arrays for this band's wavelength."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute API.
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 compute API.
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... | Resample the data according to the precomputed X/Y coordinates. | "Resample the data according to the precomputed X/Y coordinates." | 924 | false | pytroll/satpy | compute | 27,645 | |
LDU_FT/openthread/openthread/__getIp6Address | LDU_FT | [
"<BEGIN>\n## `wait_until`",
"Wait until `what` return True",
" Args:\n what (Callable[bool]): Call `wait()` again and again until it returns True\n times (int): Maximum times of trials before giving up",
" Returns:\n True if success, False if times threshold reached\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __getIp6Address API.
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 __getIp6Address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | get specific type of IPv6 address configured on thread device
Args:
addressType: the specific type of IPv6 address
link local: link local unicast IPv6 address that's within one-hop scope
global: global unicast IPv6 address
rloc: mesh local unicast IPv6 address f... | "get specific type of IPv6 address configured on thread device\n\n Args:\n addressType: the specific type of IPv6 address\n\n link local: link local unicast IPv6 address that's within one-hop scope\n global: global unicast IPv6 address\n rloc: mesh local unicast IPv6 a... | 403 | false | openthread/openthread | __getIp6Address | 27,646 | |
LDU_FT/Geotab/mygeotab-python/start | LDU_FT | [
"<BEGIN>\n## `object_deserializer`",
"Helper to deserialize a raw result dict into a proper dict.",
" :param obj: The dict.\n<END>",
"<BEGIN>\n## `login`",
"Logs into a MyGeotab server and stores the returned credentials.",
" :param session: The current Session object.\n :param user: The username... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Start the data feed.
:param threaded: If True, run in a separate thread. | "Start the data feed.\n\n :param threaded: If True, run in a separate thread." | 96 | false | Geotab/mygeotab-python | start | 27,647 | |
LDU_FT/pikepdf/pikepdf/_extract_direct | LDU_FT | [
"<BEGIN>\n## `encode_pdf_date`",
"Encode Python datetime object as PDF date string",
" From Adobe pdfmark manual:\n (D:YYYYMMDDHHmmSSOHH'mm')\n D: is an optional prefix. YYYY is the year. All fields after the year are\n optional. MM is the month (01-12), DD is the day (01-31), HH is the\n hour (0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_direct API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_direct API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Attempt to extract the image directly to a usable image file
If there is no way to extract the image without decompressing or
transcoding then raise an exception. The type and format of image
generated will vary.
Args:
stream: Writable stream to write data to | "Attempt to extract the image directly to a usable image file\n\n If there is no way to extract the image without decompressing or\n transcoding then raise an exception. The type and format of image\n generated will vary.\n\n Args:\n stream: Writable stream to write data to" | 104 | false | pikepdf/pikepdf | _extract_direct | 27,648 | |
LDU_FT/burnash/gspread/del_spreadsheet | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.",
" :returns: :class:`gspread.Client` instance.\n<END>",
"<BEGIN>\n## `batch_update`",
"Lower-level method ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the del_spreadsheet API.
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 del_spreadsheet API.
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... | Deletes a spreadsheet.
:param file_id: a spreadsheet ID (aka file ID.)
:type file_id: str | "Deletes a spreadsheet.\n\n :param file_id: a spreadsheet ID (aka file ID.)\n :type file_id: str" | 226 | false | burnash/gspread | del_spreadsheet | 27,649 | |
LDU_FT/mfcloud/python-zvm-sdk/switch_delete_record_for_userid | LDU_FT | [
"<BEGIN>\n## `getConsole`",
"Get the virtual machine's console output.",
" Input:\n Request Handle with the following properties:\n function - 'CMDVM'\n subfunction - 'CMD'\n userid - userid of the virtual machine",
" Output:\n Request Handle updated with t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the switch_delete_record_for_userid 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 switch_delete_record_for_userid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Remove userid switch record from switch table. | "Remove userid switch record from switch table." | 643 | false | mfcloud/python-zvm-sdk | switch_delete_record_for_userid | 27,650 | |
LDU_FT/kamikaze/webdav/etree_to_string | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Returns list of nested files and directories for local directory by path",
" :param directory: absolute or relative path to local directory\n :return: list nested of file or directory names\n<END>",
"<BEGIN>\n## `get_options`",
"Extract options for specified option type from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the etree_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the etree_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Creates string from lxml.etree.ElementTree with XML declaration and UTF-8 encoding.
:param tree: the instance of ElementTree
:return: the string of XML. | "Creates string from lxml.etree.ElementTree with XML declaration and UTF-8 encoding.\n\n :param tree: the instance of ElementTree\n :return: the string of XML." | 120 | false | kamikaze/webdav | etree_to_string | 27,651 | |
LDU_FT/openai/universe/build | LDU_FT | [
"<BEGIN>\n## `send_KeyEvent`",
"For most ordinary keys, the \"keysym\" is the same as the\n corresponding ASCII value. Other common keys are shown in the\n KEY_ constants.\n<END>",
"<BEGIN>\n## `send_PointerEvent`",
"Indicates either pointer movement or a pointer button press or\n rel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
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 build API.
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... | Build a key combination, such as:
ctrl-t | "Build a key combination, such as:\n\n ctrl-t" | 126 | false | openai/universe | build | 27,652 | |
LDU_FT/ziwenxie/netease-dl/download_playlist_by_id | LDU_FT | [
"<BEGIN>\n## `download_song_by_search`",
"Download a song by its name.",
" :params song_name: song name.\n<END>",
"<BEGIN>\n## `download_song_by_id`",
"Download a song by id and save it to disk.",
" :params song_id: song id.\n :params song_name: song name.\n :params folder: sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_playlist_by_id 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 download_playlist_by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Download a playlist's songs by its id.
:params playlist_id: playlist id.
:params playlist_name: playlist name. | "Download a playlist's songs by its id.\n\n :params playlist_id: playlist id.\n :params playlist_name: playlist name." | 99 | false | ziwenxie/netease-dl | download_playlist_by_id | 27,653 | |
LDU_FT/cloudbase/python-hnvclient/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register the current options to the global ConfigOpts object.\n<END>",
"<BEGIN>\n## `get_options`",
"Collect all the options info from the other modules.\n<END>",
"<BEGIN>\n## `run_once`",
"A memoization decorator, whose purpose is to cache calls.\n<END>",
"<BEGIN>\n## `get_cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Register the current options to the global ConfigOpts object. | "Register the current options to the global ConfigOpts object." | 89 | false | cloudbase/python-hnvclient | register | 27,654 | |
LDU_FT/vladsaveliev/TargQC/file_uptodate | LDU_FT | [
"<BEGIN>\n## `main`",
"Annotating BED file based on reference features annotations.\n<END>",
"<BEGIN>\n## `downsample`",
"get N random headers from a fastq file without reading the\n whole thing into memory\n modified from: http://www.biostars.org/p/6544/\n<END>",
"<BEGIN>\n## `AddIndex`",
"Recursiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_uptodate API.
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 file_uptodate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Check if a file exists, is non-empty and is more recent than cmp_fname. | "Check if a file exists, is non-empty and is more recent than cmp_fname." | 184 | false | vladsaveliev/TargQC | file_uptodate | 27,655 | |
LDU_FT/Rockhopper-Technologies/enlighten/color | LDU_FT | [
"<BEGIN>\n## `_check_bool`",
"Used as an error handler for Windows calls\n Gets last error if call is not successful\n<END>",
"<BEGIN>\n## `get_csbi`",
"Returns a CONSOLE_SCREEN_BUFFER_INFO structure for the given console or stdout\n<END>",
"<BEGIN>\n## `enable_vt_mode`",
"Enables virtual terminal proc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color API.
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 color API.
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... | When color is given as a number, apply that color to the content
While this is designed to support 256 color terminals, Windows will approximate
this with 16 colors | "When color is given as a number, apply that color to the content\n While this is designed to support 256 color terminals, Windows will approximate\n this with 16 colors" | 104 | false | Rockhopper-Technologies/enlighten | color | 27,656 | |
LDU_FT/shimpe/pyvectortween/hms2frame | LDU_FT | [
"<BEGIN>\n## `make_frame`",
":param frame: current frame \n :param birthframe: frame where this animation starts returning something other than None\n :param startframe: frame where animation starts to evolve\n :param stopframe: frame where animation is completed\n :param deathframe: f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hms2frame API.
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 hms2frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | :param hms: a string, e.g. "01:23:15" for one hour, 23 minutes 15 seconds
:param fps: framerate
:return: frame number | ":param hms: a string, e.g. \"01:23:15\" for one hour, 23 minutes 15 seconds \n :param fps: framerate \n :return: frame number" | 37 | false | shimpe/pyvectortween | hms2frame | 27,657 | |
LDU_FT/javipalanca/spade/send | LDU_FT | [
"<BEGIN>\n## `set_available`",
"Sets the agent availability to True.",
" Args:\n show (aioxmpp.PresenceShow, optional): the show state of the presence (Default value = None)\n<END>",
"<BEGIN>\n## `set_presence`",
"Change the presence broadcast by the client.\n If the client is current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Sends a message.
Args:
msg (spade.message.Message): the message to be sent. | "Sends a message.\n\n Args:\n msg (spade.message.Message): the message to be sent." | 153 | false | javipalanca/spade | send | 27,658 | |
LDU_FT/Vito2015/pyextend/add_filehandler | LDU_FT | [
"<BEGIN>\n## `haversine`",
"Compute km by geo-coordinates\n See also: haversine define https://en.wikipedia.org/wiki/Haversine_formula\n<END>",
"<BEGIN>\n## `calc_distance`",
"Calc distance (km) by geo-coordinates.\n @:param lng1: first coordinate.lng\n @:param lat1: first coordinate.lat\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_filehandler API.
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 add_filehandler API.
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... | Add a file handler to the global logger. | "Add a file handler to the global logger." | 42 | false | Vito2015/pyextend | add_filehandler | 27,659 | |
LDU_FT/political-memory/django-representatives-votes/parse_proposal_data | LDU_FT | [
"<BEGIN>\n## `chambers`",
"Return distinct chambers. You probably want to prefetch\n documents__chamber before calling that.\n<END>",
"<BEGIN>\n## `parse_vote_data`",
"Parse data from parltrack votes db dumps (1 proposal)\n<END>",
"<BEGIN>\n## `parse_proposal_data`",
"Get or Create a proposal model... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_proposal_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_proposal_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get or Create a proposal model from raw data | "Get or Create a proposal model from raw data" | 10 | false | political-memory/django-representatives-votes | parse_proposal_data | 27,660 | |
LDU_FT/iskandr/serializable/from_serializable_dict | LDU_FT | [
"<BEGIN>\n## `return_primitive`",
"Decorator which wraps a single argument function to ignore any\n arguments of primitive type (simply returning them unmodified).\n<END>",
"<BEGIN>\n## `write_json_file`",
"Serialize this VariantCollection to a JSON representation and write it\n out to a text file.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_serializable_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_serializable_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Reconstruct a dictionary by recursively reconstructing all its keys and
values.
This is the most hackish part since we rely on key names such as
__name__, __class__, __module__ as metadata about how to reconstruct
an object.
TODO: It would be cleaner to always wrap each object in a layer of type
... | "Reconstruct a dictionary by recursively reconstructing all its keys and\n values.\n\n This is the most hackish part since we rely on key names such as\n __name__, __class__, __module__ as metadata about how to reconstruct\n an object.\n\n TODO: It would be cleaner to always wrap each object in a layer o... | 20 | false | iskandr/serializable | from_serializable_dict | 27,661 | |
LDU_FT/SillyFreak/ConcurrentUtils/request | LDU_FT | [
"<BEGIN>\n## `component_coro_wrapper`",
"\\\n This function wraps a component workload to conform to the required lifecycle.\n The following behavior is the passed coroutine function's responsibility:",
" - it must send `Component.EVENT_START` to its owner after the task is initialized;\n - it must ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | \
Sends a command to and receives the reply from the task. | "\\\n Sends a command to and receives the reply from the task." | 46 | false | SillyFreak/ConcurrentUtils | request | 27,662 | |
LDU_FT/push-things/wallabag_api/post_entries | LDU_FT | [
"<BEGIN>\n## `query`",
"Do a query to the System API",
" :param path: url to the API\n :param method: the kind of query to do\n :param params: a dict with all the\n necessary things to query the API\n :return json data\n<END>",
"<BEGIN>\n## `handle_json_response`",
"get th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_entries API.
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 post_entries API.
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... | POST /api/entries.{_format}
Create an entry
:param url: the url of the note to store
:param title: Optional, we'll get the title from the page.
:param tags: tag1,tag2,tag3 a comma-separated list of tags.
:param starred entry already starred
:param archive entry already ... | "POST /api/entries.{_format}\n\n Create an entry\n\n :param url: the url of the note to store\n :param title: Optional, we'll get the title from the page.\n :param tags: tag1,tag2,tag3 a comma-separated list of tags.\n :param starred entry already starred\n :param archive entry... | 68 | false | push-things/wallabag_api | post_entries | 27,663 | |
LDU_FT/savvastj/nbashots/shot_chart | LDU_FT | [
"<BEGIN>\n## `get_all_player_ids`",
"Returns a pandas DataFrame containing the player IDs used in the\n stats.nba.com API.",
" Parameters\n ----------\n ids : { \"shots\" | \"all_players\" | \"all_data\" }, optional\n Passing in \"shots\" returns a DataFrame that contains the player IDs of\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shot_chart API.
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 shot_chart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns an Axes object with player shots plotted.
Parameters
----------
x, y : strings or vector
The x and y coordinates of the shots taken. They can be passed in as
vectors (such as a pandas Series) or as columns from the pandas
DataFrame passed into ``data``.
data : DataFrame... | "Returns an Axes object with player shots plotted.\n\n Parameters\n ----------\n\n x, y : strings or vector\n The x and y coordinates of the shots taken. They can be passed in as\n vectors (such as a pandas Series) or as columns from the pandas\n DataFrame passed into ``data``.\n data :... | 77 | false | savvastj/nbashots | shot_chart | 27,664 | |
LDU_FT/silenc3r/dikicli/_write_html_file | LDU_FT | [
"<BEGIN>\n## `_parse_html`",
"Parse html string.",
" Parameters\n ----------\n html_dump : str\n HTML content.\n native : bool, optional\n Whether to translate from native to foreign language.",
" Returns\n -------\n translations : list\n Translations list.",
" R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_html_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_html_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 ... | Create html file of word translations.
Parameters
----------
word : str
Word that was translated.
tralnslations : dict
Dictionary of word translations.
data_dir : pathlib.Path
Location where html files are saved. | "Create html file of word translations.\n\n Parameters\n ----------\n word : str\n Word that was translated.\n tralnslations : dict\n Dictionary of word translations.\n data_dir : pathlib.Path\n Location where html files are saved." | 62 | false | silenc3r/dikicli | _write_html_file | 27,665 | |
LDU_FT/GiulioRossetti/ndlib/iteration | LDU_FT | [
"<BEGIN>\n## `set_initial_status`",
"Override behaviour of methods in class DiffusionModel.\n Overwrites initial status using random real values.\n Generates random node profiles.\n<END>",
"<BEGIN>\n## `iteration`",
"Execute a single model iteration",
" :return: Iteration_id, Incrementa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iteration API.
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 iteration API.
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... | Execute a single model iteration
:return: Iteration_id, Incremental node status (dictionary node->status) | "Execute a single model iteration\n\n :return: Iteration_id, Incremental node status (dictionary node->status)" | 56 | false | GiulioRossetti/ndlib | iteration | 27,666 | |
LDU_FT/ttinoco/OPTALG/set_distributed_assembled | LDU_FT | [
"<BEGIN>\n## `solve`",
"Solves optimization problem.",
" Parameters\n ----------\n problem : Object\n<END>",
"<BEGIN>\n## `factorize`",
"Factorizes A.",
" Parameters\n ----------\n A : matrix\n For symmetric systems, should contain only lower diagonal pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_distributed_assembled API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_distributed_assembled API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Set the distributed assembled matrix.
Distributed assembled matrices require setting icntl(18) != 0. | "Set the distributed assembled matrix.\n\n Distributed assembled matrices require setting icntl(18) != 0." | 86 | false | ttinoco/OPTALG | set_distributed_assembled | 27,667 | |
LDU_FT/docker/docker-py/create | LDU_FT | [
"<BEGIN>\n## `compare_version`",
"Compare docker versions",
" >>> v1 = '1.9'\n >>> v2 = '1.10'\n >>> compare_version(v1, v2)\n 1\n >>> compare_version(v2, v1)\n -1\n >>> compare_version(v2, v2)\n 0\n<END>",
"<BEGIN>\n## `datetime_to_timestamp`",
"Convert a UTC datetime to a Unix time... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
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 create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a new plugin.
Args:
name (string): The name of the plugin. The ``:latest`` tag is
optional, and is the default if omitted.
plugin_data_dir (string): Path to the plugin data directory.
Plugin data directory must contain the ``con... | "Create a new plugin.\n\n Args:\n name (string): The name of the plugin. The ``:latest`` tag is\n optional, and is the default if omitted.\n plugin_data_dir (string): Path to the plugin data directory.\n Plugin data directory must contain th... | 998 | false | docker/docker-py | create | 27,668 | |
LDU_FT/jdoda/sdl2hl/access | LDU_FT | [
"<BEGIN>\n## `was_init`",
"This function returns the subsystems which have previously been initialized.",
" Returns:\n Set[InitFlag]: Flags indicating which subsystems have been initialized.\n<END>",
"<BEGIN>\n## `load_bmp`",
"Load a surface from a file.",
" Args:\n path (str):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access API.
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 access API.
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 ... | TextureAccess: The actual access to the texture. | "TextureAccess: The actual access to the texture." | 134 | false | jdoda/sdl2hl | access | 27,669 | |
LDU_FT/openeventdata/mordecai/make_country_nationality_list | LDU_FT | [
"<BEGIN>\n## `country_list_maker`",
"Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>",
"<BEGIN>\n## `make_skip_list`",
"Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_country_nationality_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_country_nationality_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Combine list of countries and list of nationalities | "Combine list of countries and list of nationalities" | 110 | false | openeventdata/mordecai | make_country_nationality_list | 27,670 | |
LDU_FT/mozilla-releng/scriptworker/generate_cot | LDU_FT | [
"<BEGIN>\n## `create_queue`",
"Create a taskcluster queue.",
" Args:\n credentials (dict): taskcluster credentials.\n<END>",
"<BEGIN>\n## `write_json`",
"Write json to disk.",
" Args:\n path (str): the path to write to\n contents (dict): the contents of the j... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_cot API.
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 generate_cot API.
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... | Format and sign the cot body, and write to disk.
Args:
context (scriptworker.context.Context): the scriptworker context.
parent_path (str, optional): The directory to write the chain of trust
artifacts to. If None, this is ``artifact_dir/public/``.
Defaults to None.
Re... | "Format and sign the cot body, and write to disk.\n\n Args:\n context (scriptworker.context.Context): the scriptworker context.\n parent_path (str, optional): The directory to write the chain of trust\n artifacts to. If None, this is ``artifact_dir/public/``.\n Defaults to None.\... | 621 | false | mozilla-releng/scriptworker | generate_cot | 27,671 | |
LDU_FT/callowayproject/Calloway/generate_requirements | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Returns the reversed url given a string or dict and prints errors if MENU_DEBUG is enabled\n<END>",
"<BEGIN>\n## `smart_if`",
"A smarter {% if %} tag for django templates.",
" While retaining current Django functionality, it also handles equality,\n greater than and less than... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_requirements 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 generate_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Loop through the INSTALLED_APPS and create a set of requirements for pip.
if output_path is ``None`` then write to standard out, otherwise write
to the path. | "Loop through the INSTALLED_APPS and create a set of requirements for pip.\n \n if output_path is ``None`` then write to standard out, otherwise write\n to the path." | 58 | false | callowayproject/Calloway | generate_requirements | 27,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.