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/MacHu-GWU/sqlalchemy_mate-project/ensure_session | LDU_FT | [
"<BEGIN>\n## `count_row`",
"Return number of rows in a table.",
" Example::",
" >>> count_row(engine, table_user)\n 3",
" **中文文档**",
" 返回一个表中的行数。\n<END>",
"<BEGIN>\n## `keys`",
"return list of all declared columns.",
" :rtype: List[str]\n<END>",
"<BEGIN>\n## `glance`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | If it is an engine, then create a session from it. And indicate that
this session should be closed after the job done.
:type engine_or_session: Union[Engine, Session]
:rtype: Tuple[Session, bool] | "If it is an engine, then create a session from it. And indicate that\n this session should be closed after the job done.\n\n :type engine_or_session: Union[Engine, Session]\n :rtype: Tuple[Session, bool]" | 92 | false | MacHu-GWU/sqlalchemy_mate-project | ensure_session | 22,173 | |
LDU_FT/sebp/scikit-survival/_get_continuous_and_ordinal_array | LDU_FT | [
"<BEGIN>\n## `_fit_and_score`",
"Train survival model on given data and return its score on test data\n<END>",
"<BEGIN>\n## `fit`",
"Fit estimator.",
" Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix",
" y : structured array, s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_continuous_and_ordinal_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_continuous_and_ordinal_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Convert array from continuous and ordered categorical columns | "Convert array from continuous and ordered categorical columns" | 432 | false | sebp/scikit-survival | _get_continuous_and_ordinal_array | 22,174 | |
LDU_FT/monarch-initiative/dipper/makeLeader | LDU_FT | [
"<BEGIN>\n## `_process_phenotype_hpoa`",
"see info on format here:\n http://www.human-phenotype-ontology.org/contao/index.php/annotation-guide.html",
" :param raw:\n :param limit:\n :return:\n<END>",
"<BEGIN>\n## `get_common_files`",
"Fetch the hpo-annotation-data\n [repos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeLeader API.
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 makeLeader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Add an annotation property to the given ```node_id```
to be the clique_leader.
This is a monarchism.
:param node_id:
:return: | "Add an annotation property to the given ```node_id```\n to be the clique_leader.\n This is a monarchism.\n :param node_id:\n :return:" | 848 | false | monarch-initiative/dipper | makeLeader | 22,175 | |
LDU_FT/ebu/PlugIt/forum_topic_get_by_tag_for_user | LDU_FT | [
"<BEGIN>\n## `doQuery`",
"Send a request to the server and return the result\n<END>",
"<BEGIN>\n## `ping`",
"Return true if the server successfully pinged\n<END>",
"<BEGIN>\n## `checkVersion`",
"Check if the server use the same version of our protocol\n<END>",
"<BEGIN>\n## `getMedia`",
"Return a tuple... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forum_topic_get_by_tag_for_user 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 forum_topic_get_by_tag_for_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Get all forum topics with a specific tag | "Get all forum topics with a specific tag" | 75 | false | ebu/PlugIt | forum_topic_get_by_tag_for_user | 22,176 | |
LDU_FT/fstab50/metal/options | LDU_FT | [
"<BEGIN>\n## `compile_binary`",
"Prepare chkrootkit binary\n $ tar xzvf chkrootkit.tar.gz\n $ cd chkrootkit-0.52\n $ make sense\n sudo mv chkrootkit-0.52 /usr/local/chkrootkit\n sudo ln -s\n<END>",
"<BEGIN>\n## `valid_checksum`",
"Summary:\n Validate file checksum using md5 hash\n Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
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 options API.
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... | Summary:
parse cli parameter options
Returns:
TYPE: argparse object, parser argument set | "Summary:\n parse cli parameter options\n Returns:\n TYPE: argparse object, parser argument set" | 67 | false | fstab50/metal | options | 22,177 | |
LDU_FT/hmeine/qimage2ndarray/byte_view | LDU_FT | [
"<BEGIN>\n## `requireCompatibleAPI`",
"If PyQt4's API should be configured to be compatible with PySide's\n (i.e. QString and QVariant should not be explicitly exported,\n cf. documentation of sip.setapi()), call this function to check that\n the PyQt4 was properly imported. (It will always ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the byte_view API.
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 byte_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns raw 3D view of the given QImage_'s memory. This will
always be a 3-dimensional numpy.ndarray with dtype numpy.uint8.
Note that for 32-bit images, the last dimension will be in the
[B,G,R,A] order (if little endian) due to QImage_'s memory layout
(the alpha channel will be present for Forma... | "Returns raw 3D view of the given QImage_'s memory. This will\n always be a 3-dimensional numpy.ndarray with dtype numpy.uint8.\n \n Note that for 32-bit images, the last dimension will be in the\n [B,G,R,A] order (if little endian) due to QImage_'s memory layout\n (the alpha channel will be present for... | 52 | false | hmeine/qimage2ndarray | byte_view | 22,178 | |
LDU_FT/Clarify/clarify_python/request_insight | LDU_FT | [
"<BEGIN>\n## `process_embed`",
"Returns an embed field value based on the parameters.\n<END>",
"<BEGIN>\n## `process_embed_override`",
"Returns an embed field value based on the parameters.\n<END>",
"<BEGIN>\n## `get_embedded_items`",
"Given a result_collection (returned by a previous API call that\n r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_insight API.
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 request_insight API.
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... | Requests an insight to be run.
Normally insights are set to automatically run so you will NOT need
to call this method -- use get_insight() instead.
However, non-autorun insights can be requested using this method (for
example high-accuracy transcripts or closed captions). If the insigh... | "Requests an insight to be run.\n\n Normally insights are set to automatically run so you will NOT need\n to call this method -- use get_insight() instead.\n However, non-autorun insights can be requested using this method (for\n example high-accuracy transcripts or closed captions). If the ... | 137 | false | Clarify/clarify_python | request_insight | 22,179 | |
LDU_FT/mattsolo1/hmmerclust/set_best_hit_values_for_proteins | LDU_FT | [
"<BEGIN>\n## `fetch_gbwithparts`",
"Download genbank files from NCBI using Biopython Entrez efetch.",
" Args:\n list_of_NC_accessions (list): a list of strings, e.g ['NC_015758', 'NC_002695']\n email (string): NCBI wants your email\n folder (string): Where the gb files download to, gene... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_best_hit_values_for_proteins 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 set_best_hit_values_for_proteins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Iterate through all proteins in the DB,
drop duplicates in the hit_dataframe, then store the maximum
hit information as protein attributes. | "Iterate through all proteins in the DB,\n drop duplicates in the hit_dataframe, then store the maximum\n hit information as protein attributes." | 40 | false | mattsolo1/hmmerclust | set_best_hit_values_for_proteins | 22,180 | |
LDU_FT/dalloriam/engel/register | LDU_FT | [
"<BEGIN>\n## `load_stylesheet`",
"Proper way to dynamically inject a stylesheet in a page.",
" :param path: Path of the stylesheet to inject.\n<END>",
"<BEGIN>\n## `add_child`",
"Append a widget to the list.",
" :param widget: Object inheriting :class:`~.widgets.base.BaseElement`\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Resister an event that you want to monitor.
:param event: Name of the event to monitor
:param callback: Callback function for when the event is received (Params: event, interface).
:param selector: `(Optional)` CSS selector for the element(s) you want to monitor. | "Resister an event that you want to monitor.\n\n :param event: Name of the event to monitor\n :param callback: Callback function for when the event is received (Params: event, interface).\n :param selector: `(Optional)` CSS selector for the element(s) you want to monitor." | 40 | false | dalloriam/engel | register | 22,181 | |
LDU_FT/jazzband/django-push-notifications/get_prep_value | LDU_FT | [
"<BEGIN>\n## `get_prep_value`",
"Return the integer value to be stored from the hex string\n<END>",
"<BEGIN>\n## `from_db_value`",
"Return an unsigned int representation from all db backends\n<END>",
"<BEGIN>\n## `to_python`",
"Return a str representation of the hexadecimal\n<END>",
"<BEGIN>\n## `apns_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prep_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prep_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return the integer value to be stored from the hex string | "Return the integer value to be stored from the hex string" | 61 | false | jazzband/django-push-notifications | get_prep_value | 22,182 | |
LDU_FT/OpenDataScienceLab/skdata/dropna | LDU_FT | [
"<BEGIN>\n## `categorize`",
":param data:\n :param col_name:\n :param new_col_name:\n :param categories:\n :param max_categories: max proportion threshold of categories\n :return: new categories\n :rtype dict:\n<END>",
"<BEGIN>\n## `dropna`",
"Remove columns with more NA values than threshol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dropna API.
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 dropna API.
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 ... | Remove columns with more NA values than threshold level
:param data:
:param axis:
Axes are defined for arrays with more than one dimension.
A 2-dimensional array has two corresponding axes: the first running
vertically downwards across rows (axis 0), and the second running
horizontally ... | "Remove columns with more NA values than threshold level\n\n :param data:\n :param axis:\n Axes are defined for arrays with more than one dimension.\n A 2-dimensional array has two corresponding axes: the first running\n vertically downwards across rows (axis 0), and the second running\n horiz... | 23 | false | OpenDataScienceLab/skdata | dropna | 22,183 | |
LDU_FT/taddeus/wspy/contains_frame | LDU_FT | [
"<BEGIN>\n## `conflicts`",
"Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters).\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains_frame API.
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 contains_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Read the frame length from the start of `data` and check if the data is
long enough to contain the entire frame. | "Read the frame length from the start of `data` and check if the data is\n long enough to contain the entire frame." | 72 | false | taddeus/wspy | contains_frame | 22,184 | |
LDU_FT/libnano/primer3-py/calcEndStability | LDU_FT | [
"<BEGIN>\n## `_parse_ntthal`",
"Helper method that uses regex to parse ntthal output.\n<END>",
"<BEGIN>\n## `calcThermo`",
"Main subprocess wrapper for calls to the ntthal executable.",
" Returns a named tuple with tm, ds, dh, and dg values or None if no\n structure / complex could be computed.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calcEndStability API.
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 calcEndStability API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calculate the 3' end stability of DNA sequence `seq1` against DNA
sequence `seq2`.
**Note that at least one of the two sequences must by <60 bp in length.**
This is a cap imposed by Primer3 as the longest reasonable sequence length
for which a two-state NN model produces reliable results (see
prime... | "Calculate the 3' end stability of DNA sequence `seq1` against DNA\n sequence `seq2`.\n\n **Note that at least one of the two sequences must by <60 bp in length.**\n This is a cap imposed by Primer3 as the longest reasonable sequence length\n for which a two-state NN model produces reliable results (see\n ... | 43 | false | libnano/primer3-py | calcEndStability | 22,185 | |
LDU_FT/koenedaele/pyramid_skosprovider/concept_adapter | LDU_FT | [
"<BEGIN>\n## `concept_adapter`",
"Adapter for rendering a :class:`skosprovider.skos.Concept` to json.",
" :param skosprovider.skos.Concept obj: The concept to be rendered.\n :rtype: :class:`dict`\n<END>",
"<BEGIN>\n## `collection_adapter`",
"Adapter for rendering a :class:`skosprovider.skos.Collection... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concept_adapter API.
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 concept_adapter API.
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... | Adapter for rendering a :class:`skosprovider.skos.Concept` to json.
:param skosprovider.skos.Concept obj: The concept to be rendered.
:rtype: :class:`dict` | "Adapter for rendering a :class:`skosprovider.skos.Concept` to json.\n\n :param skosprovider.skos.Concept obj: The concept to be rendered.\n :rtype: :class:`dict`" | 20 | false | koenedaele/pyramid_skosprovider | concept_adapter | 22,186 | |
LDU_FT/rasguanabana/ytfs/__exists | LDU_FT | [
"<BEGIN>\n## `__getChannelId`",
"Obtain channel id for channel name, if present in ``self.search_params``.\n<END>",
"<BEGIN>\n## `__searchParser`",
"Parse `query` for advanced search options.",
" Parameters\n ----------\n query : str\n Search query to parse. Besides a search ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Check if file of given path exists.
Parameters
----------
p : str or tuple
Path or tuple identifier.
Returns
-------
exists : bool
``True``, if file exists. Otherwise ``False``. | "Check if file of given path exists.\n\n Parameters\n ----------\n p : str or tuple\n Path or tuple identifier.\n\n Returns\n -------\n exists : bool\n ``True``, if file exists. Otherwise ``False``." | 109 | false | rasguanabana/ytfs | __exists | 22,187 | |
LDU_FT/0k/shyaml/main | LDU_FT | [
"<BEGIN>\n## `tokenize`",
"r\"\"\"Returns an iterable through all subparts of string splitted by '.'",
" So:",
" >>> list(tokenize('foo.bar.wiz'))\n ['foo', 'bar', 'wiz']",
" Contrary to traditional ``.split()`` method, this function has to\n deal with any type of data in the string. ... | 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... | Entrypoint of the whole commandline application | "Entrypoint of the whole commandline application" | 30 | false | 0k/shyaml | main | 22,188 | |
LDU_FT/erijo/tellcore-py/sensors | LDU_FT | [
"<BEGIN>\n## `tdSensor`",
"Get the next sensor while iterating.",
" :return: a dict with the keys: protocol, model, id, datatypes.\n<END>",
"<BEGIN>\n## `tdSensorValue`",
"Get the sensor value for a given sensor.",
" :return: a dict with the keys: value, timestamp.\n<END>",
"<BEGIN>\n## `t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sensors API.
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 sensors API.
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 all known sensors.
:return: list of :class:`Sensor` instances. | "Return all known sensors.\n\n :return: list of :class:`Sensor` instances." | 34 | false | erijo/tellcore-py | sensors | 22,189 | |
LDU_FT/rstoneback/pysatMagVect/step_along_mag_unit_vector | LDU_FT | [
"<BEGIN>\n## `add_mag_drift_unit_vectors_ecef`",
"Adds unit vectors expressing the ion drift coordinate system\n organized by the geomagnetic field. Unit vectors are expressed\n in ECEF coordinates.",
" Parameters\n ----------\n inst : pysat.Instrument\n Instrument object that will get uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_along_mag_unit_vector API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_along_mag_unit_vector API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Move along 'lines' formed by following the magnetic unit vector directions.
Moving along the field is effectively the same as a field line trace though
extended movement along a field should use the specific field_line_trace
method.
Parameters
----------
x : ECEF-x (km)
L... | "Move along 'lines' formed by following the magnetic unit vector directions.\n\n Moving along the field is effectively the same as a field line trace though\n extended movement along a field should use the specific field_line_trace \n method.\n \n \n Parameters\n ----------\n x : ECEF-x (km)... | 108 | false | rstoneback/pysatMagVect | step_along_mag_unit_vector | 22,190 | |
LDU_FT/pjuren/pyokit/center_middle | LDU_FT | [
"<BEGIN>\n## `__trim_extensions_dot`",
"trim leading dots from extensions and drop any empty strings.\n<END>",
"<BEGIN>\n## `__split_genomic_interval_filename`",
"Split a filename of the format chrom:start-end.ext or chrom.ext (full chrom).",
" :return: tuple of (chrom, start, end) -- 'start' and 'end' are... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the center_middle API.
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 center_middle API.
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... | Center a region on its middle and expand it to window_size bases.
:return: the new region. | "Center a region on its middle and expand it to window_size bases.\n\n :return: the new region." | 519 | false | pjuren/pyokit | center_middle | 22,191 | |
LDU_FT/axltxl/m2bk/get_entry | LDU_FT | [
"<BEGIN>\n## `chkstr`",
"Small routine for checking whether a string is empty\n even a string",
" :param s: the string in question\n :param v: variable name\n<END>",
"<BEGIN>\n## `load`",
"Load this driver",
" Note that if either aws_access_key_id or aws_secret_access_key are\n not specifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entry API.
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 get_entry API.
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... | Get a configuration entry
:param key: key name
:returns: mixed value
:raises KeyError: if key has not been found
:raises TypeError: if key is not str | "Get a configuration entry\n\n :param key: key name\n :returns: mixed value\n :raises KeyError: if key has not been found\n :raises TypeError: if key is not str" | 83 | false | axltxl/m2bk | get_entry | 22,192 | |
LDU_FT/deep-compute/logagg/assign_default_log_values | LDU_FT | [
"<BEGIN>\n## `start_daemon_thread`",
"starts a deamon thread for a given target function and arguments.\n<END>",
"<BEGIN>\n## `serialize_dict_keys`",
"returns all the keys in a dictionary.",
" >>> serialize_dict_keys({\"a\": {\"b\": {\"c\": 1, \"b\": 2} } })\n ['a', 'a.b', 'a.b.c', 'a.b.b']\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_default_log_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_default_log_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | >>> lc = LogCollector('file=/path/to/log_file.log:formatter=logagg.formatters.basescript', 30)
>>> from pprint import pprint
>>> formatter = 'logagg.formatters.mongodb'
>>> fpath = '/var/log/mongodb/mongodb.log'
>>> line = 'some log line here'
>>> default_log = lc.assign_defaul... | ">>> lc = LogCollector('file=/path/to/log_file.log:formatter=logagg.formatters.basescript', 30)\n >>> from pprint import pprint\n\n >>> formatter = 'logagg.formatters.mongodb'\n >>> fpath = '/var/log/mongodb/mongodb.log'\n >>> line = 'some log line here'\n\n >>> default_log = lc.assig... | 59 | false | deep-compute/logagg | assign_default_log_values | 22,193 | |
LDU_FT/cloudendpoints/endpoints-management-python/enterabs | LDU_FT | [
"<BEGIN>\n## `convert_response`",
"Computes a http status code and message `CheckResponse`",
" The return value a tuple (code, message, api_key_is_bad) where",
" code: is the http status code\n message: is the message to return\n api_key_is_bad: indicates that a given api_key is bad",
" Args:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enterabs API.
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 enterabs API.
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... | Enter a new event in the queue at an absolute time.
Returns an ID for the event which can be used to remove it,
if necessary. | "Enter a new event in the queue at an absolute time.\n\n Returns an ID for the event which can be used to remove it,\n if necessary." | 308 | false | cloudendpoints/endpoints-management-python | enterabs | 22,194 | |
LDU_FT/openai/universe/read_safe | LDU_FT | [
"<BEGIN>\n## `send_KeyEvent`",
"For most ordinary keys, the \"keysym\" is the same as the\n corresponding ASCII value. Other common keys are shown in the\n KEY_ constants.\n<END>",
"<BEGIN>\n## `send_PointerEvent`",
"Indicates either pointer movement or a pointer button press or\n rel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_safe API.
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 read_safe API.
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... | We currently close our fbs files by killing them, so sometimes they end
up with bad data at the end. Close our reader if we expect `size` bytes
and get fewer.
This is a hack and should be removed when we cleanly close our
connections in fbs_writer.
https://github.com/openai/uni... | "We currently close our fbs files by killing them, so sometimes they end\n up with bad data at the end. Close our reader if we expect `size` bytes\n and get fewer.\n\n This is a hack and should be removed when we cleanly close our\n connections in fbs_writer.\n\n https://github.com/op... | 126 | false | openai/universe | read_safe | 22,195 | |
LDU_FT/user-cont/colin/get_instance | LDU_FT | [
"<BEGIN>\n## `run`",
"Runs the sanity checks for the target.",
" :param timeout: timeout per-check (in seconds)\n :param skips: name of checks to skip\n :param target: str (image name, ostree or dockertar)\n or ImageTarget\n or path/file-like object for dockerfile\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instance API.
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... | :param target_type: string, either image, dockertar, ostree or dockerfile | ":param target_type: string, either image, dockertar, ostree or dockerfile" | 114 | false | user-cont/colin | get_instance | 22,196 | |
LDU_FT/jaraco/hgtools/get_tags | LDU_FT | [
"<BEGIN>\n## `file_finder`",
"Find the files in ``dirname`` under Mercurial version control\n\taccording to the setuptools spec (see\n\thttp://peak.telecommunity.com/DevCenter/setuptools#adding-support-for-other-revision-control-systems\n\t).\n<END>",
"<BEGIN>\n## `patch_egg_info`",
"A hack to replace egg_inf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags API.
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... | Get the tags for the given revision specifier (or the
current revision if not specified). | "Get the tags for the given revision specifier (or the\n\t\tcurrent revision if not specified)." | 50 | false | jaraco/hgtools | get_tags | 22,197 | |
LDU_FT/ryanjdillon/pyotelem/plot_triaxial_descent_ascent | LDU_FT | [
"<BEGIN>\n## `plot_lf_hf`",
"Plot original signal, low-pass filtered, and high-pass filtered signals",
" Args\n ----\n x: ndarray\n Signal data array\n xlf: ndarray\n Low-pass filtered signal\n xhf: ndarray\n High-pass filtered signal\n title: str\n Main title of pl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_triaxial_descent_ascent 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 plot_triaxial_descent_ascent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Plot triaxial accelerometer data for whole deployment, descents, and
ascents
Only x and z axes are ploted since these are associated with stroking
Args
----
Ax: ndarray
X-axis acclerometer data array
Az: ndarray
Z-axis acclerometer data array
des: ndarray
boolean ma... | "Plot triaxial accelerometer data for whole deployment, descents, and\n ascents\n\n Only x and z axes are ploted since these are associated with stroking\n\n Args\n ----\n Ax: ndarray\n X-axis acclerometer data array\n Az: ndarray\n Z-axis acclerometer data array\n des: ndarray\n ... | 268 | false | ryanjdillon/pyotelem | plot_triaxial_descent_ascent | 22,198 | |
LDU_FT/square/connect-python-sdk/modifier_list_id | LDU_FT | [
"<BEGIN>\n## `attribute_name`",
"Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.",
" :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>",
"<BEGIN>\n## `idempotency_key`",
"Sets the idempotency_key of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modifier_list_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modifier_list_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sets the modifier_list_id of this CatalogItemModifierListInfo.
The ID of the [CatalogModifierList](#type-catalogmodifierlist) controlled by this [CatalogModifierListInfo](#type-catalogmodifierlistinfo).
:param modifier_list_id: The modifier_list_id of this CatalogItemModifierListInfo.
:type: st... | "Sets the modifier_list_id of this CatalogItemModifierListInfo.\n The ID of the [CatalogModifierList](#type-catalogmodifierlist) controlled by this [CatalogModifierListInfo](#type-catalogmodifierlistinfo).\n\n :param modifier_list_id: The modifier_list_id of this CatalogItemModifierListInfo.\n :typ... | 148 | false | square/connect-python-sdk | modifier_list_id | 22,199 | |
LDU_FT/lambdalisue/notify/parse_arguments | LDU_FT | [
"<BEGIN>\n## `create_message`",
"Create message object for sending email",
" Parameters\n ----------\n from_addr : string\n An email address used for 'From' attribute\n to_addr : string\n An email address used for 'To' attribute\n subject : string\n An email subject string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Parse specified arguments via config
Parameters
----------
args : list
Command line arguments
config : object
ConfigParser instance which values are used as default values of
options
Returns
-------
list : arguments, options
options indicate the return value... | "Parse specified arguments via config\n\n Parameters\n ----------\n args : list\n Command line arguments\n config : object\n ConfigParser instance which values are used as default values of\n options\n\n Returns\n -------\n list : arguments, options\n options indicate th... | 40 | false | lambdalisue/notify | parse_arguments | 22,200 | |
LDU_FT/mrcagney/gtfstk/get_first_week | LDU_FT | [
"<BEGIN>\n## `get_stop_times`",
"Return a subset of ``feed.stop_times``.",
" Parameters\n ----------\n feed : Feed\n date : string\n YYYYMMDD date string restricting the output to trips active\n on the date",
" Returns\n -------\n DataFrame\n Subset of ``feed.stop_tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first_week API.
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_first_week API.
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 a list of date corresponding to the first Monday--Sunday
week for which this feed is valid.
If the given feed does not cover a full Monday--Sunday week,
then return whatever initial segment of the week it does cover,
which could be the empty list.
Parameters
----------
feed : "Feed"
... | "Return a list of date corresponding to the first Monday--Sunday\n week for which this feed is valid.\n If the given feed does not cover a full Monday--Sunday week,\n then return whatever initial segment of the week it does cover,\n which could be the empty list.\n\n Parameters\n ----------\n feed ... | 474 | false | mrcagney/gtfstk | get_first_week | 22,201 | |
LDU_FT/lalinsky/python-phoenixdb/close | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connects to a Phoenix query server.",
" :param url:\n URL to the Phoenix query server, e.g. ``http://localhost:8765/``",
" :param autocommit:\n Switch the connection to autocommit mode.",
" :param readonly:\n Switch the connection to readonly mode.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
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 close API.
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... | Closes the connection.
No further operations are allowed, either on the connection or any
of its cursors, once the connection is closed.
If the connection is used in a ``with`` statement, this method will
be automatically called at the end of the ``with`` block. | "Closes the connection.\n No further operations are allowed, either on the connection or any\n of its cursors, once the connection is closed.\n\n If the connection is used in a ``with`` statement, this method will\n be automatically called at the end of the ``with`` block." | 86 | false | lalinsky/python-phoenixdb | close | 22,202 | |
LDU_FT/jobovy/galpy/plotE | LDU_FT | [
"<BEGIN>\n## `_evaluate`",
"NAME:\n _evaluate\n PURPOSE:\n evaluate the potential at (R,z)\n INPUT:\n R - Cylindrical Galactocentric radius\n z - vertical height\n phi - azimuth\n t - time\n OUTPUT:\n potential at (R,z)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plotE API.
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 plotE API.
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... | NAME:
plotE
PURPOSE:
plot E(.) along the orbit
INPUT:
pot= Potential instance or list of instances in which the orbit was integrated
d1= plot Ez vs d1: e.g., 't', 'z', 'R', 'vR', 'vT', 'vz'
normed= if set, plot E(t)/E(0) rather than E(t... | "NAME:\n\n plotE\n\n PURPOSE:\n\n plot E(.) along the orbit\n\n INPUT:\n\n pot= Potential instance or list of instances in which the orbit was integrated\n\n d1= plot Ez vs d1: e.g., 't', 'z', 'R', 'vR', 'vT', 'vz' \n\n normed= if set, plot E(t)/E(0) ... | 5,004 | true | jobovy/galpy | plotE | 22,203 | |
LDU_FT/sashahart/cookies/from_request | LDU_FT | [
"<BEGIN>\n## `strip_spaces_and_quotes`",
"Remove invalid whitespace and/or single pair of dquotes and return None\n for empty strings.",
" Used to prepare cookie values, path, and domain attributes in a way which\n tolerates simple formatting mistakes and standards variations.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Construct a Cookies object from request header data. | "Construct a Cookies object from request header data." | 63 | false | sashahart/cookies | from_request | 22,204 | |
LDU_FT/smira/txZMQ/_cancel | LDU_FT | [
"<BEGIN>\n## `shutdown`",
"Shutdown factory.",
" This is shutting down all created connections\n and terminating ZeroMQ context. Also cleans up\n Twisted reactor.\n<END>",
"<BEGIN>\n## `publish`",
"Publish `message` with specified `tag`.",
" :param message: message data\n ... | 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 outstanding REQ, drop reply silently.
@param msgId: message ID to cancel
@type msgId: C{str} | "Cancel outstanding REQ, drop reply silently.\n\n @param msgId: message ID to cancel\n @type msgId: C{str}" | 35 | false | smira/txZMQ | _cancel | 22,205 | |
LDU_FT/MoseleyBioinformaticsLab/mwtab/_to_textfile | LDU_FT | [
"<BEGIN>\n## `read`",
"Read data into a :class:`~mwtab.mwtab.MWTabFile` instance.",
" :param filehandle: file-like object.\n :type filehandle: :py:class:`io.TextIOWrapper`, :py:class:`gzip.GzipFile`,\n :py:class:`bz2.BZ2File`, :py:class:`zipfile.ZipFile`\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_textfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_textfile API.
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... | Convert file to regular text file.
:return: None
:rtype: :py:obj:`None` | "Convert file to regular text file.\n :return: None\n :rtype: :py:obj:`None`" | 74 | false | MoseleyBioinformaticsLab/mwtab | _to_textfile | 22,206 | |
LDU_FT/rsalmei/clearly/__start | LDU_FT | [
"<BEGIN>\n## `server`",
"Starts the Clearly Server.",
" BROKER: The broker being used by celery, like \"amqp://localhost\".\n<END>",
"<BEGIN>\n## `start_server`",
"Starts a Clearly Server programmatically.\n<END>",
"<BEGIN>\n## `_event_to_pb`",
"Supports converting internal TaskData and WorkerDat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Starts the real-time engine that captures events. | "Starts the real-time engine that captures events." | 63 | false | rsalmei/clearly | __start | 22,207 | |
LDU_FT/pytroll/pyspectral/inband_solarirradiance | LDU_FT | [
"<BEGIN>\n## `radiance2tb`",
"Get the Tb from the radiance using the Planck function",
" rad:\n Radiance in SI units\n wavelength:\n Wavelength in SI units (meter)\n<END>",
"<BEGIN>\n## `_get_rsr`",
"Get the relative spectral responses from file, find the bandname, and\n convert t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inband_solarirradiance 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 inband_solarirradiance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Derive the inband solar irradiance for a given instrument relative
spectral response valid for an earth-sun distance of one AU. | "Derive the inband solar irradiance for a given instrument relative\n spectral response valid for an earth-sun distance of one AU." | 129 | false | pytroll/pyspectral | inband_solarirradiance | 22,208 | |
LDU_FT/bapakode/OmMongo/wrap | LDU_FT | [
"<BEGIN>\n## `setdefault`",
"if the ``name`` is set, return its value. Otherwse set ``name`` to\n ``value`` and return ``value``\n<END>",
"<BEGIN>\n## `ascending`",
"Add a descending index for ``name`` to this index.",
" :param name: Name to be used in the index\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap API.
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 wrap API.
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... | Validate and then wrap ``value`` for insertion.
:param value: the tuple (or list) to wrap | "Validate and then wrap ``value`` for insertion.\n\n :param value: the tuple (or list) to wrap" | 248 | false | bapakode/OmMongo | wrap | 22,209 | |
LDU_FT/Telefonica/toolium/execute_after_scenario_steps | LDU_FT | [
"<BEGIN>\n## `create_driver`",
"Create a selenium driver using specified config properties",
" :returns: a new selenium driver\n :rtype: selenium.webdriver.remote.webdriver.WebDriver\n<END>",
"<BEGIN>\n## `_create_remote_driver`",
"Create a driver in a remote server\n View valid capabil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_after_scenario_steps 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 execute_after_scenario_steps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | actions after each scenario
:param context: It’s a clever place where you and behave can store information to share around, automatically managed by behave. | "actions after each scenario\n :param context: It’s a clever place where you and behave can store information to share around, automatically managed by behave." | 381 | false | Telefonica/toolium | execute_after_scenario_steps | 22,210 | |
LDU_FT/dwavesystems/dimod/remove_interaction | LDU_FT | [
"<BEGIN>\n## `sample`",
"Give random samples for a binary quadratic model.",
" Variable assignments are chosen by coin flip.",
" Args:\n bqm (:obj:`.BinaryQuadraticModel`):\n Binary quadratic model to be sampled from.",
" num_reads (int, optional, default=1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_interaction 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_interaction 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... | Remove interaction of variables u, v from a binary quadratic model.
Args:
u (variable):
One of the pair of variables in the binary quadratic model that
has an interaction.
v (variable):
One of the pair of variables in the binary quadratic... | "Remove interaction of variables u, v from a binary quadratic model.\n\n Args:\n u (variable):\n One of the pair of variables in the binary quadratic model that\n has an interaction.\n\n v (variable):\n One of the pair of variables in the binary ... | 908 | false | dwavesystems/dimod | remove_interaction | 22,211 | |
LDU_FT/jhuapl-boss/intern/update_permissions | LDU_FT | [
"<BEGIN>\n## `list_groups`",
"Get the groups the logged in user is a member of.",
" Optionally filter by 'member' or 'maintainer'.",
" Args:\n filtr (string|None): ['member'|'maintainer'] or defaults to None.\n url_prefix (string): Protocol + host such as https://api.thebos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_permissions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_permissions 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... | Update permissions for the group associated with the given resource.
Args:
grp_name (string): Name of group.
resource (intern.resource.boss.Resource): Identifies which data
model object to operate on
permissions (list): List of permissions to add to the given... | "Update permissions for the group associated with the given resource.\n\n Args:\n grp_name (string): Name of group.\n resource (intern.resource.boss.Resource): Identifies which data\n model object to operate on\n permissions (list): List of permissions to add to th... | 451 | false | jhuapl-boss/intern | update_permissions | 22,212 | |
LDU_FT/sanger-pathogens/ariba/_parse_nucmer_coords_file | LDU_FT | [
"<BEGIN>\n## `_update_threads`",
"Update available thread count post-construction.\n To be called any number of times from run() method\n<END>",
"<BEGIN>\n## `_report_completion`",
"Update shared counters to signal that we are done with this cluster.\n Call just before exiting run() method (in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_nucmer_coords_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_nucmer_coords_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Input is coords file made by self._run_nucmer. Reference should have one sequence only.
ref_name is name fo the reference sequence, to sanity check the coords file.
Returns dictionary. Key = assembly contig name. Value = list of nucmer hits to that contig | "Input is coords file made by self._run_nucmer. Reference should have one sequence only.\n ref_name is name fo the reference sequence, to sanity check the coords file.\n Returns dictionary. Key = assembly contig name. Value = list of nucmer hits to that contig" | 105 | false | sanger-pathogens/ariba | _parse_nucmer_coords_file | 22,213 | |
LDU_FT/theiviaxx/python-perforce/revert | LDU_FT | [
"<BEGIN>\n## `split_ls`",
"Decorator to split files into manageable chunks as not to exceed the windows cmd limit",
" :param func: Function to call for each chunk\n :type func: :py:class:Function\n<END>",
"<BEGIN>\n## `status`",
"The status of the connection to perforce\n<END>",
"<BEGIN>\n## `run`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revert API.
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 revert API.
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 ... | Revert all files in this changelist
:param unchanged_only: Only revert unchanged files
:type unchanged_only: bool
:raises: :class:`.ChangelistError` | "Revert all files in this changelist\n\n :param unchanged_only: Only revert unchanged files\n :type unchanged_only: bool\n :raises: :class:`.ChangelistError`" | 74 | false | theiviaxx/python-perforce | revert | 22,214 | |
LDU_FT/Hundemeier/sacn/getBytes | LDU_FT | [
"<BEGIN>\n## `activate_output`",
"Activates a universe that's then starting to sending every second.\n See http://tsp.esta.org/tsp/documents/docs/E1-31-2016.pdf for more information\n :param universe: the universe to activate\n<END>",
"<BEGIN>\n## `deactivate_output`",
"Deactivates an existing s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getBytes API.
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 getBytes API.
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 the Root layer as list with bytes | "Returns the Root layer as list with bytes" | 32 | false | Hundemeier/sacn | getBytes | 22,215 | |
LDU_FT/cbclab/MOT/deviance_information_criterions | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deviance_information_criterions 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 deviance_information_criterions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | r"""Calculates the Deviance Information Criteria (DIC) using three methods.
This returns a dictionary returning the ``DIC_2002``, the ``DIC_2004`` and the ``DIC_Ando_2011`` method.
The first is based on Spiegelhalter et al (2002), the second based on Gelman et al. (2004) and the last on
Ando (2011). All ca... | "r\"\"\"Calculates the Deviance Information Criteria (DIC) using three methods.\n\n This returns a dictionary returning the ``DIC_2002``, the ``DIC_2004`` and the ``DIC_Ando_2011`` method.\n The first is based on Spiegelhalter et al (2002), the second based on Gelman et al. (2004) and the last on\n Ando (2011)... | 445 | false | cbclab/MOT | deviance_information_criterions | 22,216 | |
LDU_FT/CalebBell/fluids/V_horiz_spherical | LDU_FT | [
"<BEGIN>\n## `ccor`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODELS\n * ALT - altitude\n * R - target ratio\n * H1 - transition scale length\n * ZH - altitude of 1/2 R\n */\n<END>",
"<BEGIN>\n## `ccor2`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the V_horiz_spherical API.
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 V_horiz_spherical API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | r'''Calculates volume of a tank with spherical heads, according to [1]_.
.. math::
V_f = A_fL + \frac{\pi a}{6}(3R^2 + a^2),\;\; h = R, |a|\le R
.. math::
V_f = A_fL + \frac{\pi a}{3}(3R^2 + a^2),\;\; h = D, |a|\le R
.. math::
V_f = A_fL + \pi a h^2\left(1 - \frac{h}{3R}\right),\;... | "r'''Calculates volume of a tank with spherical heads, according to [1]_.\n\n .. math::\n V_f = A_fL + \\frac{\\pi a}{6}(3R^2 + a^2),\\;\\; h = R, |a|\\le R\n\n .. math::\n V_f = A_fL + \\frac{\\pi a}{3}(3R^2 + a^2),\\;\\; h = D, |a|\\le R\n\n .. math::\n V_f = A_fL + \\pi a h^2\\left(1 - ... | 3,613 | true | CalebBell/fluids | V_horiz_spherical | 22,217 | |
LDU_FT/greenbone/ospd/handle_start_scan_command | LDU_FT | [
"<BEGIN>\n## `run_command`",
"Run a single command via SSH and return the content of stdout or\n None in case of an Error. A scan error is issued in the latter\n case.",
" For logging into 'host', the scan options 'port', 'username',\n 'password' and 'ssh_timeout' are used.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_start_scan_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_start_scan_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Handles <start_scan> command.
@return: Response string for <start_scan> command. | "Handles <start_scan> command.\n\n @return: Response string for <start_scan> command." | 203 | false | greenbone/ospd | handle_start_scan_command | 22,218 | |
LDU_FT/CalebBell/fluids/control_valve_choke_P_l | LDU_FT | [
"<BEGIN>\n## `ccor`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODELS\n * ALT - altitude\n * R - target ratio\n * H1 - transition scale length\n * ZH - altitude of 1/2 R\n */\n<END>",
"<BEGIN>\n## `ccor2`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the control_valve_choke_P_l 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 control_valve_choke_P_l API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | r'''Calculates either the upstream or downstream pressure at which choked
flow though a liquid control valve occurs, given either a set upstream or
downstream pressure. Implements an analytical solution of
the needed equations from the full function
:py:func:`~.size_control_valve_l`. For some pressure... | "r'''Calculates either the upstream or downstream pressure at which choked\n flow though a liquid control valve occurs, given either a set upstream or \n downstream pressure. Implements an analytical solution of \n the needed equations from the full function\n :py:func:`~.size_control_valve_l`. For some pre... | 3,613 | true | CalebBell/fluids | control_valve_choke_P_l | 22,219 | |
LDU_FT/Grunny/zap-cli/filter_by_ids | LDU_FT | [
"<BEGIN>\n## `list_scanners`",
"Get a list of scanners and whether or not they are enabled.\n<END>",
"<BEGIN>\n## `list_policies`",
"Get a list of policies and whether or not they are enabled.\n<END>",
"<BEGIN>\n## `enable_policies`",
"Set the enabled policies to use in a scan.",
" When you enable a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by_ids API.
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_by_ids API.
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... | Filter a list of dicts by IDs using an id key on each dict. | "Filter a list of dicts by IDs using an id key on each dict." | 63 | false | Grunny/zap-cli | filter_by_ids | 22,220 | |
LDU_FT/Cito/DBUtils/_setsizes | LDU_FT | [
"<BEGIN>\n## `connection`",
"Get a steady, cached DB-API 2 connection from the pool.",
" If shareable is set and the underlying DB-API 2 allows it,\n then the connection may be shared with other threads.\n<END>",
"<BEGIN>\n## `unshare`",
"Decrease the share of a connection in the shared cache.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setsizes API.
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 _setsizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Set stored input and output sizes for cursor execution. | "Set stored input and output sizes for cursor execution." | 80 | false | Cito/DBUtils | _setsizes | 22,221 | |
LDU_FT/HazyResearch/metal/_generate_O | LDU_FT | [
"<BEGIN>\n## `plot_probabilities_histogram`",
"Plot a histogram from a numpy array of probabilities",
" Args:\n Y_p: An [n] or [n, 1] np.ndarray of probabilities (floats in [0,1])\n<END>",
"<BEGIN>\n## `plot_predictions_histogram`",
"Plot a histogram comparing int predictions vs true labels by cla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_O API.
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 _generate_O API.
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... | Form the overlaps matrix, which is just all the different observed
combinations of values of pairs of sources
Note that we only include the k non-abstain values of each source,
otherwise the model not minimal --> leads to singular matrix | "Form the overlaps matrix, which is just all the different observed\n combinations of values of pairs of sources\n\n Note that we only include the k non-abstain values of each source,\n otherwise the model not minimal --> leads to singular matrix" | 326 | false | HazyResearch/metal | _generate_O | 22,222 | |
LDU_FT/HDI-Project/ballet/modname_to_relpath | LDU_FT | [
"<BEGIN>\n## `check`",
"Check that the new file introduced is a python source file\n<END>",
"<BEGIN>\n## `check`",
"Check that the new file is within the contrib subdirectory\n<END>",
"<BEGIN>\n## `check`",
"Check that the name of the subpackage within contrib is valid",
" The package name must m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modname_to_relpath 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 modname_to_relpath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Convert module name to relative path.
The project root is usually needed to detect if the module is a package, in
which case the relevant file is the `__init__.py` within the subdirectory.
Example:
>>> modname_to_relpath('foo.features')
'foo/features.py'
>>> modname_to_relpath('foo... | "Convert module name to relative path.\n\n The project root is usually needed to detect if the module is a package, in\n which case the relevant file is the `__init__.py` within the subdirectory.\n\n Example:\n >>> modname_to_relpath('foo.features')\n 'foo/features.py'\n >>> modname_to_rel... | 252 | false | HDI-Project/ballet | modname_to_relpath | 22,223 | |
LDU_FT/artefactual-labs/mets-reader-writer/_premis_version_from_data | LDU_FT | [
"<BEGIN>\n## `register_id`",
"Register a manually assigned id as used, to avoid collisions.\n<END>",
"<BEGIN>\n## `parse`",
"Create a new AMDSec by parsing root.",
" :param root: Element or ElementTree to be parsed into an object.\n<END>",
"<BEGIN>\n## `serialize`",
"Serialize this amdSec and all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _premis_version_from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _premis_version_from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Given tuple ``data`` encoding a PREMIS element, attempt to return the
PREMIS version it is using. If none can be found, return the default PREMIS
version. | "Given tuple ``data`` encoding a PREMIS element, attempt to return the\n PREMIS version it is using. If none can be found, return the default PREMIS\n version." | 179 | false | artefactual-labs/mets-reader-writer | _premis_version_from_data | 22,224 | |
LDU_FT/jpatrickdill/faste/reset_frequencies | LDU_FT | [
"<BEGIN>\n## `rr_cache`",
"Random Replacement cache decorator, implementing :class:`faste.caches.RRCache`",
" :keyword int max_size: max cache size\n<END>",
"<BEGIN>\n## `lru_cache`",
"Least Recently Used cache decorator, implementing :class:`faste.caches.LRUCache`",
" :keyword max_size: max cache s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_frequencies API.
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 reset_frequencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Resets all stored frequencies for the cache
:keyword int frequency: Frequency to reset to, must be >= 0 | "Resets all stored frequencies for the cache\n\n :keyword int frequency: Frequency to reset to, must be >= 0" | 22 | false | jpatrickdill/faste | reset_frequencies | 22,225 | |
LDU_FT/edeposit/edeposit.amqp.storage/_check_obj_properties | LDU_FT | [
"<BEGIN>\n## `render_trees`",
"Render list of `trees` to HTML.",
" Args:\n trees (list): List of :class:`.Tree`.\n path_composer (fn reference): Function used to compose paths from UUID.\n Look at :func:`.compose_tree_path` from :mod:`.web_tools`.",
" Returns:\n str: HTML... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_obj_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_obj_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Make sure, that `pub` has the right interface.
Args:
pub (obj): Instance which will be checked.
name (str): Name of the instance. Used in exception. Default `pub`.
Raises:
InvalidType: When the `pub` is not instance of `obj_type`. | "Make sure, that `pub` has the right interface.\n\n Args:\n pub (obj): Instance which will be checked.\n name (str): Name of the instance. Used in exception. Default `pub`.\n\n Raises:\n InvalidType: When the `pub` is not instance of `obj_type`." | 140 | false | edeposit/edeposit.amqp.storage | _check_obj_properties | 22,226 | |
LDU_FT/cloudendpoints/endpoints-python/_set_bearer_user_vars_local | LDU_FT | [
"<BEGIN>\n## `_GetFieldAttributes`",
"Decomposes field into the needed arguments to pass to the constructor.",
" This can be used to create copies of the field or to compare if two fields\n are \"equal\" (since __eq__ is not implemented on messages.Field).",
" Args:\n field: A ProtoRPC message field (po... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_bearer_user_vars_local 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 _set_bearer_user_vars_local API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Validate the oauth bearer token on the dev server.
Since the functions in the oauth module return only example results in local
development, this hits the tokeninfo endpoint and attempts to validate the
token. If it's valid, we'll set _ENV_AUTH_EMAIL and _ENV_AUTH_DOMAIN so we
can get the user from the token.... | "Validate the oauth bearer token on the dev server.\n\n Since the functions in the oauth module return only example results in local\n development, this hits the tokeninfo endpoint and attempts to validate the\n token. If it's valid, we'll set _ENV_AUTH_EMAIL and _ENV_AUTH_DOMAIN so we\n can get the user from the ... | 801 | false | cloudendpoints/endpoints-python | _set_bearer_user_vars_local | 22,227 | |
LDU_FT/klen/adrest/dispatch | LDU_FT | [
"<BEGIN>\n## `convert_identifier_to_key`",
"Takes an identifier (like a username or IP address) and converts it\n into a key usable by the cache system.\n<END>",
"<BEGIN>\n## `emit`",
"Serialize response.",
" :return response: Instance of django.http.Response\n<END>",
"<BEGIN>\n## `seria... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
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 dispatch API.
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... | Try to dispatch the request.
:return object: result | "Try to dispatch the request.\n\n :return object: result" | 146 | false | klen/adrest | dispatch | 22,228 | |
LDU_FT/wtsi-hgi/consul-lock/acquire | LDU_FT | [
"<BEGIN>\n## `get_consul_configuration_from_environment`",
"Gets configuration on how to connect to Consul from the environment.\n :return: the configuration derived from the environment\n :raises KeyError: if a required environment variable has not been set\n<END>",
"<BEGIN>\n## `create_logger`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire API.
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 acquire API.
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... | Acquires a Consul lock.
:param key: the lock key
:param blocking: whether to block and wait for the lock
:param timeout: timeout in seconds
:param metadata: metadata to add to the lock information. Must be parsable by default JSON encode/decoder
:param on_before_lock: event liste... | "Acquires a Consul lock.\n :param key: the lock key\n :param blocking: whether to block and wait for the lock\n :param timeout: timeout in seconds\n :param metadata: metadata to add to the lock information. Must be parsable by default JSON encode/decoder\n :param on_before_lock: event... | 55 | false | wtsi-hgi/consul-lock | acquire | 22,229 | |
LDU_FT/robehickman/simple-http-file-sync/make_dirs_if_dont_exist | LDU_FT | [
"<BEGIN>\n## `lock_access`",
"Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>",
"<BEGIN>\n## `can_aquire_user_lock`",
"Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dirs_if_dont_exist 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 make_dirs_if_dont_exist 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 directories in path if they do not exist | "Create directories in path if they do not exist" | 60 | false | robehickman/simple-http-file-sync | make_dirs_if_dont_exist | 22,230 | |
LDU_FT/sixty-north/python-transducers/batching | LDU_FT | [
"<BEGIN>\n## `coroutine`",
"Decorator for priming generator-based coroutines.\n<END>",
"<BEGIN>\n## `ticker`",
"Yield numbers from 0 to `to` every `delay` seconds.\n<END>",
"<BEGIN>\n## `rprint`",
"A coroutine sink which prints received items stdout",
" Args:\n sep: Optional separator to be pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batching API.
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 batching API.
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... | Create a transducer which produces non-overlapping batches. | "Create a transducer which produces non-overlapping batches." | 38 | false | sixty-north/python-transducers | batching | 22,231 | |
LDU_FT/wgnet/webium/click | LDU_FT | [
"<BEGIN>\n## `click`",
"Click by WebElement, if not, JQuery click\n<END>",
"<BEGIN>\n## `convert_cookie_to_dict`",
"Converts an instance of Cookie class from cookielib to a dict.\n The names of attributes can be changed according to keys_map:.\n For example, this method can be used to create a cookie wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the click API.
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 click API.
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... | Click by WebElement, if not, JQuery click | "Click by WebElement, if not, JQuery click" | 20 | false | wgnet/webium | click | 22,232 | |
LDU_FT/yt-project/unyt/remove | LDU_FT | [
"<BEGIN>\n## `uconcatenate`",
"Concatenate a sequence of arrays.",
" This wrapper around numpy.concatenate preserves units. All input arrays\n must have the same units. See the documentation of numpy.concatenate for\n full details.",
" Examples\n --------\n >>> from unyt import cm\n >>> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
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 remove API.
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 ... | Remove the entry for the unit matching `symbol`.
Parameters
----------
symbol : str
The name of the unit symbol to remove from the registry. | "Remove the entry for the unit matching `symbol`.\n\n Parameters\n ----------\n\n symbol : str\n The name of the unit symbol to remove from the registry." | 236 | false | yt-project/unyt | remove | 22,233 | |
LDU_FT/eddiejessup/spatious/spherocylinder_radius | 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 spherocylinder_radius 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 spherocylinder_radius API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the radius of a
[spherocylinder](http://en.wikipedia.org/wiki/Capsule_(geometry)).
Parameters
----------
V: float
Volume.
l: float
Length of the cylinder section.
Returns
-------
R: float
Radius. | "Return the radius of a\n [spherocylinder](http://en.wikipedia.org/wiki/Capsule_(geometry)).\n\n Parameters\n ----------\n V: float\n Volume.\n l: float\n Length of the cylinder section.\n\n Returns\n -------\n R: float\n Radius." | 112 | false | eddiejessup/spatious | spherocylinder_radius | 22,234 | |
LDU_FT/Bachmann1234/diff-cover/execute | LDU_FT | [
"<BEGIN>\n## `_get_classes`",
"Given a path and parsed xml_document provides class nodes\n with the relevant lines",
" First, we look to see if xml_document contains a source\n node providing paths to search for",
" If we don't have that we check each nodes filename attribute\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
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... | Execute provided command returning the stdout
Args:
command (list[str]): list of tokens to execute as your command.
exit_codes (list[int]): exit codes which do not indicate error.
subprocess_mod (module): Defaults to pythons subprocess module but you can optionally pass in
another. T... | "Execute provided command returning the stdout\n Args:\n command (list[str]): list of tokens to execute as your command.\n exit_codes (list[int]): exit codes which do not indicate error.\n subprocess_mod (module): Defaults to pythons subprocess module but you can optionally pass in\n anot... | 146 | false | Bachmann1234/diff-cover | execute | 22,235 | |
LDU_FT/scrapinghub/exporters/decompress_messages | LDU_FT | [
"<BEGIN>\n## `formatted_prefix`",
"Gets a dict with format info, and formats a prefix template with that info. For example:\n if our prefix template is:\n 'some_file_{groups[0]}_{file_number}'",
" And we have this method called with:",
" formatted_prefix(groups=[US], file_number=0)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Decompress pre-defined compressed fields for each message.
Msgs should be unpacked before this step. | "Decompress pre-defined compressed fields for each message.\n Msgs should be unpacked before this step." | 90 | false | scrapinghub/exporters | decompress_messages | 22,236 | |
LDU_FT/sentinel-hub/eo-learn/_set_task_uuid | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute computation of blobs on input eopatch",
" :param eopatch: Input eopatch\n :type eopatch: eolearn.core.EOPatch\n :return: EOPatch instance with new key holding the blob image.\n :rtype: eolearn.core.EOPatch\n<END>",
"<BEGIN>\n## `_check_classifier`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_task_uuid API.
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 _set_task_uuid API.
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... | Adds universally unique user ids (UUID) to each task of the workflow.
:param dependencies: The list of dependencies between tasks defining the computational graph
:type dependencies: list(Dependency)
:return: A dictionary mapping UUID to dependencies
:rtype: dict(str: Dependency) | "Adds universally unique user ids (UUID) to each task of the workflow.\r\n\r\n :param dependencies: The list of dependencies between tasks defining the computational graph\r\n :type dependencies: list(Dependency)\r\n :return: A dictionary mapping UUID to dependencies\r\n :rtype: dict(str: De... | 453 | false | sentinel-hub/eo-learn | _set_task_uuid | 22,237 | |
LDU_FT/RI-imaging/qpsphere/circle_radii | LDU_FT | [
"<BEGIN>\n## `interpolate_grid`",
"Return the 2D field averaged radially w.r.t. the center\n<END>",
"<BEGIN>\n## `rytov`",
"Field behind a dielectric sphere in the Rytov approximation",
" Parameters\n ----------\n radius: float\n Radius of the sphere [m]\n sphere_index: float\n Ref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the circle_radii API.
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 circle_radii API.
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... | Compute the distance to the center from cartesian coordinates
This method is used for fitting a circle to a set of contour
points.
Parameters
----------
params: lmfit.Parameters
Must contain the keys:
- "cx": origin of x coordinate [px]
- "cy": origin of y coordinate [px]
... | "Compute the distance to the center from cartesian coordinates\n\n This method is used for fitting a circle to a set of contour\n points.\n\n Parameters\n ----------\n params: lmfit.Parameters\n Must contain the keys:\n\n - \"cx\": origin of x coordinate [px]\n - \"cy\": origin of y ... | 179 | false | RI-imaging/qpsphere | circle_radii | 22,238 | |
LDU_FT/respeaker/respeaker_python_library/write | LDU_FT | [
"<BEGIN>\n## `play`",
"play wav file or raw audio (string or generator)\n Args:\n wav: wav file path\n data: raw audio data, str or iterator\n rate: sample rate, only for raw audio\n channels: channel number, only for raw data\n width: raw audio data w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | write data on the OUT endpoint associated to the HID interface | "write data on the OUT endpoint associated to the HID interface" | 21 | false | respeaker/respeaker_python_library | write | 22,239 | |
LDU_FT/toomore/goristock/fetch_data | LDU_FT | [
"<BEGIN>\n## `output`",
"re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>",
"<BEGIN>\n## `Rt_display`",
"For real time stock display\n 即時盤用,顯示目... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Fetch data from twse.com.tw
return list.
從 twse.com.tw 下載資料,回傳格式為 list | "Fetch data from twse.com.tw\n return list.\n 從 twse.com.tw 下載資料,回傳格式為 list" | 62 | false | toomore/goristock | fetch_data | 22,240 | |
LDU_FT/dourvaris/nano-python/extract_docs | LDU_FT | [
"<BEGIN>\n## `signature_unsafe`",
"Not safe to use with secret keys or secret data.\n See module docstring. This function should be used for testing only.\n<END>",
"<BEGIN>\n## `checkvalid`",
"Not safe to use when any argument is secret.\n See module docstring. This function should be used only for\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_docs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_docs API.
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... | Parses the nano.rpc.Client for methods that have a __doc_meta__ attribute
and saves generated docs | "Parses the nano.rpc.Client for methods that have a __doc_meta__ attribute\n and saves generated docs" | 574 | false | dourvaris/nano-python | extract_docs | 22,241 | |
LDU_FT/rackerlabs/rackspace-python-neutronclient/list_bgp_speakers | LDU_FT | [
"<BEGIN>\n## `_extract_service_catalog`",
"Set the client's service catalog from the response data.\n<END>",
"<BEGIN>\n## `exception_handler_v20`",
"Exception handler for API v2.0 client.",
" This routine generates the appropriate Neutron exception according to\n the contents of the response body.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_bgp_speakers API.
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 list_bgp_speakers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Fetches a list of all BGP speakers for a project. | "Fetches a list of all BGP speakers for a project." | 289 | false | rackerlabs/rackspace-python-neutronclient | list_bgp_speakers | 22,242 | |
LDU_FT/samfoo/vt102/_color_attr | LDU_FT | [
"<BEGIN>\n## `_escape_sequence`",
"Handle characters seen when in an escape sequence. Most non-vt52\n commands start with a left-bracket after the escape and then a \n stream of parameters and a command.\n<END>",
"<BEGIN>\n## `_end_escape_sequence`",
"Handle the end of an escape sequence. The fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _color_attr API.
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 _color_attr API.
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... | Given a color attribute, set the current cursor appropriately. | "Given a color attribute, set the current cursor appropriately." | 55 | false | samfoo/vt102 | _color_attr | 22,243 | |
LDU_FT/bitesofcode/projex/byName | 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 byName API.
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 byName API.
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 ... | Returns the addon whose name matches the inputted name. If
the optional recurse flag is set to True, then all the base classes
will be searched for the given addon as well. If no addon is found,
the default is returned.
:param name | <str>
recurse | ... | "Returns the addon whose name matches the inputted name. If\n the optional recurse flag is set to True, then all the base classes\n will be searched for the given addon as well. If no addon is found,\n the default is returned.\n \n :param name | <str>\n rec... | 676 | false | bitesofcode/projex | byName | 22,244 | |
LDU_FT/prompt-toolkit/ptpython/has_unclosed_brackets | LDU_FT | [
"<BEGIN>\n## `tab_should_insert_whitespace`",
"When the 'tab' key is pressed with only whitespace character before the\n cursor, do autocompletion. Otherwise, insert indentation.",
" Except for the first character at the first line. Then always do a\n completion. It doesn't make sense to start the firs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_unclosed_brackets 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 has_unclosed_brackets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Starting at the end of the string. If we find an opening bracket
for which we didn't had a closing one yet, return True. | "Starting at the end of the string. If we find an opening bracket\n for which we didn't had a closing one yet, return True." | 81 | false | prompt-toolkit/ptpython | has_unclosed_brackets | 22,245 | |
LDU_FT/Seeed-Studio/wio-cli/cli | LDU_FT | [
"<BEGIN>\n## `cli`",
"Delete a device.",
" \\b\n DOES:\n Delete a device.\n sn: device_sn\n wio delete <device_sn>",
" \\b\n EXAMPLE:\n wio delete 2885b2cab8abc5fb8e229e4a77bf5e4d\n<END>",
"<BEGIN>\n## `cli`",
"Displays a list of your devices.",
" \\b\n DOES... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
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 cli API.
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... | Login with your Wio account.
\b
DOES:
Login and save an access token for interacting with your account on the Wio.
\b
USE:
wio login | "Login with your Wio account.\n\n \\b\n DOES:\n Login and save an access token for interacting with your account on the Wio.\n\n \\b\n USE:\n wio login" | 35 | false | Seeed-Studio/wio-cli | cli | 22,246 | |
LDU_FT/seequent/properties/info | LDU_FT | [
"<BEGIN>\n## `serialize`",
"Serialize Singleton instance to a dictionary.",
" This behaves identically to HasProperties.serialize, except it also\n saves the identifying name in the dictionary as well.\n<END>",
"<BEGIN>\n## `deserialize`",
"Create a Singleton instance from a serialized diction... | 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... | Supplemental description of the list, with length and type | "Supplemental description of the list, with length and type" | 252 | false | seequent/properties | info | 22,247 | |
LDU_FT/acutesoftware/AIKIF/identify_col_pos | LDU_FT | [
"<BEGIN>\n## `where_am_i`",
"high level function that can estimate where user is based \n on predefined setups.\n<END>",
"<BEGIN>\n## `dump_all`",
"prints all attributes and returns them as a dictionary \n (mainly for testing how it will all integrate)\n<END>",
"<BEGIN>\n## `summarise`",
"extrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identify_col_pos API.
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 identify_col_pos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | assume no delimiter in this file, so guess the best
fixed column widths to split by | "assume no delimiter in this file, so guess the best\r\n\tfixed column widths to split by" | 486 | false | acutesoftware/AIKIF | identify_col_pos | 22,248 | |
LDU_FT/tlatsas/wigiki/page_list | LDU_FT | [
"<BEGIN>\n## `cli`",
"Read program parameters from command line and configuration files",
" We support both command line arguments and configuration files.\n The command line arguments have always precedence over any\n configuration file parameters. This allows us to have most of\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_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 extract... | transform a list of page titles in a list of html links | "transform a list of page titles in a list of html links" | 11 | false | tlatsas/wigiki | page_list | 22,249 | |
LDU_FT/pudo/normality/normalize | LDU_FT | [
"<BEGIN>\n## `_safe_name`",
"Convert the file name to ASCII and normalize the string.\n<END>",
"<BEGIN>\n## `safe_filename`",
"Create a secure filename for plain file system storage.\n<END>",
"<BEGIN>\n## `stringify`",
"Brute-force convert a given object to a string.",
" This will attempt an increasi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
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... | The main normalization function for text.
This will take a string and apply a set of transformations to it so
that it can be processed more easily afterwards. Arguments:
* ``lowercase``: not very mysterious.
* ``collapse``: replace multiple whitespace-like characters with a
single whitespace. Th... | "The main normalization function for text.\n\n This will take a string and apply a set of transformations to it so\n that it can be processed more easily afterwards. Arguments:\n\n * ``lowercase``: not very mysterious.\n * ``collapse``: replace multiple whitespace-like characters with a\n single whites... | 33 | false | pudo/normality | normalize | 22,250 | |
LDU_FT/AliLozano/django-messages-extends/_message_queryset | LDU_FT | [
"<BEGIN>\n## `_get`",
"Gets a single list of messages from all storage backends.\n<END>",
"<BEGIN>\n## `_store`",
"Stores the messages, returning any unstored messages after trying all\n backends.",
" For each storage backend, any messages not stored are passed on to the\n next backend.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _message_queryset API.
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 _message_queryset API.
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 queryset of messages for the request user | "Return a queryset of messages for the request user" | 28 | false | AliLozano/django-messages-extends | _message_queryset | 22,251 | |
LDU_FT/lpantano/seqcluster/_read_bam | LDU_FT | [
"<BEGIN>\n## `add_exp`",
"Function to add the counts for each sample",
" :param gr: name of the sample\n :param exp: counts of sample **gr**",
" :returns: dict with key,values equally to name,counts.\n<END>",
"<BEGIN>\n## `MakeJoint`",
"Joint distribution of values from pmf1 and pmf2.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_bam API.
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 _read_bam API.
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... | read bam file and perform realignment of hits | "read bam file and perform realignment of hits" | 491 | false | lpantano/seqcluster | _read_bam | 22,252 | |
LDU_FT/ReFirmLabs/binwalk/get_rules | LDU_FT | [
"<BEGIN>\n## `process_kwargs`",
"Convenience wrapper around binwalk.core.module.Modules.kwargs.",
" @obj - The class object (an instance of a sub-class of binwalk.core.module.Module).\n @kwargs - The kwargs provided to the object's __init__ method.",
" Returns None.\n<END>",
"<BEGIN>\n## `show_h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rules API.
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 get_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a list of extraction rules that match a given description.
@description - The description to match against.
Returns a list of extraction rules that match the given description.
If no description is provided, a list of all rules are returned. | "Returns a list of extraction rules that match a given description.\n\n @description - The description to match against.\n\n Returns a list of extraction rules that match the given description.\n If no description is provided, a list of all rules are returned." | 211 | false | ReFirmLabs/binwalk | get_rules | 22,253 | |
LDU_FT/qubole/qds-sdk-py/create | LDU_FT | [
"<BEGIN>\n## `_parse_list`",
"Parse command line arguments to construct a dictionary of cluster\n parameters that can be used to determine which clusters to list.",
" Args:\n `args`: sequence of arguments",
" Returns:\n Dictionary that can be used to determine which ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a new app.
Args:
`name`: the name of the app
`config`: a dictionary of key-value pairs
`kind`: kind of the app (default=spark) | "Create a new app.\n\n Args:\n `name`: the name of the app\n\n `config`: a dictionary of key-value pairs\n\n `kind`: kind of the app (default=spark)" | 316 | false | qubole/qds-sdk-py | create | 22,254 | |
LDU_FT/znerol/txexiftool/execute | LDU_FT | [
"<BEGIN>\n## `dataReceived`",
"Parses chunks of bytes into responses.",
" Whenever a complete response is received, this method extracts its\n payload and calls L{responseReceived} to process it.",
" @param data: A chunk of data representing a (possibly partial) response\n @type da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
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... | Pass one command to exiftool and return a deferred which is fired as
soon as the command completes.
@param *args: Command line arguments passed to exiftool
@type *args: C{unicode}
@rtype: C{Deferred}
@return: A deferred whose callback will be invoked when the command
co... | "Pass one command to exiftool and return a deferred which is fired as\n soon as the command completes.\n\n @param *args: Command line arguments passed to exiftool\n @type *args: C{unicode}\n\n @rtype: C{Deferred}\n @return: A deferred whose callback will be invoked when the command\n ... | 19 | false | znerol/txexiftool | execute | 22,255 | |
LDU_FT/JukeboxPipeline/jukebox-core/unload | LDU_FT | [
"<BEGIN>\n## `restrictable`",
"Decorator for :class:`Reftrack` methods.\n A decorated method will check if its restriction with :meth:`Reftrack.is_restricted`\n and raises a :class:`RestrictionError` if it is restricted.",
" :param m: The :class:`Reftrack` method to wrap\n :type m: :class:`Reftrack`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unload API.
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 unload API.
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 ... | Load the given refobject
Unload in this case means, that a reference is stays in the scene
but it is not in a loaded state.
So there is a reference, but data is not read from it.
This will call :meth:`ReftypeInterface.unload`.
:param refobj: the refobject
:type refobj:... | "Load the given refobject\n\n Unload in this case means, that a reference is stays in the scene\n but it is not in a loaded state.\n So there is a reference, but data is not read from it.\n\n This will call :meth:`ReftypeInterface.unload`.\n\n :param refobj: the refobject\n :ty... | 1,529 | true | JukeboxPipeline/jukebox-core | unload | 22,256 | |
LDU_FT/xolox/python-verboselogs/verboselogs_module_transform | LDU_FT | [
"<BEGIN>\n## `add_log_level`",
"Add a new log level to the :mod:`logging` module.",
" :param value: The log level's number (an integer).\n :param name: The name for the log level (a string).\n<END>",
"<BEGIN>\n## `notice`",
"Log a message with level :data:`NOTICE`. The arguments are interpreted as for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verboselogs_module_transform 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 verboselogs_module_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Make Pylint aware of our custom log levels. | "Make Pylint aware of our custom log levels." | 15 | false | xolox/python-verboselogs | verboselogs_module_transform | 22,257 | |
LDU_FT/sony/nnabla/clip_by_norm | LDU_FT | [
"<BEGIN>\n## `convert`",
"All functions are replaced with the same `new` function.",
" Args:\n vroot (:obj:`Variable`): NNabla Variable\n entry_variables (:obj:`Variable`): Entry variable from which the conversion starts.\n<END>",
"<BEGIN>\n## `convert`",
"All functions are repl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clip_by_norm API.
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 clip_by_norm API.
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... | r"""
Clip inputs by its L2 norm when the L2 norm is larger than the threshold value (defined by clip_norm).
If it is less than the threshold, inputs are not modified. If it is applied, the operation is represented as
.. math::
y = N \times \frac{x}{\|x\|_2}.
where :math:`x` is the input, :math:`... | "r\"\"\"\n Clip inputs by its L2 norm when the L2 norm is larger than the threshold value (defined by clip_norm).\n If it is less than the threshold, inputs are not modified. If it is applied, the operation is represented as\n\n .. math::\n y = N \\times \\frac{x}{\\|x\\|_2}.\n\n where :math:`x` is the... | 870 | false | sony/nnabla | clip_by_norm | 22,258 | |
LDU_FT/diffeo/rejester/log_spewer | LDU_FT | [
"<BEGIN>\n## `dump_queue`",
"Debug-log some of the queues.",
" ``names`` may include any of \"worker\", \"available\", \"priorities\",\n \"expiration\", \"workers\", or \"reservations_ITEM\" filling in some\n specific item.\n<END>",
"<BEGIN>\n## `worker_id`",
"A unique identifier for th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_spewer API.
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 log_spewer API.
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... | Child process to manage logging.
This reads pairs of lines from `fd`, which are alternating
priority (Python integer) and message (unformatted string). | "Child process to manage logging.\n\n This reads pairs of lines from `fd`, which are alternating\n priority (Python integer) and message (unformatted string)." | 391 | false | diffeo/rejester | log_spewer | 22,259 | |
LDU_FT/peterjc/backports.lzma/read | LDU_FT | [
"<BEGIN>\n## `open`",
"Open an LZMA-compressed file in binary or text mode.",
" filename can be either an actual file name (given as a str or bytes object),\n in which case the named file is opened, or it can be an existing file object\n to read from or write to.",
" The mode argument can be \"r\"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Read up to size uncompressed bytes from the file.
If size is negative or omitted, read until EOF is reached.
Returns b"" if the file is already at EOF. | "Read up to size uncompressed bytes from the file.\n\n If size is negative or omitted, read until EOF is reached.\n Returns b\"\" if the file is already at EOF." | 36 | false | peterjc/backports.lzma | read | 22,260 | |
LDU_FT/MagicStack/asyncpg/get_statusmsg | LDU_FT | [
"<BEGIN>\n## `fetch`",
"r\"\"\"Return the next *n* rows as a list of :class:`Record` objects.",
" :param float timeout: Optional timeout value in seconds.",
" :return: A list of :class:`Record` instances.\n<END>",
"<BEGIN>\n## `fetchrow`",
"r\"\"\"Return the next row.",
" :param flo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_statusmsg API.
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_statusmsg API.
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 the status of the executed command.
Example::
stmt = await connection.prepare('CREATE TABLE mytab (a int)')
await stmt.fetch()
assert stmt.get_statusmsg() == "CREATE TABLE" | "Return the status of the executed command.\n\n Example::\n\n stmt = await connection.prepare('CREATE TABLE mytab (a int)')\n await stmt.fetch()\n assert stmt.get_statusmsg() == \"CREATE TABLE\"" | 284 | false | MagicStack/asyncpg | get_statusmsg | 22,261 | |
LDU_FT/frawau/aiolifx/cleanup | LDU_FT | [
"<BEGIN>\n## `mac_to_ipv6_linklocal`",
"Translate a MAC address into an IPv6 address in the prefixed network.",
" This function calculates the EUI (Extended Unique Identifier) from the given\n MAC address and prepend the needed prefix to come up with a valid IPv6 address.\n The default prefix is the li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup API.
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 cleanup API.
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... | Method to call to cleanly terminate the connection to the device. | "Method to call to cleanly terminate the connection to the device." | 134 | false | frawau/aiolifx | cleanup | 22,262 | |
LDU_FT/fusepy/fusepy/lookup | LDU_FT | [
"<BEGIN>\n## `fuse_exit`",
"This will shutdown the FUSE mount and cause the call to FUSE(...) to\n return, similar to sending SIGINT to the process.",
" Flags the native FUSE session as terminated and will cause any running FUSE\n event loops to exit on the next opportunity. (see fuse.c::fuse_exit)\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API.
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 lookup API.
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 ... | Look up a directory entry by name and get its attributes.
Valid replies:
reply_entry
reply_err | "Look up a directory entry by name and get its attributes.\n\n Valid replies:\n reply_entry\n reply_err" | 68 | false | fusepy/fusepy | lookup | 22,263 | |
LDU_FT/abw333/dominoes/random_possible_hands | LDU_FT | [
"<BEGIN>\n## `_randomized_hands`",
":return: 4 hands, obtained by shuffling the 28 dominoes used in\n this variation of the game, and distributing them evenly\n<END>",
"<BEGIN>\n## `_validate_player`",
"Checks that a player is a valid player. Valid players are: 0, 1, 2, and 3.",
" :param int ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_possible_hands 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 random_possible_hands 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 random possible hands for all players, given the information
known by the player whose turn it is. This information includes the
current player's hand, the sizes of the other players' hands, and the
moves played by every player, including the passes.
:return: a list of possible ... | "Returns random possible hands for all players, given the information\n known by the player whose turn it is. This information includes the\n current player's hand, the sizes of the other players' hands, and the\n moves played by every player, including the passes.\n\n :return: a list of pos... | 70 | false | abw333/dominoes | random_possible_hands | 22,264 | |
LDU_FT/s1s5/django_busybody/get_form_kwargs | LDU_FT | [
"<BEGIN>\n## `get_form`",
"Returns an instance of the form to be used in this view.\n<END>",
"<BEGIN>\n## `get_form_kwargs`",
"Returns the keyword arguments for instantiating the form.\n<END>",
"<BEGIN>\n## `get_form_kwargs`",
"Returns the keyword arguments for instantiating the form.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns the keyword arguments for instantiating the form. | "Returns the keyword arguments for instantiating the form." | 14 | false | s1s5/django_busybody | get_form_kwargs | 22,265 | |
LDU_FT/oz123/blogit/_get_last_entries | LDU_FT | [
"<BEGIN>\n## `add_numbers`",
"Add two numbers server side, ridiculous but well...\n<END>",
"<BEGIN>\n## `find_new_posts_and_pages`",
"Walk content dir, put each post and page in the database\n<END>",
"<BEGIN>\n## `_get_last_entries`",
"get all entries and the last qty entries\n<END>",
"<BEGIN>\n## `upda... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_last_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_last_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | get all entries and the last qty entries | "get all entries and the last qty entries" | 17 | false | oz123/blogit | _get_last_entries | 22,266 | |
LDU_FT/prezi/django-zipkin/storeTopAnnotations | LDU_FT | [
"<BEGIN>\n## `getTraceIdsBySpanName`",
"Fetch trace ids by service and span name.\n Gets \"limit\" number of entries from before the \"end_ts\".",
" Span name is optional.\n Timestamps are in microseconds.",
" Parameters:\n - service_name\n - span_name\n - end_ts\n - limit\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the storeTopAnnotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the storeTopAnnotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Aggregates methods
Parameters:
- service_name
- annotations | "Aggregates methods\n\n Parameters:\n - service_name\n - annotations" | 49 | false | prezi/django-zipkin | storeTopAnnotations | 22,267 | |
LDU_FT/uchicago-cs/deepdish/bytesize | LDU_FT | [
"<BEGIN>\n## `load`",
"Loads an instance of the class from a file.",
" Parameters\n ----------\n path : str\n Path to an HDF5 file.",
" Examples\n --------\n This is an abstract data type, but let us say that ``Foo`` inherits\n from ``Saveable``. To ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bytesize API.
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 bytesize API.
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 the memory byte size of a Numpy array as an integer. | "Returns the memory byte size of a Numpy array as an integer." | 138 | false | uchicago-cs/deepdish | bytesize | 22,268 | |
LDU_FT/django-auth-ldap/django-auth-ldap/_normalize_mirror_settings | LDU_FT | [
"<BEGIN>\n## `get_or_build_user`",
"This must return a (User, built) 2-tuple for the given LDAP user.",
" username is the Django-friendly username of the user. ldap_user.dn is\n the user's DN and ldap_user.attrs contains all of their LDAP\n attributes.",
" The returned User object ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_mirror_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_mirror_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Validates the group mirroring settings and converts them as necessary. | "Validates the group mirroring settings and converts them as necessary." | 65 | false | django-auth-ldap/django-auth-ldap | _normalize_mirror_settings | 22,269 | |
LDU_FT/tylerbutler/engineer/render_markdown | LDU_FT | [
"<BEGIN>\n## `ensure_exists`",
"Ensures a given path *p* exists.",
" If a path to a file is passed in, then the path to the file will be checked. This can be overridden by passing a\n value of ``True`` to ``assume_dirs``, in which case the paths will be assumed to be to directories, not files.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_markdown API.
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 render_markdown API.
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... | Renders the post as Markdown using the template specified in :attr:`markdown_template_path`. | "Renders the post as Markdown using the template specified in :attr:`markdown_template_path`." | 44 | false | tylerbutler/engineer | render_markdown | 22,270 | |
LDU_FT/caseyjlaw/rtpipe/merge_segments | LDU_FT | [
"<BEGIN>\n## `get_metadata`",
"Function to scan data (a small read) and define parameters used elsewhere.\n filename needs full path.\n Examples include, read/bgsub windows, image grid, memory profile.\n If pickle file doesn't exist, it creates one. \n Either way, dictionary is returned with info.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_segments API.
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 merge_segments API.
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... | Merges cands/noise pkl files from multiple segments to single cands/noise file.
Expects segment cands pkls with have (1) state dict and (2) cands dict.
Writes tuple state dict and duple of numpy arrays
A single pkl written per scan using root name fileroot.
if cleanup, it will remove segments after mer... | "Merges cands/noise pkl files from multiple segments to single cands/noise file.\n\n Expects segment cands pkls with have (1) state dict and (2) cands dict.\n Writes tuple state dict and duple of numpy arrays\n A single pkl written per scan using root name fileroot.\n if cleanup, it will remove segments aft... | 256 | false | caseyjlaw/rtpipe | merge_segments | 22,271 | |
LDU_FT/python-security/pyt/report | LDU_FT | [
"<BEGIN>\n## `_connect_control_flow_node`",
"Connect a ControlFlowNode properly to the next_node.\n<END>",
"<BEGIN>\n## `extract_left_hand_side`",
"Extract the left hand side variable from a target.",
" Removes list indexes, stars and other left hand side elements.\n<END>",
"<BEGIN>\n## `get_first_node... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report API.
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 report API.
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 ... | Prints issues in JSON format.
Args:
vulnerabilities: list of vulnerabilities to report
fileobj: The output file object, which may be sys.stdout | "Prints issues in JSON format.\n Args:\n vulnerabilities: list of vulnerabilities to report\n fileobj: The output file object, which may be sys.stdout" | 177 | false | python-security/pyt | report | 22,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.