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/nateshmbhat/pyttsx3/stop | LDU_FT | [
"<BEGIN>\n## `init`",
"Constructs a new TTS engine instance or reuses the existing instance for\n the driver name.",
" @param driverName: Name of the platform specific driver to use. If\n None, selects the default driver for the operating system.\n @type: str\n @param debug: Debugging output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
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 stop API.
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... | Called by the engine to stop the current utterance and clear the queue
of commands. | "Called by the engine to stop the current utterance and clear the queue\n of commands." | 73 | false | nateshmbhat/pyttsx3 | stop | 28,873 | |
LDU_FT/GemHQ/round-py/has_auth_params | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new Device object.",
" Devices tie Users and Applications together. For your Application to\n access and act on behalf of a User, the User must authorize a Device\n created by your Application.",
" This function will return a `device_token` which y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_auth_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_auth_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Check whether all information required for a given auth scheme have
been supplied.
Args:
scheme (str): Name of the authentication scheme to check. One of
Gem-Identify, Gem-Device, Gem-Application
Returns:
True if all required parameters for the specified scheme ... | "Check whether all information required for a given auth scheme have\n been supplied.\n\n Args:\n scheme (str): Name of the authentication scheme to check. One of\n Gem-Identify, Gem-Device, Gem-Application\n\n Returns:\n True if all required parameters for the specifie... | 136 | false | GemHQ/round-py | has_auth_params | 28,874 | |
LDU_FT/jpype-project/jpype/find_libjvm | LDU_FT | [
"<BEGIN>\n## `_javahome_binary`",
"for osx > 10.5 we have the nice util /usr/libexec/java_home available. Invoke it and\n return its output. It seems this tool has been removed in osx 10.9.\n<END>",
"<BEGIN>\n## `_get_from_registry`",
"Retrieves the path to the default Java installation stored in the\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_libjvm API.
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 find_libjvm API.
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... | Recursively looks for the given file
:param java_home: A Java home folder
:param filename: Name of the file to find
:return: The first found file path, or None | "Recursively looks for the given file\n\n :param java_home: A Java home folder\n :param filename: Name of the file to find\n :return: The first found file path, or None" | 46 | false | jpype-project/jpype | find_libjvm | 28,875 | |
LDU_FT/ponty/confduino/install_board | LDU_FT | [
"<BEGIN>\n## `upgrade_many`",
"upgrade many libs.",
" source: http://arduino.cc/playground/Main/LibraryList",
" you can set your arduino path if it is not default\n os.environ['ARDUINO_HOME'] = '/home/...'\n<END>",
"<BEGIN>\n## `install_hwpack`",
"install hwpackrary from web or local files system... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_board API.
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 install_board API.
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... | install board in boards.txt.
:param board_id: string identifier
:param board_options: dict like
:param replace_existing: bool
:rtype: None | "install board in boards.txt.\n\n :param board_id: string identifier\n :param board_options: dict like\n :param replace_existing: bool\n :rtype: None" | 61 | false | ponty/confduino | install_board | 28,876 | |
LDU_FT/zetaops/zengine/channel_history | LDU_FT | [
"<BEGIN>\n## `list_catalogs`",
"Lists existing catalogs respect to ui view template format\n<END>",
"<BEGIN>\n## `get_catalog`",
"Get existing catalog and fill the form with the model data.\n If given key not found as catalog, it generates an empty catalog data form.\n<END>",
"<BEGIN>\n## `save_catal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channel_history API.
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 channel_history API.
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 old messages for a channel. 20 messages per request
.. code-block:: python
# request:
{
'view':'_zops_channel_history,
'channel_key': key,
'timestamp': datetime, # timestamp data of oldest shown message
}
... | "Get old messages for a channel. 20 messages per request\n\n .. code-block:: python\n\n # request:\n {\n 'view':'_zops_channel_history,\n 'channel_key': key,\n 'timestamp': datetime, # timestamp data of oldest shown message\n ... | 655 | false | zetaops/zengine | channel_history | 28,877 | |
LDU_FT/OCA/openupgradelib/add_ir_model_fields | LDU_FT | [
"<BEGIN>\n## `_adjust_merged_values_orm`",
"This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.",
" :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ir_model_fields 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 add_ir_model_fields 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... | Typically, new columns on ir_model_fields need to be added in a very
early stage in the upgrade process of the base module, in raw sql
as they need to be in place before any model gets initialized.
Do not use for fields with additional SQL constraints, such as a
reference to another table or the cascade... | "Typically, new columns on ir_model_fields need to be added in a very\n early stage in the upgrade process of the base module, in raw sql\n as they need to be in place before any model gets initialized.\n Do not use for fields with additional SQL constraints, such as a\n reference to another table or the ca... | 190 | false | OCA/openupgradelib | add_ir_model_fields | 28,878 | |
LDU_FT/linode/linode_api4-python/generate_login_url | LDU_FT | [
"<BEGIN>\n## `nodes`",
"This is a special derived_class relationship because NodeBalancerNode is the\n only api object that requires two parent_ids\n<END>",
"<BEGIN>\n## `load_ssl_data`",
"A convenience method that loads a cert and a key from files and sets them\n on this object. This can make ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_login_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_login_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Generates a url to send users so that they may authenticate to this
application. This url is suitable for redirecting a user to. For
example, in `Flask`_, a login route might be implemented like this::
@app.route("/login")
def begin_oauth_login():
login_client = L... | "Generates a url to send users so that they may authenticate to this\n application. This url is suitable for redirecting a user to. For\n example, in `Flask`_, a login route might be implemented like this::\n\n @app.route(\"/login\")\n def begin_oauth_login():\n login_c... | 232 | false | linode/linode_api4-python | generate_login_url | 28,879 | |
LDU_FT/ktdreyer/txkoji/getAverageBuildDuration | LDU_FT | [
"<BEGIN>\n## `duration`",
"Return a timedelta for this build.",
" Measure the time between this build's start and end time, or \"now\"\n if the build has not yet finished.",
" :returns: timedelta object\n<END>",
"<BEGIN>\n## `url`",
"Return a kojiweb URL for this resource.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAverageBuildDuration 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 getAverageBuildDuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return a timedelta that Koji considers to be average for this package.
Calls "getAverageBuildDuration" XML-RPC.
:param package: ``str``, for example "ceph"
:returns: deferred that when fired returns a datetime object for the
estimated duration, or None if we could find no est... | "Return a timedelta that Koji considers to be average for this package.\n\n Calls \"getAverageBuildDuration\" XML-RPC.\n\n :param package: ``str``, for example \"ceph\"\n :returns: deferred that when fired returns a datetime object for the\n estimated duration, or None if we could ... | 213 | false | ktdreyer/txkoji | getAverageBuildDuration | 28,880 | |
LDU_FT/ethereum/py-trie/encode_to_bin | LDU_FT | [
"<BEGIN>\n## `calc_root`",
"Obtain the merkle root of a given key/value/branch set.\n Can be used to validate a merkle proof or compute it's value from data.",
" :param key: the keypath to decide the ordering of the sibling nodes in the branch\n :param value: the value (or leaf) that starts the merkle ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_to_bin API.
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 encode_to_bin API.
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... | ASCII -> 0100000101010111010000110100100101001001 | "ASCII -> 0100000101010111010000110100100101001001" | 61 | false | ethereum/py-trie | encode_to_bin | 28,881 | |
LDU_FT/wtsi-hgi/consul-lock/get_consul_configuration_from_environment | LDU_FT | [
"<BEGIN>\n## `get_consul_configuration_from_environment`",
"Gets configuration on how to connect to Consul from the environment.\n :return: the configuration derived from the environment\n :raises KeyError: if a required environment variable has not been set\n<END>",
"<BEGIN>\n## `create_logger`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_consul_configuration_from_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_consul_configuration_from_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | Gets configuration on how to connect to Consul from the environment.
:return: the configuration derived from the environment
:raises KeyError: if a required environment variable has not been set | "Gets configuration on how to connect to Consul from the environment.\n :return: the configuration derived from the environment\n :raises KeyError: if a required environment variable has not been set" | 55 | false | wtsi-hgi/consul-lock | get_consul_configuration_from_environment | 28,882 | |
LDU_FT/jaraco/jaraco.windows/_locate_day | LDU_FT | [
"<BEGIN>\n## `CryptUnprotectData`",
"Returns a tuple of (description, data) where description is the\n\tthe description that was passed to the CryptProtectData call and\n\tdata is the decrypted result.\n<END>",
"<BEGIN>\n## `set_data`",
"Use this method to set the data for this blob\n<END>",
"<BEGIN>\n## `m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _locate_day API.
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 _locate_day API.
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... | Takes a SYSTEMTIME object, such as retrieved from a TIME_ZONE_INFORMATION
structure or call to GetTimeZoneInformation and interprets
it based on the given
year to identify the actual day.
This method is necessary because the SYSTEMTIME structure
refers to a day by its
day of the week and week of the month ... | "Takes a SYSTEMTIME object, such as retrieved from a TIME_ZONE_INFORMATION\n\t\tstructure or call to GetTimeZoneInformation and interprets\n\t\tit based on the given\n\t\tyear to identify the actual day.\n\n\t\tThis method is necessary because the SYSTEMTIME structure\n\t\trefers to a day by its\n\t\tday of the week an... | 119 | false | jaraco/jaraco.windows | _locate_day | 28,883 | |
LDU_FT/ymyzk/python-gyazo/to_json | LDU_FT | [
"<BEGIN>\n## `get_image_list`",
"Return a list of user's saved images",
" :param page: (optional) Page number (default: 1)\n :param per_page: (optional) Number of images per page\n (default: 20, min: 1, max: 100)\n<END>",
"<BEGIN>\n## `upload_image`",
"Upload an image",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a JSON string representation of this instance
:param indent: specify an indent level or a string used to indent each
level
:param sort_keys: the output is sorted by key | "Return a JSON string representation of this instance\n\n :param indent: specify an indent level or a string used to indent each\n level\n :param sort_keys: the output is sorted by key" | 35 | false | ymyzk/python-gyazo | to_json | 28,884 | |
LDU_FT/daler/metaseq/autosql_file | LDU_FT | [
"<BEGIN>\n## `requirements_check`",
"Ensure we have programs needed to download/manipulate the data\n<END>",
"<BEGIN>\n## `_up_to_date`",
"Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>",
"<BEGIN>\n## `logged_command`",
"helper function to log a command and then run it\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autosql_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autosql_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 extr... | Generate the autosql for DESeq results (to create bigBed)
Returns a temp filename containing the autosql defining the extra
fields.
This for creating bigBed files from BED files created by
colormapped_bed. When a user clicks on a feature, the DESeq results
will be reported. | "Generate the autosql for DESeq results (to create bigBed)\n\n Returns a temp filename containing the autosql defining the extra\n fields.\n\n This for creating bigBed files from BED files created by\n colormapped_bed. When a user clicks on a feature, the DESeq results\n will be repo... | 400 | false | daler/metaseq | autosql_file | 28,885 | |
LDU_FT/smira/py-numa/bind | LDU_FT | [
"<BEGIN>\n## `get_node_size`",
"Get size of memory on C{node}.",
" @param node: node idx\n @type node: C{int}\n @return: free memory/total memory\n @rtype: C{tuple}(C{int}, C{int})\n<END>",
"<BEGIN>\n## `node_to_cpus`",
"Get CPUs available on C{node}.",
" @return: set of CPU ids\n @rtype... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
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 bind API.
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... | Binds the current thread and its children to the nodes specified in nodemask.
They will only run on the CPUs of the specified nodes and only be able to allocate memory from them.
@param nodemask: node mask
@type nodemask: C{set} | "Binds the current thread and its children to the nodes specified in nodemask.\n They will only run on the CPUs of the specified nodes and only be able to allocate memory from them.\n\n @param nodemask: node mask\n @type nodemask: C{set}" | 44 | false | smira/py-numa | bind | 28,886 | |
LDU_FT/glitchassassin/lackey/isPointVisible | LDU_FT | [
"<BEGIN>\n## `_check_count`",
"Private function to return ctypes errors cleanly\n<END>",
"<BEGIN>\n## `getScreenBounds`",
"Returns the screen size of the specified monitor (0 being the main monitor).\n<END>",
"<BEGIN>\n## `getScreenDetails`",
"Return list of attached monitors",
" For each monitor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isPointVisible API.
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 isPointVisible API.
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... | Checks if a point is visible on any monitor. | "Checks if a point is visible on any monitor." | 378 | false | glitchassassin/lackey | isPointVisible | 28,887 | |
LDU_FT/angr/claripy/union | LDU_FT | [
"<BEGIN>\n## `_align_ast`",
"Aligns the AST so that the argument with the highest cardinality is on the left.",
" :return: a new AST.\n<END>",
"<BEGIN>\n## `_doit`",
"This function processes the list of truisms and finds bounds for ASTs.\n<END>",
"<BEGIN>\n## `_handleable_truism`",
"Checks whethe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the union API.
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 union API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | The union operation. It might return a DiscreteStridedIntervalSet to allow for better precision in analysis.
:param b: Operand
:return: A new DiscreteStridedIntervalSet, or a new StridedInterval. | "The union operation. It might return a DiscreteStridedIntervalSet to allow for better precision in analysis.\n\n :param b: Operand\n :return: A new DiscreteStridedIntervalSet, or a new StridedInterval." | 453 | false | angr/claripy | union | 28,888 | |
LDU_FT/stephenmcd/gnotty/respond_static | LDU_FT | [
"<BEGIN>\n## `messages`",
"Show messages for the given query or day.\n<END>",
"<BEGIN>\n## `calendar`",
"Show calendar months for the given year/month.\n<END>",
"<BEGIN>\n## `_dispatcher`",
"This is the method in ``SimpleIRCClient`` that all IRC events\n get passed through. Here we map events to ou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the respond_static API.
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 respond_static API.
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... | Serves a static file when Django isn't being used. | "Serves a static file when Django isn't being used." | 76 | false | stephenmcd/gnotty | respond_static | 28,889 | |
LDU_FT/Koed00/django-q/get_all | LDU_FT | [
"<BEGIN>\n## `loads`",
"Reverse of dumps(), raise BadSignature if signature fails.",
" The serializer is expected to accept a bytestring.\n<END>",
"<BEGIN>\n## `unsign`",
"Retrieve original value and check it wasn't signed more\n than max_age seconds ago.\n<END>",
"<BEGIN>\n## `get_broker`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get the status for all currently running clusters with the same prefix
and secret key.
:return: list of type Stat | "Get the status for all currently running clusters with the same prefix\n and secret key.\n :return: list of type Stat" | 96 | false | Koed00/django-q | get_all | 28,890 | |
LDU_FT/racker/torment/_prepare_mock | LDU_FT | [
"<BEGIN>\n## `up`",
"Start the specified docker-compose services.",
" Parameters\n ----------",
" :``services``: a list of docker-compose service names to start (must be\n defined in docker-compose.yml)",
" Return Value(s)\n ---------------",
" The integer status of ``d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_mock API.
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 _prepare_mock API.
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... | Sets return value or side effect of symbol's mock in context.
.. seealso:: :py:func:`_find_mocker`
**Parameters**
:``context``: the search context
:``symbol``: the symbol to be located
:``return_value``: pass through to mock ``return_value``
:``side_effect``: pass through to m... | "Sets return value or side effect of symbol's mock in context.\n\n .. seealso:: :py:func:`_find_mocker`\n\n **Parameters**\n\n :``context``: the search context\n :``symbol``: the symbol to be located\n :``return_value``: pass through to mock ``return_value``\n :``side_effect``: pass th... | 117 | false | racker/torment | _prepare_mock | 28,891 | |
LDU_FT/rmed/flask-waffleconf/parse_conf | LDU_FT | [
"<BEGIN>\n## `parse_conf`",
"Parse configuration values from the database.",
" The extension must have been previously initialized.",
" If a key is not found in the database, it will be created with the\n default value specified.",
" Arguments:\n keys (list[str]): list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_conf API.
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_conf API.
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 configuration values from the database.
The extension must have been previously initialized.
If a key is not found in the database, it will be created with the
default value specified.
Arguments:
keys (list[str]): list of keys to parse. If the list is empty, then
... | "Parse configuration values from the database.\n\n The extension must have been previously initialized.\n\n If a key is not found in the database, it will be created with the\n default value specified.\n\n Arguments:\n keys (list[str]): list of keys to parse. If the list is empty,... | 30 | false | rmed/flask-waffleconf | parse_conf | 28,892 | |
LDU_FT/django-userena-ce/django-userena-ce/reissue_activation | LDU_FT | [
"<BEGIN>\n## `activate`",
"Activate a user with an activation key.",
" The key is a SHA1 string. When the SHA1 is found with an\n :class:`UserenaSignup`, the :class:`User` of that account will be\n activated. After a successful activation the view will redirect to\n ``success_url``. If the SHA1 is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reissue_activation 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 reissue_activation 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... | Creates a new ``activation_key`` resetting activation timeframe when
users let the previous key expire.
:param activation_key:
String containing the secret SHA1 activation key. | "Creates a new ``activation_key`` resetting activation timeframe when\n users let the previous key expire.\n\n :param activation_key:\n String containing the secret SHA1 activation key." | 241 | false | django-userena-ce/django-userena-ce | reissue_activation | 28,893 | |
LDU_FT/gvanderheide/discreteMarkovChain/convertToProbabilityMatrix | LDU_FT | [
"<BEGIN>\n## `uniqueStates`",
"Returns unique states and sums up the corresponding rates.\n States should be a 2d numpy array with on each row a state, and rates a 1d numpy array with length equal to the number of rows in states. ",
" This may be helpful in the transition function for summing up the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convertToProbabilityMatrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convertToProbabilityMatrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Converts the initial matrix to a probability matrix
We calculate P = I + Q/l, with l the largest diagonal element.
Even if Q is already a probability matrix, this step helps for numerical stability.
By adding a small probability on the diagonal (0.00001), periodicity can be prevented. | "Converts the initial matrix to a probability matrix\n We calculate P = I + Q/l, with l the largest diagonal element.\n Even if Q is already a probability matrix, this step helps for numerical stability. \n By adding a small probability on the diagonal (0.00001), periodicity can be prevented." | 68 | false | gvanderheide/discreteMarkovChain | convertToProbabilityMatrix | 28,894 | |
LDU_FT/ambitioninc/django-entity/turn_off_syncing | LDU_FT | [
"<BEGIN>\n## `remove_duplicates`",
"Remove any duplicates from the entity relationship table\n :param apps:\n :param schema_editor:\n :return:\n<END>",
"<BEGIN>\n## `transaction_atomic_with_retry`",
"This is a decorator that will wrap the decorated method in an atomic transaction and\n retry the t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the turn_off_syncing API.
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 turn_off_syncing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Disables all of the signals for syncing entities. By default, everything is turned off. If the user wants
to turn off everything but one signal, for example the post_save signal, they would do:
turn_off_sync(for_post_save=False) | "Disables all of the signals for syncing entities. By default, everything is turned off. If the user wants\n to turn off everything but one signal, for example the post_save signal, they would do:\n\n turn_off_sync(for_post_save=False)" | 83 | false | ambitioninc/django-entity | turn_off_syncing | 28,895 | |
LDU_FT/grst/geos/maps_json | LDU_FT | [
"<BEGIN>\n## `griditer`",
"Iterate through a grid of tiles.",
" Args:\n x (int): x start-coordinate\n y (int): y start-coordinate\n ncol (int): number of tile columns\n nrow (int): number of tile rows. If not specified, this\n defaults to ncol, s.t. a quadratic region i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maps_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maps_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 extract... | Generates a json object which serves as bridge between
the web interface and the map source collection.
All attributes relevant for openlayers are converted into
JSON and served through this route.
Returns:
Response: All map sources as JSON object. | "Generates a json object which serves as bridge between\n the web interface and the map source collection.\n\n All attributes relevant for openlayers are converted into\n JSON and served through this route.\n\n Returns:\n Response: All map sources as JSON object." | 153 | false | grst/geos | maps_json | 28,896 | |
LDU_FT/horazont/aioxmpp/get_peer_resources | LDU_FT | [
"<BEGIN>\n## `get_commands`",
"Return the list of commands offered by the peer.",
" :param peer_jid: JID of the peer to query\n :type peer_jid: :class:`~aioxmpp.JID`\n :rtype: :class:`list` of :class:`~.disco.xso.Item`\n :return: List of command items",
" In the returned lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_peer_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_peer_resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return a dict mapping resources of the given bare `peer_jid` to the
presence state last received for that resource.
Unavailable presence states are not included. If the bare JID is in a
error state (i.e. an error presence stanza has been received), the
returned mapping is empty. | "Return a dict mapping resources of the given bare `peer_jid` to the\n presence state last received for that resource.\n\n Unavailable presence states are not included. If the bare JID is in a\n error state (i.e. an error presence stanza has been received), the\n returned mapping is empty." | 1,660 | true | horazont/aioxmpp | get_peer_resources | 28,897 | |
LDU_FT/hharnisc/python-meteor/find | LDU_FT | [
"<BEGIN>\n## `_reconnected`",
"Reconnect",
" Currently we get a new session every time so we have\n to clear all the data an resubscribe\n<END>",
"<BEGIN>\n## `login`",
"Login with a username and password",
" Arguments:\n user - username or email address\n password - the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
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 find API.
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... | Find data in a collection
Arguments:
collection - collection to search
Keyword Arguments:
selector - the query (default returns all items in a collection) | "Find data in a collection\n\n Arguments:\n collection - collection to search\n\n Keyword Arguments:\n selector - the query (default returns all items in a collection)" | 40 | false | hharnisc/python-meteor | find | 28,898 | |
LDU_FT/zetaops/zengine/show_warning_messages | LDU_FT | [
"<BEGIN>\n## `list_catalogs`",
"Lists existing catalogs respect to ui view template format\n<END>",
"<BEGIN>\n## `get_catalog`",
"Get existing catalog and fill the form with the model data.\n If given key not found as catalog, it generates an empty catalog data form.\n<END>",
"<BEGIN>\n## `save_catal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_warning_messages 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 show_warning_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | It shows incorrect operations or successful operation messages.
Args:
title (string): title of message box
box_type (string): type of message box (warning, info) | "It shows incorrect operations or successful operation messages.\n\n Args:\n title (string): title of message box\n box_type (string): type of message box (warning, info)" | 655 | false | zetaops/zengine | show_warning_messages | 28,899 | |
LDU_FT/ironfroggy/django-better-cache/process_request | LDU_FT | [
"<BEGIN>\n## `process_request`",
"Checks whether the page is already cached and returns the cached\n version if available.\n<END>",
"<BEGIN>\n## `process_response`",
"Sets the cache and deals with caching headers if needed\n<END>",
"<BEGIN>\n## `keys`",
"Create an ordered dict of the names and valu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 e... | Checks whether the page is already cached and returns the cached
version if available. | "Checks whether the page is already cached and returns the cached\n version if available." | 51 | false | ironfroggy/django-better-cache | process_request | 28,900 | |
LDU_FT/heigeo/climata/params | LDU_FT | [
"<BEGIN>\n## `load_sites`",
"Load metadata for all sites in given basin codes.\n<END>",
"<BEGIN>\n## `get_huc8`",
"Return all HUC8s matching the given prefix (e.g. 1801) or basin name\n (e.g. Klamath)\n<END>",
"<BEGIN>\n## `parse`",
"Convert ACIS 'll' value into separate latitude and longitude.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | URL parameters for wq.io.loaders.NetLoader | "URL parameters for wq.io.loaders.NetLoader" | 30 | false | heigeo/climata | params | 28,901 | |
LDU_FT/CloudGenix/sdk-python/parse_auth_token | LDU_FT | [
"<BEGIN>\n## `jdout`",
"JD Output function. Does quick pretty printing of a CloudGenix Response body. This function returns a string\n instead of directly printing content.",
" **Parameters:**",
" - **api_response:** A CloudGenix-attribute extended `requests.Response` object",
" **Returns:**... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_auth_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_auth_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Break auth_token up into it's constituent values.
**Parameters:**
- **auth_token:** Auth_token string
**Returns:** dict with Auth Token constituents | "Break auth_token up into it's constituent values.\n\n **Parameters:**\n\n - **auth_token:** Auth_token string\n\n **Returns:** dict with Auth Token constituents" | 153 | false | CloudGenix/sdk-python | parse_auth_token | 28,902 | |
LDU_FT/kervi/kervi-devices/read_value | LDU_FT | [
"<BEGIN>\n## `read_raw_temp`",
"Reads the raw (uncompensated) temperature from the sensor.\n<END>",
"<BEGIN>\n## `read_raw_pressure`",
"Reads the raw (uncompensated) pressure level from the sensor.\n<END>",
"<BEGIN>\n## `read_temperature`",
"Gets the compensated temperature in degrees celsius.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extrac... | Grabs a lux reading either with autoranging (gain=0) or with a specified gain (1, 16) | "Grabs a lux reading either with autoranging (gain=0) or with a specified gain (1, 16)" | 58 | false | kervi/kervi-devices | read_value | 28,903 | |
LDU_FT/lucasmaystre/choix/softmax | LDU_FT | [
"<BEGIN>\n## `_init_lsr`",
"Initialize the LSR Markov chain and the weights.\n<END>",
"<BEGIN>\n## `_ilsr`",
"Iteratively refine LSR estimates until convergence.",
" Raises\n ------\n RuntimeError\n If the algorithm does not converge after ``max_iter`` iterations.\n<END>",
"<BEGIN>\n## `ls... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the softmax API.
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 softmax API.
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... | Stable implementation of the softmax function. | "Stable implementation of the softmax function." | 211 | false | lucasmaystre/choix | softmax | 28,904 | |
LDU_FT/zyga/python-phablet/main | LDU_FT | [
"<BEGIN>\n## `main`",
"Phablet command line user interface",
" This function implements the phablet command line tool\n<END>",
"<BEGIN>\n## `run`",
"Run a command on the phablet device using ssh",
" :param cmd:\n a list of strings to execute as a command\n :param timeout:\n ... | 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... | Phablet command line user interface
This function implements the phablet command line tool | "Phablet command line user interface\n\n This function implements the phablet command line tool" | 28 | false | zyga/python-phablet | main | 28,905 | |
LDU_FT/signalfx/signalfx-python/delete_tag | LDU_FT | [
"<BEGIN>\n## `gauge`",
"Adds gauge with dimensions to the global pyformance registry\n<END>",
"<BEGIN>\n## `count_calls_with_dims`",
"Decorator to track the number of times a function is called\n with with dimensions.\n<END>",
"<BEGIN>\n## `meter_calls_with_dims`",
"Decorator to track the rate at which... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_tag API.
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 delete_tag API.
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... | delete a tag by name
Args:
tag_name (string): name of tag to delete | "delete a tag by name\n\n Args:\n tag_name (string): name of tag to delete" | 139 | false | signalfx/signalfx-python | delete_tag | 28,906 | |
LDU_FT/pydot/pydot-ng/to_string | LDU_FT | [
"<BEGIN>\n## `get_fobj`",
"Obtain a proper file object.",
" Parameters\n ----------\n fname : string, file object, file descriptor\n If a string or file descriptor, then we create a file object. If\n *fname* is a file object, then we do nothing and ignore the specified\n *mode* par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a string representation of the graph in dot language.
It will return the graph and all its subelements in string from. | "Returns a string representation of the graph in dot language.\n\n It will return the graph and all its subelements in string from." | 51 | false | pydot/pydot-ng | to_string | 28,907 | |
LDU_FT/rootpy/rootpy/generate | LDU_FT | [
"<BEGIN>\n## `total`",
"Return the total yield and its associated statistical uncertainty.\n<END>",
"<BEGIN>\n## `sys_names`",
"Return a list of unique systematic names from OverallSys and HistoSys\n<END>",
"<BEGIN>\n## `iter_sys`",
"Iterate over sys_name, overall_sys, histo_sys.\n overall_sys or h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
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 generate API.
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... | Compile and load the reflection dictionary for a type.
If the requested dictionary has already been cached, then load that instead.
Parameters
----------
declaration : str
A type declaration (for example "vector<int>")
headers : str or list of str
A header file or list of header fi... | "Compile and load the reflection dictionary for a type.\n\n If the requested dictionary has already been cached, then load that instead.\n\n Parameters\n ----------\n declaration : str\n A type declaration (for example \"vector<int>\")\n headers : str or list of str\n A header file or list ... | 878 | false | rootpy/rootpy | generate | 28,908 | |
LDU_FT/mattsolo1/hmmerclust/cluster_number | LDU_FT | [
"<BEGIN>\n## `fetch_gbwithparts`",
"Download genbank files from NCBI using Biopython Entrez efetch.",
" Args:\n list_of_NC_accessions (list): a list of strings, e.g ['NC_015758', 'NC_002695']\n email (string): NCBI wants your email\n folder (string): Where the gb files download to, gene... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cluster_number API.
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 cluster_number API.
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... | General function that clusters numbers.
Args
data (list): list of integers.
maxgap (int): max gap between numbers in the cluster. | "General function that clusters numbers.\n\n Args\n data (list): list of integers.\n maxgap (int): max gap between numbers in the cluster." | 40 | false | mattsolo1/hmmerclust | cluster_number | 28,909 | |
LDU_FT/CogSciUOS/StudDP/title | LDU_FT | [
"<BEGIN>\n## `path`",
"Path of this node on Studip. Looks like Coures/folder/folder/document. Respects the renaming policies defined in the namemap\n<END>",
"<BEGIN>\n## `title`",
"get title of this node. If an entry for this course is found in the configuration namemap it is used, otherwise the default\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the title API.
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 title API.
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... | get title of this node. If an entry for this course is found in the configuration namemap it is used, otherwise the default
value from stud.ip is used. | "get title of this node. If an entry for this course is found in the configuration namemap it is used, otherwise the default\n value from stud.ip is used." | 26 | false | CogSciUOS/StudDP | title | 28,910 | |
LDU_FT/pvlib/pvlib-python/_build_kwargs | LDU_FT | [
"<BEGIN>\n## `systemdef`",
"Generates a dict of system parameters used throughout a simulation.",
" Parameters\n ----------",
" meta : dict\n meta dict either generated from a TMY file using readtmy2 or\n readtmy3, or a dict containing at least the following fields:",
" ===... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parameters
----------
keys : iterable
Typically a list of strings.
adict : dict-like
A dictionary from which to attempt to pull each key.
Returns
-------
kwargs : dict
A dictionary with only the keys that were in input_dict | "Parameters\n ----------\n keys : iterable\n Typically a list of strings.\n adict : dict-like\n A dictionary from which to attempt to pull each key.\n\n Returns\n -------\n kwargs : dict\n A dictionary with only the keys that were in input_dict" | 1,499 | true | pvlib/pvlib-python | _build_kwargs | 28,911 | |
LDU_FT/bharadwaj-raju/libdesktop/get_cmd_out | LDU_FT | [
"<BEGIN>\n## `get_config_dir`",
"Get the configuration directory.",
"\tGet the configuration directories, optionally for a specific program.",
"\tArgs:\n\t\t\tprogram\t(str) : The name of the program whose configuration directories have to be found.\n\t\t\tsystem_wide (bool): Gets the system-wide configuratio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cmd_out API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cmd_out API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get the output of a command.
Gets a nice Unicode no-extra-whitespace string of the ``stdout`` of a given command.
Args:
command (str or list): A string of the command, or a list of the arguments (as would be used in :class:`subprocess.Popen`).
Note:
If ``command`` is a ``str``, it will be evaluated with ``s... | "Get the output of a command.\n\n\tGets a nice Unicode no-extra-whitespace string of the ``stdout`` of a given command.\n\n\tArgs:\n\t\t\tcommand (str or list): A string of the command, or a list of the arguments (as would be used in :class:`subprocess.Popen`).\n\n\tNote:\n\t\t\tIf ``command`` is a ``str``, it will be ... | 119 | false | bharadwaj-raju/libdesktop | get_cmd_out | 28,912 | |
LDU_FT/Aplopio/django_rip/create_detail | LDU_FT | [
"<BEGIN>\n## `_setup_configuration`",
"All steps are accepted as classes. Instantiate them with the right\n configuration and set them in a local property.\n<END>",
"<BEGIN>\n## `read_detail`",
"Implements the Read Detail (read an object)",
" maps to GET /api/objects/:id/ in rest semantics\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_detail API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_detail API.
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... | :param request: an apiv2 request object
:return: request if successful with entities set on request | ":param request: an apiv2 request object\n :return: request if successful with entities set on request" | 35 | false | Aplopio/django_rip | create_detail | 28,913 | |
LDU_FT/Nic30/hwtGraph/portTryReduce | LDU_FT | [
"<BEGIN>\n## `extractSplits`",
"convert group of indexed assignments witch are splitting signal to Split node",
" a = sig[0]\n b = sig[1]\n to\n a, b = sig",
" :param toL: dictionary {hdl object: layout object}\n<END>",
"<BEGIN>\n## `getPortSideView`",
"Returns a sublist view for all ports ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the portTryReduce API.
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 portTryReduce API.
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 majority of children is connected to same port
if it is the case reduce children and connect this port instead children
:note: use reduceUselessAssignments, extractSplits, flattenTrees before this function
to maximize it's effect | "Check if majority of children is connected to same port\n if it is the case reduce children and connect this port instead children\n\n :note: use reduceUselessAssignments, extractSplits, flattenTrees before this function\n to maximize it's effect" | 65 | false | Nic30/hwtGraph | portTryReduce | 28,914 | |
LDU_FT/marrow/mongo/S | LDU_FT | [
"<BEGIN>\n## `process_fields`",
"Process a list of simple string field definitions and assign their order based on prefix.\n<END>",
"<BEGIN>\n## `create`",
"Create this index in the specified collection; keyword arguments are passed to PyMongo.",
"\t\thttp://api.mongodb.com/python/current/api/pymongo/collec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the S API.
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 docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the S API.
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 docum... | Allow for the projection (and update) of nested values contained within the single match of an array.
Projection operator: https://docs.mongodb.com/manual/reference/operator/projection/positional/#proj._S_
Array update operator: https://docs.mongodb.com/manual/reference/operator/update/positional/ | "Allow for the projection (and update) of nested values contained within the single match of an array.\n\t\t\n\t\tProjection operator: https://docs.mongodb.com/manual/reference/operator/projection/positional/#proj._S_\n\t\tArray update operator: https://docs.mongodb.com/manual/reference/operator/update/positional/" | 175 | false | marrow/mongo | S | 28,915 | |
LDU_FT/xingjiepan/cylinder_fitting/show_fit | LDU_FT | [
"<BEGIN>\n## `direction`",
"Return the direction vector of a cylinder defined\n by the spherical coordinates theta and phi.\n<END>",
"<BEGIN>\n## `projection_matrix`",
"Return the projection matrix of a direction w.\n<END>",
"<BEGIN>\n## `skew_matrix`",
"Return the skew matrix of a direction w.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_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 extracte... | Plot the fitting given the fitted axis direction, the fitted
center, the fitted radius and the data points. | "Plot the fitting given the fitted axis direction, the fitted\n center, the fitted radius and the data points." | 30 | false | xingjiepan/cylinder_fitting | show_fit | 28,916 | |
LDU_FT/scopus-api/scopus/citedby_url | LDU_FT | [
"<BEGIN>\n## `detect_id_type`",
"Method that tries to infer the type of abstract ID.",
" Parameters\n ----------\n sid : str\n The ID of an abstract on Scopus.",
" Raises\n ------\n ValueError\n If the ID type cannot be inferred.",
" Notes\n -----\n PII usually has 1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the citedby_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the citedby_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | URL to Scopus page listing citing papers. | "URL to Scopus page listing citing papers." | 174 | false | scopus-api/scopus | citedby_url | 28,917 | |
LDU_FT/google/python-gflags/FlagDictToArgs | LDU_FT | [
"<BEGIN>\n## `GetRealPath`",
"Given an executable filename, find in the PATH or find absolute path.\n Args:\n filename An executable filename (string)\n Returns:\n Absolute version of filename.\n None if filename could not be found locally, absolutely, or in PATH\n<END>",
"<BEGIN>\n## `Run`",
"Run... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FlagDictToArgs API.
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 FlagDictToArgs API.
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 a dict of values into process call parameters.
This method is used to convert a dictionary into a sequence of parameters
for a binary that parses arguments using this module.
Args:
flag_map: a mapping where the keys are flag names (strings).
values are treated according to their type:
* ... | "Convert a dict of values into process call parameters.\n\n This method is used to convert a dictionary into a sequence of parameters\n for a binary that parses arguments using this module.\n\n Args:\n flag_map: a mapping where the keys are flag names (strings).\n values are treated according to their type:\... | 243 | false | google/python-gflags | FlagDictToArgs | 28,918 | |
LDU_FT/NetEaseGame/ATX/region_screenshot | LDU_FT | [
"<BEGIN>\n## `main`",
"Args:\n - forward(int): local forward port\n - host(string): local forward host\n - listen(int): listen port\n<END>",
"<BEGIN>\n## `_init_items`",
".---------------.\n | Ctrl | Screen |\n |------| |\n | Code | |\n | | ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the region_screenshot API.
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 region_screenshot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Deprecated
Take part of the screenshot | "Deprecated\n Take part of the screenshot" | 230 | false | NetEaseGame/ATX | region_screenshot | 28,919 | |
LDU_FT/SHDShim/pytheos/velocities_to_moduli | LDU_FT | [
"<BEGIN>\n## `constq_grun`",
"calculate Gruneisen parameter for constant q",
" :param v: unit-cell volume in A^3\n :param v0: unit-cell volume in A^3 at 1 bar\n :param gamma0: Gruneisen parameter at 1 bar\n :param q: logarithmic derivative of Grunseinen parameter\n :return: Gruneisen parameter at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the velocities_to_moduli 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 velocities_to_moduli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | convert velocities to moduli
mainly to support Burnman operations
:param rho: density in kg/m^3
:param v_phi: bulk sound speed in m/s
:param v_s: shear velocity in m/s
:return: K_s and G | "convert velocities to moduli\n mainly to support Burnman operations\n\n :param rho: density in kg/m^3\n :param v_phi: bulk sound speed in m/s\n :param v_s: shear velocity in m/s\n :return: K_s and G" | 234 | false | SHDShim/pytheos | velocities_to_moduli | 28,920 | |
LDU_FT/timothydmorton/isochrones/get_photometry | LDU_FT | [
"<BEGIN>\n## `interp_box`",
"box is 8x3 array, though not really a box",
" values is length-8 array, corresponding to values at the \"box\" coords",
" TODO: should make power `p` an argument\n<END>",
"<BEGIN>\n## `interp_values`",
"mass_arr, age_arr, feh_arr are all arrays at which values are desire... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_photometry API.
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_photometry API.
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 dictionary of photometry of closest match
unless brightest is True, in which case the brightest match. | "Returns dictionary of photometry of closest match\n\n unless brightest is True, in which case the brightest match." | 314 | false | timothydmorton/isochrones | get_photometry | 28,921 | |
LDU_FT/kmedian/korr/confusion | LDU_FT | [
"<BEGIN>\n## `kendall`",
"Kendall' tau (Rank) Correlation Matrix (for ordinal data)",
" Parameters\n ----------\n x : ndarray\n data set",
" axis : int, optional\n Variables as columns is the default (axis=0). If variables are\n in the rows use axis=1",
" Returns\n ---... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the confusion API.
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 confusion API.
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... | Confusion Matrix
- confusion matrix, error matrix, matching matrix (unsupervised)
- is a special case: 2x2 contingency table (xtab, RxC table)
- both dimensions are variables with the same classes/labels,
i.e. actual and predicted variables are binary [0,1]
Parameters:
-----------
a : nd... | "Confusion Matrix\n\n - confusion matrix, error matrix, matching matrix (unsupervised)\n - is a special case: 2x2 contingency table (xtab, RxC table)\n - both dimensions are variables with the same classes/labels,\n i.e. actual and predicted variables are binary [0,1]\n\n Parameters:\n -----------\n... | 69 | false | kmedian/korr | confusion | 28,922 | |
LDU_FT/QUANTAXIS/QUANTAXIS/hold_price | LDU_FT | [
"<BEGIN>\n## `start_market`",
"start the market thread and register backtest broker thread\n QAMarket 继承QATrader, QATrader 中有 trade_engine属性 , trade_engine类型是QA_Engine从 QA_Thread继承\n<END>",
"<BEGIN>\n## `message`",
"the standard message which can be transfer\n<END>",
"<BEGIN>\n## `init_hold_with_acco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hold_price API.
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 hold_price API.
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... | 计算持仓成本 如果给的是日期,则返回当日开盘前的持仓
Keyword Arguments:
datetime {[type]} -- [description] (default: {None})
Returns:
[type] -- [description] | "计算持仓成本 如果给的是日期,则返回当日开盘前的持仓\n\n Keyword Arguments:\n datetime {[type]} -- [description] (default: {None})\n\n Returns:\n [type] -- [description]" | 835 | false | QUANTAXIS/QUANTAXIS | hold_price | 28,923 | |
LDU_FT/tundish/turberfield-dialogue/run_through | LDU_FT | [
"<BEGIN>\n## `options`",
"Generate folders to best match metadata.",
" The results will be a single, perfectly matched folder, or the two nearest\n neighbours of an imperfect match.",
" :param dict data: metadata matching criteria.",
" This method is a generator. It yields\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_through API.
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 run_through API.
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... | :py:class:`turberfield.dialogue.model.SceneScript`. | ":py:class:`turberfield.dialogue.model.SceneScript`." | 63 | false | tundish/turberfield-dialogue | run_through | 28,924 | |
LDU_FT/admiralobvious/flask-simpleldap/login_required | LDU_FT | [
"<BEGIN>\n## `init_app`",
"Initialize the `app` for use with this :class:`~LDAP`. This is\n called automatically if `app` is passed to :meth:`~LDAP.__init__`.",
" :param flask.Flask app: the application to configure for use with\n this :class:`~LDAP`\n<END>",
"<BEGIN>\n## `initialize`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login_required API.
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 login_required API.
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... | When applied to a view function, any unauthenticated requests will
be redirected to the view named in LDAP_LOGIN_VIEW. Authenticated
requests do NOT require membership from a specific group.
The login view is responsible for asking for credentials, checking
them, and setting ``flask.g.u... | "When applied to a view function, any unauthenticated requests will\n be redirected to the view named in LDAP_LOGIN_VIEW. Authenticated\n requests do NOT require membership from a specific group.\n\n The login view is responsible for asking for credentials, checking\n them, and setting ``fla... | 36 | false | admiralobvious/flask-simpleldap | login_required | 28,925 | |
LDU_FT/pneff/wsgiservice/raise_303 | LDU_FT | [
"<BEGIN>\n## `raise_201`",
"Abort the current request with a 201 (Created) response code. Sets the\n Location header correctly. If the location does not start with a slash,\n the path of the current request is prepended.",
" :param instance: Resource instance (used to access the response)\n :type in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_303 API.
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 raise_303 API.
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... | Abort the current request with a 303 (See Other) response code. Sets
the Location header correctly. If the location does not start with a
slash, the path of the current request is prepended.
:param instance: Resource instance (used to access the response)
:type instance: :class:`webob.resource.Resource... | "Abort the current request with a 303 (See Other) response code. Sets\n the Location header correctly. If the location does not start with a\n slash, the path of the current request is prepended.\n\n :param instance: Resource instance (used to access the response)\n :type instance: :class:`webob.resource.Re... | 156 | false | pneff/wsgiservice | raise_303 | 28,926 | |
LDU_FT/r-barnes/richdem/SaveGDAL | LDU_FT | [
"<BEGIN>\n## `LoadGDAL`",
"Read a GDAL file.",
" Opens any file GDAL can read, selects the first raster band, and loads it\n and its metadata into a RichDEM array of the appropriate data type.",
" If you need to do something more complicated, look at the source of this\n function.",
" Ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SaveGDAL API.
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 SaveGDAL API.
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... | Save a GDAL file.
Saves a RichDEM array to a data file in GeoTIFF format.
If you need to do something more complicated, look at the source of this
function.
Args:
filename (str): Name of the raster file to be created
rda (rdarray): Data to save.
Returns:
... | "Save a GDAL file.\n\n Saves a RichDEM array to a data file in GeoTIFF format.\n\n If you need to do something more complicated, look at the source of this\n function.\n\n Args:\n filename (str): Name of the raster file to be created\n rda (rdarray): Data to save.\n\n Return... | 47 | false | r-barnes/richdem | SaveGDAL | 28,927 | |
LDU_FT/xav/Grapefruit/rgb_to_html | LDU_FT | [
"<BEGIN>\n## `rgb_to_hsl`",
"Convert the color from RGB coordinates to HSL.",
" Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]",
" Returns:\n The color as an (h, s, l) tuple in the range:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgb_to_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgb_to_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Convert the color from (r, g, b) to #RRGGBB.
Parameters:
:r:
The Red component value [0...1]
:g:
The Green component value [0...1]
:b:
The Blue component value [0...1]
Returns:
A CSS string representation of this color (#RRGGBB).
>>> rgb_to_html(1, 0.5, 0)
'#ff8000' | "Convert the color from (r, g, b) to #RRGGBB.\n\n Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]\n\n Returns:\n A CSS string representation of this color (#RRGGBB).\n\n >>> rgb_to_html(1, 0.5, 0)\n '#f... | 234 | false | xav/Grapefruit | rgb_to_html | 28,928 | |
LDU_FT/pettarin/ipapy/dg_value | LDU_FT | [
"<BEGIN>\n## `can_map_ipa_string`",
"Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.",
" :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>",
"<BEGIN>\n## `map_ipa_string`",
"Convert the given IPAString to a string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dg_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dg_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 extracte... | Return the canonical value of a descriptor of the character,
provided it is present in the given descriptor group.
If not present, return ``None``.
:param IPADescriptorGroup descriptor_group: the descriptor group to be checked against
:rtype: str | "Return the canonical value of a descriptor of the character,\n provided it is present in the given descriptor group.\n\n If not present, return ``None``.\n\n :param IPADescriptorGroup descriptor_group: the descriptor group to be checked against\n :rtype: str" | 205 | false | pettarin/ipapy | dg_value | 28,929 | |
LDU_FT/jim-easterbrook/pyctools/is_pipe_end | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect an output to any callable object.",
" :param str output_name: the output to connect. Must be one of\n the ``'self'`` outputs in the ``linkages`` parameter.",
" :param callable input_method: the thread-safe callable to invoke\n when :py:meth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_pipe_end API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_pipe_end API.
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... | Is component the last one in a pipeline.
When waiting for a network of components to finish processing
it's not necessary to wait for every component to stop, and in
many cases they won't all stop anyway.
This method makes it easier to choose which components to wait
for. See t... | "Is component the last one in a pipeline.\n\n When waiting for a network of components to finish processing\n it's not necessary to wait for every component to stop, and in\n many cases they won't all stop anyway.\n\n This method makes it easier to choose which components to wait\n fo... | 158 | false | jim-easterbrook/pyctools | is_pipe_end | 28,930 | |
LDU_FT/potash/drain/to_drakefile | LDU_FT | [
"<BEGIN>\n## `y_score`",
"Score examples from a new matrix X\n Args:\n estimator: an sklearn estimator object\n X: design matrix with the same features that the estimator was trained on",
" Returns: a vector of scores of the same length as X",
" Note that estimator.predict_proba is pref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_drakefile API.
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 to_drakefile API.
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... | Args:
steps: collection of drain.step.Step objects for which to
generate a drakefile
preview: boolean, when False will create directories for output
steps. When True do not touch filesystem.
debug: run python with '-m pdb'
drakefile: path to drakefile to include
... | "Args:\n steps: collection of drain.step.Step objects for which to\n generate a drakefile\n preview: boolean, when False will create directories for output\n steps. When True do not touch filesystem.\n debug: run python with '-m pdb'\n drakefile: path to drakefile to i... | 165 | false | potash/drain | to_drakefile | 28,931 | |
LDU_FT/tjcsl/ion/restricted_activities_available_to_user | LDU_FT | [
"<BEGIN>\n## `student_visible`",
"Return a list of groups that are student-visible.\n<END>",
"<BEGIN>\n## `stdev`",
"r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restricted_activities_available_to_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restricted_activities_available_to_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | Find the restricted activities available to the given user. | "Find the restricted activities available to the given user." | 407 | false | tjcsl/ion | restricted_activities_available_to_user | 28,932 | |
LDU_FT/freshbooks/statsdecor/configure | LDU_FT | [
"<BEGIN>\n## `increment`",
"Function decorator for incrementing a statsd stat whenever\n a function is invoked.",
" >>> from statsdecor.decorators import increment\n >>> @increment('my.metric')\n >>> def my_func():\n >>> pass\n<END>",
"<BEGIN>\n## `decrement`",
"Function decorator for dec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Configure the module level statsd client that will
be used in all library operations.
Frequently used from application initialization code.
>>> import statsdecor
>>> statsdecor.configure(
host='localhost',
port=8125,
prefix='myapp',
maxudpsize=25) | "Configure the module level statsd client that will\n be used in all library operations.\n\n Frequently used from application initialization code.\n\n >>> import statsdecor\n >>> statsdecor.configure(\n host='localhost',\n port=8125,\n prefix='myapp',\n maxudpsize... | 25 | false | freshbooks/statsdecor | configure | 28,933 | |
LDU_FT/clchiou/startup/_parse_args | LDU_FT | [
"<BEGIN>\n## `_get_not_annotated`",
"Return non-optional parameters that are not annotated.\n<END>",
"<BEGIN>\n## `_parse_args`",
"Return a list of arguments with the variable it reads.",
" NOTE: Multiple arguments may read the same variable.\n<END>",
"<BEGIN>\n## `_parse_ret`",
"Parse func's return ... | 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 extra... | 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 extra... | Return a list of arguments with the variable it reads.
NOTE: Multiple arguments may read the same variable. | "Return a list of arguments with the variable it reads.\n\n NOTE: Multiple arguments may read the same variable." | 20 | false | clchiou/startup | _parse_args | 28,934 | |
LDU_FT/Toilal/rebulk/chars_after | LDU_FT | [
"<BEGIN>\n## `formatters`",
"Chain formatter functions.\n :param chained_formatters:\n :type chained_formatters:\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `_default_conflict_solver`",
"Default conflict solver for matches, shorter matches if they conflicts with longer ones",
" :param conflict... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chars_after API.
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 chars_after API.
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... | Validate the match if right character is in a given sequence.
:param chars:
:type chars:
:param match:
:type match:
:return:
:rtype: | "Validate the match if right character is in a given sequence.\n\n :param chars:\n :type chars:\n :param match:\n :type match:\n :return:\n :rtype:" | 174 | false | Toilal/rebulk | chars_after | 28,935 | |
LDU_FT/tchx84/grestful/asynchronous | LDU_FT | [
"<BEGIN>\n## `check_is_created`",
"Make sure the Object DOES have an id, already.\n<END>",
"<BEGIN>\n## `check_is_not_created`",
"Make sure the Object does NOT have an id, yet.\n<END>",
"<BEGIN>\n## `asynchronous`",
"Convenience wrapper for GObject.idle_add.\n<END>",
"<BEGIN>\n## `_call`",
"Initiate r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asynchronous API.
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 asynchronous API.
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... | Convenience wrapper for GObject.idle_add. | "Convenience wrapper for GObject.idle_add." | 16 | false | tchx84/grestful | asynchronous | 28,936 | |
LDU_FT/pytroll/posttroll/run | LDU_FT | [
"<BEGIN>\n## `restart_listener`",
"Restart listener after configuration update.\n<END>",
"<BEGIN>\n## `create_subscriber`",
"Create a subscriber instance using specified addresses and\n message types.\n<END>",
"<BEGIN>\n## `heartbeat`",
"Send a heartbeat ... but only if *min_interval* seconds has p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
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 run API.
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... | Run the listener and answer to requests. | "Run the listener and answer to requests." | 46 | false | pytroll/posttroll | run | 28,937 | |
LDU_FT/tjvr/kurt/_add_conversion | LDU_FT | [
"<BEGIN>\n## `_workaround_no_stage_specific_variables`",
"Make Stage-specific variables global (move them to Project).\n<END>",
"<BEGIN>\n## `register`",
"Register a new :class:`KurtPlugin`.",
" Once registered, the plugin can be used by :class:`Project`, when:",
" * :attr:`Project.load` see... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_conversion API.
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_conversion API.
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 new PluginBlockType conversion.
If the plugin already exists, do nothing. | "Add a new PluginBlockType conversion.\n\n If the plugin already exists, do nothing." | 171 | false | tjvr/kurt | _add_conversion | 28,938 | |
LDU_FT/joowani/quadriga/buy_limit_order | LDU_FT | [
"<BEGIN>\n## `_validate_order_book`",
"Check if the given order book is valid.",
" :param book: Order book name.\n :type book: str | unicode\n :raise InvalidOrderBookError: If an invalid order book is given.\n<END>",
"<BEGIN>\n## `_validate_currency`",
"Check if the given order book is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buy_limit_order API.
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 buy_limit_order API.
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... | Place a buy order at the given limit price.
:param amount: Amount of major currency to buy at limit price.
:type amount: int | float | str | unicode | decimal.Decimal
:param price: Limit price.
:type price: int | float | str | unicode | decimal.Decimal
:return: Order details.
... | "Place a buy order at the given limit price.\n\n :param amount: Amount of major currency to buy at limit price.\n :type amount: int | float | str | unicode | decimal.Decimal\n :param price: Limit price.\n :type price: int | float | str | unicode | decimal.Decimal\n :return: Order deta... | 58 | false | joowani/quadriga | buy_limit_order | 28,939 | |
LDU_FT/dstufft/storages/safe_join | LDU_FT | [
"<BEGIN>\n## `get_valid_filename`",
"Returns the given string converted to a string that can be used for a clean\n filename. Specifically, leading and trailing spaces are removed; other\n spaces are converted to underscores; and anything that is not a unicode\n alphanumeric, dash, underscore, or dot, is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_join API.
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 safe_join API.
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... | Joins one or more path components to the base path component intelligently.
Returns a normalized, absolute version of the final path.
The final path must be located inside of the base path component (otherwise
a ValueError is raised). | "Joins one or more path components to the base path component intelligently.\n Returns a normalized, absolute version of the final path.\n\n The final path must be located inside of the base path component (otherwise\n a ValueError is raised)." | 16 | false | dstufft/storages | safe_join | 28,940 | |
LDU_FT/skorch-dev/skorch/_indexing_list_tuple_of_data | LDU_FT | [
"<BEGIN>\n## `get_data`",
"Get synthetic classification data with n_samples samples.\n<END>",
"<BEGIN>\n## `get_model`",
"Get a multi-layer perceptron model.",
" Optionally, put it in a pipeline that scales the data.\n<END>",
"<BEGIN>\n## `net`",
"Train an MLP classifier on synthetic data.",
" n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _indexing_list_tuple_of_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _indexing_list_tuple_of_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Data is a list/tuple of data structures (e.g. list of numpy arrays).
``indexings`` are the indexing functions for each element of
``data``. If ``indexings`` are not given, the indexing functions
for the individual structures have to be determined ad hoc, which
is slower. | "Data is a list/tuple of data structures (e.g. list of numpy arrays).\n\n ``indexings`` are the indexing functions for each element of\n ``data``. If ``indexings`` are not given, the indexing functions\n for the individual structures have to be determined ad hoc, which\n is slower." | 394 | false | skorch-dev/skorch | _indexing_list_tuple_of_data | 28,941 | |
LDU_FT/SpamScope/mail-parser/receiveds_not_parsed | LDU_FT | [
"<BEGIN>\n## `sanitize`",
"NFC is the normalization form recommended by W3C.\n<END>",
"<BEGIN>\n## `ported_string`",
"Give as input raw data and output a str in Python 3\n and unicode in Python 2.",
" Args:\n raw_data: Python 2 str, Python 3 bytes or str to porting\n encoding: string giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receiveds_not_parsed 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 receiveds_not_parsed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | If receiveds are not parsed, makes a new structure with raw
field. It's useful to have the same structure of receiveds
parsed.
Args:
receiveds (list): list of raw receiveds headers
Returns:
a list of not parsed receiveds headers with first hop in first position | "If receiveds are not parsed, makes a new structure with raw\n field. It's useful to have the same structure of receiveds\n parsed.\n\n Args:\n receiveds (list): list of raw receiveds headers\n\n Returns:\n a list of not parsed receiveds headers with first hop in first position" | 90 | false | SpamScope/mail-parser | receiveds_not_parsed | 28,942 | |
LDU_FT/apple/turicreate/wavfile_to_examples | LDU_FT | [
"<BEGIN>\n## `ReadTag`",
"Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.",
" We return the raw bytes of the tag rather than decoding them. The raw\n bytes can then be used to look up the proper decoder. This effectively allows\n us to trade some work that would be done in pure-python ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wavfile_to_examples 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 wavfile_to_examples 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... | Convenience wrapper around waveform_to_examples() for a common WAV format.
Args:
wav_file: String path to a file, or a file-like object. The file
is assumed to contain WAV audio data with signed 16-bit PCM samples.
Returns:
See waveform_to_examples. | "Convenience wrapper around waveform_to_examples() for a common WAV format.\n\n Args:\n wav_file: String path to a file, or a file-like object. The file\n is assumed to contain WAV audio data with signed 16-bit PCM samples.\n\n Returns:\n See waveform_to_examples." | 7,340 | true | apple/turicreate | wavfile_to_examples | 28,943 | |
LDU_FT/IBM/ibm-cos-sdk-python-s3transfer/extract_message_value | LDU_FT | [
"<BEGIN>\n## `store`",
"store a config value in a dictionary, these values are used to populate a trasnfer spec\n validation -- check type, check allowed values and rename if required\n<END>",
"<BEGIN>\n## `multi_session`",
"convert the multi_session param a number\n<END>",
"<BEGIN>\n## `_raw_asp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_message_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_message_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.
... | search message to find and extract a named value | "search message to find and extract a named value" | 89 | false | IBM/ibm-cos-sdk-python-s3transfer | extract_message_value | 28,944 | |
LDU_FT/tensorflow/tensor2tensor/_get_case_file_paths | LDU_FT | [
"<BEGIN>\n## `paracrawl_v3_pairs`",
"Generates raw (English, other) pairs from a ParaCrawl V3.0 data file.",
" Args:\n paracrawl_file: A ParaCrawl V3.0 en-.. data file.\n Yields:\n Pairs of (sentence_en, sentence_xx), as Unicode strings.\n Raises:\n StopIteration: If the file ends while this method ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_case_file_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_case_file_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Obtain a list of image paths corresponding to training or eval case.
Args:
tmp_dir: str, the root path to which raw images were written, at the
top level having meta/ and raw/ subdirs.
case: bool, whether obtaining file paths for training (true) or eval
(false).
training_fraction: float, the ... | "Obtain a list of image paths corresponding to training or eval case.\n\n Args:\n tmp_dir: str, the root path to which raw images were written, at the\n top level having meta/ and raw/ subdirs.\n case: bool, whether obtaining file paths for training (true) or eval\n (false).\n training_fraction: flo... | 4,769 | true | tensorflow/tensor2tensor | _get_case_file_paths | 28,945 | |
LDU_FT/Kozea/cairocffi/mask_surface | LDU_FT | [
"<BEGIN>\n## `set_size`",
"Informs cairo of the new size of the X Drawable underlying the surface.\n For a surface created for a Window (rather than a Pixmap), this\n function must be called each time the size of the window changes (for\n a subwindow, you are normally resizing the window your... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mask_surface API.
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 mask_surface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | A drawing operator that paints the current source
using the alpha channel of :obj:`surface` as a mask.
(Opaque areas of :obj:`surface` are painted with the source,
transparent areas are not painted.)
:param pattern: A :class:`Surface` object.
:param surface_x: X coordinate at wh... | "A drawing operator that paints the current source\n using the alpha channel of :obj:`surface` as a mask.\n (Opaque areas of :obj:`surface` are painted with the source,\n transparent areas are not painted.)\n\n :param pattern: A :class:`Surface` object.\n :param surface_x: X coordinat... | 669 | false | Kozea/cairocffi | mask_surface | 28,946 | |
LDU_FT/vatlab/SoS/total_memory | LDU_FT | [
"<BEGIN>\n## `process_request`",
"port is the open port at the worker, num_pending is the num_pending of stack.\n A non-zero num_pending means that the worker is pending on something while\n looking for new job, so the worker should not be killed.\n<END>",
"<BEGIN>\n## `check_workers`",
"Kill wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the total_memory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the total_memory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get the available ram fo the docker machine in Kb | "Get the available ram fo the docker machine in Kb" | 193 | false | vatlab/SoS | total_memory | 28,947 | |
LDU_FT/tBaxter/activity-monitor/handle | LDU_FT | [
"<BEGIN>\n## `register_app_activity`",
"Create watchers for models defined in settings.py.\n Once created, they will be passed over\n Activity.objects.follow_model(), which lives in managers.py\n<END>",
"<BEGIN>\n## `save`",
"Store a string representation of content_object as target\n and actor n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Simply re-saves all objects from models listed in settings.TIMELINE_MODELS. Since the timeline
app is now following these models, it will register each item as it is re-saved. The purpose of this
script is to register content in your database that existed prior to installing the timeline app. | "Simply re-saves all objects from models listed in settings.TIMELINE_MODELS. Since the timeline\n app is now following these models, it will register each item as it is re-saved. The purpose of this\n script is to register content in your database that existed prior to installing the timeline app." | 55 | false | tBaxter/activity-monitor | handle | 28,948 | |
LDU_FT/davidwtbuxton/appengine.py/_download | LDU_FT | [
"<BEGIN>\n## `_extract_zip`",
"Extract the ZipInfo object to a real file on the path targetpath.\n<END>",
"<BEGIN>\n## `parse_args`",
"Returns a tuple of (opts, args) for arguments.\n<END>",
"<BEGIN>\n## `check_version`",
"Returns the version string for the latest SDK.\n<END>",
"<BEGIN>\n## `parse_sdk_n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download API.
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 _download API.
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... | Downloads an URL and returns a file-like object open for reading,
compatible with zipping.ZipFile (it has a seek() method). | "Downloads an URL and returns a file-like object open for reading,\n compatible with zipping.ZipFile (it has a seek() method)." | 13 | false | davidwtbuxton/appengine.py | _download | 28,949 | |
LDU_FT/cmheisel/basecampreporting/message_archive_per_category | 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 message_archive_per_category API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_archive_per_category API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | This will return a summary record for each message in a particular
category. (Note that a summary record includes only a few bits of
information about a post, not the complete record.) | "This will return a summary record for each message in a particular\n category. (Note that a summary record includes only a few bits of\n information about a post, not the complete record.)" | 44 | false | cmheisel/basecampreporting | message_archive_per_category | 28,950 | |
LDU_FT/ampl/amplpy/exportData | LDU_FT | [
"<BEGIN>\n## `getData`",
"Get the data corresponding to the display statements. The statements\n can be AMPL expressions, or entities. It captures the equivalent of the\n command:",
" .. code-block:: ampl",
" display ds1, ..., dsn;",
" where ds1, ..., dsn are the ``dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exportData API.
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 exportData API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create a .dat file with the data that has been loaded.
Args:
datfile: Path to the file (Relative to the current working
directory or absolute). | "Create a .dat file with the data that has been loaded.\n\n Args:\n datfile: Path to the file (Relative to the current working\n directory or absolute)." | 205 | false | ampl/amplpy | exportData | 28,951 | |
LDU_FT/pip-services3-python/pip-services3-components-python/info | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures component by passing configuration parameters.",
" :param config: configuration parameters to be set.\n<END>",
"<BEGIN>\n## `can_create`",
"Checks if this factory is able to create component by given locator.",
" This method searches for all registered ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Logs an important information message
:param correlation_id: (optional) transaction id to trace execution through call chain.
:param message: a human-readable message to log.
:param args: arguments to parameterize the message.
:param kwargs: arguments to parameterize the message. | "Logs an important information message\n\n :param correlation_id: (optional) transaction id to trace execution through call chain.\n\n :param message: a human-readable message to log.\n\n :param args: arguments to parameterize the message.\n\n :param kwargs: arguments to parameterize the mes... | 272 | false | pip-services3-python/pip-services3-components-python | info | 28,952 | |
LDU_FT/JohnDoee/thomas/split_pieces | LDU_FT | [
"<BEGIN>\n## `_get_rar_version`",
"Check quickly whether file is rar archive.\n<END>",
"<BEGIN>\n## `_find_all_first_files`",
"Does not support the full range of ways rar can split\n as it'd require reading the file to ensure you are using the\n correct way.\n<END>",
"<BEGIN>\n## `query_yes_no... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_pieces API.
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 split_pieces API.
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... | Prepare a list of all pieces grouped together | "Prepare a list of all pieces grouped together" | 18 | false | JohnDoee/thomas | split_pieces | 28,953 | |
LDU_FT/pydata/numexpr/detect_number_of_cores | LDU_FT | [
"<BEGIN>\n## `set_vml_accuracy_mode`",
"Set the accuracy mode for VML operations.",
" The `mode` parameter can take the values:\n - 'high': high accuracy mode (HA), <1 least significant bit\n - 'low': low accuracy mode (LA), typically 1-2 least significant bits\n - 'fast': enhanced performance mode ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_number_of_cores 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 detect_number_of_cores API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Detects the number of cores on a system. Cribbed from pp. | "Detects the number of cores on a system. Cribbed from pp." | 69 | false | pydata/numexpr | detect_number_of_cores | 28,954 | |
LDU_FT/samdobson/image_slicer/calc_columns_rows | LDU_FT | [
"<BEGIN>\n## `calc_columns_rows`",
"Calculate the number of columns and rows required to divide an image\n into ``n`` parts.",
" Return a tuple of integers in the format (num_columns, num_rows)\n<END>",
"<BEGIN>\n## `validate_image`",
"Basic sanity checks prior to performing a split.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_columns_rows API.
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 calc_columns_rows API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Calculate the number of columns and rows required to divide an image
into ``n`` parts.
Return a tuple of integers in the format (num_columns, num_rows) | "Calculate the number of columns and rows required to divide an image\n into ``n`` parts.\n\n Return a tuple of integers in the format (num_columns, num_rows)" | 21 | false | samdobson/image_slicer | calc_columns_rows | 28,955 | |
LDU_FT/sarugaku/mork/get_monkeypatched_pathset | LDU_FT | [
"<BEGIN>\n## `from_project_path`",
"Utility for finding a virtualenv location based on a project path\n<END>",
"<BEGIN>\n## `get_sys_path`",
"Get the :data:`sys.path` data for a given python executable.",
" :param str python_path: Path to a specific python executable.\n :return: The system pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_monkeypatched_pathset 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_monkeypatched_pathset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns a monkeypatched `UninstallPathset` for using to uninstall packages from the virtualenv
:return: A patched `UninstallPathset` which enables uninstallation of venv packages
:rtype: :class:`pip._internal.req.req_uninstall.UninstallPathset` | "Returns a monkeypatched `UninstallPathset` for using to uninstall packages from the virtualenv\n\n :return: A patched `UninstallPathset` which enables uninstallation of venv packages\n :rtype: :class:`pip._internal.req.req_uninstall.UninstallPathset`" | 29 | false | sarugaku/mork | get_monkeypatched_pathset | 28,956 | |
LDU_FT/EliotBerriot/django-dynamic-preferences/get_by_name | LDU_FT | [
"<BEGIN>\n## `by_name`",
"Return a dictionary with preferences identifiers and values, but without the section name in the identifier\n<END>",
"<BEGIN>\n## `get_cache_key`",
"Return the cache key corresponding to a given preference\n<END>",
"<BEGIN>\n## `from_cache`",
"Return a preference raw_value from c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get a preference by name only (no section) | "Get a preference by name only (no section)" | 64 | false | EliotBerriot/django-dynamic-preferences | get_by_name | 28,957 | |
LDU_FT/jazzband/django-model-utils/has_changed | LDU_FT | [
"<BEGIN>\n## `_get_subclasses_recurse`",
"Given a Model class, find all related objects, exploring children\n recursively, returning a `list` of strings representing the\n relations for select_related\n<END>",
"<BEGIN>\n## `_get_ancestors_path`",
"Serves as an opposite to _get_subclasses_recurse... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_changed API.
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 has_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns ``True`` if field has changed from currently saved value | "Returns ``True`` if field has changed from currently saved value" | 30 | false | jazzband/django-model-utils | has_changed | 28,958 | |
LDU_FT/pbrisk/timewave/initialize_path | LDU_FT | [
"<BEGIN>\n## `initialize_worker`",
"inits producer for a simulation run on a single process\n<END>",
"<BEGIN>\n## `initialize_path`",
"inits producer for next path, i.e. sets current state to initial state\n<END>",
"<BEGIN>\n## `evolve`",
"evolve to the new process state at the next date, i.e. do one step... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | inits producer for next path, i.e. sets current state to initial state | "inits producer for next path, i.e. sets current state to initial state" | 50 | false | pbrisk/timewave | initialize_path | 28,959 | |
LDU_FT/dvdotsenko/jsonrpc.py/json_dumps | LDU_FT | [
"<BEGIN>\n## `clean_dict_keys`",
"Convert all keys of the dict 'd' to (ascii-)strings.",
" :Raises: UnicodeEncodeError\n<END>",
"<BEGIN>\n## `json_dumps`",
"A rewrap of json.dumps done for one reason - to inject a custom `cls` kwarg",
" :param obj:\n :param kwargs:\n :return:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_dumps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_dumps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | A rewrap of json.dumps done for one reason - to inject a custom `cls` kwarg
:param obj:
:param kwargs:
:return:
:rtype: str | "A rewrap of json.dumps done for one reason - to inject a custom `cls` kwarg\n\n :param obj:\n :param kwargs:\n :return:\n :rtype: str" | 58 | false | dvdotsenko/jsonrpc.py | json_dumps | 28,960 | |
LDU_FT/dossier/dossier.models/worker | LDU_FT | [
"<BEGIN>\n## `run`",
"Generate the report to the given output.",
" :param output: writable file-like object or file path\n<END>",
"<BEGIN>\n## `_generate_report_all`",
"Generate report for all subfolders contained by self.folder_id.\n<END>",
"<BEGIN>\n## `_generate_report_single`",
"Generate repo... | 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 ... | Expects a coordinate WorkUnit for DragNet and runs the following
steps:
1. scans all dossiers at the *folder* level and assembles feature
vectors for each folder -- see `make_feature`
2. trains a multinomial naive Bayes classifier that treats each
*folder* as a classifier target.
3. sample th... | "Expects a coordinate WorkUnit for DragNet and runs the following\n steps:\n\n 1. scans all dossiers at the *folder* level and assembles feature\n vectors for each folder -- see `make_feature`\n\n 2. trains a multinomial naive Bayes classifier that treats each\n *folder* as a classifier target.\n\n 3.... | 217 | false | dossier/dossier.models | worker | 28,961 | |
LDU_FT/grycap/RADL/hasFeature | 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 hasFeature API.
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 hasFeature API.
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 if there is a property with that name. | "Return if there is a property with that name." | 121 | false | grycap/RADL | hasFeature | 28,962 | |
LDU_FT/SpriteLink/NIPAP/remove_prefix | LDU_FT | [
"<BEGIN>\n## `_serve_file`",
"Call Paste's FileApp (a WSGI application) to serve the file\n at the specified path\n<END>",
"<BEGIN>\n## `extract_prefix_attr`",
"Extract prefix attributes from arbitary dict.\n<END>",
"<BEGIN>\n## `extract_pool_attr`",
"Extract pool attributes from arbitary dict.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Remove prefix matching `spec`.
* `auth` [BaseAuth]
AAA options.
* `spec` [prefix_spec]
Specifies prefixe to remove.
* `recursive` [bool]
When set to True, also remove child prefixes.
This is the documentation of the intern... | "Remove prefix matching `spec`.\n\n * `auth` [BaseAuth]\n AAA options.\n * `spec` [prefix_spec]\n Specifies prefixe to remove.\n * `recursive` [bool]\n When set to True, also remove child prefixes.\n\n This is the documentation of ... | 454 | false | SpriteLink/NIPAP | remove_prefix | 28,963 | |
LDU_FT/camsci/meteor-pi/search_files | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a host on a given port.\n If the hostname ends with a colon (`:') followed by a number, and\n there is no port specified, that suffix will be stripped off and the\n number interpreted as the port number to use.\n<END>",
"<BEGIN>\n## `waiting`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_files API.
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 search_files API.
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... | Search for files, returning a FileRecord for each result. FileRecords have two additional
methods patched into them, get_url() and download_to(file_name), which will retrieve the URL for the file
content and download that content to a named file on disk, respectively.
:param FileRecordSearch se... | "Search for files, returning a FileRecord for each result. FileRecords have two additional\n methods patched into them, get_url() and download_to(file_name), which will retrieve the URL for the file\n content and download that content to a named file on disk, respectively.\n\n :param FileRecordSear... | 210 | false | camsci/meteor-pi | search_files | 28,964 | |
LDU_FT/jim-easterbrook/pywws/clear | LDU_FT | [
"<BEGIN>\n## `read_data`",
"Receive data from the device.",
" If the read fails for any reason, an :obj:`IOError` exception\n is raised.",
" :param size: the number of bytes to read.",
" :type size: int",
" :return: the data received.",
" :rtype: list(int)\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
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 clear API.
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... | Clears all data from the data store permanently | "Clears all data from the data store permanently" | 210 | false | jim-easterbrook/pywws | clear | 28,965 | |
LDU_FT/PredixDev/predixpy/get_service_key | LDU_FT | [
"<BEGIN>\n## `create`",
"Create an instance of the US Weather Forecast Service with\n typical starting settings.\n<END>",
"<BEGIN>\n## `add_to_manifest`",
"Add useful details to the manifest about this service\n so that it can be used in an application.",
" :param manifest: An predix.ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_service_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_service_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 e... | Returns the service key details.
Similar to `cf service-key`. | "Returns the service key details.\n\n Similar to `cf service-key`." | 501 | false | PredixDev/predixpy | get_service_key | 28,966 | |
LDU_FT/mpdavis/python-jose/rsa_private_key_pkcs1_to_pkcs8 | LDU_FT | [
"<BEGIN>\n## `rsa_private_key_pkcs8_to_pkcs1`",
"Convert a PKCS8-encoded RSA private key to PKCS1.\n<END>",
"<BEGIN>\n## `rsa_private_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to PKCS8.\n<END>",
"<BEGIN>\n## `rsa_public_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsa_private_key_pkcs1_to_pkcs8 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsa_private_key_pkcs1_to_pkcs8 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Convert a PKCS1-encoded RSA private key to PKCS8. | "Convert a PKCS1-encoded RSA private key to PKCS8." | 85 | false | mpdavis/python-jose | rsa_private_key_pkcs1_to_pkcs8 | 28,967 | |
LDU_FT/TissueMAPS/TmClient/delete_plate | LDU_FT | [
"<BEGIN>\n## `map_logging_verbosity`",
"Parameters\n ----------\n verbosity: int\n logging verbosity level (0-4)",
" Returns\n -------\n A logging level as exported by `logging` module.\n By default returns logging.NOTSET",
" Raises\n ------\n TypeError\n when `verbosi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_plate API.
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_plate API.
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... | Deletes a plate.
Parameters
----------
name: str
name of the plate that should be deleted
See also
--------
:func:`tmserver.api.plate.delete_plate`
:class:`tmlib.models.plate.Plate` | "Deletes a plate.\n\n Parameters\n ----------\n name: str\n name of the plate that should be deleted\n\n See also\n --------\n :func:`tmserver.api.plate.delete_plate`\n :class:`tmlib.models.plate.Plate`" | 203 | false | TissueMAPS/TmClient | delete_plate | 28,968 | |
LDU_FT/Loudr/pale/render | LDU_FT | [
"<BEGIN>\n## `py_doc_trim`",
"Trim a python doc string.",
" This example is nipped from https://www.python.org/dev/peps/pep-0257/,\n which describes how to conventionally format and trim docstrings.",
" It has been modified to replace single newlines with a space, but leave\n multiple consecutive ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | The default field renderer.
This basic renderer assumes that the object has an attribute with
the same name as the field, unless a different field is specified
as a `property_name`.
The renderer is also passed the context so that it can be
propagated to the `_render_serializabl... | "The default field renderer.\n\n This basic renderer assumes that the object has an attribute with\n the same name as the field, unless a different field is specified\n as a `property_name`.\n\n The renderer is also passed the context so that it can be\n propagated to the `_render_ser... | 107 | false | Loudr/pale | render | 28,969 | |
LDU_FT/The-Politico/politico-civic-demography/aggregate_variable | LDU_FT | [
"<BEGIN>\n## `write_county_estimate`",
"Creates new estimate from a census series.",
" Data has following signature from API:\n {\n 'B00001_001E': '5373',\n 'NAME': 'Anderson County, Texas',\n 'county': '001',\n 'state': '48'\n }\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate_variable 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 aggregate_variable 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... | Aggregate census table variables by a custom label. | "Aggregate census table variables by a custom label." | 17 | false | The-Politico/politico-civic-demography | aggregate_variable | 28,970 | |
LDU_FT/shaunduncan/nosqlite/_load | LDU_FT | [
"<BEGIN>\n## `_eq`",
"Returns True if the value of a document field is equal to a given value\n<END>",
"<BEGIN>\n## `_gt`",
"Returns True if the value of a document field is greater than a given value\n<END>",
"<BEGIN>\n## `_lt`",
"Returns True if the value of a document field is less than a given value\n... | 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 d... | 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 d... | Loads a JSON document taking care to apply the document id | "Loads a JSON document taking care to apply the document id" | 53 | false | shaunduncan/nosqlite | _load | 28,971 | |
LDU_FT/Cito/DBUtils/steady_connection | LDU_FT | [
"<BEGIN>\n## `connection`",
"Get a steady, cached DB-API 2 connection from the pool.",
" If shareable is set and the underlying DB-API 2 allows it,\n then the connection may be shared with other threads.\n<END>",
"<BEGIN>\n## `unshare`",
"Decrease the share of a connection in the shared cache.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the steady_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the steady_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get a steady, unpooled PostgreSQL connection. | "Get a steady, unpooled PostgreSQL connection." | 80 | false | Cito/DBUtils | steady_connection | 28,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.