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/davidblaisonneau-orange/foreman/enhance | LDU_FT | [
"<BEGIN>\n## `importPuppetClasses`",
"Function importPuppetClasses\n Force the reload of puppet classes",
" @param smartProxyId: smartProxy Id\n @return RETURN: the API result\n<END>",
"<BEGIN>\n## `enhance`",
"Function enhance\n Enhance the object with new item or enhanced items... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enhance API.
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 enhance API.
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... | Function enhance
Enhance the object with new item or enhanced items | "Function enhance\n Enhance the object with new item or enhanced items" | 118 | false | davidblaisonneau-orange/foreman | enhance | 11,473 | |
LDU_FT/pgjones/quart/template_filter | LDU_FT | [
"<BEGIN>\n## `get_command`",
"Return the relevant command given the context and name.",
" .. warning::",
" This differs substaintially from Flask in that it allows\n for the inbuilt commands to be overridden.\n<END>",
"<BEGIN>\n## `render_template`",
"Render the template with ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the template_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the template_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Add a template filter.
This is designed to be used as a decorator. An example usage,
.. code-block:: python
@app.template_filter('name')
def to_upper(value):
return value.upper()
Arguments:
name: The filter name (defaults to function name). | "Add a template filter.\n\n This is designed to be used as a decorator. An example usage,\n\n .. code-block:: python\n\n @app.template_filter('name')\n def to_upper(value):\n return value.upper()\n\n Arguments:\n name: The filter name (defaults to fun... | 611 | false | pgjones/quart | template_filter | 11,474 | |
LDU_FT/barrust/mediawiki/set_api_url | LDU_FT | [
"<BEGIN>\n## `timeout`",
"Set request timeout in seconds (or fractions of a second)\n<END>",
"<BEGIN>\n## `language`",
"Set the language to use; attempts to change the API URL\n<END>",
"<BEGIN>\n## `login`",
"Login as specified user",
" Args:\n username (str): The username to l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_api_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 set_api_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... | Set the API URL and language
Args:
api_url (str): API URL to use
lang (str): Language of the API URL
Raises:
:py:func:`mediawiki.exceptions.MediaWikiAPIURLError`: if the \
url is not a valid MediaWiki site | "Set the API URL and language\n\n Args:\n api_url (str): API URL to use\n lang (str): Language of the API URL\n Raises:\n :py:func:`mediawiki.exceptions.MediaWikiAPIURLError`: if the \\\n url is not a valid MediaWiki site" | 107 | false | barrust/mediawiki | set_api_url | 11,475 | |
LDU_FT/codeinn/vcs/safe_unicode | LDU_FT | [
"<BEGIN>\n## `make_ui`",
"A funcion that will read python rc files and make an ui from read options",
" :param path: path to mercurial config file\n<END>",
"<BEGIN>\n## `status`",
"Returns modified, added, removed, deleted files for current changeset\n<END>",
"<BEGIN>\n## `_fix_path`",
"Paths are sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_unicode API.
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 safe_unicode API.
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... | safe unicode function. Does few trick to turn str_ into unicode
In case of UnicodeDecode error we try to return it with encoding detected
by chardet library if it fails fallback to unicode with errors replaced
:param str_: string to decode
:rtype: unicode
:returns: unicode object | "safe unicode function. Does few trick to turn str_ into unicode\n\n In case of UnicodeDecode error we try to return it with encoding detected\n by chardet library if it fails fallback to unicode with errors replaced\n\n :param str_: string to decode\n :rtype: unicode\n :returns: unicode object" | 326 | false | codeinn/vcs | safe_unicode | 11,476 | |
LDU_FT/trentm/cmdln/do_resolved | LDU_FT | [
"<BEGIN>\n## `mkmanpage`",
"Return man page content for the given `cmdln.Cmdln` subclass name.\n<END>",
"<BEGIN>\n## `do_crush`",
"${cmd_name}: crush your enemies!",
" ${cmd_usage}\n ${cmd_option_list}\n C.f. Conan the Barbarian.\n<END>",
"<BEGIN>\n## `do_add`",
"Put files and direc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_resolved API.
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 do_resolved API.
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... | Remove 'conflicted' state on working copy files or directories.
usage:
resolved PATH...
Note: this subcommand does not semantically resolve conflicts or
remove conflict markers; it merely removes the conflict-related
artifact files and allows PATH to be committed a... | "Remove 'conflicted' state on working copy files or directories.\n\n usage:\n resolved PATH...\n \n Note: this subcommand does not semantically resolve conflicts or\n remove conflict markers; it merely removes the conflict-related\n artifact files and allows PATH to be com... | 207 | false | trentm/cmdln | do_resolved | 11,477 | |
LDU_FT/marrow/mongo/_op | 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 _op API.
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 _op API.
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... | A basic operation operating on a single value. | "A basic operation operating on a single value." | 175 | false | marrow/mongo | _op | 11,478 | |
LDU_FT/BlueBrain/nat/reference_id | LDU_FT | [
"<BEGIN>\n## `check_ocrmypdf`",
"Run ocrmypdf and confirmed that a valid file was created\n<END>",
"<BEGIN>\n## `run_ocrmypdf`",
"Run ocrmypdf and let caller deal with results\n<END>",
"<BEGIN>\n## `getParamValues`",
"Return the rows of sampleDF that are associated to the parameter\n specified in p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reference_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reference_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the reference ID (locally defined). | "Return the reference ID (locally defined)." | 56 | false | BlueBrain/nat | reference_id | 11,479 | |
LDU_FT/newville/asteval/user_defined_symbols | LDU_FT | [
"<BEGIN>\n## `remove_nodehandler`",
"remove support for a node\n returns current node handler, so that it\n might be re-added with add_nodehandler()\n<END>",
"<BEGIN>\n## `user_defined_symbols`",
"Return a set of symbols that have been added to symtable after\n construction.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_defined_symbols 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 user_defined_symbols 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 set of symbols that have been added to symtable after
construction.
I.e., the symbols from self.symtable that are not in
self.no_deepcopy.
Returns
-------
unique_symbols : set
symbols in symtable that are not in self.no_deepcopy | "Return a set of symbols that have been added to symtable after\n construction.\n\n I.e., the symbols from self.symtable that are not in\n self.no_deepcopy.\n\n Returns\n -------\n unique_symbols : set\n symbols in symtable that are not in self.no_deepcopy" | 31 | false | newville/asteval | user_defined_symbols | 11,480 | |
LDU_FT/spry-group/python-vultr/reverse_list_ipv6 | LDU_FT | [
"<BEGIN>\n## `create_domain`",
"/v1/dns/create_domain\n POST - account\n Create a domain name in DNS",
" Link: https://www.vultr.com/api/#dns_create_domain\n<END>",
"<BEGIN>\n## `create_record`",
"/v1/dns/create_domain\n POST - account\n Add a DNS record",
" Link:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_list_ipv6 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_list_ipv6 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | /v1/server/reverse_list_ipv6
GET - account
List the IPv6 reverse DNS entries of a virtual machine. Reverse DNS
entries are only available for virtual machines in the "active" state.
If the virtual machine does not have IPv6 enabled, then an empty array
is returned.
Link:... | "/v1/server/reverse_list_ipv6\n GET - account\n List the IPv6 reverse DNS entries of a virtual machine. Reverse DNS\n entries are only available for virtual machines in the \"active\" state.\n If the virtual machine does not have IPv6 enabled, then an empty array\n is returned.\n\n ... | 134 | false | spry-group/python-vultr | reverse_list_ipv6 | 11,481 | |
LDU_FT/tmux-python/libtmux/cmd | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Return tmux version.",
" If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.",
" If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd API.
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 cmd API.
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... | Execute tmux command and return output.
Returns
-------
:class:`common.tmux_cmd`
Notes
-----
.. versionchanged:: 0.8
Renamed from ``.tmux`` to ``.cmd``. | "Execute tmux command and return output.\n\n Returns\n -------\n :class:`common.tmux_cmd`\n\n Notes\n -----\n .. versionchanged:: 0.8\n\n Renamed from ``.tmux`` to ``.cmd``." | 224 | false | tmux-python/libtmux | cmd | 11,482 | |
LDU_FT/pmuller/versions/parse | LDU_FT | [
"<BEGIN>\n## `merge`",
"Merge ``constraints``.",
" It removes dupplicate, pruned and merged constraints.",
" :param constraints: Current constraints.\n :type constraints: Iterable of :class:`.Constraint` objects.\n :rtype: :func:`list` of :class:`.Constraint` objects.\n :raises: :exc:`.Exclusiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parses a ``version_string`` and returns a :py:class:`~Version`
object. | "Parses a ``version_string`` and returns a :py:class:`~Version`\n object." | 42 | false | pmuller/versions | parse | 11,483 | |
LDU_FT/Gjum/agarnet/cells_changed | LDU_FT | [
"<BEGIN>\n## `gcommer_claim`",
"Try to get a token for this server address.\n `address` has to be ip:port, e.g. `'1.2.3.4:1234'`\n Returns tuple(address, token)\n<END>",
"<BEGIN>\n## `gcommer_donate`",
"Donate a token for this server address.\n `address` and `token` should be the return values from f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cells_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cells_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 ext... | Calculates `total_size`, `total_mass`, `scale`, and `center`.
Has to be called when the controlled cells (`own_ids`) change. | "Calculates `total_size`, `total_mass`, `scale`, and `center`.\n\n Has to be called when the controlled cells (`own_ids`) change." | 57 | false | Gjum/agarnet | cells_changed | 11,484 | |
LDU_FT/log2timeline/dftimewolf/_copy_file_or_directory | LDU_FT | [
"<BEGIN>\n## `setup`",
"Sets up the _paths attribute.",
" Args:\n paths: Comma-separated list of strings representing the paths to collect.\n<END>",
"<BEGIN>\n## `process`",
"Checks whether the paths exists and updates the state accordingly.\n<END>",
"<BEGIN>\n## `_create_hunt`",
"Create specifi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _copy_file_or_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _copy_file_or_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Recursively copies files from source to destination_directory.
Args:
source: source file or directory to copy into destination_directory
destination_directory: destination directory in which to copy source | "Recursively copies files from source to destination_directory.\n\n Args:\n source: source file or directory to copy into destination_directory\n destination_directory: destination directory in which to copy source" | 228 | false | log2timeline/dftimewolf | _copy_file_or_directory | 11,485 | |
LDU_FT/tempodb/tempodb-python/to_json | LDU_FT | [
"<BEGIN>\n## `from_json`",
"Deserialize a JSON object into this object. This method will\n check that the JSON object has the required keys and will set each\n of the keys in that JSON object as an instance attribute of this\n object.",
" :param json_text: the JSON text or object to... | 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... | Serialize an object to JSON based on its "properties" class
attribute.
:rtype: string | "Serialize an object to JSON based on its \"properties\" class\n attribute.\n\n :rtype: string" | 99 | false | tempodb/tempodb-python | to_json | 11,486 | |
LDU_FT/OSSOS/MOP/match_mopfiles | LDU_FT | [
"<BEGIN>\n## `set_ds9`",
"Set the default values on the ds9 display.\n<END>",
"<BEGIN>\n## `cfht_megacam_tap_query`",
"Do a query of the CADC Megacam table.",
" Get all observations inside the box (right now it turns width/height into a radius, should not do this).",
" @rtype : Table\n @param ra_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_mopfiles API.
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 match_mopfiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given an input list of 'real' detections and candidate detections provide a result file that contains
the measured values from candidate detections with a flag indicating if they are real or false.
@rtype MOPFile
@return mopfile2 with a new column containing index of matching entry in mopfile1 | "Given an input list of 'real' detections and candidate detections provide a result file that contains\n the measured values from candidate detections with a flag indicating if they are real or false.\n\n @rtype MOPFile\n @return mopfile2 with a new column containing index of matching entry in mopfile1" | 717 | false | OSSOS/MOP | match_mopfiles | 11,487 | |
LDU_FT/takuti/flurs/__batch_evaluate | LDU_FT | [
"<BEGIN>\n## `__create_proj_mat`",
"Create a random projection matrix",
" [1] D. Achlioptas. Database-friendly random projections: Johnson-Lindenstrauss with binary coins.\n [2] P. Li, et al. Very sparse random projections.",
" http://scikit-learn.org/stable/modules/random_projection.html... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __batch_evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __batch_evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Evaluate the current model by using the given test events.
Args:
test_events (list of Event): Current model is evaluated by these events.
Returns:
float: Mean Percentile Rank for the test set. | "Evaluate the current model by using the given test events.\n\n Args:\n test_events (list of Event): Current model is evaluated by these events.\n\n Returns:\n float: Mean Percentile Rank for the test set." | 74 | false | takuti/flurs | __batch_evaluate | 11,488 | |
LDU_FT/seomoz/qless-py/listen | LDU_FT | [
"<BEGIN>\n## `clone`",
"Clone the redis client to be slowlog-compatible\n<END>",
"<BEGIN>\n## `stop`",
"Set everything back to normal and collect our data\n<END>",
"<BEGIN>\n## `class_string`",
"Return a string representative of the class\n<END>",
"<BEGIN>\n## `put`",
"Either create a new job in the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen API.
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 listen API.
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 ... | Listen for events that affect our ownership of a job | "Listen for events that affect our ownership of a job" | 66 | false | seomoz/qless-py | listen | 11,489 | |
LDU_FT/eyeseast/python-tablefu/sort | LDU_FT | [
"<BEGIN>\n## `sort`",
"Sort rows in this table, preserving a record of how that\n sorting is done in TableFu.options['sorted_by']\n<END>",
"<BEGIN>\n## `filter`",
"Tables can be filtered in one of two ways:\n - Simple keyword arguments return rows where values match *exactly*\n - Pass i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort API.
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 sort API.
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... | Sort rows in this table, preserving a record of how that
sorting is done in TableFu.options['sorted_by'] | "Sort rows in this table, preserving a record of how that\n sorting is done in TableFu.options['sorted_by']" | 51 | false | eyeseast/python-tablefu | sort | 11,490 | |
LDU_FT/royi1000/py-libhdate/get_utc_sun_time_full | LDU_FT | [
"<BEGIN>\n## `gdate_to_jdn`",
"Compute Julian day from Gregorian day, month and year.",
" Algorithm from wikipedia's julian_day article.\n Return: The julian day number\n<END>",
"<BEGIN>\n## `hdate_to_jdn`",
"Compute Julian day from Hebrew day, month and year.",
" Return: julian day number,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_utc_sun_time_full 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_utc_sun_time_full API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return a list of Jewish times for the given location. | "Return a list of Jewish times for the given location." | 70 | false | royi1000/py-libhdate | get_utc_sun_time_full | 11,491 | |
LDU_FT/manahl/arctic/read | LDU_FT | [
"<BEGIN>\n## `delete`",
"Delete all chunks for a symbol.",
" Which are, for the moment, fully contained in the passed in\n date_range.",
" Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return current metadata saved for `symbol`
Parameters
----------
symbol : `str`
symbol name for the item
as_of : `datetime.datetime`
return entry valid at given time
Returns
-------
metadata | "Return current metadata saved for `symbol`\n\n Parameters\n ----------\n symbol : `str`\n symbol name for the item\n as_of : `datetime.datetime`\n return entry valid at given time\n\n Returns\n -------\n metadata" | 429 | false | manahl/arctic | read | 11,492 | |
LDU_FT/vingd/vingd-api-python/request | LDU_FT | [
"<BEGIN>\n## `request`",
"Generic Vingd-backend authenticated request (currently HTTP Basic Auth\n over HTTPS, but OAuth1 in the future).",
" :returns: Data ``dict``, or raises exception.\n<END>",
"<BEGIN>\n## `_extract_id_from_batch_response`",
"Unholy, forward-compatible, mess for extraction... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Generic Vingd-backend authenticated request (currently HTTP Basic Auth
over HTTPS, but OAuth1 in the future).
:returns: Data ``dict``, or raises exception. | "Generic Vingd-backend authenticated request (currently HTTP Basic Auth\n over HTTPS, but OAuth1 in the future).\n \n :returns: Data ``dict``, or raises exception." | 116 | false | vingd/vingd-api-python | request | 11,493 | |
LDU_FT/tethysplatform/condorpy/submit | LDU_FT | [
"<BEGIN>\n## `_get_all_descendants`",
"traverses all descendants nodes\n :raises: CircularDependency if self is contained in descendants\n :return: a set containing all descendant nodes\n<END>",
"<BEGIN>\n## `set_scheduler`",
"Defines the remote scheduler",
" Args:\n host (st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit API.
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 submit API.
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 ... | ensures that all relatives of nodes in node_set are also added to the set before submitting | "ensures that all relatives of nodes in node_set are also added to the set before submitting" | 52 | false | tethysplatform/condorpy | submit | 11,494 | |
LDU_FT/RedFantom/ttkthemes/set_theme | LDU_FT | [
"<BEGIN>\n## `screenshot_themes`",
"Take a screenshot for all themes available\n<END>",
"<BEGIN>\n## `_load_themes`",
"Load the themes into the Tkinter interpreter\n<END>",
"<BEGIN>\n## `_append_theme_dir`",
"Append a theme dir to the Tk interpreter auto_path\n<END>",
"<BEGIN>\n## `set_theme`",
"Set n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_theme API.
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 set_theme API.
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... | Set new theme to use. Uses a direct tk call to allow usage
of the themes supplied with this package.
:param theme_name: name of theme to activate | "Set new theme to use. Uses a direct tk call to allow usage\n of the themes supplied with this package.\n\n :param theme_name: name of theme to activate" | 54 | false | RedFantom/ttkthemes | set_theme | 11,495 | |
LDU_FT/nanoporetech/ont_fast5_api/get_called_sequence | LDU_FT | [
"<BEGIN>\n## `_clean`",
"Convert numpy numeric types to their python equivalents.\n<END>",
"<BEGIN>\n## `get_prior_alignment`",
"Return the prior alignment that was used for 2D basecalling.",
" :return: Alignment data table.\n<END>",
"<BEGIN>\n## `get_2d_call_alignment`",
"Return the alignment an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_called_sequence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_called_sequence 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... | Return either the called sequence data, if present.
:param section: ['template', 'complement' or '2D']
:param fastq: If True, return a single, multiline fastq string. If
False, return a tuple of (name, sequence, qstring).
:return: Either the fastq string or the (name, sequen... | "Return either the called sequence data, if present.\n \n :param section: ['template', 'complement' or '2D']\n :param fastq: If True, return a single, multiline fastq string. If\n False, return a tuple of (name, sequence, qstring).\n :return: Either the fastq string or the (name, ... | 159 | false | nanoporetech/ont_fast5_api | get_called_sequence | 11,496 | |
LDU_FT/mortada/fredapi/search_by_category | LDU_FT | [
"<BEGIN>\n## `__fetch_data`",
"helper function for fetching data given a request URL\n<END>",
"<BEGIN>\n## `_parse`",
"helper function for parsing FRED date string into datetime\n<END>",
"<BEGIN>\n## `get_series_info`",
"Get information about a series such as its title, frequency, observation start/end da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_by_category 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 search_by_category 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... | Search for series that belongs to a category id. Returns information about matching series in a DataFrame.
Parameters
----------
category_id : int
category id, e.g., 32145
limit : int, optional
limit the number of results to this value. If limit is 0, it means fe... | "Search for series that belongs to a category id. Returns information about matching series in a DataFrame.\n\n Parameters\n ----------\n category_id : int\n category id, e.g., 32145\n limit : int, optional\n limit the number of results to this value. If limit is 0, it ... | 44 | false | mortada/fredapi | search_by_category | 11,497 | |
LDU_FT/frnsys/broca/_process | LDU_FT | [
"<BEGIN>\n## `train_doc2vec`",
"Train a doc2vec model on a list of files.\n<END>",
"<BEGIN>\n## `_doc2vec_doc_stream`",
"Generator to feed sentences to the dov2vec model.\n<END>",
"<BEGIN>\n## `estimate_eps`",
"Estimates possible eps values (to be used with DBSCAN)\n for a given distance matrix by look... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process API.
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 _process API.
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... | Takes in html-mixed body text as a string and returns a list of strings,
lower case and with punctuation given spacing.
Called by self._gen_sentence()
Args:
inpnut (string): body text | "Takes in html-mixed body text as a string and returns a list of strings,\n lower case and with punctuation given spacing. \n\n Called by self._gen_sentence()\n\n Args:\n inpnut (string): body text" | 125 | false | frnsys/broca | _process | 11,498 | |
LDU_FT/ibis-project/ibis/avro_file | LDU_FT | [
"<BEGIN>\n## `compile`",
"Force compilation of expression for the SQLite target\n<END>",
"<BEGIN>\n## `find_names`",
"Return the unique :class:`ast.Name` instances in an AST.",
" Parameters\n ----------\n node : ast.AST",
" Returns\n -------\n unique_names : List[ast.Name]",
" Examp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the avro_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the avro_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create a (possibly temporary) table to read a collection of Avro data.
Parameters
----------
hdfs_dir : string
Absolute HDFS path to directory containing avro files
avro_schema : dict
The Avro schema for the data as a Python dict
name : string, default None
... | "Create a (possibly temporary) table to read a collection of Avro data.\n\n Parameters\n ----------\n hdfs_dir : string\n Absolute HDFS path to directory containing avro files\n avro_schema : dict\n The Avro schema for the data as a Python dict\n name : string, defau... | 1,079 | true | ibis-project/ibis | avro_file | 11,499 | |
LDU_FT/frictionlessdata/tabulator-py/detect_scheme_and_format | LDU_FT | [
"<BEGIN>\n## `detect_scheme_and_format`",
"Detect scheme and format based on source and return as a tuple.",
" Scheme is a minimum 2 letters before `://` (will be lower cased).\n For example `http` from `http://example.com/table.csv`\n<END>",
"<BEGIN>\n## `detect_encoding`",
"Detect encoding of a byte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_scheme_and_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_scheme_and_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Detect scheme and format based on source and return as a tuple.
Scheme is a minimum 2 letters before `://` (will be lower cased).
For example `http` from `http://example.com/table.csv` | "Detect scheme and format based on source and return as a tuple.\n\n Scheme is a minimum 2 letters before `://` (will be lower cased).\n For example `http` from `http://example.com/table.csv`" | 35 | false | frictionlessdata/tabulator-py | detect_scheme_and_format | 11,500 | |
LDU_FT/push-things/wallabag_api/entries_exists | LDU_FT | [
"<BEGIN>\n## `query`",
"Do a query to the System API",
" :param path: url to the API\n :param method: the kind of query to do\n :param params: a dict with all the\n necessary things to query the API\n :return json data\n<END>",
"<BEGIN>\n## `handle_json_response`",
"get th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entries_exists API.
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 entries_exists API.
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... | GET /api/entries/exists.{_format}
Check if an entry exist by url.
:param url string true An url Url to check if it exists
:param urls string false An array of urls
(?urls[]=http...&urls[]=http...) Urls (as an array)
to check if it exists
:return result | "GET /api/entries/exists.{_format}\n\n Check if an entry exist by url.\n\n :param url \tstring \ttrue \tAn url \tUrl to check if it exists\n :param urls string \tfalse \tAn array of urls\n (?urls[]=http...&urls[]=http...) Urls (as an array)\n to check if it exists\n\n :return r... | 68 | false | push-things/wallabag_api | entries_exists | 11,501 | |
LDU_FT/wrobstory/vincent/size | LDU_FT | [
"<BEGIN>\n## `fill_opacity`",
"ValueRef : int or float, opacity of the fill (0 to 1)\n<END>",
"<BEGIN>\n## `stroke_width`",
"ValueRef : int, width of the stroke in pixels\n<END>",
"<BEGIN>\n## `stroke_opacity`",
"ValueRef : number, opacity of the stroke (0 to 1)\n<END>",
"<BEGIN>\n## `size`",
"ValueRe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
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 size API.
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... | ValueRef : number, area of the mark in pixels
This is the total area of a symbol. For example, a value of 500 and
a ``shape`` of ``'circle'`` would result in circles with an area of
500 square pixels. Only used if ``type`` is ``'symbol'``. | "ValueRef : number, area of the mark in pixels\n\n This is the total area of a symbol. For example, a value of 500 and\n a ``shape`` of ``'circle'`` would result in circles with an area of\n 500 square pixels. Only used if ``type`` is ``'symbol'``." | 139 | false | wrobstory/vincent | size | 11,502 | |
LDU_FT/edx/edx-django-utils/_log_diff_memory_data | LDU_FT | [
"<BEGIN>\n## `accumulate_metric`",
"Accumulate a custom metric (name and value) in the metrics cache.\n<END>",
"<BEGIN>\n## `_batch_report`",
"Report the collected custom metrics to New Relic.\n<END>",
"<BEGIN>\n## `process_response`",
"Logs memory data after processing response.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_diff_memory_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_diff_memory_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Computes and logs the difference in memory utilization
between the given old and new memory data. | "Computes and logs the difference in memory utilization\n between the given old and new memory data." | 55 | false | edx/edx-django-utils | _log_diff_memory_data | 11,503 | |
LDU_FT/tknapen/FIRDeconvolution/betas_for_events | LDU_FT | [
"<BEGIN>\n## `create_event_regressors`",
"create_event_regressors creates the part of the design matrix corresponding to one event type. ",
" :param event_times_indices: indices in the resampled data, on which the events occurred.\n :type event_times_indices: numpy array, (nr_events)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the betas_for_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the betas_for_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | betas_for_events creates an internal self.betas_per_event_type array, of (nr_covariates x self.devonvolution_interval_size),
which holds the outcome betas per event type,in the order generated by self.covariates.keys() | "betas_for_events creates an internal self.betas_per_event_type array, of (nr_covariates x self.devonvolution_interval_size), \n which holds the outcome betas per event type,in the order generated by self.covariates.keys()" | 27 | false | tknapen/FIRDeconvolution | betas_for_events | 11,504 | |
LDU_FT/zulily/pudl/computer | LDU_FT | [
"<BEGIN>\n## `group`",
"Produces a single, populated ADGroup object through the object factory.\n Does not populate attributes for the caller instance.",
" sAMAccountName may not be present in group objects in modern AD schemas.\n Searching by common name and object class (group) may be an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the computer API.
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 computer API.
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... | Produces a single, populated ADComputer object through the object factory.
Does not populate attributes for the caller instance.
:param str base_dn: The base DN to search within
:param str samaccountname: The computer's sAMAccountName
:param list attributes: Object attributes to populat... | "Produces a single, populated ADComputer object through the object factory.\n Does not populate attributes for the caller instance.\n\n :param str base_dn: The base DN to search within\n :param str samaccountname: The computer's sAMAccountName\n :param list attributes: Object attributes to p... | 61 | false | zulily/pudl | computer | 11,505 | |
LDU_FT/MSchnei/pyprf_feature/funcConvPar | LDU_FT | [
"<BEGIN>\n## `pyprf`",
"Main function for pRF mapping.",
" Parameters\n ----------\n strCsvCnfg : str\n Absolute file path of config file.\n lgcTest : Boolean\n Whether this is a test (pytest). If yes, absolute path of pyprf libary\n will be prepended to config file paths.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the funcConvPar API.
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 funcConvPar API.
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... | Function for convolution of pixel-wise 'design matrix' with HRF model. | "Function for convolution of pixel-wise 'design matrix' with HRF model." | 266 | false | MSchnei/pyprf_feature | funcConvPar | 11,506 | |
LDU_FT/aburrell/apexpy/basevectors_qd | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the basevectors_qd API.
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 basevectors_qd API.
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 quasi-dipole base vectors f1 and f2 at the specified
coordinates.
The vectors are described by Richmond [1995] [2]_ and
Emmert et al. [2010] [3]_. The vector components are geodetic east and
north.
Parameters
==========
lat : (N,) array_like or float
... | "Returns quasi-dipole base vectors f1 and f2 at the specified\n coordinates.\n\n The vectors are described by Richmond [1995] [2]_ and\n Emmert et al. [2010] [3]_. The vector components are geodetic east and\n north.\n\n Parameters\n ==========\n lat : (N,) array_like o... | 120 | false | aburrell/apexpy | basevectors_qd | 11,507 | |
LDU_FT/crackinglandia/pype32/_updateDirectoriesData | LDU_FT | [
"<BEGIN>\n## `showSectionsHeaders`",
"Prints IMAGE_SECTION_HEADER for every section present in the file.\n<END>",
"<BEGIN>\n## `getFields`",
"Returns all the class attributues.",
" @rtype: dict\n @return: A dictionary containing all the class attributes.\n<END>",
"<BEGIN>\n## `parse`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _updateDirectoriesData 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 _updateDirectoriesData API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Updates the data in every L{Directory} object.
@type peStr: str
@param peStr: C{str} representation of the L{PE} object.
@rtype: str
@return: A C{str} representation of the L{PE} object. | "Updates the data in every L{Directory} object.\n \n @type peStr: str\n @param peStr: C{str} representation of the L{PE} object.\n \n @rtype: str\n @return: A C{str} representation of the L{PE} object." | 428 | false | crackinglandia/pype32 | _updateDirectoriesData | 11,508 | |
LDU_FT/amicks/Speculator/target_code_to_name | LDU_FT | [
"<BEGIN>\n## `set_targets`",
"Sets target market trend for a date",
" Args:\n x: Pandas DataFrame of market features\n delta: Positive number defining a price buffer between what is\n classified as a bullish/bearish market for the training set.\n delta is equivalent to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target_code_to_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target_code_to_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.
T... | Converts an int target code to a target name
Since self.TARGET_CODES is a 1:1 mapping, perform a reverse lookup
to get the more readable name.
Args:
code: Value from self.TARGET_CODES
Returns:
String target name corresponding to the given code. | "Converts an int target code to a target name\n\n Since self.TARGET_CODES is a 1:1 mapping, perform a reverse lookup\n to get the more readable name.\n\n Args:\n code: Value from self.TARGET_CODES\n\n Returns:\n String target name corresponding to the given code." | 104 | false | amicks/Speculator | target_code_to_name | 11,509 | |
LDU_FT/cidles/pressagio/create_index | LDU_FT | [
"<BEGIN>\n## `create_ngram_table`",
"Creates a table for n-gram of a give cardinality. The table name is\n constructed from this parameter, for example for cardinality `2` there\n will be a table `_2_gram` created.",
" Parameters\n ----------\n cardinality : int\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Create an index for the table with the given cardinality.
Parameters
----------
cardinality : int
The cardinality to create a index for. | "Create an index for the table with the given cardinality.\n\n Parameters\n ----------\n cardinality : int\n The cardinality to create a index for." | 43 | false | cidles/pressagio | create_index | 11,510 | |
LDU_FT/rstoneback/pysat/transfer_attributes_to_instrument | LDU_FT | [
"<BEGIN>\n## `list_files`",
"Return a Pandas Series of every file for chosen satellite data.",
" This routine is intended to be used by pysat instrument modules supporting\n a particular NASA CDAWeb dataset.",
" Parameters\n -----------\n tag : (string or NoneType)\n Denotes type of file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transfer_attributes_to_instrument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transfer_attributes_to_instrument API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Transfer non-standard attributes in Meta to Instrument object.
Pysat's load_netCDF and similar routines are only able to attach
netCDF4 attributes to a Meta object. This routine identifies these
attributes and removes them from the Meta object. Intent is to
support simple transfers to ... | "Transfer non-standard attributes in Meta to Instrument object.\n\n Pysat's load_netCDF and similar routines are only able to attach\n netCDF4 attributes to a Meta object. This routine identifies these\n attributes and removes them from the Meta object. Intent is to \n support simple transfe... | 525 | false | rstoneback/pysat | transfer_attributes_to_instrument | 11,511 | |
LDU_FT/holtjma/msbwt/writeSeqsToFiles | LDU_FT | [
"<BEGIN>\n## `extendSeed`",
"This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the writeSeqsToFiles API.
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 writeSeqsToFiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | This function takes a seqArray and saves the values to a memmap file that can be accessed for multi-processing.
Additionally, it saves some offset indices in a numpy file for quicker string access.
@param seqArray - the list of '$'-terminated strings to be saved
@param fnPrefix - the prefix for the temporar... | "This function takes a seqArray and saves the values to a memmap file that can be accessed for multi-processing.\n Additionally, it saves some offset indices in a numpy file for quicker string access.\n @param seqArray - the list of '$'-terminated strings to be saved\n @param fnPrefix - the prefix for the temp... | 84 | false | holtjma/msbwt | writeSeqsToFiles | 11,512 | |
LDU_FT/kragniz/python-etcd3/members | LDU_FT | [
"<BEGIN>\n## `new_event`",
"Wrap a raw gRPC event in a friendlier containing class.",
" This picks the appropriate class from one of PutEvent or DeleteEvent and\n returns a new instance.\n<END>",
"<BEGIN>\n## `acquire`",
"Acquire the lock.",
" :params timeout: Maximum time to wait before retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the members API.
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 members API.
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... | List of all members associated with the cluster.
:type: sequence of :class:`.Member` | "List of all members associated with the cluster.\n\n :type: sequence of :class:`.Member`" | 113 | false | kragniz/python-etcd3 | members | 11,513 | |
LDU_FT/ultrabug/uhashring/print_continuum | LDU_FT | [
"<BEGIN>\n## `_configure_nodes`",
"Parse and set up the given nodes.",
" :param nodes: nodes used to create the continuum (see doc for format).\n<END>",
"<BEGIN>\n## `_get_pos`",
"Get the index of the given key in the sorted key list.",
" We return the position with the nearest hash based on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_continuum API.
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 print_continuum API.
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... | Prints a ketama compatible continuum report. | "Prints a ketama compatible continuum report." | 40 | false | ultrabug/uhashring | print_continuum | 11,514 | |
LDU_FT/quantopian/alphalens/timedelta_to_string | LDU_FT | [
"<BEGIN>\n## `factor_information_coefficient`",
"Computes the Spearman Rank Correlation based Information Coefficient (IC)\n between factor values and N period forward returns for each period in\n the factor index.",
" Parameters\n ----------\n factor_data : pd.DataFrame - MultiIndex\n A M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timedelta_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timedelta_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.
T... | Utility that converts a pandas.Timedelta to a string representation
compatible with pandas.Timedelta constructor format
Parameters
----------
timedelta: pd.Timedelta
Returns
-------
string
string representation of 'timedelta' | "Utility that converts a pandas.Timedelta to a string representation\n compatible with pandas.Timedelta constructor format\n\n Parameters\n ----------\n timedelta: pd.Timedelta\n\n Returns\n -------\n string\n string representation of 'timedelta'" | 243 | false | quantopian/alphalens | timedelta_to_string | 11,515 | |
LDU_FT/nats-io/asyncio-nats-streaming/unsubscribe | LDU_FT | [
"<BEGIN>\n## `connect`",
"Starts a session with a NATS Streaming cluster.",
" :param cluster: Name of the cluster to which we will connect.\n :param nats: NATS connection to be borrowed for NATS Streaming.\n<END>",
"<BEGIN>\n## `_process_ack`",
"Receives acks from the publishes via the _STAN.a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unsubscribe API.
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 unsubscribe API.
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... | Remove subscription on a topic in this client. | "Remove subscription on a topic in this client." | 31 | false | nats-io/asyncio-nats-streaming | unsubscribe | 11,516 | |
LDU_FT/SuperCowPowers/chains/make_dict | LDU_FT | [
"<BEGIN>\n## `packet_meta_data`",
"Pull out the metadata about each packet from the input_stream\n Args:\n None\n Returns:\n generator (dictionary): a generator that contains packet meta data in the form of a dictionary\n<END>",
"<BEGIN>\n## `pull`",
"Print out ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | This method creates a dictionary out of a non-builtin object | "This method creates a dictionary out of a non-builtin object" | 41 | false | SuperCowPowers/chains | make_dict | 11,517 | |
LDU_FT/slickqa/python-client/get | LDU_FT | [
"<BEGIN>\n## `find`",
"You can pass in the appropriate model object from the queries module,\n or a dictionary with the keys and values for the query,\n or a set of key=value parameters.\n<END>",
"<BEGIN>\n## `findOne`",
"Perform a find, with the same options present, but only return a maximum o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get the specified object from slick. You specify which one you want by providing the id as a parameter to
the parent object. Example:
slick.projects("4fd8cd95e4b0ee7ba54b9885").get() | "Get the specified object from slick. You specify which one you want by providing the id as a parameter to\n the parent object. Example:\n slick.projects(\"4fd8cd95e4b0ee7ba54b9885\").get()" | 37 | false | slickqa/python-client | get | 11,518 | |
LDU_FT/log2timeline/dfdatetime/_GetDateValuesWithEpoch | LDU_FT | [
"<BEGIN>\n## `_GetNormalizedTimestamp`",
"Retrieves the normalized timestamp.",
" Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetDateValuesWithEpoch 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 _GetDateValuesWithEpoch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Determines date values.
Args:
number_of_days (int): number of days since epoch.
date_time_epoch (DateTimeEpoch): date and time of the epoch.
Returns:
tuple[int, int, int]: year, month, day of month. | "Determines date values.\n\n Args:\n number_of_days (int): number of days since epoch.\n date_time_epoch (DateTimeEpoch): date and time of the epoch.\n\n Returns:\n tuple[int, int, int]: year, month, day of month." | 244 | false | log2timeline/dfdatetime | _GetDateValuesWithEpoch | 11,519 | |
LDU_FT/eeue56/PyChat.js/_to_json | LDU_FT | [
"<BEGIN>\n## `create_message`",
"Creates a standard message from a given user with the message \r\n Replaces newline with html break\n<END>",
"<BEGIN>\n## `write_message`",
"Writes a message to this chat connection's handler\n<END>",
"<BEGIN>\n## `join_room`",
"Connects to a given room \r\n ... | 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 extracte... | 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 extracte... | Gets a dict of this object's properties so that it can be used to send a dump to the client | "Gets a dict of this object's properties so that it can be used to send a dump to the client" | 20 | false | eeue56/PyChat.js | _to_json | 11,520 | |
LDU_FT/tmr232/Sark/_iter_bitmasks | LDU_FT | [
"<BEGIN>\n## `get_idb_graph`",
"Export IDB to a NetworkX graph.",
" Use xrefs to and from functions to build a DiGraph containing all\n the functions in the IDB and all the links between them.\n The graph can later be used to perform analysis on the IDB.",
" :return: nx.DiGraph()\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _iter_bitmasks API.
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 _iter_bitmasks API.
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... | Iterate all bitmasks in a given enum.
Note that while `DEFMASK` indicates no-more-bitmasks, it is also a
valid bitmask value. The only way to tell if it exists is when iterating
the serials. | "Iterate all bitmasks in a given enum.\n\n Note that while `DEFMASK` indicates no-more-bitmasks, it is also a\n valid bitmask value. The only way to tell if it exists is when iterating\n the serials." | 137 | false | tmr232/Sark | _iter_bitmasks | 11,521 | |
LDU_FT/bitcraft/PyTMX/simplify | LDU_FT | [
"<BEGIN>\n## `default_image_loader`",
"This default image loader just returns filename, rect, and any flags\n<END>",
"<BEGIN>\n## `decode_gid`",
"Decode a GID from TMX data",
" as of 0.7.0 it determines if the tile should be flipped when rendered\n as of 0.8.0 bit 30 determines if GID is rotated",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simplify API.
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 simplify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Given a list of points, return list of rects that represent them
kludge:
"A kludge (or kluge) is a workaround, a quick-and-dirty solution,
a clumsy or inelegant, yet effective, solution to a problem, typically
using parts that are cobbled together."
-- wikipedia
turn a list of points into a r... | "Given a list of points, return list of rects that represent them\n kludge:\n\n \"A kludge (or kluge) is a workaround, a quick-and-dirty solution,\n a clumsy or inelegant, yet effective, solution to a problem, typically\n using parts that are cobbled together.\"\n\n -- wikipedia\n\n turn a list of poi... | 134 | false | bitcraft/PyTMX | simplify | 11,522 | |
LDU_FT/jayferg/faderport/chase | LDU_FT | [
"<BEGIN>\n## `find_faderport_input_name`",
"Find the MIDI input name for a connected FaderPort.",
" NOTE! Untested for more than one FaderPort attached.\n :param number: 0 unless you've got more than one FaderPort attached.\n In which case 0 is the first, 1 is the second etc\n :return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chase API.
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 chase API.
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... | Display an animated light chaser pattern
Chase will last ticks * duration seconds
:param duration: How long each chase step will last in seconds
:param num_lights: How many lights in the chase (1 to 4)
:param ticks: How many chase steps. | "Display an animated light chaser pattern\n Chase will last ticks * duration seconds\n :param duration: How long each chase step will last in seconds\n :param num_lights: How many lights in the chase (1 to 4)\n :param ticks: How many chase steps." | 25 | false | jayferg/faderport | chase | 11,523 | |
LDU_FT/buriburisuri/sugartensor/sg_periodic_shuffle | LDU_FT | [
"<BEGIN>\n## `constant`",
"r\"\"\"Creates a tensor variable of which initial values are `value` and shape is `shape`.",
" Args:\n name: The name of new variable.\n shape: A tuple/list of integers or an integer. \n If shape is an integer, it is converted to a list.\n value: A Python scal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sg_periodic_shuffle 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 sg_periodic_shuffle 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... | r""" Periodic shuffle transformation for SubPixel CNN.
(see [Shi et al. 2016](http://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Shi_Real-Time_Single_Image_CVPR_2016_paper.pdf)
Args:
tensor: A tensor (automatically given by chain).
opt:
factor: factor to multiply s... | "r\"\"\" Periodic shuffle transformation for SubPixel CNN.\n (see [Shi et al. 2016](http://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Shi_Real-Time_Single_Image_CVPR_2016_paper.pdf)\n \n Args:\n tensor: A tensor (automatically given by chain).\n opt:\n factor: factor to ... | 399 | false | buriburisuri/sugartensor | sg_periodic_shuffle | 11,524 | |
LDU_FT/adamrehn/ue4cli/buildDescriptor | LDU_FT | [
"<BEGIN>\n## `findArgs`",
"Extracts the list of arguments that start with any of the specified prefix values\n<END>",
"<BEGIN>\n## `stripArgs`",
"Removes any arguments in the supplied list that are contained in the specified blacklist\n<END>",
"<BEGIN>\n## `capture`",
"Executes a child process and capture... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildDescriptor API.
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 buildDescriptor API.
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... | Builds the editor modules for the Unreal project or plugin in the specified directory, using the specified build configuration | "Builds the editor modules for the Unreal project or plugin in the specified directory, using the specified build configuration" | 120 | false | adamrehn/ue4cli | buildDescriptor | 11,525 | |
LDU_FT/manahl/arctic/docify | LDU_FT | [
"<BEGIN>\n## `delete`",
"Delete all chunks for a symbol.",
" Which are, for the moment, fully contained in the passed in\n date_range.",
" Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the docify API.
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 docify API.
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 ... | Convert a Pandas DataFrame to SON.
Parameters
----------
df: DataFrame
The Pandas DataFrame to encode | "Convert a Pandas DataFrame to SON.\n\n Parameters\n ----------\n df: DataFrame\n The Pandas DataFrame to encode" | 429 | false | manahl/arctic | docify | 11,526 | |
LDU_FT/bugra/angel-list/get_review_id | LDU_FT | [
"<BEGIN>\n## `get_comments`",
"commentable_type: 'Press', 'Review', 'Startup', 'StartupRole', 'StatusUpdate'\n<END>",
"<BEGIN>\n## `get_likes`",
"likable_type: 'Comment', 'Press', 'Review', 'StartupRole', 'StatusUpdate'\n likable_id: id of the object that the likes of it you are interested\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_review_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_review_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get a particular review id, independent from the user_id and
startup_id | "Get a particular review id, independent from the user_id and\n startup_id" | 20 | false | bugra/angel-list | get_review_id | 11,527 | |
LDU_FT/nephila/python-taiga/add_point | LDU_FT | [
"<BEGIN>\n## `list`",
"Retrieves a list of objects.",
" By default uses local cache and remote pagination",
" If pagination is used and no page is requested (the default), all the\n remote objects are retrieved and appended in a single list.",
" If pagination is disabled, all the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_point API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_point API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a Point to the project and returns a :class:`Point` object.
:param name: name of the :class:`Point`
:param value: value of the :class:`Point`
:param attrs: optional attributes for :class:`Point` | "Add a Point to the project and returns a :class:`Point` object.\n\n :param name: name of the :class:`Point`\n :param value: value of the :class:`Point`\n :param attrs: optional attributes for :class:`Point`" | 162 | false | nephila/python-taiga | add_point | 11,528 | |
LDU_FT/ManiacalLabs/BiblioPixelAnimations/genCubeVector | LDU_FT | [
"<BEGIN>\n## `genCubeVector`",
"Generates a map of vector lengths from the center point to each coordinate\r",
" x - width of matrix to generate\r\n y - height of matrix to generate\r\n z - depth of matrix to generate\r\n x_mult - value to scale x-axis by\r\n y_mult - value to scale y-axis by\r\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genCubeVector API.
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 genCubeVector API.
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... | Generates a map of vector lengths from the center point to each coordinate
x - width of matrix to generate
y - height of matrix to generate
z - depth of matrix to generate
x_mult - value to scale x-axis by
y_mult - value to scale y-axis by
z_mult - value to scale z-axis by | "Generates a map of vector lengths from the center point to each coordinate\r\n\r\n x - width of matrix to generate\r\n y - height of matrix to generate\r\n z - depth of matrix to generate\r\n x_mult - value to scale x-axis by\r\n y_mult - value to scale y-axis by\r\n z_mult - value to scale z-axis by... | 17 | false | ManiacalLabs/BiblioPixelAnimations | genCubeVector | 11,529 | |
LDU_FT/cthorey/pdsimage/extract_grid | LDU_FT | [
"<BEGIN>\n## `_category`",
"Type of the image: LOLA or WAC",
" Note: Specify the attribute ``grid``, ``img`` and ``lbl`\n<END>",
"<BEGIN>\n## `_user_yes_no_query`",
"Helper asking if the user want to download the file",
" Note:\n Dowloading huge file can take a while\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_grid API.
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 extract_grid API.
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... | Extract part of the image ``img``
Args:
longmin (float): Minimum longitude of the window
longmax (float): Maximum longitude of the window
latmin (float): Minimum latitude of the window
latmax (float): Maximum latitude of the window
Returns:
A... | "Extract part of the image ``img``\n\n Args:\n longmin (float): Minimum longitude of the window\n longmax (float): Maximum longitude of the window\n latmin (float): Minimum latitude of the window\n latmax (float): Maximum latitude of the window\n\n Returns:\n ... | 106 | false | cthorey/pdsimage | extract_grid | 11,530 | |
LDU_FT/empymod/empymod/fft | LDU_FT | [
"<BEGIN>\n## `check_ab`",
"r\"\"\"Check source-receiver configuration.",
" This check-function is called from one of the modelling routines in\n :mod:`model`. Consult these modelling routines for a detailed description\n of the input parameters.",
" Parameters\n ----------\n ab : int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fft API.
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 fft API.
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... | r"""Fourier Transform using the Fast Fourier Transform.
The function is called from one of the modelling routines in :mod:`model`.
Consult these modelling routines for a description of the input and output
parameters.
Returns
-------
tEM : array
Returns time-domain EM response of ``fEM... | "r\"\"\"Fourier Transform using the Fast Fourier Transform.\n\n The function is called from one of the modelling routines in :mod:`model`.\n Consult these modelling routines for a description of the input and output\n parameters.\n\n Returns\n -------\n tEM : array\n Returns time-domain EM resp... | 570 | false | empymod/empymod | fft | 11,531 | |
LDU_FT/toastdriven/alligator/run_forever | LDU_FT | [
"<BEGIN>\n## `run_forever`",
"Causes the worker to run either forever or until the\n ``Worker.max_tasks`` are reached.\n<END>",
"<BEGIN>\n## `to_call`",
"Sets the function & its arguments to be called when the task is\n processed.",
" Ex::",
" task.to_call(my_function, 1, '... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_forever API.
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_forever API.
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... | Causes the worker to run either forever or until the
``Worker.max_tasks`` are reached. | "Causes the worker to run either forever or until the\n ``Worker.max_tasks`` are reached." | 181 | false | toastdriven/alligator | run_forever | 11,532 | |
LDU_FT/vpelletier/pprofile/_disable | LDU_FT | [
"<BEGIN>\n## `_iterOutFiles`",
"Yields path, data, mimetype for each file involved on or produced by\n profiling.\n<END>",
"<BEGIN>\n## `asMIMEString`",
"Return a mime-multipart representation of:\n - callgrind profiling statistics (cachegrind.out.pprofile)\n - any SQL query issued via ZM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _disable API.
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 _disable API.
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... | Overload this method when subclassing. Called after actually disabling
trace. | "Overload this method when subclassing. Called after actually disabling\n trace." | 32 | false | vpelletier/pprofile | _disable | 11,533 | |
LDU_FT/openvax/varcode/is_transversion | LDU_FT | [
"<BEGIN>\n## `translate_codon`",
"Translate a single codon into a single amino acid or stop '*'",
" Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>",
"<BEGIN>\n## `translate`",
"Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_transversion API.
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 is_transversion API.
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... | Is this variant a pyrimidine to purine change or vice versa | "Is this variant a pyrimidine to purine change or vice versa" | 344 | false | openvax/varcode | is_transversion | 11,534 | |
LDU_FT/NoviceLive/pat/create | LDU_FT | [
"<BEGIN>\n## `main`",
"Customizable Lazy Exploit Pattern Utility.\n<END>",
"<BEGIN>\n## `from_chars`",
"Construct a Pat object from the specified string\n and optimal position count.\n<END>",
"<BEGIN>\n## `create`",
"Create a pattern of the specified length.\n<END>",
"<BEGIN>\n## `most_even_chunk... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a pattern of the specified length. | "Create a pattern of the specified length." | 10 | false | NoviceLive/pat | create | 11,535 | |
LDU_FT/albertz/py_better_exchook/replace_traceback_format_tb | LDU_FT | [
"<BEGIN>\n## `parse_pkg_info`",
":param str fn:\n :rtype: dict[str,str]\n<END>",
"<BEGIN>\n## `parse_py_statement`",
":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>",
"<BEGIN>\n## `grep_full_py_identifiers`",
":param typing.Iterable[(str,s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_traceback_format_tb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_traceback_format_tb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Replaces these functions from the traceback module by our own:
- traceback.format_tb
- traceback.StackSummary.format
- traceback.StackSummary.extract
Note that this kind of monkey patching might not be safe under all circumstances
and is not officially supported by Python. | "Replaces these functions from the traceback module by our own:\n\n - traceback.format_tb\n - traceback.StackSummary.format\n - traceback.StackSummary.extract\n\n Note that this kind of monkey patching might not be safe under all circumstances\n and is not officially supported by Python." | 75 | false | albertz/py_better_exchook | replace_traceback_format_tb | 11,536 | |
LDU_FT/MrYsLab/pymata-aio/_i2c_reply | LDU_FT | [
"<BEGIN>\n## `start`",
"This method opens an IP connection on the IP device",
" :return: None\n<END>",
"<BEGIN>\n## `write`",
"This method writes sends data to the IP device\n :param data:",
" :return: None\n<END>",
"<BEGIN>\n## `loop`",
"Function that gets called again as soon as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _i2c_reply API.
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 _i2c_reply API.
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... | This is a private message handler method.
It handles replies to i2c_read requests. It stores the data
for each i2c device address in a dictionary called i2c_map.
The data may be retrieved via a polling call to i2c_get_read_data().
It a callback was specified in pymata.i2c_read, the raw d... | "This is a private message handler method.\n It handles replies to i2c_read requests. It stores the data\n for each i2c device address in a dictionary called i2c_map.\n The data may be retrieved via a polling call to i2c_get_read_data().\n It a callback was specified in pymata.i2c_read, the ... | 561 | false | MrYsLab/pymata-aio | _i2c_reply | 11,537 | |
LDU_FT/fudge-py/fudge/expects_call | LDU_FT | [
"<BEGIN>\n## `fmt_val`",
"Format a value for inclusion in an \n informative text string.\n<END>",
"<BEGIN>\n## `fmt_dict_vals`",
"Returns list of key=val pairs formatted\n for inclusion in an informative text string.\n<END>",
"<BEGIN>\n## `with_patched_object`",
"Decorator that patches an object bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expects_call API.
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 expects_call API.
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... | The fake must be called.
.. doctest::
:hide:
>>> import fudge
>>> fudge.clear_expectations()
>>> fudge.clear_calls()
This is useful for when you stub out a function
as opposed to a class. For example::
>>> import fudge
... | "The fake must be called.\n\n .. doctest::\n :hide:\n\n >>> import fudge\n >>> fudge.clear_expectations()\n >>> fudge.clear_calls()\n\n This is useful for when you stub out a function\n as opposed to a class. For example::\n\n >>> import fudge... | 155 | false | fudge-py/fudge | expects_call | 11,538 | |
LDU_FT/bgreenlee/pygtail/_filehandle | LDU_FT | [
"<BEGIN>\n## `next`",
"Return the next line in the file, updating the offset.\n<END>",
"<BEGIN>\n## `read`",
"Read in all unread lines and return them as a single string.\n<END>",
"<BEGIN>\n## `_filehandle`",
"Return a filehandle to the file being tailed, with the position set\n to the current offs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filehandle API.
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 _filehandle API.
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 filehandle to the file being tailed, with the position set
to the current offset. | "Return a filehandle to the file being tailed, with the position set\n to the current offset." | 12 | false | bgreenlee/pygtail | _filehandle | 11,539 | |
LDU_FT/jstitch/MambuPy/getClientDetails | LDU_FT | [
"<BEGIN>\n## `convertDict2Attrs`",
"The trick for iterable Mambu Objects comes here:",
" You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getClientDetails API.
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 getClientDetails API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Gets the loan details for every client holder of the account.
As default, assigns the whole loan amount to each client. This
works fine for Client holders of the loan account. When Group
holders, this is perhaps not ideal, but I cannot tell.
If you inherit MambuLoan you should override... | "Gets the loan details for every client holder of the account.\n\n As default, assigns the whole loan amount to each client. This\n works fine for Client holders of the loan account. When Group\n holders, this is perhaps not ideal, but I cannot tell.\n\n If you inherit MambuLoan you should o... | 357 | false | jstitch/MambuPy | getClientDetails | 11,540 | |
LDU_FT/aiortc/aioice/candidate_priority | LDU_FT | [
"<BEGIN>\n## `create_turn_endpoint`",
"Create datagram connection relayed over TURN.\n<END>",
"<BEGIN>\n## `refresh`",
"Periodically refresh the TURN allocation.\n<END>",
"<BEGIN>\n## `request`",
"Execute a STUN transaction and return the response.\n<END>",
"<BEGIN>\n## `send_data`",
"Send data to a r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the candidate_priority 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 candidate_priority 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... | See RFC 5245 - 4.1.2.1. Recommended Formula | "See RFC 5245 - 4.1.2.1. Recommended Formula" | 61 | false | aiortc/aioice | candidate_priority | 11,541 | |
LDU_FT/SolutionsCloud/apidoc/create_from_root | LDU_FT | [
"<BEGIN>\n## `_init_config`",
"return command's configuration from call's arguments\n<END>",
"<BEGIN>\n## `_merge_files`",
"Combine the input files to a big output file\n<END>",
"<BEGIN>\n## `create_from_name_and_dictionary`",
"Return a populated object Object from dictionary datas\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_root API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_root API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return a populated Object Root from dictionnary datas | "Return a populated Object Root from dictionnary datas" | 42 | false | SolutionsCloud/apidoc | create_from_root | 11,542 | |
LDU_FT/MoseleyBioinformaticsLab/ctfile/print_file | LDU_FT | [
"<BEGIN>\n## `tokenizer`",
"A lexical analyzer for the `CTfile` formatted files.",
" :param str text: `CTfile` formatted text.\n :return: Tuples of data.\n :rtype: py:class:`~collections.namedtuple`\n<END>",
"<BEGIN>\n## `_molfile`",
"Process ``Molfile``.",
" :param stream: Queue containing li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_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 extrac... | Print representation of :class:`~ctfile.ctfile.CTfile`.
:param str file_format: Format to use: ``ctfile`` or ``json``.
:param f: Print to file or stdout.
:type f: File-like
:return: None.
:rtype: :py:obj:`None`. | "Print representation of :class:`~ctfile.ctfile.CTfile`.\n\n :param str file_format: Format to use: ``ctfile`` or ``json``.\n :param f: Print to file or stdout.\n :type f: File-like \n :return: None.\n :rtype: :py:obj:`None`." | 93 | false | MoseleyBioinformaticsLab/ctfile | print_file | 11,543 | |
LDU_FT/callowayproject/django-categories/_process_registry | LDU_FT | [
"<BEGIN>\n## `_process_registry`",
"Given a dictionary, and a registration function, process the registry\n<END>",
"<BEGIN>\n## `register_model`",
"Process for Django 1.7 +\n app: app name/label\n model_name: name of the model\n field_definitions: a string, tuple or list of field configur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_registry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_registry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Given a dictionary, and a registration function, process the registry | "Given a dictionary, and a registration function, process the registry" | 73 | false | callowayproject/django-categories | _process_registry | 11,544 | |
LDU_FT/lambdalisue/django-permission/autodiscover | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission check decorator for classbased generic view",
" This decorator works as class decorator\n DO NOT use ``method_decorator`` or whatever while this decorator will use\n ``self`` argument for method of classbased generic view.",
" Parameters\n ------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autodiscover API.
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 autodiscover API.
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... | Autodiscover INSTALLED_APPS perms.py modules and fail silently when not
present. This forces an import on them to register any permissions bits
they may want. | "Autodiscover INSTALLED_APPS perms.py modules and fail silently when not\n present. This forces an import on them to register any permissions bits\n they may want." | 147 | false | lambdalisue/django-permission | autodiscover | 11,545 | |
LDU_FT/myth/pepper8/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Reads all lines from the current data source and yields each FileResult objects\n<END>",
"<BEGIN>\n## `analyze`",
"Analyzes the parsed results from Flake8 or PEP 8 output and creates FileResult instances\n :param output_file: If specified, output will be written to this file ins... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Reads all lines from the current data source and yields each FileResult objects | "Reads all lines from the current data source and yields each FileResult objects" | 14 | false | myth/pepper8 | parse | 11,546 | |
LDU_FT/hmartiniano/faz/create_environment | LDU_FT | [
"<BEGIN>\n## `_build_graph`",
"Produce a dependency graph based on a list\n of tasks produced by the parser.\n<END>",
"<BEGIN>\n## `expand_variables`",
"Expand variables in the task code.\n Only variables who use the $[<variable name>] format are expanded.\n Variables using the $<vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create a dictionary of variables obtained from the preamble of
the task file and the environment the program is running on. | "Create a dictionary of variables obtained from the preamble of\n the task file and the environment the program is running on." | 20 | false | hmartiniano/faz | create_environment | 11,547 | |
LDU_FT/hamperbot/hamper/message | LDU_FT | [
"<BEGIN>\n## `signedOn`",
"Called after successfully signing on to the server.\n<END>",
"<BEGIN>\n## `process_action`",
"Called when a message is received from a channel or user.\n<END>",
"<BEGIN>\n## `connectionLost`",
"Called when the connection is lost to the server.\n<END>",
"<BEGIN>\n## `userKicked... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Check for strings ending with 2 or more '-' or '+' | "Check for strings ending with 2 or more '-' or '+'" | 35 | false | hamperbot/hamper | message | 11,548 | |
LDU_FT/pip-services3-python/pip-services3-components-python/configure | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures component by passing configuration parameters.",
" :param config: configuration parameters to be set.\n<END>",
"<BEGIN>\n## `can_create`",
"Checks if this factory is able to create component by given locator.",
" This method searches for all registered ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Configures component by passing configuration parameters.
:param config: configuration parameters to be set. | "Configures component by passing configuration parameters.\n\n :param config: configuration parameters to be set." | 272 | false | pip-services3-python/pip-services3-components-python | configure | 11,549 | |
LDU_FT/slarse/clanimtk/annotate | LDU_FT | [
"<BEGIN>\n## `animate_cli`",
"Print out the animation cycle to stdout. This function is for use with\n synchronous functions and must be run in a thread.",
" Args:\n animation_ (generator): A generator that produces strings for the\n animation. Should be endless.\n step (float): Secon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annotate API.
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 annotate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | A decorator meant for decorating functions that are decorated with the
`animate` decorator. It prints a message to stdout before and/or after the
function has finished.
.. DANGER::
This decorator can also be used standalone, but you should NOT decorate a
function that is decorated with `an... | "A decorator meant for decorating functions that are decorated with the\n `animate` decorator. It prints a message to stdout before and/or after the\n function has finished.\n\n .. DANGER::\n\n This decorator can also be used standalone, but you should NOT decorate a\n function that is decorated ... | 48 | false | slarse/clanimtk | annotate | 11,550 | |
LDU_FT/sony/nnabla/pruned_affine | LDU_FT | [
"<BEGIN>\n## `convert`",
"All functions are replaced with the same `new` function.",
" Args:\n vroot (:obj:`Variable`): NNabla Variable\n entry_variables (:obj:`Variable`): Entry variable from which the conversion starts.\n<END>",
"<BEGIN>\n## `convert`",
"All functions are repl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pruned_affine API.
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 pruned_affine API.
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... | Pruned Affine.
Pruned Affine is the affine function,
except the definition of the inner product is modified.
The input-output relation of this function is as follows:
.. math::
y_j = \sum_{i} Q(w_{ji}) x_i,
where :math:`Q(w_{ji})` is the pruning function, i.e., `F.prune`.
.. note:... | "Pruned Affine.\n\n Pruned Affine is the affine function, \n except the definition of the inner product is modified.\n The input-output relation of this function is as follows:\n\n .. math::\n\n y_j = \\sum_{i} Q(w_{ji}) x_i, \n\n where :math:`Q(w_{ji})` is the pruning function, i.e., `F.prune`.\n... | 870 | false | sony/nnabla | pruned_affine | 11,551 | |
LDU_FT/nosegae/NoseGAE/_init_stub | LDU_FT | [
"<BEGIN>\n## `_init_taskqueue_stub`",
"Initializes the taskqueue stub using nosegae config magic\n<END>",
"<BEGIN>\n## `_init_datastore_v3_stub`",
"Initializes the datastore stub using nosegae config magic\n<END>",
"<BEGIN>\n## `_init_user_stub`",
"Initializes the user stub using nosegae config magic\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_stub API.
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 _init_stub API.
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... | Initializes all other stubs for consistency's sake | "Initializes all other stubs for consistency's sake" | 25 | false | nosegae/NoseGAE | _init_stub | 11,552 | |
LDU_FT/insightindustry/validator-collection/is_string | LDU_FT | [
"<BEGIN>\n## `disable_on_env`",
"Disable the ``func`` called if its name is present in ``VALIDATORS_DISABLED``.",
" :param func: The function/validator to be disabled.\n :type func: callable",
" :returns: If disabled, the ``value`` (first positional argument) passed to\n ``func``. If enabled, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_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 is_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... | Indicate whether ``value`` is a string.
:param value: The value to evaluate.
:param coerce_value: If ``True``, will check whether ``value`` can be coerced
to a string if it is not already. Defaults to ``False``.
:type coerce_value: :class:`bool <python:bool>`
:param minimum_length: If supplied,... | "Indicate whether ``value`` is a string.\n\n :param value: The value to evaluate.\n\n :param coerce_value: If ``True``, will check whether ``value`` can be coerced\n to a string if it is not already. Defaults to ``False``.\n :type coerce_value: :class:`bool <python:bool>`\n\n :param minimum_length: If ... | 599 | false | insightindustry/validator-collection | is_string | 11,553 | |
LDU_FT/openstack/hacking/hacking_docstring_multiline_start | LDU_FT | [
"<BEGIN>\n## `hacking_todo_format`",
"Check for 'TODO()'.",
" OpenStack HACKING guide recommendation for TODO:\n Include your name with TODOs as in \"# TODO(termie)\"",
" Okay: # TODO(sdague)\n H101: # TODO fail\n H101: # TODO\n H101: # TODO (jogo) fail\n Okay: TODO = 5\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hacking_docstring_multiline_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hacking_docstring_multiline_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | r"""Check multi line docstring starts immediately with summary.
OpenStack HACKING guide recommendation for docstring:
Docstring should start with a one-line summary, less than 80 characters.
Okay: '''foobar\n\nfoo\nbar\n'''
Okay: def foo():\n a = '''\nnot\na docstring\n'''
H404: def foo():\n ... | "r\"\"\"Check multi line docstring starts immediately with summary.\n\n OpenStack HACKING guide recommendation for docstring:\n Docstring should start with a one-line summary, less than 80 characters.\n\n Okay: '''foobar\\n\\nfoo\\nbar\\n'''\n Okay: def foo():\\n a = '''\\nnot\\na docstring\\n'''\n H4... | 114 | false | openstack/hacking | hacking_docstring_multiline_start | 11,554 | |
LDU_FT/kimvais/ike/init_recv | LDU_FT | [
"<BEGIN>\n## `init_send`",
"Generates the first (IKE_INIT) packet for Initiator",
" :return: bytes() containing a valid IKE_INIT packet\n<END>",
"<BEGIN>\n## `auth_send`",
"Generates the second (IKE_AUTH) packet for Initiator",
" :return: bytes() containing a valid IKE_INIT packet\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_recv API.
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 init_recv API.
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... | Parses the IKE_INIT response packet received from Responder.
Assigns the correct values of rSPI and Nr
Calculates Diffie-Hellman exchange and assigns all keys to self. | "Parses the IKE_INIT response packet received from Responder.\n\n Assigns the correct values of rSPI and Nr\n Calculates Diffie-Hellman exchange and assigns all keys to self." | 29 | false | kimvais/ike | init_recv | 11,555 | |
LDU_FT/mitodl/PyLmod/get_sections | LDU_FT | [
"<BEGIN>\n## `unravel_sections`",
"Unravels section type dictionary into flat list of sections with\n section type set as an attribute.",
" Args:\n section_data(dict): Data return from py:method::get_sections",
" Returns:\n list: Flat list of sections with ``sectionT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sections API.
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 sections for a gradebook.
Return a dictionary of types of sections containing a list of that
type for a given gradebook. Specified by a gradebookid.
If simple=True, a list of dictionaries is provided for each
section regardless of type. The dictionary only contains one
... | "Get the sections for a gradebook.\n\n Return a dictionary of types of sections containing a list of that\n type for a given gradebook. Specified by a gradebookid.\n\n If simple=True, a list of dictionaries is provided for each\n section regardless of type. The dictionary only contains one\... | 190 | false | mitodl/PyLmod | get_sections | 11,556 | |
LDU_FT/chrismattmann/nutch-python/load_xml_conf | LDU_FT | [
"<BEGIN>\n## `defaultCrawlId`",
"Provide a reasonable default crawl name using the user name and date\n<END>",
"<BEGIN>\n## `call`",
"Call the Nutch Server, do some error checking, and return the response.",
" :param verb: One of nutch.RequestVerbs\n :param servicePath: path component of URL t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_xml_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_xml_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 ext... | Creates a new config from xml file.
:param xml_file: path to xml file. Format : nutch-site.xml or nutch-default.xml
:param id:
:return: config object | "Creates a new config from xml file.\n :param xml_file: path to xml file. Format : nutch-site.xml or nutch-default.xml\n :param id:\n :return: config object" | 46 | false | chrismattmann/nutch-python | load_xml_conf | 11,557 | |
LDU_FT/release-engineering/productmd/load | LDU_FT | [
"<BEGIN>\n## `parse_nvra`",
"Parse RPM N-E:V-R.A string to a dict.",
" :param nvra: N-E:V-R.A string. This can be a file name or a file path including the '.rpm' suffix.\n :type nvra: str\n :rtype: dict, with \"name\", \"epoch\", \"version\", \"release\", and \"arch\" elements.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load data from a file.
:param f: file-like object or path to file
:type f: file or str | "Load data from a file.\n\n :param f: file-like object or path to file\n :type f: file or str" | 61 | false | release-engineering/productmd | load | 11,558 | |
LDU_FT/emdb-empiar/ahds/get_parsed_data | LDU_FT | [
"<BEGIN>\n## `detect_format`",
"Detect Amira file format (AmiraMesh or HyperSurface)",
" :param str fn: file name\n :param int format_bytes: number of bytes in which to search for the format [default: 50]\n :param bool verbose: verbose (default) or not\n :return str file_format: either ``AmiraMesh``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parsed_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parsed_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | All above functions as a single function
:param str fn: file name
:return list parsed_data: structured metadata | "All above functions as a single function\n \n :param str fn: file name\n :return list parsed_data: structured metadata" | 34 | false | emdb-empiar/ahds | get_parsed_data | 11,559 | |
LDU_FT/aws/aws-encryption-sdk-python/unpack_values | LDU_FT | [
"<BEGIN>\n## `_encryption_context_hash`",
"Generates the expected hash for the provided encryption context.",
" :param hasher: Existing hasher to use\n :type hasher: cryptography.hazmat.primitives.hashes.Hash\n :param dict encryption_context: Encryption context to hash\n :returns: Complete hash\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Helper function to unpack struct data from a stream and update the signature verifier.
:param str format_string: Struct format string
:param stream: Source data stream
:type stream: io.BytesIO
:param verifier: Signature verifier object
:type verifier: aws_encryption_sdk.internal.crypto.Verifier
... | "Helper function to unpack struct data from a stream and update the signature verifier.\n\n :param str format_string: Struct format string\n :param stream: Source data stream\n :type stream: io.BytesIO\n :param verifier: Signature verifier object\n :type verifier: aws_encryption_sdk.internal.crypto.Verif... | 364 | false | aws/aws-encryption-sdk-python | unpack_values | 11,560 | |
LDU_FT/r4fek/django-cassandra-engine/get_default_cassandra_connection | LDU_FT | [
"<BEGIN>\n## `_discover_models`",
"Return a dict containing a list of cassandra.cqlengine.Model classes\n within installed App.\n<END>",
"<BEGIN>\n## `django_table_names`",
"Returns a list of all table names that have associated cqlengine models\n and are present in settings.INSTALLED_APPS.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_cassandra_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_cassandra_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Return first default cassandra connection
:return: | "Return first default cassandra connection\n :return:" | 37 | false | r4fek/django-cassandra-engine | get_default_cassandra_connection | 11,561 | |
LDU_FT/bxlab/bx-python/transformString | LDU_FT | [
"<BEGIN>\n## `abut`",
"Like the |Stat abut command. It concatenates two lists side-by-side\nand returns the result. '2D' lists are also accomodated for either argument\n(source or addon). CAUTION: If one list is shorter, it will be repeated\nuntil it is as long as the longest list. If this behavior is not de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transformString API.
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 transformString API.
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... | Extension to scanString, to modify matching text with modified tokens that may
be returned from a parse action. To use transformString, define a grammar and
attach a parse action to it that modifies the returned token list.
Invoking transformString() on a target string will then scan f... | "Extension to scanString, to modify matching text with modified tokens that may\n be returned from a parse action. To use transformString, define a grammar and\n attach a parse action to it that modifies the returned token list.\n Invoking transformString() on a target string will then sc... | 417 | false | bxlab/bx-python | transformString | 11,562 | |
LDU_FT/costastf/locationsharinglib/fromfile | LDU_FT | [
"<BEGIN>\n## `get_shared_people`",
"Retrieves all people that share their location with this account\n<END>",
"<BEGIN>\n## `get_authenticated_person`",
"Retrieves the person associated with this account\n<END>",
"<BEGIN>\n## `get_coordinates_by_nickname`",
"Retrieves a person's coordinates by nickname\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromfile API.
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 fromfile API.
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... | Parse patch file. If successful, returns
PatchSet() object. Otherwise returns False. | "Parse patch file. If successful, returns\n PatchSet() object. Otherwise returns False." | 61 | false | costastf/locationsharinglib | fromfile | 11,563 | |
LDU_FT/gabrielfalcao/dominic/merge_into_nodeset | LDU_FT | [
"<BEGIN>\n## `api`",
"Decorator for functions and methods that are part of the external\n module API and that can throw XPathError exceptions.",
" The call stack for these exceptions can be very large, and not very\n interesting to the user. This decorator rethrows XPathErrors to\n trim the stack.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_into_nodeset 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 merge_into_nodeset 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... | Place all the nodes from the source node-set into the target
node-set, preserving document order. Both node-sets must be in
document order to begin with. | "Place all the nodes from the source node-set into the target\n node-set, preserving document order. Both node-sets must be in\n document order to begin with." | 20 | false | gabrielfalcao/dominic | merge_into_nodeset | 11,564 | |
LDU_FT/moderngl/moderngl/read_chunks | LDU_FT | [
"<BEGIN>\n## `render`",
"The render primitive (mode) must be the same as\n the input primitive of the GeometryShader.",
" Args:\n mode (int): By default :py:data:`TRIANGLES` will be used.\n vertices (int): The number of vertices to transform.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_chunks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_chunks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Read the content.
Read and concatenate the chunks of size chunk_size
using offsets calculated from start, step and stop.
Args:
chunk_size (int): The chunk size.
start (int): First offset.
step (int): Offset increment.
... | "Read the content.\n\n Read and concatenate the chunks of size chunk_size\n using offsets calculated from start, step and stop.\n\n Args:\n chunk_size (int): The chunk size.\n start (int): First offset.\n step (int): Offset increment.\n ... | 263 | false | moderngl/moderngl | read_chunks | 11,565 | |
LDU_FT/aws/sagemaker-containers/download_and_extract | LDU_FT | [
"<BEGIN>\n## `_orted_process`",
"Waits maximum of 5 minutes for orted process to start\n<END>",
"<BEGIN>\n## `_can_connect`",
"Checks if the connection to provided ``host`` and ``port`` is possible or not.\n Args:\n host (str): Hostname for the host to check connection.\n port (int):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_and_extract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_and_extract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Download, prepare and install a compressed tar file from S3 or local directory as an entry point.
SageMaker Python SDK saves the user provided entry points as compressed tar files in S3
Args:
name (str): name of the entry point.
uri (str): the location of the entry point.
path (bool): ... | "Download, prepare and install a compressed tar file from S3 or local directory as an entry point.\n\n SageMaker Python SDK saves the user provided entry points as compressed tar files in S3\n\n Args:\n name (str): name of the entry point.\n uri (str): the location of the entry point.\n path ... | 200 | false | aws/sagemaker-containers | download_and_extract | 11,566 | |
LDU_FT/coldfix/udiskie/find | LDU_FT | [
"<BEGIN>\n## `_is_parent_of`",
"Check whether the first device is the parent of the second device.\n<END>",
"<BEGIN>\n## `prune_empty_node`",
"Recursively remove empty branches and return whether this makes the node\n itself empty.",
" The ``seen`` parameter is used to avoid infinite recursion due to ... | 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... | Get a device proxy by device name or any mount path of the device.
This searches through all accessible devices and compares device
path as well as mount pathes. | "Get a device proxy by device name or any mount path of the device.\n\n This searches through all accessible devices and compares device\n path as well as mount pathes." | 228 | false | coldfix/udiskie | find | 11,567 | |
LDU_FT/dnanhkhoa/logone/redirect_stderr | LDU_FT | [
"<BEGIN>\n## `get_logger`",
"Return a logger with the specified name, creating it if necessary.\n<END>",
"<BEGIN>\n## `set_level`",
"Set the logging level of this logger.",
" :param level: must be an int or a str.\n<END>",
"<BEGIN>\n## `redirect_stdout`",
"Redirect sys.stdout to file-like object.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the redirect_stderr API.
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 redirect_stderr API.
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... | Redirect sys.stderr to file-like object. | "Redirect sys.stderr to file-like object." | 19 | false | dnanhkhoa/logone | redirect_stderr | 11,568 | |
LDU_FT/CEA-COSMIC/ModOpt/get_mr_filters | LDU_FT | [
"<BEGIN>\n## `add_args_kwargs`",
"Add Args and Kwargs",
" This wrapper adds support for additional arguments and keyword arguments to\n any callable function",
" Parameters\n ----------\n func : function\n Callable function",
" Returns\n -------\n function wrapper\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mr_filters API.
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_mr_filters API.
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... | Get mr_transform filters
This method obtains wavelet filters by calling mr_transform
Parameters
----------
data_shape : tuple
2D data shape
opt : list, optional
List of additonal mr_transform options
coarse : bool, optional
Option to keep coarse scale (default is 'False... | "Get mr_transform filters\n\n This method obtains wavelet filters by calling mr_transform\n\n Parameters\n ----------\n data_shape : tuple\n 2D data shape\n opt : list, optional\n List of additonal mr_transform options\n coarse : bool, optional\n Option to keep coarse scale (defau... | 565 | false | CEA-COSMIC/ModOpt | get_mr_filters | 11,569 | |
LDU_FT/apacha/OMR-Datasets/move_images | LDU_FT | [
"<BEGIN>\n## `move_images`",
"Moves png-files one directory up from path/image/*.png -> path/*.png\n<END>",
"<BEGIN>\n## `create_images`",
"Creates a visual representation of the Homus Dataset by parsing all text-files and the symbols as specified\n by the parameters by drawing lines that connect the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_images API.
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 move_images API.
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... | Moves png-files one directory up from path/image/*.png -> path/*.png | "Moves png-files one directory up from path/image/*.png -> path/*.png" | 53 | false | apacha/OMR-Datasets | move_images | 11,570 | |
LDU_FT/HiPERCAM/hcam_widgets/calc_riseset | LDU_FT | [
"<BEGIN>\n## `update`",
"Adds a handler to save to a file. Includes debug stuff.\n<END>",
"<BEGIN>\n## `saveJSON`",
"Saves the current setup to disk.",
" g : hcam_drivers.globals.Container\n Container with globals",
" data : dict\n The current setup in JSON compatible dictionary format.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_riseset API.
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 calc_riseset API.
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... | Time at next rise/set of ``target``.
Parameters
----------
t : `~astropy.time.Time` or other (see below)
Time of observation. This will be passed in as the first argument to
the `~astropy.time.Time` initializer, so it can be anything that
`~astropy.time.Time` will accept (including ... | "Time at next rise/set of ``target``.\n\n Parameters\n ----------\n t : `~astropy.time.Time` or other (see below)\n Time of observation. This will be passed in as the first argument to\n the `~astropy.time.Time` initializer, so it can be anything that\n `~astropy.time.Time` will accept (in... | 233 | false | HiPERCAM/hcam_widgets | calc_riseset | 11,571 | |
LDU_FT/mosdef-hub/mbuild/clone | LDU_FT | [
"<BEGIN>\n## `calc_dihedral`",
"Calculates a dihedral angle",
" Here, two planes are defined by (point1, point2, point3) and\n (point2, point3, point4). The angle between them is returned.",
" Parameters\n ----------\n point1, point2, point3, point4 : array-like, shape=(3,), dtype=float\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
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 clone API.
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... | A faster alternative to deepcopying.
Does not resolve circular dependencies. This should be safe provided
you never try to add the top of a Compound hierarchy to a
sub-Compound.
Parameters
----------
existing_compound : mb.Compound
Existing Compound that will be copied
Other Param... | "A faster alternative to deepcopying.\n\n Does not resolve circular dependencies. This should be safe provided\n you never try to add the top of a Compound hierarchy to a\n sub-Compound.\n\n Parameters\n ----------\n existing_compound : mb.Compound\n Existing Compound that will be copied\n\n ... | 463 | false | mosdef-hub/mbuild | clone | 11,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.