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/msiemens/tinydb/write_back | LDU_FT | [
"<BEGIN>\n## `table`",
"Get access to a specific table.",
" Creates a new table, if it hasn't been created before, otherwise it\n returns the cached :class:`~tinydb.Table` object.",
" :param name: The name of the table.\n :type name: str\n :param cache_size: How many query r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_back API.
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 write_back API.
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... | Write back documents by doc_id
:param documents: a list of document to write back
:param doc_ids: a list of document IDs which need to be written back
:returns: a list of document IDs that have been written | "Write back documents by doc_id\n\n :param documents: a list of document to write back\n :param doc_ids: a list of document IDs which need to be written back\n :returns: a list of document IDs that have been written" | 66 | false | msiemens/tinydb | write_back | 18,773 | |
LDU_FT/mozilla/taar/hashed_download | LDU_FT | [
"<BEGIN>\n## `flaskrun`",
"Takes a flask.Flask instance and runs it. Parses\n command-line flags to configure the app.\n<END>",
"<BEGIN>\n## `get_randomized_guid_sample`",
"Fetch a subset of randomzied GUIDs from the whitelist\n<END>",
"<BEGIN>\n## `can_recommend`",
"The Curated recommender will always... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashed_download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashed_download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Download ``url`` to ``temp``, make sure it has the SHA-256 ``digest``,
and return its path. | "Download ``url`` to ``temp``, make sure it has the SHA-256 ``digest``,\n and return its path." | 45 | false | mozilla/taar | hashed_download | 18,774 | |
LDU_FT/OpenHumans/open-humans-api/read_id_list | LDU_FT | [
"<BEGIN>\n## `guess_tags`",
"Function to get potential tags for files using the file names.",
" :param filename: This field is the name of file.\n<END>",
"<BEGIN>\n## `characterize_local_files`",
"Collate local file info as preperation for Open Humans upload.",
" Note: Files with filesize > max_byte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_id_list API.
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 read_id_list API.
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 project member id from a file.
:param filepath: This field is the path of file to read. | "Get project member id from a file.\n\n :param filepath: This field is the path of file to read." | 162 | false | OpenHumans/open-humans-api | read_id_list | 18,775 | |
LDU_FT/eventbrite/eventbrite-sdk-python/post_event_display_settings | LDU_FT | [
"<BEGIN>\n## `objectify`",
"Converts the returned value from a models.Payload to\n a models.EventbriteObject. Used by the access methods\n of the client.Eventbrite object\n<END>",
"<BEGIN>\n## `get_category`",
"GET /categories/:id/\n Gets a :format:`category` by ID as ``category``.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_event_display_settings 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 post_event_display_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | POST /events/:id/display_settings/
Updates the display settings for an event. | "POST /events/:id/display_settings/\n Updates the display settings for an event." | 194 | false | eventbrite/eventbrite-sdk-python | post_event_display_settings | 18,776 | |
LDU_FT/zsimic/runez/set_dryrun | LDU_FT | [
"<BEGIN>\n## `same_type`",
":return bool: True if 't1' and 't2' are of equivalent types\n<END>",
"<BEGIN>\n## `read_json`",
":param str|None path: Path to file to deserialize\n :param dict|list|None default: Default if file is not present, or if it's not json\n :param bool|None fatal: Abort execution on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_dryrun API.
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 set_dryrun API.
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... | :param bool dryrun: New value for runez.DRYRUN
:return bool: Old value | ":param bool dryrun: New value for runez.DRYRUN\n :return bool: Old value" | 256 | false | zsimic/runez | set_dryrun | 18,777 | |
LDU_FT/michaelpb/omnic/get_all_paths_from | LDU_FT | [
"<BEGIN>\n## `use_settings`",
"Context manager to temporarily override settings\n<END>",
"<BEGIN>\n## `parse_string`",
"Parses a foreign resource URL into the URL string itself and any\n relevant args and kwargs\n<END>",
"<BEGIN>\n## `apply_command_list_template`",
"Perform necessary substitutions ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_paths_from API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_paths_from API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return a list of all paths to all nodes from a given start node | "Return a list of all paths to all nodes from a given start node" | 111 | false | michaelpb/omnic | get_all_paths_from | 18,778 | |
LDU_FT/sdss/sdss_access/platedir | LDU_FT | [
"<BEGIN>\n## `remote`",
"Configures remote access",
" Parameters\n ----------\n remote_base : str\n base URL path for remote repository\n username : str\n user name for remote repository\n password : str\n password for local repository\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the platedir API.
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 platedir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns plate subdirectory in :envvar:`PLATELIST_DIR` of the form: ``NNNNXX/NNNNNN``.
Parameters
----------
filetype : str
File type parameter.
plateid : int or str
Plate ID number. Will be converted to int internally.
Returns
-------
pl... | "Returns plate subdirectory in :envvar:`PLATELIST_DIR` of the form: ``NNNNXX/NNNNNN``.\n\n Parameters\n ----------\n filetype : str\n File type parameter.\n plateid : int or str\n Plate ID number. Will be converted to int internally.\n\n Returns\n -------... | 121 | false | sdss/sdss_access | platedir | 18,779 | |
LDU_FT/pybel/pybel/query_edges | LDU_FT | [
"<BEGIN>\n## `postpend_location`",
"Rip off the closing parentheses and adds canonicalized modification.",
" I did this because writing a whole new parsing model for the data would be sad and difficult",
" :param bel_string: BEL string representing node\n :param dict location_model: A dictionary cont... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_edges API.
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 query_edges API.
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 query over the edges in the database.
Usually this means that you should call ``list()`` or ``.all()`` on this result.
:param bel: BEL statement that represents the desired edge.
:param source_function: Filter source nodes with the given BEL function
:param source: BEL term of... | "Return a query over the edges in the database.\n\n Usually this means that you should call ``list()`` or ``.all()`` on this result.\n\n :param bel: BEL statement that represents the desired edge.\n :param source_function: Filter source nodes with the given BEL function\n :param source: BEL ... | 1,164 | true | pybel/pybel | query_edges | 18,780 | |
LDU_FT/sarugaku/mork/run | LDU_FT | [
"<BEGIN>\n## `from_project_path`",
"Utility for finding a virtualenv location based on a project path\n<END>",
"<BEGIN>\n## `get_sys_path`",
"Get the :data:`sys.path` data for a given python executable.",
" :param str python_path: Path to a specific python executable.\n :return: The system pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run a command with :class:`~subprocess.Popen` in the context of the virtualenv
:param cmd: A command to run in the virtual environment
:type cmd: str or list
:param str cwd: The working directory in which to execute the command, defaults to :data:`os.curdir`
:return: A finished command ... | "Run a command with :class:`~subprocess.Popen` in the context of the virtualenv\n\n :param cmd: A command to run in the virtual environment\n :type cmd: str or list\n :param str cwd: The working directory in which to execute the command, defaults to :data:`os.curdir`\n :return: A finished co... | 29 | false | sarugaku/mork | run | 18,781 | |
LDU_FT/common-workflow-language/workflow-service/cancel | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Determines the version of a .py, .wdl, or .cwl file.\n<END>",
"<BEGIN>\n## `wf_info`",
"Returns the version of the file and the file extension.",
" Assumes that the file path is to the file directly ie, ends with a valid file extension.Supports checking local\n files as w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API.
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 cancel API.
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 ... | Cancel a running workflow.
:param run_id: String (typically a uuid) identifying the run.
:param str auth: String to send in the auth header.
:param proto: Schema where the server resides (http, https)
:param host: Port where the post request will be sent and the wes server listens at (d... | "Cancel a running workflow.\n\n :param run_id: String (typically a uuid) identifying the run.\n :param str auth: String to send in the auth header.\n :param proto: Schema where the server resides (http, https)\n :param host: Port where the post request will be sent and the wes server listens... | 53 | false | common-workflow-language/workflow-service | cancel | 18,782 | |
LDU_FT/codeforamerica/epa_python/sludge | LDU_FT | [
"<BEGIN>\n## `admin_penalty`",
"An enforcement action that results in levying the permit holder with a\n penalty or fine. It is used to track judicial hearing dates, penalty\n amounts, and type of administrative penalty order.",
" >>> PCS().admin_penalty('enfor_action_date', '16-MAR-01')\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sludge API.
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 sludge API.
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 ... | Sludge information describes the volumn of sludge produced at a
facility, identification information on a sludge handler, and
classification/permitting information on a facility that handles
sludge, such as a pretreatment POTW.
>>> PCS().sludge('county_name', 'San Francisco') | "Sludge information describes the volumn of sludge produced at a\n facility, identification information on a sludge handler, and\n classification/permitting information on a facility that handles\n sludge, such as a pretreatment POTW.\n\n >>> PCS().sludge('county_name', 'San Francisco')" | 114 | false | codeforamerica/epa_python | sludge | 18,783 | |
LDU_FT/spotify/ulogger/get_handler | LDU_FT | [
"<BEGIN>\n## `get_handler`",
"Helper function to create a Stackdriver handler.",
" See `ulogger.stackdriver.CloudLoggingHandlerBuilder` for arguments\n and supported keyword arguments.",
" Returns:\n (obj): Instance of `google.cloud.logging.handlers.\n CloudLoggingHa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_handler API.
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... | Create a fully configured CloudLoggingHandler.
Returns:
(obj): Instance of `google.cloud.logging.handlers.
CloudLoggingHandler` | "Create a fully configured CloudLoggingHandler.\n\n Returns:\n (obj): Instance of `google.cloud.logging.handlers.\n CloudLoggingHandler`" | 37 | false | spotify/ulogger | get_handler | 18,784 | |
LDU_FT/sixty-north/added-value/validate_level_indexes | LDU_FT | [
"<BEGIN>\n## `make_repr_node`",
"Render a Python object to text using the repr() function.",
" :param rawtext: Text being replaced with link node.\n :param app: Sphinx application context\n :param prefixed_name: The dotted Python name for obj.\n :param obj: The Python object to be rendered to text.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_level_indexes 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 validate_level_indexes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Ensure that v_level_indexes and h_level_indexes are consistent.
Args:
num_levels: The number of levels of keys in the data structure being tabulated.
v_level_indexes: A sequence of level indexes between zero and num_levels for
the vertical axis, or None.
h_level_indexes: A seque... | "Ensure that v_level_indexes and h_level_indexes are consistent.\n\n Args:\n num_levels: The number of levels of keys in the data structure being tabulated.\n v_level_indexes: A sequence of level indexes between zero and num_levels for\n the vertical axis, or None.\n h_level_indexes: ... | 66 | false | sixty-north/added-value | validate_level_indexes | 18,785 | |
LDU_FT/larryng/narwal/comments | LDU_FT | [
"<BEGIN>\n## `get`",
"Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comments API.
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 comments API.
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 user's comments. Calls :meth:`narwal.Reddit.user_comments`.
:param limit: max number of comments to get | "GETs user's comments. Calls :meth:`narwal.Reddit.user_comments`.\n \n :param limit: max number of comments to get" | 147 | false | larryng/narwal | comments | 18,786 | |
LDU_FT/kislyuk/ensure/is_an_iterable_of | LDU_FT | [
"<BEGIN>\n## `ensure_annotations`",
"Decorator to be used on functions with annotations. Runs type checks to enforce annotations. Raises\n :class:`EnsureError` if any argument passed to *f* is not of the type specified by the annotation. Also raises\n :class:`EnsureError` if the return value of *f* is not o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_an_iterable_of API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_an_iterable_of API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Ensures :attr:`subject` is an iterable containing only objects of class *prototype*. | "Ensures :attr:`subject` is an iterable containing only objects of class *prototype*." | 81 | false | kislyuk/ensure | is_an_iterable_of | 18,787 | |
LDU_FT/KrishnaswamyLab/graphtools/build_kernel | LDU_FT | [
"<BEGIN>\n## `set_params`",
"Set parameters on this object",
" Safe setter method - attributes should not be modified directly as some\n changes are not valid.\n Valid parameters:\n - n_jobs\n - random_state\n - verbose\n Invalid parameters: (these would require ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_kernel API.
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 build_kernel API.
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... | Build the KNN kernel.
Build a k nearest neighbors kernel, optionally with alpha decay.
Must return a symmetric matrix
Returns
-------
K : kernel matrix, shape=[n_samples, n_samples]
symmetric matrix with ones down the diagonal
with no non-negative entrie... | "Build the KNN kernel.\n\n Build a k nearest neighbors kernel, optionally with alpha decay.\n Must return a symmetric matrix\n\n Returns\n -------\n K : kernel matrix, shape=[n_samples, n_samples]\n symmetric matrix with ones down the diagonal\n with no non-negat... | 207 | false | KrishnaswamyLab/graphtools | build_kernel | 18,788 | |
LDU_FT/HumanCellAtlas/dcp-cli/_download_to_filestore | LDU_FT | [
"<BEGIN>\n## `get_checksum_metadata_tag`",
"Returns a map of checksum values by the name of the hashing function that produced it.\n<END>",
"<BEGIN>\n## `get_credentials`",
"Return a set of credentials that may be used to access the Upload Area folder in the S3 bucket\n :return: a dict containing AWS c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_to_filestore 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_to_filestore API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Attempt to download the data and save it in the 'filestore' location dictated by self._file_path() | "Attempt to download the data and save it in the 'filestore' location dictated by self._file_path()" | 140 | false | HumanCellAtlas/dcp-cli | _download_to_filestore | 18,789 | |
LDU_FT/imjoey/pyhaproxy/build_userlist | LDU_FT | [
"<BEGIN>\n## `build_configuration`",
"Parse the haproxy config file",
" Raises:\n Exception: when there are unsupported section",
" Returns:\n config.Configuration: haproxy config object\n<END>",
"<BEGIN>\n## `build_global`",
"parse `global` section, and return the conf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_userlist API.
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 build_userlist API.
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... | parse `userlist` sections, and return a config.Userlist | "parse `userlist` sections, and return a config.Userlist" | 35 | false | imjoey/pyhaproxy | build_userlist | 18,790 | |
LDU_FT/eddyxu/cpp-coveralls/filter_dirs | LDU_FT | [
"<BEGIN>\n## `is_source_file`",
"Returns true if it is a C++ source file.\n<END>",
"<BEGIN>\n## `exclude_paths`",
"Returns the absolute paths for excluded path.\n<END>",
"<BEGIN>\n## `is_excluded_path`",
"Returns true if the filepath is under the one of the exclude path.\n<END>",
"<BEGIN>\n## `filter_di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_dirs API.
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 filter_dirs API.
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... | Filter directory paths based on the exclusion rules defined in
'excl_paths'. | "Filter directory paths based on the exclusion rules defined in\n 'excl_paths'." | 18 | false | eddyxu/cpp-coveralls | filter_dirs | 18,791 | |
LDU_FT/pescadores/pescador/_new_stream | LDU_FT | [
"<BEGIN>\n## `setup_data`",
"Load and shape data for training with Keras + Pescador.",
" Returns\n -------\n input_shape : tuple, len=3\n Shape of each sample; adapts to channel configuration of Keras.",
" X_train, y_train : np.ndarrays\n Images and labels for training.",
" X_te... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _new_stream API.
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 _new_stream API.
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... | Grab the next stream from the input streamers, and start it.
Raises
------
StopIteration
When the input list or generator of streamers is complete,
will raise a StopIteration. If `mode == cycle`, it
will instead restart iterating from the beginning of the seq... | "Grab the next stream from the input streamers, and start it.\n\n Raises\n ------\n StopIteration\n When the input list or generator of streamers is complete,\n will raise a StopIteration. If `mode == cycle`, it\n will instead restart iterating from the beginning of... | 103 | false | pescadores/pescador | _new_stream | 18,792 | |
LDU_FT/pylover/khayyam/replace | LDU_FT | [
"<BEGIN>\n## `strptime`",
"This is opposite of the :py:meth:`khayyam.JalaliDate.strftime`,\n and used to parse date strings into date object.",
" `ValueError` is raised if the date_string and format can’t be\n parsed by time.strptime() or if it returns a value which isn’t a time tuple. For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
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 replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a :py:class:`khayyam.JalaliDatetime` instance with the same attributes, except for those attributes
given new values by whichever keyword arguments are specified. Note that tzinfo=None can be specified to create
a naive datetime from an aware datetime with no conversion of date and time data, wit... | "Return a :py:class:`khayyam.JalaliDatetime` instance with the same attributes, except for those attributes\n given new values by whichever keyword arguments are specified. Note that tzinfo=None can be specified to create\n a naive datetime from an aware datetime with no conversion of date and time data, ... | 54 | false | pylover/khayyam | replace | 18,793 | |
LDU_FT/akesterson/dpath-python/paths | LDU_FT | [
"<BEGIN>\n## `path_types`",
"Given a list of path name elements, return anew list of [name, type] path components, given the reference object.\n<END>",
"<BEGIN>\n## `validate`",
"Validate that all the keys in the given list of path components are valid, given that they do not contain the separator, and match ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Yield all paths of the object.
Arguments:
obj -- An object to get paths from.
Keyword Arguments:
dirs -- Yield intermediate paths.
leaves -- Yield the paths with leaf objects.
path -- A list of keys representing the path.
skip -- Skip special keys beginning with '+'. | "Yield all paths of the object.\n\n Arguments:\n\n obj -- An object to get paths from.\n\n Keyword Arguments:\n\n dirs -- Yield intermediate paths.\n leaves -- Yield the paths with leaf objects.\n path -- A list of keys representing the path.\n skip -- Skip special keys beginning with '+'." | 44 | false | akesterson/dpath-python | paths | 18,794 | |
LDU_FT/hughsie/python-appstream/get_provides_by_kind | LDU_FT | [
"<BEGIN>\n## `add_release`",
"Add a release object if it does not already exist\n<END>",
"<BEGIN>\n## `add_review`",
"Add a release object if it does not already exist\n<END>",
"<BEGIN>\n## `add_screenshot`",
"Add a screenshot object if it does not already exist\n<END>",
"<BEGIN>\n## `add_provide`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_provides_by_kind 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_provides_by_kind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns an array of provides of a certain kind | "Returns an array of provides of a certain kind" | 18 | false | hughsie/python-appstream | get_provides_by_kind | 18,795 | |
LDU_FT/aodag/WebDispatch/convert_values | LDU_FT | [
"<BEGIN>\n## `make_urldispatch_application`",
"paste.app_factory interface for URLDispatcher\n<END>",
"<BEGIN>\n## `generate`",
"generate url for named url pattern with kwargs\n<END>",
"<BEGIN>\n## `generate`",
"generate full qualified url for named url pattern with kwargs\n<END>",
"<BEGIN>\n## `add_url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_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 ex... | convert values of ``matchdict``
with converter this object has. | "convert values of ``matchdict``\n with converter this object has." | 24 | false | aodag/WebDispatch | convert_values | 18,796 | |
LDU_FT/idlesign/uwsgiconf/set_file_params | LDU_FT | [
"<BEGIN>\n## `set_exit_events`",
"Do exit on certain events",
" :param bool no_workers: Shutdown uWSGI when no workers are running.",
" :param bool idle: Shutdown uWSGI when idle.",
" :param bool reload: Force exit even if a reload is requested.",
" :param bool sig_term: Exit o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_file_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_file_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Set various parameters related to file logging.
:param bool reopen_on_reload: Reopen log after reload.
:param bool trucate_on_statup: Truncate log on startup.
:param int max_size: Set maximum logfile size in bytes after which log should be rotated.
:param str|unicode rotation_fname: ... | "Set various parameters related to file logging.\n\n :param bool reopen_on_reload: Reopen log after reload.\n\n :param bool trucate_on_statup: Truncate log on startup.\n\n :param int max_size: Set maximum logfile size in bytes after which log should be rotated.\n\n :param str|unicode rotatio... | 1,094 | true | idlesign/uwsgiconf | set_file_params | 18,797 | |
LDU_FT/srsudar/eg/get_egrc_config | LDU_FT | [
"<BEGIN>\n## `inform_if_paths_invalid`",
"If egrc_path, examples_dir, or custom_dir is truthy and debug is True,\n informs the user that a path is not set.",
" This should be used to verify input arguments from the command line.\n<END>",
"<BEGIN>\n## `get_egrc_config`",
"Return a Config namedtuple bas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_egrc_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_egrc_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return a Config namedtuple based on the contents of the egrc.
If the egrc is not present, it returns an empty default Config.
This method tries to use the egrc at cli_egrc_path, then the default path.
cli_egrc_path: the path to the egrc as given on the command line via
--config-file | "Return a Config namedtuple based on the contents of the egrc.\n\n If the egrc is not present, it returns an empty default Config.\n\n This method tries to use the egrc at cli_egrc_path, then the default path.\n\n cli_egrc_path: the path to the egrc as given on the command line via\n --config-file" | 77 | false | srsudar/eg | get_egrc_config | 18,798 | |
LDU_FT/caseman/noise/enable | LDU_FT | [
"<BEGIN>\n## `create_3d_texture`",
"Create a grayscale 3d texture map with the specified \n\tpixel width on each side and load it into the current texture\n\tunit. The luminace of each texel is derived using the input \n\tfunction as:",
"\tv = func(x * scale, y * scale, z * scale)",
"\twhere x, y, z = 0 in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable API.
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 enable API.
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 ... | Convenience method to enable 3D texturing state so the texture may be used by the
ffpnoise shader function | "Convenience method to enable 3D texturing state so the texture may be used by the \n\t\tffpnoise shader function" | 20 | false | caseman/noise | enable | 18,799 | |
LDU_FT/Shizmob/pydle/parse | LDU_FT | [
"<BEGIN>\n## `on_ctcp_version`",
"Built-in CTCP version as some networks seem to require it.\n<END>",
"<BEGIN>\n## `on_raw_privmsg`",
"Modify PRIVMSG to redirect CTCP messages.\n<END>",
"<BEGIN>\n## `on_raw_notice`",
"Modify NOTICE to redirect CTCP messages.\n<END>",
"<BEGIN>\n## `_register`",
"Hijack... | 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... | Parse given line into IRC message structure.
Returns a TaggedMessage. | "Parse given line into IRC message structure.\n Returns a TaggedMessage." | 96 | false | Shizmob/pydle | parse | 18,800 | |
LDU_FT/edoburu/django-template-analyzer/_extend_nodelist | LDU_FT | [
"<BEGIN>\n## `_is_variable_extends`",
"Check whether an ``{% extends variable %}`` is used in the template.",
" :type extend_node: ExtendsNode\n<END>",
"<BEGIN>\n## `_extend_blocks`",
"Extends the dictionary `blocks` with *new* blocks in the parent node (recursive)",
" :param extend_node: The ``{% e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extend_nodelist API.
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 _extend_nodelist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a list of results found in the parent template(s)
:type extends_node: ExtendsNode | "Returns a list of results found in the parent template(s)\n :type extends_node: ExtendsNode" | 15 | false | edoburu/django-template-analyzer | _extend_nodelist | 18,801 | |
LDU_FT/72squared/redpipe/encode | LDU_FT | [
"<BEGIN>\n## `connect_redis`",
"Connect your redis-py instance to redpipe.",
" Example:",
" .. code:: python",
" redpipe.connect_redis(redis.StrictRedis(), name='users')",
" Do this during your application bootstrapping.",
" You can also pass a redis-py-cluster instance to this method... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
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 encode API.
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 ... | take a valid unicode string and turn it into utf-8 bytes
:param value: unicode, str
:return: bytes | "take a valid unicode string and turn it into utf-8 bytes\n\n :param value: unicode, str\n :return: bytes" | 376 | false | 72squared/redpipe | encode | 18,802 | |
LDU_FT/classam/silly/plural | LDU_FT | [
"<BEGIN>\n## `_slugify`",
"This is not as good as a proper slugification function, but the input space is limited",
" >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'",
" Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plural API.
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 plural API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a plural noun.
>>> mock_random.seed(0)
>>> plural(random=mock_random)
'onions'
>>> plural(random=mock_random, capitalize=True)
'Chimps'
>>> plural(random=mock_random, slugify=True)
'blisters' | "Return a plural noun.\n\n >>> mock_random.seed(0)\n >>> plural(random=mock_random)\n 'onions'\n >>> plural(random=mock_random, capitalize=True)\n 'Chimps'\n >>> plural(random=mock_random, slugify=True)\n 'blisters'" | 80 | false | classam/silly | plural | 18,803 | |
LDU_FT/blockstack-packages/jsontokens-py/_verify_multi | LDU_FT | [
"<BEGIN>\n## `_unpack_token_compact`",
"Unpack a compact-form serialized JWT.\n Returns (header, payload, signature, signing_input) on success\n Raises DecodeError on bad input\n<END>",
"<BEGIN>\n## `_unpack_token_json`",
"Unpack a JSON-serialized JWT\n Returns (headers, payload, signatures) on succe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_multi API.
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 _verify_multi API.
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... | Verify a JSON-formatted JWT signed by multiple keys is authentic.
Optionally set a threshold of required valid signatures with num_required.
Return True if valid
Return False if not
TODO: support multiple types of keys | "Verify a JSON-formatted JWT signed by multiple keys is authentic.\n Optionally set a threshold of required valid signatures with num_required.\n Return True if valid\n Return False if not\n\n TODO: support multiple types of keys" | 32 | false | blockstack-packages/jsontokens-py | _verify_multi | 18,804 | |
LDU_FT/alimanfoo/vcfnp/_variants_fills | LDU_FT | [
"<BEGIN>\n## `eff_default_transformer`",
"Return a simple transformer function for parsing EFF annotations. N.B.,\n ignores all but the first effect.\n<END>",
"<BEGIN>\n## `ann_default_transformer`",
"Return a simple transformer function for parsing ANN annotations. N.B.,\n ignores all but the first eff... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _variants_fills API.
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 _variants_fills API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Utility function to determine fill values for variants fields with
missing values. | "Utility function to determine fill values for variants fields with\n missing values." | 67 | false | alimanfoo/vcfnp | _variants_fills | 18,805 | |
LDU_FT/tomprince/txgithub/getStatuses | LDU_FT | [
"<BEGIN>\n## `getEvents`",
"Get all repository events, following paging, until the end\n or until UNTIL_ID is seen. Returns a Deferred.\n<END>",
"<BEGIN>\n## `getHook`",
"GET /repos/:owner/:repo/hooks/:id",
" Returns the Hook.\n<END>",
"<BEGIN>\n## `editHook`",
"PATCH /repos/:owner/:repo/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStatuses API.
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 getStatuses API.
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... | :param sha: Full sha to list the statuses from.
:return: A defered with the result from GitHub. | ":param sha: Full sha to list the statuses from.\n :return: A defered with the result from GitHub." | 37 | false | tomprince/txgithub | getStatuses | 18,806 | |
LDU_FT/VikParuchuri/percept/save | LDU_FT | [
"<BEGIN>\n## `train`",
"Calculate the standard deviations and means in the training data\n<END>",
"<BEGIN>\n## `predict`",
"Adjust new input by the values in the training data\n<END>",
"<BEGIN>\n## `save`",
"Save an object, and use id_code in the filename\n obj - any object\n id_code - uniqu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Save a workflow
obj - instance of a workflow to save
run_id - unique id to give the run | "Save a workflow\n obj - instance of a workflow to save\n run_id - unique id to give the run" | 72 | false | VikParuchuri/percept | save | 18,807 | |
LDU_FT/napalm-automation/napalm-logs/_compile_prefixes | LDU_FT | [
"<BEGIN>\n## `_setup_ipc`",
"Setup the IPC pub and sub.\n Subscript to the listener IPC\n and publish to the device specific IPC.\n<END>",
"<BEGIN>\n## `_compile_prefixes`",
"Create a dict of all OS prefixes and their compiled regexs\n<END>",
"<BEGIN>\n## `_identify_prefix`",
"Check the mess... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compile_prefixes API.
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 _compile_prefixes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create a dict of all OS prefixes and their compiled regexs | "Create a dict of all OS prefixes and their compiled regexs" | 82 | false | napalm-automation/napalm-logs | _compile_prefixes | 18,808 | |
LDU_FT/Aluriak/bubble-tools/set_from_tree | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_from_tree API.
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 set_from_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return a recursive structure describing given tree | "Return a recursive structure describing given tree" | 88 | false | Aluriak/bubble-tools | set_from_tree | 18,809 | |
LDU_FT/litl/rauth/_get_auth_header | LDU_FT | [
"<BEGIN>\n## `request`",
"A loose wrapper around Requests' :class:`~requests.sessions.Session`\n which injects OAuth 1.0/a parameters.",
" :param method: A string representation of the HTTP method to be used.\n :type method: str\n :param url: The resource to be requested.\n :t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_auth_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_auth_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Constructs and returns an authentication header. | "Constructs and returns an authentication header." | 79 | false | litl/rauth | _get_auth_header | 18,810 | |
LDU_FT/batiste/django-page-cms/get_fieldsets | LDU_FT | [
"<BEGIN>\n## `register_widget`",
"Register the given widget as a candidate to use in placeholder.\n<END>",
"<BEGIN>\n## `get_widget`",
"Give back a widget class according to his name.\n<END>",
"<BEGIN>\n## `save_model`",
"Move the page in the tree if necessary and save every\n placeholder :class:`C... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fieldsets API.
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_fieldsets API.
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... | Add fieldsets of placeholders to the list of already
existing fieldsets. | "Add fieldsets of placeholders to the list of already\n existing fieldsets." | 218 | false | batiste/django-page-cms | get_fieldsets | 18,811 | |
LDU_FT/20c/xbahn/engineer_list_commands | LDU_FT | [
"<BEGIN>\n## `disconnect`",
"Close all connections that are set on this wire\n<END>",
"<BEGIN>\n## `send_and_wait`",
"Send a message and block until a response is received. Return response message\n<END>",
"<BEGIN>\n## `wire`",
"Wires the link to a connection. Can be called multiple\n times to set ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the engineer_list_commands 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 engineer_list_commands API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns a list of all api end points (commands) exposed
to engineer | "Returns a list of all api end points (commands) exposed\n to engineer" | 119 | false | 20c/xbahn | engineer_list_commands | 18,812 | |
LDU_FT/fulfilio/fulfil-python-api/limit | LDU_FT | [
"<BEGIN>\n## `refresh_context`",
"Get the default context of the user and save it\n<END>",
"<BEGIN>\n## `login`",
"Attempts a login to the remote server\n and on success returns user id and session\n or None",
" Warning: Do not depend on this. This will be deprecated\n with SSO."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limit API.
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 limit API.
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... | Apply a LIMIT to the query and return the newly resulting Query. | "Apply a LIMIT to the query and return the newly resulting Query." | 79 | false | fulfilio/fulfil-python-api | limit | 18,813 | |
LDU_FT/mitodl/pylti/name | LDU_FT | [
"<BEGIN>\n## `_post_patched_request`",
"Authorization header needs to be capitalized for some LTI clients\n this function ensures that header is capitalized",
" :param body: body of the call\n :param client: OAuth Client\n :param url: outcome url\n :return: response\n<END>",
"<BEGIN>\n## `post_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Name returns user's name or user's email or user_id
:return: best guess of name to use to greet user | "Name returns user's name or user's email or user_id\n :return: best guess of name to use to greet user" | 53 | false | mitodl/pylti | name | 18,814 | |
LDU_FT/offu/WeRoBot/upload_permanent_video | LDU_FT | [
"<BEGIN>\n## `make_view`",
"为一个 BaseRoBot 生成 Flask view。",
" Usage ::",
" from werobot import WeRoBot",
" robot = WeRoBot(token='token')",
" @robot.handler\n def hello(message):\n return 'Hello World!'",
" from flask import Flask\n from werobot.con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_permanent_video 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 upload_permanent_video API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | 上传永久视频。
:param title: 视频素材的标题
:param introduction: 视频素材的描述
:param video: 要上传的视频,一个 File-object
:return: requests 的 Response 实例 | "上传永久视频。\n\n :param title: 视频素材的标题\n :param introduction: 视频素材的描述\n :param video: 要上传的视频,一个 File-object\n :return: requests 的 Response 实例" | 223 | false | offu/WeRoBot | upload_permanent_video | 18,815 | |
LDU_FT/mattaustin/django-storages-s3upload/_generate_processed_key_name | LDU_FT | [
"<BEGIN>\n## `_generate_processed_key_name`",
"Returns a key name to use after processing based on timestamp and\n upload key name.\n<END>",
"<BEGIN>\n## `clean_bucket_name`",
"Validates that the bucket name in the provided data matches the\n bucket name from the storage backend.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_processed_key_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_processed_key_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Returns a key name to use after processing based on timestamp and
upload key name. | "Returns a key name to use after processing based on timestamp and\n upload key name." | 23 | false | mattaustin/django-storages-s3upload | _generate_processed_key_name | 18,816 | |
LDU_FT/chemlab/chemlab/molecular_orbital | LDU_FT | [
"<BEGIN>\n## `molecular_orbital`",
"Return a molecular orbital given the nuclei coordinates, as well as\n molecular orbital coefficients and basis set specification as given by the cclib library.",
" The molecular orbital is represented as a function that takes x, y, z coordinates (in a vectorized f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the molecular_orbital API.
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 molecular_orbital API.
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 molecular orbital given the nuclei coordinates, as well as
molecular orbital coefficients and basis set specification as given by the cclib library.
The molecular orbital is represented as a function that takes x, y, z coordinates (in a vectorized fashion)
and returns a real number. | "Return a molecular orbital given the nuclei coordinates, as well as\n molecular orbital coefficients and basis set specification as given by the cclib library.\n\n The molecular orbital is represented as a function that takes x, y, z coordinates (in a vectorized fashion)\n and returns a real number." | 665 | false | chemlab/chemlab | molecular_orbital | 18,817 | |
LDU_FT/ladybug-tools/ladybug/annual_heating_design_day_996 | LDU_FT | [
"<BEGIN>\n## `project`",
"Return one vector projected on the vector other\n<END>",
"<BEGIN>\n## `rotate_around`",
"Return the vector rotated around axis through angle theta.",
" Right hand rule applies.\n<END>",
"<BEGIN>\n## `to_ip`",
"Return values in IP and the units to which the values have be... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annual_heating_design_day_996 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annual_heating_design_day_996 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | A design day object representing the annual 99.6% heating design day. | "A design day object representing the annual 99.6% heating design day." | 743 | false | ladybug-tools/ladybug | annual_heating_design_day_996 | 18,818 | |
LDU_FT/twisted/twistedchecker/_check_docstring | LDU_FT | [
"<BEGIN>\n## `_isInner`",
"Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.",
" @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}",
" @return: a boolean indicating if the given node is defined as an inner\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_docstring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_docstring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Check whether the opening and the closing of docstring
on a line by themselves.
Then check for epytext markups for function or method.
@param node_type: type of node
@param node: current node of pylint | "Check whether the opening and the closing of docstring\n on a line by themselves.\n Then check for epytext markups for function or method.\n\n @param node_type: type of node\n @param node: current node of pylint" | 146 | false | twisted/twistedchecker | _check_docstring | 18,819 | |
LDU_FT/mthornhill/django-postal/anonymous | LDU_FT | [
"<BEGIN>\n## `coerce_put_post`",
"Django doesn't particularly understand REST.\n In case we send data over PUT, Django won't\n actually look at the data and load it. We need\n to twist its arm here.",
" The try/except abominiation here is due to a bug\n in mod_python. This should fix it.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the anonymous API.
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 anonymous API.
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... | Gets the anonymous handler. Also tries to grab a class
if the `anonymous` value is a string, so that we can define
anonymous handlers that aren't defined yet (like, when
you're subclassing your basehandler into an anonymous one.) | "Gets the anonymous handler. Also tries to grab a class\n if the `anonymous` value is a string, so that we can define\n anonymous handlers that aren't defined yet (like, when\n you're subclassing your basehandler into an anonymous one.)" | 31 | false | mthornhill/django-postal | anonymous | 18,820 | |
LDU_FT/tomplus/kubernetes_asyncio/patch_initializer_configuration | LDU_FT | [
"<BEGIN>\n## `raw`",
"Sets the raw of this RuntimeRawExtension.",
" Raw is the underlying serialization of this object. # noqa: E501",
" :param raw: The raw of this RuntimeRawExtension. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `delete_namespaced_cron_job`",
"delete_namespaced... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_initializer_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_initializer_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | patch_initializer_configuration # noqa: E501
partially update the specified InitializerConfiguration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_initializer_configuration(... | "patch_initializer_configuration # noqa: E501\n\n partially update the specified InitializerConfiguration # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_initializer_configur... | 1,540 | true | tomplus/kubernetes_asyncio | patch_initializer_configuration | 18,821 | |
LDU_FT/bharadwajyarlagadda/bingmaps/get_coordinates | LDU_FT | [
"<BEGIN>\n## `build_url`",
"This method occurs after dumping the data into the class.",
" Args:\n data (dict): dictionary of all the query values",
" Returns:\n data (dict): ordered dict of all the values\n<END>",
"<BEGIN>\n## `build_query_string`",
"This method occurs ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_coordinates API.
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_coordinates API.
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... | Retrieves coordinates (latitudes/longitudes) from the output
JSON/XML response
Returns:
coordinates (namedtuple): List of named tuples of coordinates
(latitudes and longitudes) | "Retrieves coordinates (latitudes/longitudes) from the output\n JSON/XML response\n\n Returns:\n coordinates (namedtuple): List of named tuples of coordinates\n (latitudes and longitudes)" | 75 | false | bharadwajyarlagadda/bingmaps | get_coordinates | 18,822 | |
LDU_FT/jschaf/ideone-api/submission_details | LDU_FT | [
"<BEGIN>\n## `_transform_to_dict`",
"Transform the array from Ideone into a Python dictionary.\n<END>",
"<BEGIN>\n## `_collapse_language_array`",
"Convert the Ideone language list into a Python dictionary.\n<END>",
"<BEGIN>\n## `_translate_language_name`",
"Translate a human readable langauge name into it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submission_details API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submission_details API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return a dictionary of requested details about a submission
with the id of link.
Keyword Arguments
-----------------
* link: the unique string ID of a submission
* with_source: should we request the source code
* with_input: request the program input
* with_outp... | "Return a dictionary of requested details about a submission\n with the id of link.\n\n Keyword Arguments\n -----------------\n\n * link: the unique string ID of a submission\n * with_source: should we request the source code\n * with_input: request the program input\n *... | 45 | false | jschaf/ideone-api | submission_details | 18,823 | |
LDU_FT/eaton-lab/toytree/set_baselines | LDU_FT | [
"<BEGIN>\n## `_translate_nodes`",
"Convert node names into node instances...\n<END>",
"<BEGIN>\n## `add_child`",
"Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.",
" Parameters\n ----------",
" child: \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_baselines API.
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 set_baselines API.
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... | Modify coords to shift tree position for x,y baseline arguments. This
is useful for arrangeing trees onto a Canvas with other plots, but
still sharing a common cartesian axes coordinates. | "Modify coords to shift tree position for x,y baseline arguments. This\n is useful for arrangeing trees onto a Canvas with other plots, but \n still sharing a common cartesian axes coordinates." | 332 | false | eaton-lab/toytree | set_baselines | 18,824 | |
LDU_FT/pyvec/pyvodb/cfgdump | LDU_FT | [
"<BEGIN>\n## `handle_raw_output`",
"If a raw output format is set, dump data and exit\n<END>",
"<BEGIN>\n## `start`",
"The event's start time, as a timezone-aware datetime object\n<END>",
"<BEGIN>\n## `next_occurrences`",
"Yield the next planned occurrences after the date \"since\"",
" The `since... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cfgdump API.
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 cfgdump API.
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 output directory path and output there the config.yaml file. | "Create output directory path and output there the config.yaml file." | 26 | false | pyvec/pyvodb | cfgdump | 18,825 | |
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/_construct_post_data | LDU_FT | [
"<BEGIN>\n## `update_get_params`",
"Update HTTP GET params with the given fields that user wants to fetch.\n<END>",
"<BEGIN>\n## `_fetch_meta_data`",
"Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>",
"<BEGIN>\n## `_populate_data`",
"Assing some probe's raw meta da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _construct_post_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 _construct_post_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.
... | Constructs the data structure that is required from the atlas API based
on measurements, sources and times user has specified. | "Constructs the data structure that is required from the atlas API based\n on measurements, sources and times user has specified." | 62 | false | RIPE-NCC/ripe-atlas-cousteau | _construct_post_data | 18,826 | |
LDU_FT/wummel/linkchecker/get_intern_pattern | LDU_FT | [
"<BEGIN>\n## `start_output`",
"Write start of checking info as gml comment.\n<END>",
"<BEGIN>\n## `getaddresses`",
"Return list of email addresses from given field value.\n<END>",
"<BEGIN>\n## `build_url`",
"Call super.build_url(), extract list of mail addresses from URL,\n and check their syntax.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_intern_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_intern_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return intern pattern for given URL. Redirections to the same
domain with or without "www." prepended are allowed. | "Return intern pattern for given URL. Redirections to the same\n domain with or without \"www.\" prepended are allowed." | 1,377 | true | wummel/linkchecker | get_intern_pattern | 18,827 | |
LDU_FT/softlayer/softlayer-python/find_saas_snapshot_space_price | LDU_FT | [
"<BEGIN>\n## `cli`",
"List package items used for ordering.",
" The item keyNames listed can be used with `slcli order place` to specify\n the items that are being ordered in the package.",
" .. Note::\n Items with a numbered category, like disk0 or gpu0, can be included\n multiple time... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_saas_snapshot_space_price API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_saas_snapshot_space_price API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Find the price in the SaaS package for the desired snapshot space size
:param package: The product package of the endurance storage type
:param size: The snapshot space size for which a price is desired
:param tier: The tier of the volume for which space is being ordered
:param iops: The IOPS of the vo... | "Find the price in the SaaS package for the desired snapshot space size\n\n :param package: The product package of the endurance storage type\n :param size: The snapshot space size for which a price is desired\n :param tier: The tier of the volume for which space is being ordered\n :param iops: The IOPS of ... | 1,375 | true | softlayer/softlayer-python | find_saas_snapshot_space_price | 18,828 | |
LDU_FT/spotify/luigi/open | LDU_FT | [
"<BEGIN>\n## `_fetch_json`",
"Returns the json representation of the dep graph\n<END>",
"<BEGIN>\n## `prefix_search`",
"Searches for jobs matching the given ``job_name_prefix``.\n<END>",
"<BEGIN>\n## `status_search`",
"Searches for jobs matching the given ``status``.\n<END>",
"<BEGIN>\n## `move`",
"Mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
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 open API.
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... | Open the target for reading or writing
:param char mode:
'r' for reading and 'w' for writing.
'b' is not supported and will be stripped if used. For binary mode, use `format`
:return:
* :class:`.ReadableAzureBlobFile` if 'r'
* :class:`.AtomicAzureBlobFil... | "Open the target for reading or writing\n\n :param char mode:\n 'r' for reading and 'w' for writing.\n\n 'b' is not supported and will be stripped if used. For binary mode, use `format`\n :return:\n * :class:`.ReadableAzureBlobFile` if 'r'\n * :class:`.AtomicAzu... | 765 | false | spotify/luigi | open | 18,829 | |
LDU_FT/bitesofcode/projex/packageSplit | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds the new key to this enumerated type.",
" :param key | <str>\n<END>",
"<BEGIN>\n## `all`",
"Returns all the values joined together.",
" :return <int>\n<END>",
"<BEGIN>\n## `base`",
"Returns the root base for the given value from this enumeration.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the packageSplit API.
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 packageSplit API.
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... | Determines the python path, and package information for the inputted
filepath.
:param filepath | <str>
:return (<str> path, <str> package) | "Determines the python path, and package information for the inputted\n filepath.\n \n :param filepath | <str>\n \n :return (<str> path, <str> package)" | 676 | false | bitesofcode/projex | packageSplit | 18,830 | |
LDU_FT/robmcmullen/atrcopy/get_entire_style_ranges | LDU_FT | [
"<BEGIN>\n## `text_to_int`",
"Convert text to int, raising exeception on invalid input\n<END>",
"<BEGIN>\n## `assign_sector_numbers`",
"Map out the sectors and link the sectors together",
" raises NotEnoughSpaceOnDisk if the whole file won't fit. It will not\n allow partial writes.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entire_style_ranges 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_entire_style_ranges API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Find sections of the segment that have the same style value.
The arguments to this function are used as a mask for the style to
determine where to split the styles. Style bits that aren't included in
the list will be ignored when splitting. The returned list covers the
entire length of ... | "Find sections of the segment that have the same style value.\n\n The arguments to this function are used as a mask for the style to\n determine where to split the styles. Style bits that aren't included in\n the list will be ignored when splitting. The returned list covers the\n entire leng... | 73 | false | robmcmullen/atrcopy | get_entire_style_ranges | 18,831 | |
LDU_FT/moonso/ped_parser/add_individual | LDU_FT | [
"<BEGIN>\n## `get_individual`",
"Return a individual object based on the indata.",
" Arguments:\n family_id (str): The id for this family\n sample_id (str): The id for this sample\n father_id (str): The id for this samples father\n mother_id (str): The id for t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_individual API.
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 add_individual API.
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... | Add an individual to the family.
Arguments:
individual_object (Individual) | "Add an individual to the family.\n \n Arguments:\n individual_object (Individual)" | 79 | false | moonso/ped_parser | add_individual | 18,832 | |
LDU_FT/idmillington/layout/_calculate_ms_from_base | LDU_FT | [
"<BEGIN>\n## `_do_layout`",
"Lays the text out into separate lines and calculates their\n total height.\n<END>",
"<BEGIN>\n## `_calculate_ms_from_base`",
"Calculates the rotated minimum size from the given base minimum\n size.\n<END>",
"<BEGIN>\n## `render`",
"Draws the signature mark.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calculate_ms_from_base API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calculate_ms_from_base API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Calculates the rotated minimum size from the given base minimum
size. | "Calculates the rotated minimum size from the given base minimum\n size." | 91 | false | idmillington/layout | _calculate_ms_from_base | 18,833 | |
LDU_FT/linkhub-sdk/popbill.py/getJobState | LDU_FT | [
"<BEGIN>\n## `getSenderNumberMgtURL`",
"팩스 전송내역 팝업 URL\n args\n CorpNum : 회원 사업자번호\n UserID : 회원 팝빌아이디\n return\n 30초 보안 토큰을 포함한 url\n raise\n PopbillException\n<END>",
"<BEGIN>\n## `getUnitCost`",
"팩스 전송 단가 확인\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getJobState API.
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 getJobState API.
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... | 수집 상태 확인
args
CorpNum : 팝빌회원 사업자번호
JobID : 작업아이디
UserID : 팝빌회원 아이디
return
수집 상태 정보
raise
PopbillException | "수집 상태 확인\n args\n CorpNum : 팝빌회원 사업자번호\n JobID : 작업아이디\n UserID : 팝빌회원 아이디\n return\n 수집 상태 정보\n raise\n PopbillException" | 216 | false | linkhub-sdk/popbill.py | getJobState | 18,834 | |
LDU_FT/toidi/hadoop-yarn-api-python-client/cluster_application_attempt_info | LDU_FT | [
"<BEGIN>\n## `node_applications`",
"With the Applications API, you can obtain a collection of resources,\n each of which represents an application.",
" :param str state: application state\n :param str user: user name\n :returns: API response object with JSON data\n :rtype: :py... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cluster_application_attempt_info 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 cluster_application_attempt_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | With the application attempts API, you can obtain an extended info about
an application attempt.
:param str application_id: The application id
:param str attempt_id: The attempt id
:returns: API response object with JSON data
:rtype: :py:class:`yarn_api_client.base.Response` | "With the application attempts API, you can obtain an extended info about\n an application attempt.\n\n :param str application_id: The application id\n :param str attempt_id: The attempt id\n :returns: API response object with JSON data\n :rtype: :py:class:`yarn_api_client.base.Respon... | 71 | false | toidi/hadoop-yarn-api-python-client | cluster_application_attempt_info | 18,835 | |
LDU_FT/mlavin/django-selectable/results | LDU_FT | [
"<BEGIN>\n## `has_changed`",
"Detects if the data was changed. This is added in 1.6.\n<END>",
"<BEGIN>\n## `results_decorator`",
"Helper for constructing simple decorators around Lookup.results.",
" func is a function which takes a request as the first parameter. If func\n returns an HttpReponse it is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results API.
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 results API.
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... | Match results to given term and return the serialized HttpResponse. | "Match results to given term and return the serialized HttpResponse." | 21 | false | mlavin/django-selectable | results | 18,836 | |
LDU_FT/peepall/FancyLogger/info | LDU_FT | [
"<BEGIN>\n## `set_configuration`",
"Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger\n behavior.\n :param command: The command object that holds all the necessary information from the remote process.\n<END>",
"<BEGIN>\n## `run`",
"The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Posts an info message adding a timestamp and logging level to it for both file and console handlers.
Logger uses a redraw rate because of console flickering. That means it will not draw new messages or progress
at the very time they are being logged but their timestamp will be captured at the right time... | "Posts an info message adding a timestamp and logging level to it for both file and console handlers.\n Logger uses a redraw rate because of console flickering. That means it will not draw new messages or progress\n at the very time they are being logged but their timestamp will be captured at the right t... | 61 | false | peepall/FancyLogger | info | 18,837 | |
LDU_FT/cni/MRS/fit_gaussian | LDU_FT | [
"<BEGIN>\n## `fetch_data`",
"Downloads files to folder and checks their md5 checksums",
" Parameters\n ----------\n files : dictionary\n For each file in `files` the value should be (url, md5). The file will\n be downloaded from url if the file does not already exist or if the\n fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_gaussian API.
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 fit_gaussian API.
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... | Fit a gaussian function to the difference spectra to be used for estimation
of the GABA peak.
Parameters
----------
spectra : array of shape (n_transients, n_points)
Typically the difference of the on/off spectra in each transient.
f_ppm : array
lb, ub : floats
In ppm, the range over... | "Fit a gaussian function to the difference spectra to be used for estimation\n of the GABA peak.\n \n Parameters\n ----------\n spectra : array of shape (n_transients, n_points)\n Typically the difference of the on/off spectra in each transient.\n\n f_ppm : array\n\n lb, ub : floats\n In ppm, th... | 328 | false | cni/MRS | fit_gaussian | 18,838 | |
LDU_FT/adewes/blitzdb/remove_key | LDU_FT | [
"<BEGIN>\n## `commit`",
"Commit all pending transactions to the database.",
" .. admonition:: Warning",
" This operation can be **expensive** in runtime if a large number of\n documents (>100.000) is contained in the database, since it will\n cause all database indexes ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Remove key from the index.
:param store_key: The key for the document in the store
:type store_key: str | "Remove key from the index.\n\n :param store_key: The key for the document in the store\n :type store_key: str" | 141 | false | adewes/blitzdb | remove_key | 18,839 | |
LDU_FT/has2k1/plydata/Q | LDU_FT | [
"<BEGIN>\n## `set_option`",
"Set plydata option",
" Parameters\n ----------\n name : str\n Name of the option\n value : object\n New value of the option",
" Returns\n -------\n old : object\n Old value of the option",
" See also\n --------\n :class:`options... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Q API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Q API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docum... | Quote a variable name
A way to 'quote' variable names, especially ones that do not otherwise
meet Python's variable name rules.
Parameters
----------
name : str
Name of variable
Returns
-------
value : object
Value of variable
Examples
--------
>>> import ... | "Quote a variable name\n\n A way to 'quote' variable names, especially ones that do not otherwise\n meet Python's variable name rules.\n\n Parameters\n ----------\n name : str\n Name of variable\n\n Returns\n -------\n value : object\n Value of variable\n\n Examples\n -------... | 119 | false | has2k1/plydata | Q | 18,840 | |
LDU_FT/Azure/azure-cosmos-python/GetPathFromLink | LDU_FT | [
"<BEGIN>\n## `ShouldRetry`",
"Returns true if should retry based on the passed-in exception.",
" :param (errors.HTTPFailure instance) exception:",
" :rtype:\n boolean\n<END>",
"<BEGIN>\n## `ExplicitlyExcludeFromIndex`",
"The default index policy on a DocumentContainer will AUTOMAT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetPathFromLink API.
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 GetPathFromLink API.
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... | Gets path from resource link with optional resource type
:param str resource_link:
:param str resource_type:
:return:
Path from resource link with resource type appended (if provided).
:rtype: str | "Gets path from resource link with optional resource type\n\n :param str resource_link:\n :param str resource_type:\n\n :return:\n Path from resource link with resource type appended (if provided).\n :rtype: str" | 574 | false | Azure/azure-cosmos-python | GetPathFromLink | 18,841 | |
LDU_FT/CCareaga/scum/update_w | LDU_FT | [
"<BEGIN>\n## `rgb_to_short`",
"Find the closest xterm-256 approximation to the given RGB value.\n<END>",
"<BEGIN>\n## `get_flagged_names`",
"Return a list of all filenames marked as flagged.\n<END>",
"<BEGIN>\n## `starts_expanded`",
"Return True if directory is a parent of initial cwd.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_w API.
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 update_w API.
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... | Update the attributes of self.widget based on self.flagged. | "Update the attributes of self.widget based on self.flagged." | 18 | false | CCareaga/scum | update_w | 18,842 | |
LDU_FT/django-admin-tools/django-admin-tools/filter_models | LDU_FT | [
"<BEGIN>\n## `set_preferences`",
"This view serves and validates a preferences form.\n<END>",
"<BEGIN>\n## `admin_tools_render_menu`",
"Template tag that renders the menu, it takes an optional ``Menu`` instance\n as unique argument, if not given, the menu will be retrieved with the\n ``get_admin_menu`` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_models API.
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 filter_models API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns (model, perm,) for all models that match models/exclude patterns
and are visible by current user. | "Returns (model, perm,) for all models that match models/exclude patterns\n and are visible by current user." | 60 | false | django-admin-tools/django-admin-tools | filter_models | 18,843 | |
LDU_FT/Kozea/pygal/_plot | LDU_FT | [
"<BEGIN>\n## `erfinv`",
"Approximation of the inverse error function\n https://en.wikipedia.org/wiki/Error_function\n #Approximation_with_elementary_functions\n<END>",
"<BEGIN>\n## `confidence_interval_continuous`",
"Continuous confidence interval from sample size and standard error\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plot API.
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 _plot API.
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... | Plot stacked serie lines and stacked secondary lines | "Plot stacked serie lines and stacked secondary lines" | 147 | false | Kozea/pygal | _plot | 18,844 | |
LDU_FT/btel/svg_utils/moveto | LDU_FT | [
"<BEGIN>\n## `fromfile`",
"Open SVG figure from file.",
" Parameters\n ----------\n fname : str\n name of the SVG file",
" Returns\n -------\n SVGFigure\n newly created :py:class:`SVGFigure` initialised with the file content\n<END>",
"<BEGIN>\n## `fromstring`",
"Create a SV... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the moveto API.
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 moveto API.
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 ... | Move and scale element.
Parameters
----------
x, y : float
displacement in x and y coordinates in user units ('px').
scale : float
scaling factor. To scale down scale < 1, scale up scale > 1.
For no scaling scale = 1. | "Move and scale element.\n\n Parameters\n ----------\n x, y : float\n displacement in x and y coordinates in user units ('px').\n scale : float\n scaling factor. To scale down scale < 1, scale up scale > 1.\n For no scaling scale = 1." | 63 | false | btel/svg_utils | moveto | 18,845 | |
LDU_FT/jreese/tasky/exception | LDU_FT | [
"<BEGIN>\n## `sleep`",
"Simple wrapper around `asyncio.sleep()`.\n<END>",
"<BEGIN>\n## `stop`",
"Cancel the task if it hasn't yet started, or tell it to\n gracefully stop running if it has.\n<END>",
"<BEGIN>\n## `task`",
"Return a running Task object matching the given name or class.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Log unhandled exceptions from anywhere in the event loop. | "Log unhandled exceptions from anywhere in the event loop." | 42 | false | jreese/tasky | exception | 18,846 | |
LDU_FT/spyder-ide/conda-manager/get_data_files | LDU_FT | [
"<BEGIN>\n## `get_package_versions`",
"Gives all the compatible package canonical name",
" name : str\n Name of the package\n<END>",
"<BEGIN>\n## `closing_plugin`",
"Perform actions before parent main window is closed.\n<END>",
"<BEGIN>\n## `get_conf_path`",
"Return absolute path for c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return data_files in a platform dependent manner | "Return data_files in a platform dependent manner" | 160 | false | spyder-ide/conda-manager | get_data_files | 18,847 | |
LDU_FT/lizardsystem/tags2sdists/add_tarball | LDU_FT | [
"<BEGIN>\n## `parse`",
"Iterate through the directory and extract package/version info.\n<END>",
"<BEGIN>\n## `add_tarball`",
"Add a tarball, possibly creating the directory if needed.\n<END>",
"<BEGIN>\n## `main`",
"bin/tags2sdists: create an sdist for a directory of checkouts.\n<END>",
"<BEGIN>\n## `c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_tarball API.
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 add_tarball API.
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... | Add a tarball, possibly creating the directory if needed. | "Add a tarball, possibly creating the directory if needed." | 19 | false | lizardsystem/tags2sdists | add_tarball | 18,848 | |
LDU_FT/scikit-hep/probfit/draw_residual | LDU_FT | [
"<BEGIN>\n## `parse_arg`",
"convert dictionary of keyword argument and value to positional argument\n equivalent to::",
" vnames = describe(f)\n return tuple([kwd[k] for k in vnames[offset:]])\n<END>",
"<BEGIN>\n## `_get_args_and_errors`",
"consistent algorithm to get argument and errors\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_residual API.
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 draw_residual API.
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... | Draw a residual plot on the axis.
By default, if show_errbars if True, residuals are drawn as blue points
with errorbars with no endcaps. If show_errbars is False, residuals are
drawn as a bar graph with black bars.
**Arguments**
- **x** array of numbers, x-coordinates
- **y** array ... | "Draw a residual plot on the axis.\n\n By default, if show_errbars if True, residuals are drawn as blue points\n with errorbars with no endcaps. If show_errbars is False, residuals are\n drawn as a bar graph with black bars.\n\n **Arguments**\n\n - **x** array of numbers, x-coordinates\n\n - *... | 51 | false | scikit-hep/probfit | draw_residual | 18,849 | |
LDU_FT/peterldowns/lggr/Emailer | LDU_FT | [
"<BEGIN>\n## `FilePrinter`",
"Opens the given file and returns a printer to it.\n<END>",
"<BEGIN>\n## `Emailer`",
"Sends messages as emails to the given list\n of recipients.\n<END>",
"<BEGIN>\n## `GMailer`",
"Sends messages as emails to the given list\n of recipients, from a GMail account.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Emailer API.
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 Emailer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Sends messages as emails to the given list
of recipients. | "Sends messages as emails to the given list\n of recipients." | 28 | false | peterldowns/lggr | Emailer | 18,850 | |
LDU_FT/DaveMcEwan/ndim/pts_rotate | LDU_FT | [
"<BEGIN>\n## `pt_on_bezier_curve`",
"Return point at t on bezier curve defined by control points P.\n<END>",
"<BEGIN>\n## `pts_on_bezier_curve`",
"Return list N+1 points representing N line segments on bezier curve\n defined by control points P.\n<END>",
"<BEGIN>\n## `bezier_curve_approx_len`",
"Return a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pts_rotate API.
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 pts_rotate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return given points rotated around a center point in N dimensions.
Angle is list of rotation in radians for each pair of axis. | "Return given points rotated around a center point in N dimensions.\nAngle is list of rotation in radians for each pair of axis." | 40 | false | DaveMcEwan/ndim | pts_rotate | 18,851 | |
LDU_FT/SciTools/biggus/max | LDU_FT | [
"<BEGIN>\n## `_groups_of_size`",
"Collect data into fixed-length chunks or blocks.\n<END>",
"<BEGIN>\n## `slice_repr`",
"Turn things like `slice(None, 2, -1)` into `:2:-1`.\n<END>",
"<BEGIN>\n## `biggus_chunk`",
"A function that lazily evaluates a biggus.Chunk. This is useful for\n passing through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max API.
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 max API.
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... | Request the maximum of an Array over any number of axes.
.. note:: Currently limited to operating on a single axis.
Parameters
----------
a : Array object
The object whose maximum is to be found.
axis : None, or int, or iterable of ints
Axis or axes along which the operation is per... | "Request the maximum of an Array over any number of axes.\n\n .. note:: Currently limited to operating on a single axis.\n\n Parameters\n ----------\n a : Array object\n The object whose maximum is to be found.\n axis : None, or int, or iterable of ints\n Axis or axes along which the operat... | 105 | false | SciTools/biggus | max | 18,852 | |
LDU_FT/neuropsychology/NeuroKit.py/rsp_find_cycles | LDU_FT | [
"<BEGIN>\n## `complexity`",
"Computes several chaos/complexity indices of a signal (including entropy, fractal dimensions, Hurst and Lyapunov exponent etc.).",
" Parameters\n ----------\n signal : list or array\n List or array of values.\n sampling_rate : int\n Sampling rate (samples/s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsp_find_cycles API.
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 rsp_find_cycles API.
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... | Find Respiratory cycles onsets, durations and phases.
Parameters
----------
signal : list or array
Respiratory (RSP) signal (preferably filtered).
Returns
----------
rsp_cycles : dict
RSP cycles features.
Example
----------
>>> import neurokit as nk
>>> rsp_cy... | "Find Respiratory cycles onsets, durations and phases.\n\n Parameters\n ----------\n signal : list or array\n Respiratory (RSP) signal (preferably filtered).\n\n\n Returns\n ----------\n rsp_cycles : dict\n RSP cycles features.\n\n Example\n ----------\n >>> import neurokit as n... | 778 | false | neuropsychology/NeuroKit.py | rsp_find_cycles | 18,853 | |
LDU_FT/mmcauliffe/Conch-sounds/acorr_lpc | LDU_FT | [
"<BEGIN>\n## `lpc_ref`",
"Compute the Linear Prediction Coefficients.",
" Return the order + 1 LPC coefficients for the signal. c = lpc(x, k) will\n find the k+1 coefficients of a k order linear filter:",
" xp[n] = -c[1] * x[n-2] - ... - c[k-1] * x[n-k-1]",
" Such as the sum of the squared-err... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acorr_lpc API.
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 acorr_lpc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Compute autocorrelation of x along the given axis.
This compute the biased autocorrelation estimator (divided by the size of
input signal)
Notes
-----
The reason why we do not use acorr directly is for speed issue. | "Compute autocorrelation of x along the given axis.\n\n This compute the biased autocorrelation estimator (divided by the size of\n input signal)\n\n Notes\n -----\n The reason why we do not use acorr directly is for speed issue." | 63 | false | mmcauliffe/Conch-sounds | acorr_lpc | 18,854 | |
LDU_FT/utiasSTARS/pykitti/bbox | LDU_FT | [
"<BEGIN>\n## `to_array_list`",
"Converts a dataframe to a list of arrays, with one array for every unique index entry.\n Index is assumed to be 0-based contiguous. If there is a missing index entry, an empty\n numpy array is returned for it.\n Elements in the arrays are sorted by their id.\n :param df... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bbox API.
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 bbox API.
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... | Converts a dataframe to a list of arrays
:param df:
:param length:
:return: | "Converts a dataframe to a list of arrays\n :param df:\n :param length:\n :return:" | 25 | false | utiasSTARS/pykitti | bbox | 18,855 | |
LDU_FT/CitrineInformatics/pif-dft/tarfile_to_pif | LDU_FT | [
"<BEGIN>\n## `generate_from_directory`",
"Create a parser by defining which input files it will read from.",
" Input:\n directory - str, directory to read from\n files - str, list of files from which to search.\n<END>",
"<BEGIN>\n## `get_composition`",
"Get composition of output... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tarfile_to_pif API.
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 tarfile_to_pif API.
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... | Process a tar file that contains DFT data.
Input:
filename - String, Path to the file to process.
temp_root_dir - String, Directory in which to save temporary files. Defaults to working directory.
verbose - int, How much status messages to print
Output:
pif - ChemicalSystem, Re... | "Process a tar file that contains DFT data.\n\n Input:\n filename - String, Path to the file to process.\n temp_root_dir - String, Directory in which to save temporary files. Defaults to working directory.\n verbose - int, How much status messages to print\n\n Output:\n pif - ChemicalS... | 55 | false | CitrineInformatics/pif-dft | tarfile_to_pif | 18,856 | |
LDU_FT/chimpler/pyhocon/postParse | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Convert HOCON input into a JSON output",
" :return: JSON string representation\n :type return: basestring\n<END>",
"<BEGIN>\n## `to_hocon`",
"Convert HOCON input into a HOCON output",
" :return: JSON string representation\n :type return: basestring\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postParse API.
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 postParse API.
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 ConfigTree from tokens
:param instring:
:param loc:
:param token_list:
:return: | "Create ConfigTree from tokens\n\n :param instring:\n :param loc:\n :param token_list:\n :return:" | 80 | false | chimpler/pyhocon | postParse | 18,857 | |
LDU_FT/noahmorrison/chevron/l_sa_check | LDU_FT | [
"<BEGIN>\n## `l_sa_check`",
"Do a preliminary check to see if a tag could be a standalone\n<END>",
"<BEGIN>\n## `r_sa_check`",
"Do a final checkto see if a tag could be a standalone\n<END>",
"<BEGIN>\n## `tokenize`",
"Tokenize a mustache template",
" Tokenizes a mustache template in a generator fashi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the l_sa_check API.
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 l_sa_check API.
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... | Do a preliminary check to see if a tag could be a standalone | "Do a preliminary check to see if a tag could be a standalone" | 35 | false | noahmorrison/chevron | l_sa_check | 18,858 | |
LDU_FT/SpamScope/mail-parser/from_file_msg | LDU_FT | [
"<BEGIN>\n## `sanitize`",
"NFC is the normalization form recommended by W3C.\n<END>",
"<BEGIN>\n## `ported_string`",
"Give as input raw data and output a str in Python 3\n and unicode in Python 2.",
" Args:\n raw_data: Python 2 str, Python 3 bytes or str to porting\n encoding: string giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file_msg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_file_msg API.
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... | Init a new object from a Outlook message file,
mime type: application/vnd.ms-outlook
Args:
fp (string): file path of raw Outlook email
Returns:
Instance of MailParser | "Init a new object from a Outlook message file,\n mime type: application/vnd.ms-outlook\n\n Args:\n fp (string): file path of raw Outlook email\n\n Returns:\n Instance of MailParser" | 90 | false | SpamScope/mail-parser | from_file_msg | 18,859 | |
LDU_FT/tomturner/django-tenants/get_primary_domain | LDU_FT | [
"<BEGIN>\n## `get_table_list`",
"Returns a list of table names in the current database and schema.\n<END>",
"<BEGIN>\n## `get_table_description`",
"Returns a description of the table, with the DB-API cursor.description interface.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes this row. Drops the tenant's schem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_primary_domain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_primary_domain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the primary domain of the tenant | "Returns the primary domain of the tenant" | 50 | false | tomturner/django-tenants | get_primary_domain | 18,860 | |
LDU_FT/AnalogJ/lexicon/_create_record | LDU_FT | [
"<BEGIN>\n## `_authenticate`",
"Authenticate with netcup server. Must be called first.\n<END>",
"<BEGIN>\n## `_create_record`",
"Create record. If it already exists, do nothing.\n<END>",
"<BEGIN>\n## `_list_records`",
"List all records. Return an empty list if no records found.\n ``rtype``, ``name`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_record API.
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 _create_record API.
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... | Connects to Hetzner account, adds a new record to the zone and returns a
boolean, if creation was successful or not. Needed record rtype, name and
content for record to create. | "Connects to Hetzner account, adds a new record to the zone and returns a\n boolean, if creation was successful or not. Needed record rtype, name and\n content for record to create." | 218 | false | AnalogJ/lexicon | _create_record | 18,861 | |
LDU_FT/veltzer/pytconf/create_existing_file | LDU_FT | [
"<BEGIN>\n## `array_indented`",
"return an array indented according to indent level\n :param level:\n :param l:\n :param quote_char:\n :param comma_after:\n :return:\n<END>",
"<BEGIN>\n## `config_arg_parse_and_launch`",
"backwards compatibility function\n :return:\n<END>",
"<BEGIN>\n## `re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_existing_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_existing_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.
... | Create a new file parameter
:param help_string:
:param default:
:param suffixes:
:return: | "Create a new file parameter\n :param help_string:\n :param default:\n :param suffixes:\n :return:" | 32 | false | veltzer/pytconf | create_existing_file | 18,862 | |
LDU_FT/devassistant/devassistant/remove_link_button | LDU_FT | [
"<BEGIN>\n## `is_local_subsection`",
"Returns True if command dict is \"local subsection\", meaning\n that it is \"if\", \"else\" or \"for\" (not a real call, but calls\n run_section recursively.\n<END>",
"<BEGIN>\n## `_process_req_txt`",
"Returns a processed request or raises an exception\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_link_button 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 remove_link_button 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... | Function removes link button from Run Window | "Function removes link button from Run Window" | 399 | false | devassistant/devassistant | remove_link_button | 18,863 | |
LDU_FT/geminipy/geminipy/trades | LDU_FT | [
"<BEGIN>\n## `pubticker`",
"Send a request for latest ticker info, return the response.\n<END>",
"<BEGIN>\n## `book`",
"Send a request to get the public order book, return the response.",
" Arguments:\n symbol -- currency symbol (default 'btcusd')\n limit_bids -- limit the number of bid... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trades API.
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 trades API.
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 ... | Send a request to get all public trades, return the response.
Arguments:
symbol -- currency symbol (default 'btcusd')
since -- only return trades after this unix timestamp (default 0)
limit_trades -- maximum number of trades to return (default 50).
include_breaks -- whether to d... | "Send a request to get all public trades, return the response.\n\n Arguments:\n symbol -- currency symbol (default 'btcusd')\n since -- only return trades after this unix timestamp (default 0)\n limit_trades -- maximum number of trades to return (default 50).\n include_breaks -- wheth... | 31 | false | geminipy/geminipy | trades | 18,864 | |
LDU_FT/eddiejessup/spatious/normalise_angle | LDU_FT | [
"<BEGIN>\n## `R_rot_2d`",
"Return a 2-dimensional rotation matrix.",
" Parameters\n ----------\n th: array, shape (n, 1)\n Angles about which to rotate.",
" Returns\n -------\n R: array, shape (n, 2, 2)\n<END>",
"<BEGIN>\n## `R_rot_3d`",
"Return a 3-dimensional rotation matrix.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalise_angle API.
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 normalise_angle API.
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... | Normalise an angle to be in the range [-pi, pi]. | "Normalise an angle to be in the range [-pi, pi]." | 112 | false | eddiejessup/spatious | normalise_angle | 18,865 | |
LDU_FT/pandeylab/pythomics/add_child | LDU_FT | [
"<BEGIN>\n## `add_header`",
"Parses the VCF Header field and returns the number of samples in the VCF file\n<END>",
"<BEGIN>\n## `parse_entry`",
"Parse an individual VCF entry and return a VCFEntry which contains information about\n the call (such as alternative allele, zygosity, etc.)\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_child API.
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_child API.
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... | Children are GFFFeatures and are defined when added. This is done to avoid memory overheads
that may be incurred by GFF files that have millions of rows. | "Children are GFFFeatures and are defined when added. This is done to avoid memory overheads\n that may be incurred by GFF files that have millions of rows." | 49 | false | pandeylab/pythomics | add_child | 18,866 | |
LDU_FT/tbreitenfeldt/invisible_ui/handle_event | LDU_FT | [
"<BEGIN>\n## `handle_event`",
"An abstract method that must be overwritten by child classes used to handle events.",
" event - the event to be handled",
" returns true or false if the event could be handled here",
" default code is given for this method, however subclasses must still ov... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_event API.
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 handle_event API.
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... | An abstract method that must be overwritten by child classes used to handle events.
event - the event to be handled
returns true or false if the event could be handled here
default code is given for this method, however subclasses must still override this method to insure the subclass has the... | "An abstract method that must be overwritten by child classes used to handle events.\n\n event - the event to be handled\n\n returns true or false if the event could be handled here\n\n default code is given for this method, however subclasses must still override this method to insure the subclass ... | 36 | false | tbreitenfeldt/invisible_ui | handle_event | 18,867 | |
LDU_FT/qzmfranklin/easyshell/helper | LDU_FT | [
"<BEGIN>\n## `update_parser`",
"Update the parser object for the shell.",
" Arguments:\n parser: An instance of argparse.ArgumentParser.\n<END>",
"<BEGIN>\n## `_do_debug`",
"\\\n Enter the debugging shell.\n debug Show current debugging status, i.e, on/off.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the helper API.
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 helper API.
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 ... | Decorate a function to be the helper function of commands.
Arguments:
commands: Names of command that should trigger this function object.
---------------------------
Interface of helper methods:
@helper('some-command')
def help_foo(self, args):
'''
Argumen... | "Decorate a function to be the helper function of commands.\n\n Arguments:\n commands: Names of command that should trigger this function object.\n\n ---------------------------\n Interface of helper methods:\n\n @helper('some-command')\n def help_foo(self, args):\n '''\n ... | 147 | false | qzmfranklin/easyshell | helper | 18,868 | |
LDU_FT/astraw/stdeb/apply_patch | LDU_FT | [
"<BEGIN>\n## `source_debianize_name`",
"make name acceptable as a Debian source package name\n<END>",
"<BEGIN>\n## `get_deb_depends_from_setuptools_requires`",
"Suppose you can't confidently figure out a .deb which satisfies a given\n requirement. If on_failure == 'warn', then log a warning. If on_failur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_patch API.
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 apply_patch API.
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... | call 'patch -p[level] [--posix] < arg1'
posix mode is sometimes necessary. It keeps empty files so that
dpkg-source removes their contents. | "call 'patch -p[level] [--posix] < arg1'\n\n posix mode is sometimes necessary. It keeps empty files so that\n dpkg-source removes their contents." | 16 | false | astraw/stdeb | apply_patch | 18,869 | |
LDU_FT/lacava/few/main | LDU_FT | [
"<BEGIN>\n## `survival`",
"routes to the survival method, returns survivors\n<END>",
"<BEGIN>\n## `tournament`",
"conducts tournament selection of size tourn_size\n<END>",
"<BEGIN>\n## `lexicase`",
"conducts lexicase selection for de-aggregated fitness vectors\n<END>",
"<BEGIN>\n## `epsilon_lexicase`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Main function that is called when FEW is run on the command line | "Main function that is called when FEW is run on the command line" | 54 | false | lacava/few | main | 18,870 | |
LDU_FT/higlass/higlass-python/tiles | LDU_FT | [
"<BEGIN>\n## `get_filepath`",
"Get the filepath from a tileset definition\n Parameters\n ----------\n tileset_def: { 'filepath': ..., 'uid': ..., 'filetype': ...}\n The tileset definition\n returns: string\n The filepath, either as specified in the tileset_def or\n None\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tiles API.
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 tiles API.
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... | Return tiles from the specified dataset (uid) at
the given position (z,x,[u]) | "Return tiles from the specified dataset (uid) at\n the given position (z,x,[u])" | 34 | false | higlass/higlass-python | tiles | 18,871 | |
LDU_FT/roamanalytics/mittens/log_of_array_ignoring_zeros | LDU_FT | [
"<BEGIN>\n## `_apply_updates`",
"Apply AdaGrad update to parameters.",
" Parameters\n ----------\n gradients",
" Returns\n -------\n<END>",
"<BEGIN>\n## `get_step`",
"Computes the 'step' to take for the next gradient descent update.",
" Returns the step rather t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_of_array_ignoring_zeros 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 log_of_array_ignoring_zeros API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Returns an array containing the logs of the nonzero
elements of M. Zeros are left alone since log(0) isn't
defined.
Parameters
----------
M : array-like
Returns
-------
array-like
Shape matches `M` | "Returns an array containing the logs of the nonzero\n elements of M. Zeros are left alone since log(0) isn't\n defined.\n\n Parameters\n ----------\n M : array-like\n\n Returns\n -------\n array-like\n Shape matches `M`" | 47 | false | roamanalytics/mittens | log_of_array_ignoring_zeros | 18,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.