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/quadrismegistus/prosodic/scansion_prepare | LDU_FT | [
"<BEGIN>\n## `loadLanguage`",
"This function loads up a language configuration file and returns\n\tthe configuration to be passed to the syllabify function.\n<END>",
"<BEGIN>\n## `syllabify`",
"Syllabifies the word, given a language configuration loaded with loadLanguage.\n\t word is either a string of phon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scansion_prepare API.
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 scansion_prepare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Print out header column for line-scansions for a given meter. | "Print out header column for line-scansions for a given meter." | 80 | false | quadrismegistus/prosodic | scansion_prepare | 18,673 | |
LDU_FT/softwarefactory-project/rdopkg/get_distroinfo | LDU_FT | [
"<BEGIN>\n## `rdopkg_runner`",
"default rdopkg action runner including rdopkg action modules\n<END>",
"<BEGIN>\n## `rdopkg`",
"rdopkg CLI interface",
" Execute rdopkg action with specified arguments and return\n shell friendly exit code.",
" This is the default high level way to interact with rdo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_distroinfo API.
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_distroinfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get DistroInfo initialized from configuration | "Get DistroInfo initialized from configuration" | 60 | false | softwarefactory-project/rdopkg | get_distroinfo | 18,674 | |
LDU_FT/inveniosoftware/invenio-oaiserver/_create_percolator_mapping | LDU_FT | [
"<BEGIN>\n## `_schema_from_verb`",
"Return an instance of schema for given verb.\n<END>",
"<BEGIN>\n## `load`",
"Deserialize a data structure to an object.\n<END>",
"<BEGIN>\n## `make_request_validator`",
"Validate arguments in incomming request.\n<END>",
"<BEGIN>\n## `from_iso_permissive`",
"Parse an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_percolator_mapping 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 _create_percolator_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Update mappings with the percolator field.
.. note::
This is only needed from ElasticSearch v5 onwards, because percolators
are now just a special type of field inside mappings. | "Update mappings with the percolator field.\n\n .. note::\n\n This is only needed from ElasticSearch v5 onwards, because percolators\n are now just a special type of field inside mappings." | 78 | false | inveniosoftware/invenio-oaiserver | _create_percolator_mapping | 18,675 | |
LDU_FT/michael-lazar/rtv/get_message | LDU_FT | [
"<BEGIN>\n## `refresh_content`",
"Re-download all subscriptions and reset the page index\n<END>",
"<BEGIN>\n## `select_subreddit`",
"Store the selected subreddit and return to the subreddit page\n<END>",
"<BEGIN>\n## `alias_function`",
"Create a RedditContentObject function mapped to a BaseReddit function... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a Message object corresponding to the given ID.
:param message_id: The ID or Fullname for a Message
The additional parameters are passed directly into
:meth:`~praw.objects.Message.from_id` of Message, and subsequently into
:meth:`.request_json`. | "Return a Message object corresponding to the given ID.\n\n :param message_id: The ID or Fullname for a Message\n\n The additional parameters are passed directly into\n :meth:`~praw.objects.Message.from_id` of Message, and subsequently into\n :meth:`.request_json`." | 919 | false | michael-lazar/rtv | get_message | 18,676 | |
LDU_FT/prometheus/client_python/append | LDU_FT | [
"<BEGIN>\n## `add_sample`",
"Add a sample to the metric.",
" Internal-only, do not use.\n<END>",
"<BEGIN>\n## `add_metric`",
"Add a metric to the metric family.",
" Args:\n labels: A list of label values\n value: The value of the metric\n created: Optional unix tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
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 append API.
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 ... | Append ``a`` to the list of the virtual ancestors, unless it is already
included. | "Append ``a`` to the list of the virtual ancestors, unless it is already\n included." | 100 | false | prometheus/client_python | append | 18,677 | |
LDU_FT/mushkevych/synergy_odm/from_json | LDU_FT | [
"<BEGIN>\n## `validate`",
"Performs validation of the value.\n :param value: value to validate\n :raise ValidationError if the value is invalid\n<END>",
"<BEGIN>\n## `validate`",
"Make sure that value is of the right type\n<END>",
"<BEGIN>\n## `validate`",
"Make sure that the inspected value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Converts json data to a new document instance | "Converts json data to a new document instance" | 12 | false | mushkevych/synergy_odm | from_json | 18,678 | |
LDU_FT/zrong/rookout/merge_dicts | LDU_FT | [
"<BEGIN>\n## `copy_from_dict`",
"从一个已经存在的 dict 中复制所有的值。",
" :param adict: 被复制的 dict。\n :type adict: dict\n :param parent: 复制到哪个父对象。\n 若为 None 则复制到 self 。\n :type parent: rookout.PYConf\n<END>",
"<BEGIN>\n## `dump`",
"将自身内容打印成字符串",
" :param bool hu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_dicts API.
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 merge_dicts API.
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... | 合并两个无限深度的 dict
会自动合并 list 格式
:param dict d1: 被合并的 dict
:param dict d2: 待合并的 dict
:returns: 一个新的生成器对象
:rtype: generator | "合并两个无限深度的 dict\n 会自动合并 list 格式\n\n :param dict d1: 被合并的 dict\n :param dict d2: 待合并的 dict\n :returns: 一个新的生成器对象\n :rtype: generator" | 77 | false | zrong/rookout | merge_dicts | 18,679 | |
LDU_FT/rtlee9/serveit/json_numpy_loader | LDU_FT | [
"<BEGIN>\n## `loader`",
"Load image from URL, and preprocess for Resnet.\n<END>",
"<BEGIN>\n## `json_numpy_loader`",
"Load data from JSON request and convert to numpy array.\n<END>",
"<BEGIN>\n## `get_bytes_to_image_callback`",
"Return a callback to process image bytes for ImageNet.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_numpy_loader API.
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 json_numpy_loader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load data from JSON request and convert to numpy array. | "Load data from JSON request and convert to numpy array." | 20 | false | rtlee9/serveit | json_numpy_loader | 18,680 | |
LDU_FT/vimalkvn/riboplot/check_read_lengths | LDU_FT | [
"<BEGIN>\n## `lengths_offsets`",
"Split the given comma separated value to multiple integer values.\n<END>",
"<BEGIN>\n## `open_pysam_file`",
"Open a BAM or FASTA file with pysam (for use with \"with\" statement)\n<END>",
"<BEGIN>\n## `is_bam_valid`",
"Check if bam file is valid. Raises a ValueError if py... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_read_lengths 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 check_read_lengths 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... | Check if read lengths are valid (positive). | "Check if read lengths are valid (positive)." | 53 | false | vimalkvn/riboplot | check_read_lengths | 18,681 | |
LDU_FT/dasevilla/rovi-python/season_info | LDU_FT | [
"<BEGIN>\n## `make_request`",
"Performs the API request. Most methods are a wrapper around this one.\n<END>",
"<BEGIN>\n## `music_search`",
"Search the music database",
" Where ``entitiy_type`` is a comma separated list of:",
" ``song``\n songs",
" ``album``\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the season_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the season_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 extra... | Returns information about a season of a TV series
Maps to the `season info <http://prod-doc.rovicorp.com/mashery/index.php/V1.MetaData.VideoService.Video:Season>`_ API method. | "Returns information about a season of a TV series\n\n Maps to the `season info <http://prod-doc.rovicorp.com/mashery/index.php/V1.MetaData.VideoService.Video:Season>`_ API method." | 35 | false | dasevilla/rovi-python | season_info | 18,682 | |
LDU_FT/chovanecm/sacredboard/get_metric | LDU_FT | [
"<BEGIN>\n## `get_file`",
"Get a specific file from GridFS.",
" Returns a binary stream response or HTTP 404 if not found.\n<END>",
"<BEGIN>\n## `get_files_zip`",
"Send all artifacts or sources of a run as ZIP.\n<END>",
"<BEGIN>\n## `get`",
"Return the file identified by a file_id string.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_metric API.
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 get_metric API.
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... | Get a specific Sacred metric from the database.
Returns a JSON response or HTTP 404 if not found.
Issue: https://github.com/chovanecm/sacredboard/issues/58 | "Get a specific Sacred metric from the database.\n\n Returns a JSON response or HTTP 404 if not found.\n Issue: https://github.com/chovanecm/sacredboard/issues/58" | 128 | false | chovanecm/sacredboard | get_metric | 18,683 | |
LDU_FT/Opentrons/opentrons/calculate_tip_probe_hotspots | LDU_FT | [
"<BEGIN>\n## `get_attached_instruments`",
"Find the instruments attached to our mounts.",
" :param expected: A dict that may contain a mapping from mount to\n strings that should prefix instrument model names.\n When instruments are scanned, they are matche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_tip_probe_hotspots 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 calculate_tip_probe_hotspots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Generate a list of tuples describing motions for doing the xy part of
tip probe based on the config's description of the tip probe box. | "Generate a list of tuples describing motions for doing the xy part of\n tip probe based on the config's description of the tip probe box." | 1,359 | true | Opentrons/opentrons | calculate_tip_probe_hotspots | 18,684 | |
LDU_FT/tensorflow/hub/_check_module_is_text_embedding | LDU_FT | [
"<BEGIN>\n## `export`",
"Exports a ModuleSpec with weights taken from a checkpoint.",
" This is an helper to export modules directly from a ModuleSpec\n without having to create a session and set the variables to the\n intended values.",
" Example usage:",
" ```python\n spec = hub.create_m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_module_is_text_embedding 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 _check_module_is_text_embedding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Raises ValueError if `module_spec` is not a text-embedding module.
Args:
module_spec: A `ModuleSpec` to test.
Raises:
ValueError: if `module_spec` default signature is not compatible with
Tensor(string, shape=(?,)) -> Tensor(float32, shape=(?,K)). | "Raises ValueError if `module_spec` is not a text-embedding module.\n\n Args:\n module_spec: A `ModuleSpec` to test.\n\n Raises:\n ValueError: if `module_spec` default signature is not compatible with\n Tensor(string, shape=(?,)) -> Tensor(float32, shape=(?,K))." | 488 | false | tensorflow/hub | _check_module_is_text_embedding | 18,685 | |
LDU_FT/farzadghanei/distutilazy/_find_files | LDU_FT | [
"<BEGIN>\n## `_find_files`",
"Find files recursively in the root path\n using provided extensions.",
" :return: list of absolute file paths\n<END>",
"<BEGIN>\n## `_clean_file`",
"Clean a file if exists and not in dry run\n<END>",
"<BEGIN>\n## `_clean_directory`",
"Clean a directory if exis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Find files recursively in the root path
using provided extensions.
:return: list of absolute file paths | "Find files recursively in the root path\n using provided extensions.\n\n :return: list of absolute file paths" | 21 | false | farzadghanei/distutilazy | _find_files | 18,686 | |
LDU_FT/eagleflo/mpyq/extract_files | LDU_FT | [
"<BEGIN>\n## `read_table`",
"Read either the hash or block table of a MPQ archive.\n<END>",
"<BEGIN>\n## `get_hash_table_entry`",
"Get the hash table entry corresponding to a given filename.\n<END>",
"<BEGIN>\n## `extract`",
"Extract all the files inside the MPQ archive in memory.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Extract given files from the archive to disk. | "Extract given files from the archive to disk." | 16 | false | eagleflo/mpyq | extract_files | 18,687 | |
LDU_FT/rootpy/rootpy/invisible_canvas | LDU_FT | [
"<BEGIN>\n## `total`",
"Return the total yield and its associated statistical uncertainty.\n<END>",
"<BEGIN>\n## `sys_names`",
"Return a list of unique systematic names from OverallSys and HistoSys\n<END>",
"<BEGIN>\n## `iter_sys`",
"Iterate over sys_name, overall_sys, histo_sys.\n overall_sys or h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invisible_canvas API.
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 invisible_canvas API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Context manager yielding a temporary canvas drawn in batch mode, invisible
to the user. Original state is restored on exit.
Example use; obtain X axis object without interfering with anything::
with invisible_canvas() as c:
efficiency.Draw()
g = efficiency.GetPaintedGraph()
... | "Context manager yielding a temporary canvas drawn in batch mode, invisible\n to the user. Original state is restored on exit.\n\n Example use; obtain X axis object without interfering with anything::\n\n with invisible_canvas() as c:\n efficiency.Draw()\n g = efficiency.GetPaintedGra... | 878 | false | rootpy/rootpy | invisible_canvas | 18,688 | |
LDU_FT/Paradoxis/PIP-Module-Scanner/search_script | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry point of the scanner\n :return: void\n<END>",
"<BEGIN>\n## `output`",
"Output the results to either STDOUT or\n :return:\n<END>",
"<BEGIN>\n## `output_to_fd`",
"Outputs the results of the scanner to a file descriptor (stdout counts :)\n :param fd: file\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_script API.
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 search_script API.
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... | Search a script's contents for import statements and check
if they're currently prevent in the list of all installed
pip modules.
:param script: string
:return: void | "Search a script's contents for import statements and check\n if they're currently prevent in the list of all installed\n pip modules.\n :param script: string\n :return: void" | 12 | false | Paradoxis/PIP-Module-Scanner | search_script | 18,689 | |
LDU_FT/cloudnull/cloudlib/_installer | LDU_FT | [
"<BEGIN>\n## `getLogger`",
"Return a logger from a given name.",
" If the name does not have a log handler, this will create one for it based\n on the module name which will log everything to a log file in a location\n the executing user will have access to.",
" :param name: ``str``\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _installer API.
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 _installer API.
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... | Install operating system packages for the system.
:param: package_list: ``list``
:param install_string: ``str`` | "Install operating system packages for the system.\n\n :param: package_list: ``list``\n :param install_string: ``str``" | 136 | false | cloudnull/cloudlib | _installer | 18,690 | |
LDU_FT/OpenAgInitiative/openag_python/_function | LDU_FT | [
"<BEGIN>\n## `create_farm`",
"Create a farm. Creates a farm named FARM_NAME on the currently selected\n cloud server. You can use the `openag cloud select_farm` command to start\n mirroring data into it.\n<END>",
"<BEGIN>\n## `list_farms`",
"List all farms you can manage. If you have selected a farm alr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _function API.
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 _function API.
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 context manager for writing a function.
:param str type: The return type of the function
:param str name: The name of the functino
:param str args: The argument specification for the function | "Returns a context manager for writing a function.\n\n :param str type: The return type of the function\n :param str name: The name of the functino\n :param str args: The argument specification for the function" | 89 | false | OpenAgInitiative/openag_python | _function | 18,691 | |
LDU_FT/brechtm/rinohtype/timed | LDU_FT | [
"<BEGIN>\n## `preprocess_tree`",
"Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>",
"<BEGIN>\n## `_size_columns`",
"Calculate the table's column sizes constrained by:",
" - requested (absolute, rela... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timed API.
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 timed API.
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... | Decorator timing the method call and printing the result to `stdout` | "Decorator timing the method call and printing the result to `stdout`" | 310 | false | brechtm/rinohtype | timed | 18,692 | |
LDU_FT/craffel/mir_eval/_bipartite_match | LDU_FT | [
"<BEGIN>\n## `_open`",
"Either open a file handle, or use an existing file-like object.",
" This will behave as the `open` function if `file_or_str` is a string.",
" If `file_or_str` has the `read` attribute, it will return `file_or_str`.",
" Otherwise, an `IOError` is raised.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bipartite_match API.
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 _bipartite_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Find maximum cardinality matching of a bipartite graph (U,V,E).
The input format is a dictionary mapping members of U to a list
of their neighbors in V.
The output is a dict M mapping members of V to their matches in U.
Parameters
----------
graph : dictionary : left-vertex -> list of right ve... | "Find maximum cardinality matching of a bipartite graph (U,V,E).\n The input format is a dictionary mapping members of U to a list\n of their neighbors in V.\n\n The output is a dict M mapping members of V to their matches in U.\n\n Parameters\n ----------\n graph : dictionary : left-vertex -> list of... | 1,001 | false | craffel/mir_eval | _bipartite_match | 18,693 | |
LDU_FT/spyder-ide/conda-manager/get_condarc_channels | LDU_FT | [
"<BEGIN>\n## `get_package_versions`",
"Gives all the compatible package canonical name",
" name : str\n Name of the package\n<END>",
"<BEGIN>\n## `closing_plugin`",
"Perform actions before parent main window is closed.\n<END>",
"<BEGIN>\n## `get_conf_path`",
"Return absolute path for c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_condarc_channels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_condarc_channels 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 all the channel urls defined in .condarc.
If no condarc file is found, use the default channels.
the `default_channel_alias` key is ignored and only the anaconda client
`url` key is used. | "Return all the channel urls defined in .condarc.\n\n If no condarc file is found, use the default channels.\n the `default_channel_alias` key is ignored and only the anaconda client\n `url` key is used." | 160 | false | spyder-ide/conda-manager | get_condarc_channels | 18,694 | |
LDU_FT/EntilZha/PyFunctional/join_impl | LDU_FT | [
"<BEGIN>\n## `name`",
"Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>",
"<BEGIN>\n## `map_t`",
"Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>",
"<BEGIN>\n## `starmap_t`",
"Transfo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_impl API.
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 join_impl API.
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... | Implementation for join_t
:param other: other sequence to join with
:param join_type: join type (inner, outer, left, right)
:param sequence: first sequence to join with
:return: joined sequence | "Implementation for join_t\n :param other: other sequence to join with\n :param join_type: join type (inner, outer, left, right)\n :param sequence: first sequence to join with\n :return: joined sequence" | 249 | false | EntilZha/PyFunctional | join_impl | 18,695 | |
LDU_FT/markovmodel/msmtools/netflux | LDU_FT | [
"<BEGIN>\n## `flux_matrix`",
"r\"\"\"Compute the TPT flux network for the reaction A-->B.",
" Parameters\n ----------\n T : (M, M) ndarray\n transition matrix\n pi : (M,) ndarray\n Stationary distribution corresponding to T\n qminus : (M,) ndarray\n Backward comittor\n qpl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the netflux API.
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 netflux API.
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... | r"""The netflux network for the reaction from
A=[0,...,a] => B=[b,...,M].
Parameters
----------
a : int
State index
b : int
State index
Returns
-------
netflux : (M, M) ndarray
Matrix of flux values between pairs of st... | "r\"\"\"The netflux network for the reaction from\n A=[0,...,a] => B=[b,...,M].\n\n Parameters\n ----------\n a : int\n State index\n b : int\n State index\n\n Returns\n -------\n netflux : (M, M) ndarray\n Matrix of flux values be... | 1,330 | true | markovmodel/msmtools | netflux | 18,696 | |
LDU_FT/loisaidasam/pyslack/channel_name_to_id | LDU_FT | [
"<BEGIN>\n## `_make_request`",
"Make request to API endpoint",
" Note: Ignoring SSL cert validation due to intermittent failures\n http://requests.readthedocs.org/en/latest/user/advanced/#ssl-cert-verification\n<END>",
"<BEGIN>\n## `channels_list`",
"channels.list",
" This method retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channel_name_to_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channel_name_to_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.
Th... | Helper name for getting a channel's id from its name | "Helper name for getting a channel's id from its name" | 18 | false | loisaidasam/pyslack | channel_name_to_id | 18,697 | |
LDU_FT/ROGUE-JCTD/rogue_geonode/view | LDU_FT | [
"<BEGIN>\n## `make_request`",
"Prepares a request from a url, params, and optionally authentication.\n<END>",
"<BEGIN>\n## `setup_geoserver`",
"Prepare a testing instance of GeoServer.\n<END>",
"<BEGIN>\n## `upgradedb`",
"Add 'fake' data migrations for existing tables from legacy GeoNode versions\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | allow a file to be viewed as opposed to download. This is particularly needed when a video file is stored
in the fileservice and user wants to be able to use a view the video as opposed to having to download it
first. It passes the serving of the file to nginx/apache which will return all the proper hea... | "allow a file to be viewed as opposed to download. This is particularly needed when a video file is stored\n in the fileservice and user wants to be able to use a view the video as opposed to having to download it\n first. It passes the serving of the file to nginx/apache which will return all the proper ... | 27 | false | ROGUE-JCTD/rogue_geonode | view | 18,698 | |
LDU_FT/networks-lab/tidyextractors/_make_user_dict | LDU_FT | [
"<BEGIN>\n## `_col_type_set`",
"Determines the set of types present in a DataFrame column.",
" :param str col: A column name.\n :param pandas.DataFrame df: The dataset. Usually ``self._data``.\n :return: A set of Types.\n<END>",
"<BEGIN>\n## `_drop_collections`",
"Drops columns containi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_user_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_user_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Processes a Twitter User object, exporting as a nested dictionary.
Complex values (i.e. objects that aren't int, bool, float, str, or
a collection of such) are converted to strings (i.e. using __str__
or __repr__). To access user data only, use make_user_dict(username)['_json'].
:param ... | "Processes a Twitter User object, exporting as a nested dictionary.\n Complex values (i.e. objects that aren't int, bool, float, str, or\n a collection of such) are converted to strings (i.e. using __str__\n or __repr__). To access user data only, use make_user_dict(username)['_json'].\n\n :... | 81 | false | networks-lab/tidyextractors | _make_user_dict | 18,699 | |
LDU_FT/RusticiSoftware/TinCanPython/retrieve_statement | LDU_FT | [
"<BEGIN>\n## `_make_cls`",
"If value is not instance of self._cls, converts and returns\n it. Otherwise, returns value.",
" :param value: the thing to make a self._cls from\n :rtype self._cls\n<END>",
"<BEGIN>\n## `_send_request`",
"Establishes connection and returns http response based... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_statement 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 retrieve_statement 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... | Retrieve a statement from the server from its id
:param statement_id: The UUID of the desired statement
:type statement_id: str | unicode
:return: LRS Response object with the retrieved statement as content
:rtype: :class:`tincan.lrs_response.LRSResponse` | "Retrieve a statement from the server from its id\n\n :param statement_id: The UUID of the desired statement\n :type statement_id: str | unicode\n :return: LRS Response object with the retrieved statement as content\n :rtype: :class:`tincan.lrs_response.LRSResponse`" | 121 | false | RusticiSoftware/TinCanPython | retrieve_statement | 18,700 | |
LDU_FT/CEA-COSMIC/ModOpt/_check_operator | LDU_FT | [
"<BEGIN>\n## `add_args_kwargs`",
"Add Args and Kwargs",
" This wrapper adds support for additional arguments and keyword arguments to\n any callable function",
" Parameters\n ----------\n func : function\n Callable function",
" Returns\n -------\n function wrapper\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_operator API.
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 _check_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Check Set-Up
This method checks algorithm operator against the expected parent
classes
Parameters
----------
operator : str
Algorithm operator to check | "Check Set-Up\n\n This method checks algorithm operator against the expected parent\n classes\n\n Parameters\n ----------\n operator : str\n Algorithm operator to check" | 565 | false | CEA-COSMIC/ModOpt | _check_operator | 18,701 | |
LDU_FT/michael-lazar/rtv/get_rising | LDU_FT | [
"<BEGIN>\n## `refresh_content`",
"Re-download all subscriptions and reset the page index\n<END>",
"<BEGIN>\n## `select_subreddit`",
"Store the selected subreddit and return to the subreddit page\n<END>",
"<BEGIN>\n## `alias_function`",
"Create a RedditContentObject function mapped to a BaseReddit function... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rising API.
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 get_rising API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a get_content generator for rising submissions.
Corresponds to the submissions provided by
``https://www.reddit.com/rising/`` for the session.
The additional parameters are passed directly into
:meth:`.get_content`. Note: the `url` parameter cannot be altered. | "Return a get_content generator for rising submissions.\n\n Corresponds to the submissions provided by\n ``https://www.reddit.com/rising/`` for the session.\n\n The additional parameters are passed directly into\n :meth:`.get_content`. Note: the `url` parameter cannot be altered." | 919 | false | michael-lazar/rtv | get_rising | 18,702 | |
LDU_FT/jangler/readlike/_backward_kill_word | LDU_FT | [
"<BEGIN>\n## `_backward_kill_word`",
"Kill the word behind pos. Word boundaries are the same as those\n used by _backward_word.\n<END>",
"<BEGIN>\n## `_backward_word`",
"Move pos back to the start of the current or previous word. Words\n are composed of alphanumeric characters (letters and digits).\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _backward_kill_word 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 _backward_kill_word 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... | Kill the word behind pos. Word boundaries are the same as those
used by _backward_word. | "Kill the word behind pos. Word boundaries are the same as those\n used by _backward_word." | 24 | false | jangler/readlike | _backward_kill_word | 18,703 | |
LDU_FT/ronniedada/tabula/exit_fullscreen | LDU_FT | [
"<BEGIN>\n## `size`",
"Return the viewable size of the Table as @tuple (x,y)\n<END>",
"<BEGIN>\n## `get_ftr`",
"Process footer and return the processed string\n<END>",
"<BEGIN>\n## `conv_units`",
"Format and convert units to be more human readable",
" @return new val with converted units\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exit_fullscreen API.
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 exit_fullscreen API.
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... | Invoke before printing out anything.
This method should be replaced by or merged to blessings package | "Invoke before printing out anything.\n This method should be replaced by or merged to blessings package" | 25 | false | ronniedada/tabula | exit_fullscreen | 18,704 | |
LDU_FT/radical-cybertools/radical.entk/get_output_list_from_task | LDU_FT | [
"<BEGIN>\n## `resolve_placeholders`",
"**Purpose**: Substitute placeholders in staging attributes of a Task with actual paths to the corresponding tasks.",
" :arguments:\n :path: string describing the staging paths, possibly containing a placeholder\n :placeholder_dict: dictionary holding the v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_output_list_from_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_output_list_from_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Purpose: Parse a Task object to extract the files to be staged as the output.
Details: The extracted data is then converted into the appropriate RP directive depending on whether the data
is to be copied/downloaded.
:arguments:
:task: EnTK Task object
:placeholder_dict: dictionary holding ... | "Purpose: Parse a Task object to extract the files to be staged as the output.\n\n Details: The extracted data is then converted into the appropriate RP directive depending on whether the data\n is to be copied/downloaded.\n\n :arguments:\n :task: EnTK Task object\n :placeholder_dict: dictionary ... | 146 | false | radical-cybertools/radical.entk | get_output_list_from_task | 18,705 | |
LDU_FT/sastrarobotics/pyHerkulex/set_position_i | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the Herkulex bus",
" Connect to serial port to which Herkulex Servos are attatched",
" Args:\n portname (str): The serial port name\n baudrate (int): The serial port baudrate\n Raises:\n SerialException: Error occured while opening serial port... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_position_i API.
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_position_i API.
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... | Set the I gain of the position PID
Args:
ivalue (int): I value | "Set the I gain of the position PID\n\n Args:\n ivalue (int): I value" | 102 | false | sastrarobotics/pyHerkulex | set_position_i | 18,706 | |
LDU_FT/erikrose/more-itertools/substrings_indexes | LDU_FT | [
"<BEGIN>\n## `first`",
"Return the first item of *iterable*, or *default* if *iterable* is\n empty.",
" >>> first([0, 1, 2, 3])\n 0\n >>> first([], 'some default')\n 'some default'",
" If *default* is not provided and there are no items in the iterable,\n raise ``ValueErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substrings_indexes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substrings_indexes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Yield all substrings and their positions in *seq*
The items yielded will be a tuple of the form ``(substr, i, j)``, where
``substr == seq[i:j]``.
This function only works for iterables that support slicing, such as
``str`` objects.
>>> for item in substrings_indexes('more'):
... print(item... | "Yield all substrings and their positions in *seq*\n\n The items yielded will be a tuple of the form ``(substr, i, j)``, where\n ``substr == seq[i:j]``.\n\n This function only works for iterables that support slicing, such as\n ``str`` objects.\n\n >>> for item in substrings_indexes('more'):\n ... ... | 342 | false | erikrose/more-itertools | substrings_indexes | 18,707 | |
LDU_FT/openstack/monasca-common/reinit | LDU_FT | [
"<BEGIN>\n## `fmtd_sub_expr_str`",
"Get the entire sub expressions as a string with spaces.\n<END>",
"<BEGIN>\n## `normalized_operator`",
"Get the operator as one of LT, GT, LTE, or GTE.\n<END>",
"<BEGIN>\n## `_get_conn`",
"Get or create a connection to a broker using host and port\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reinit API.
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 reinit API.
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 ... | Re-initialize the socket connection
close current socket (if open)
and start a fresh connection
raise ConnectionError on error | "Re-initialize the socket connection\n close current socket (if open)\n and start a fresh connection\n raise ConnectionError on error" | 227 | false | openstack/monasca-common | reinit | 18,708 | |
LDU_FT/aws/aws-encryption-sdk-python/decrypt | LDU_FT | [
"<BEGIN>\n## `_encryption_context_hash`",
"Generates the expected hash for the provided encryption context.",
" :param hasher: Existing hasher to use\n :type hasher: cryptography.hazmat.primitives.hashes.Hash\n :param dict encryption_context: Encryption context to hash\n :returns: Complete hash\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt API.
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 decrypt API.
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... | Decrypts a frame body.
:param algorithm: Algorithm used to encrypt this body
:type algorithm: aws_encryption_sdk.identifiers.Algorithm
:param bytes key: Plaintext data key
:param encrypted_data: EncryptedData containing body data
:type encrypted_data: :class:`aws_encryption_sdk.internal.structures.... | "Decrypts a frame body.\n\n :param algorithm: Algorithm used to encrypt this body\n :type algorithm: aws_encryption_sdk.identifiers.Algorithm\n :param bytes key: Plaintext data key\n :param encrypted_data: EncryptedData containing body data\n :type encrypted_data: :class:`aws_encryption_sdk.internal.stru... | 364 | false | aws/aws-encryption-sdk-python | decrypt | 18,709 | |
LDU_FT/vilmibm/done/_evalModifier2 | LDU_FT | [
"<BEGIN>\n## `interp`",
"This method takes a list of SQL snippets and returns a SQL statement and\n a list of bind variables to be passed to the DB API's execute method.\n<END>",
"<BEGIN>\n## `esc`",
"Returns the given object in the appropriate wrapper class from esc_types.py.",
" In most case... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _evalModifier2 API.
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 _evalModifier2 API.
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... | Evaluate the C{modifier} string and following text (passed in
as C{chunk1} and C{chunk2}) and if they match any known modifiers
calculate the delta and apply it to C{sourceTime}.
@type modifier: string
@param modifier: modifier text to apply to C{sourceTime}
@type ch... | "Evaluate the C{modifier} string and following text (passed in\r\n as C{chunk1} and C{chunk2}) and if they match any known modifiers\r\n calculate the delta and apply it to C{sourceTime}.\r\n\r\n @type modifier: string\r\n @param modifier: modifier text to apply to C{sourceTime}\r\n ... | 80 | false | vilmibm/done | _evalModifier2 | 18,710 | |
LDU_FT/roaet/wafflehaus.neutron/filter_factory | LDU_FT | [
"<BEGIN>\n## `_process_call`",
"This is were all callbacks are made and the req is processed.\n<END>",
"<BEGIN>\n## `filter_factory`",
"Returns a WSGI filter app for use with paste.deploy.\n<END>",
"<BEGIN>\n## `_make_the_call`",
"Note that a request response is being used here, not webob.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_factory API.
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 filter_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a WSGI filter app for use with paste.deploy. | "Returns a WSGI filter app for use with paste.deploy." | 10 | false | roaet/wafflehaus.neutron | filter_factory | 18,711 | |
LDU_FT/jtmoulia/switchboard-python/main | LDU_FT | [
"<BEGIN>\n## `main`",
"Create, connect, and block on the Lamson worker.\n<END>",
"<BEGIN>\n## `received_new`",
"As new messages arrive, deliver them to the lamson relay.\n<END>",
"<BEGIN>\n## `_isPromise`",
"A utility function to determine if the specified\n object is a promise using \"duck typing\".\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Create, connect, and block on the listener worker. | "Create, connect, and block on the listener worker." | 35 | false | jtmoulia/switchboard-python | main | 18,712 | |
LDU_FT/bulkan/robotframework-requests/put | LDU_FT | [
"<BEGIN>\n## `_create_session`",
"Create Session: create a HTTP session to a server",
" ``url`` Base url of the server",
" ``alias`` Robot Framework alias to identify the session",
" ``headers`` Dictionary of default headers",
" ``cookies`` Dictionary of cookies",
" ``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | **Deprecated- See Put Request now**
Send a PUT request on the session object found using the
given `alias`
``alias`` that will be used to identify the Session object in the cache
``uri`` to send the PUT request to
``headers`` a dictionary of headers to use with the request
... | "**Deprecated- See Put Request now**\n\n Send a PUT request on the session object found using the\n given `alias`\n\n ``alias`` that will be used to identify the Session object in the cache\n\n ``uri`` to send the PUT request to\n\n ``headers`` a dictionary of headers to use with the ... | 151 | false | bulkan/robotframework-requests | put | 18,713 | |
LDU_FT/limpyd/redis-limpyd/_pushx | LDU_FT | [
"<BEGIN>\n## `_make_command_method`",
"Return a function which call _call_command for the given name.\n Used to bind redis commands to our own calls\n<END>",
"<BEGIN>\n## `_call_command`",
"Check if the command to be executed is a modifier, to connect the object.\n Then call _traverse_command.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pushx API.
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 _pushx API.
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 ... | Helper for lpushx and rpushx, that only index the new values if the list
existed when the command was called | "Helper for lpushx and rpushx, that only index the new values if the list\n existed when the command was called" | 408 | false | limpyd/redis-limpyd | _pushx | 18,714 | |
LDU_FT/inspirehep/inspire-schemas/add_acquisition_source | LDU_FT | [
"<BEGIN>\n## `filter_empty_parameters`",
"Decorator that is filtering empty parameters.",
" :param func: function that you want wrapping\n :type func: function\n<END>",
"<BEGIN>\n## `author_id_normalize_and_schema`",
"Detect and normalize an author UID schema.",
" Args:\n uid (string): a U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_acquisition_source 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 add_acquisition_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Add acquisition source.
:type submission_number: integer
:type email: integer
:type source: string
:param date: UTC date in isoformat
.. deprecated:: 30.1.0
Use ``datetime`` instead.
:type date: string
:param method: meth... | "Add acquisition source.\n\n :type submission_number: integer\n\n :type email: integer\n\n :type source: string\n\n :param date: UTC date in isoformat\n\n .. deprecated:: 30.1.0\n Use ``datetime`` instead.\n :type date: string\n\n :par... | 290 | false | inspirehep/inspire-schemas | add_acquisition_source | 18,715 | |
LDU_FT/Brazelton-Lab/bio_utils/write | LDU_FT | [
"<BEGIN>\n## `binary_guesser`",
"Raise error if file not likely binary",
" Guesses if a file is binary, raises error if file is not likely binary,\n then returns to location in file when handle passed to binary_guesser.",
" Args:\n handle (file): File handle of file thought to be binary",
" ... | 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... | Restore GFF3 entry to original format
Returns:
str: properly formatted string containing the GFF3 entry | "Restore GFF3 entry to original format\n\n Returns:\n str: properly formatted string containing the GFF3 entry" | 158 | false | Brazelton-Lab/bio_utils | write | 18,716 | |
LDU_FT/mgoral/subconvert/_getLowestSyncPoint | LDU_FT | [
"<BEGIN>\n## `__parseFormat`",
"Actual parser. Please note that time_to is not required to process as not all subtitles\n provide it.\n<END>",
"<BEGIN>\n## `createSubtitle`",
"Returns a correct 'Subtitle' object from a text given in 'section'. If 'section' cannot\n be parsed, None is returned.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getLowestSyncPoint 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 _getLowestSyncPoint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get the lowest possible sync point. If it is not the first one on the **sorted**
syncPointList, first subtitle will be converted to the one. | "Get the lowest possible sync point. If it is not the first one on the **sorted**\n syncPointList, first subtitle will be converted to the one." | 50 | false | mgoral/subconvert | _getLowestSyncPoint | 18,717 | |
LDU_FT/ensime/ensime-vim/selection_pos | LDU_FT | [
"<BEGIN>\n## `buffer_typechecks_and_display`",
"Adds typecheck events to the buffer, and displays them right away.",
" This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>",
"<BEGIN>\n## `handle_typecheck_complete`",
"Handles ``NewScalaNotesEvent```... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selection_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selection_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 ext... | Return start and end positions of the visual selection respectively. | "Return start and end positions of the visual selection respectively." | 150 | false | ensime/ensime-vim | selection_pos | 18,718 | |
LDU_FT/TheGhouls/oct/start_device | LDU_FT | [
"<BEGIN>\n## `copy_config`",
"Copy current config file to output directory\n<END>",
"<BEGIN>\n## `run`",
"Start an oct project",
" :param Namespace args: the commande-line arguments\n<END>",
"<BEGIN>\n## `from_template`",
"Create a new oct project from existing template",
" :param Namespace args... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_device API.
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 start_device API.
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... | Start specified device
:param str name: name of the device, MUST match one of ['forwarder', 'streamer']
:param int frontend: frontend bind port for device
:param int backend: backend bind port for device | "Start specified device\n\n :param str name: name of the device, MUST match one of ['forwarder', 'streamer']\n :param int frontend: frontend bind port for device\n :param int backend: backend bind port for device" | 101 | false | TheGhouls/oct | start_device | 18,719 | |
LDU_FT/pyamg/pyamg/rootnode_solver | LDU_FT | [
"<BEGIN>\n## `make_csr`",
"Convert A to CSR, if A is not a CSR or BSR matrix already.",
" Parameters\n ----------\n A : array, matrix, sparse matrix\n (n x n) matrix to convert to CSR",
" Returns\n -------\n A : csr_matrix, bsr_matrix\n If A is csr_matrix or bsr_matrix, then do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rootnode_solver API.
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 rootnode_solver API.
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... | Create a multilevel solver using root-node based Smoothed Aggregation (SA).
See the notes below, for the major differences with the classical-style
smoothed aggregation solver in aggregation.smoothed_aggregation_solver.
Parameters
----------
A : csr_matrix, bsr_matrix
Sparse NxN matrix in ... | "Create a multilevel solver using root-node based Smoothed Aggregation (SA).\n\n See the notes below, for the major differences with the classical-style\n smoothed aggregation solver in aggregation.smoothed_aggregation_solver.\n\n Parameters\n ----------\n A : csr_matrix, bsr_matrix\n Sparse NxN m... | 1,074 | true | pyamg/pyamg | rootnode_solver | 18,720 | |
LDU_FT/jeffbuttars/upkg/install | LDU_FT | [
"<BEGIN>\n## `exec`",
"todo: Docstring for exec",
" :param args: arg description\n :type args: type description\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `exec`",
"todo: Docstring for exec",
" :param args: arg description\n :type args: type description\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
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 install API.
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... | todo: Docstring for install
:return:
:rtype: | "todo: Docstring for install\n :return:\n :rtype:" | 76 | false | jeffbuttars/upkg | install | 18,721 | |
LDU_FT/tobgu/pyrsistent/_push_tail | LDU_FT | [
"<BEGIN>\n## `pdeque`",
"Return deque containing the elements of iterable. If maxlen is specified then\n len(iterable) - maxlen elements are discarded from the left to if len(iterable) > maxlen.",
" >>> pdeque([1, 2, 3])\n pdeque([1, 2, 3])\n >>> pdeque([1, 2, 3, 4], maxlen=2)\n pdeque([3, 4], ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _push_tail API.
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 _push_tail API.
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... | if parent is leaf, insert node,
else does it map to an existing child? ->
node_to_insert = push node one more level
else alloc new path
return node_to_insert placed in copy of parent | "if parent is leaf, insert node,\n else does it map to an existing child? ->\n node_to_insert = push node one more level\n else alloc new path\n\n return node_to_insert placed in copy of parent" | 130 | false | tobgu/pyrsistent | _push_tail | 18,722 | |
LDU_FT/vxgmichel/aiostream/reduce | LDU_FT | [
"<BEGIN>\n## `base_combine`",
"Base operator for managing an asynchronous sequence of sequences.",
" The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.",
" The ``switch`` argument enables the switch mecanism, whic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce API.
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 reduce API.
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 ... | Apply a function of two arguments cumulatively to the items
of an asynchronous sequence, reducing the sequence to a single value.
If ``initializer`` is present, it is placed before the items
of the sequence in the calculation, and serves as a default when the
sequence is empty. | "Apply a function of two arguments cumulatively to the items\n of an asynchronous sequence, reducing the sequence to a single value.\n\n If ``initializer`` is present, it is placed before the items\n of the sequence in the calculation, and serves as a default when the\n sequence is empty." | 154 | false | vxgmichel/aiostream | reduce | 18,723 | |
LDU_FT/grundic/yagocd/properties | LDU_FT | [
"<BEGIN>\n## `urljoin`",
"Joins given arguments into a url. Trailing but not leading slashes are\n stripped for each argument.\n<END>",
"<BEGIN>\n## `server_version`",
"Special method for getting server version.",
" Because of different behaviour on different versions of\n server, we ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extrac... | Property for accessing property (doh!) manager of the current job.
:return: instance of :class:`yagocd.resources.property.PropertyManager`
:rtype: yagocd.resources.property.PropertyManager | "Property for accessing property (doh!) manager of the current job.\n\n :return: instance of :class:`yagocd.resources.property.PropertyManager`\n :rtype: yagocd.resources.property.PropertyManager" | 164 | false | grundic/yagocd | properties | 18,724 | |
LDU_FT/gmr/infoblox/add_ipv4addr | LDU_FT | [
"<BEGIN>\n## `delete_old_host`",
"Remove all records for the host.",
" :param str hostname: Hostname to remove\n :rtype: bool\n<END>",
"<BEGIN>\n## `add_new_host`",
"Add or update a host in the infoblox, overwriting any IP address\n entries.",
" :param str hostname: Hostname to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ipv4addr API.
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 add_ipv4addr API.
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... | Add an IPv4 address to the host.
:param str ipv4addr: The IP address to add.
:raises: ValueError | "Add an IPv4 address to the host.\n\n :param str ipv4addr: The IP address to add.\n :raises: ValueError" | 42 | false | gmr/infoblox | add_ipv4addr | 18,725 | |
LDU_FT/industrial-optimization-group/DESDEO/new_points | LDU_FT | [
"<BEGIN>\n## `objective_bounds`",
"Return objective bounds",
" Returns\n -------\n lower : list of floats\n Lower boundaries for the objectives",
" Upper : list of floats\n Upper boundaries for the objectives\n<END>",
"<BEGIN>\n## `add_variables`",
"Parame... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_points API.
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 new_points API.
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... | Generate approximate set of points
Generate set of Pareto optimal solutions projecting from the Pareto optimal solution
using weights to determine the direction.
Parameters
----------
factory:
IterationPointFactory with suitable optimization problem
solution:
Current solutio... | "Generate approximate set of points\n\n Generate set of Pareto optimal solutions projecting from the Pareto optimal solution\n using weights to determine the direction.\n\n\n Parameters\n ----------\n\n factory:\n IterationPointFactory with suitable optimization problem\n\n solution:\n C... | 57 | false | industrial-optimization-group/DESDEO | new_points | 18,726 | |
LDU_FT/IndicoDataSolutions/IndicoIo-python/wait | LDU_FT | [
"<BEGIN>\n## `analyze_image`",
"Given input image, returns the results of specified image apis. Possible apis\r\n include: ['fer', 'facial_features', 'image_features']\r",
" Example usage:\r",
" .. code-block:: python\r",
" >>> import indicoio\r\n >>> import numpy as np\r\n >>> fa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API.
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 wait API.
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... | Block until the collection's model is completed training | "Block until the collection's model is completed training" | 148 | false | IndicoDataSolutions/IndicoIo-python | wait | 18,727 | |
LDU_FT/pavoni/pyvera/set_armed_state | LDU_FT | [
"<BEGIN>\n## `init_controller`",
"Initialize a controller.",
" Provides a single global controller for applications that can't do this\n themselves\n<END>",
"<BEGIN>\n## `data_request`",
"Perform a data_request and return the result.\n<END>",
"<BEGIN>\n## `get_device_by_name`",
"Search the list of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_armed_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_armed_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Set the armed state, also update local state. | "Set the armed state, also update local state." | 94 | false | pavoni/pyvera | set_armed_state | 18,728 | |
LDU_FT/asweigart/pybresenham/polygonVertices | LDU_FT | [
"<BEGIN>\n## `rotatePoint`",
"Rotates the point at `x` and `y` by `rotationDegrees`. The point is rotated\n around the origin by default, but can be rotated around another pivot point\n by specifying `pivotx` and `pivoty`.",
" The points are rotated counterclockwise.",
" Returns an x and y tuple."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polygonVertices API.
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 polygonVertices API.
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 a generator that produces the (x, y) points of the vertices of a regular polygon.
`x` and `y` mark the center of the polygon, `radius` indicates the size,
`sides` specifies what kind of polygon it is.
Odd-sided polygons have a pointed corner at the top and flat horizontal
side at the bottom. Th... | "Returns a generator that produces the (x, y) points of the vertices of a regular polygon.\n `x` and `y` mark the center of the polygon, `radius` indicates the size,\n `sides` specifies what kind of polygon it is.\n\n Odd-sided polygons have a pointed corner at the top and flat horizontal\n side at the bott... | 84 | false | asweigart/pybresenham | polygonVertices | 18,729 | |
LDU_FT/anthok/overwatch-api/_uses_aiohttp_session | LDU_FT | [
"<BEGIN>\n## `_uses_aiohttp_session`",
"This is a decorator that creates an async with statement around a function, and makes sure that a _session argument is always passed.\n Only usable on async functions of course.\n The _session argument is (supposed to be) an aiohttp.ClientSession instance in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _uses_aiohttp_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _uses_aiohttp_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.
... | This is a decorator that creates an async with statement around a function, and makes sure that a _session argument is always passed.
Only usable on async functions of course.
The _session argument is (supposed to be) an aiohttp.ClientSession instance in all functions that this decorator has been used o... | "This is a decorator that creates an async with statement around a function, and makes sure that a _session argument is always passed.\n Only usable on async functions of course.\n The _session argument is (supposed to be) an aiohttp.ClientSession instance in all functions that this decorator has been use... | 10 | false | anthok/overwatch-api | _uses_aiohttp_session | 18,730 | |
LDU_FT/chimera0/accel-brain-code/listup_sentence | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draws samples from the `true` distribution.\r",
" Returns:\r\n `np.ndarray` of samples.\n<END>",
"<BEGIN>\n## `generate`",
"Generate noise samples.\r",
" Returns:\r\n `np.ndarray` of samples.\n<END>",
"<BEGIN>\n## `generate`",
"Draws samples f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listup_sentence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listup_sentence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Divide string into sentence list.
Args:
data: string.
counter: recursive counter.
Returns:
List of sentences. | "Divide string into sentence list.\n\n Args:\n data: string.\n counter: recursive counter.\n\n Returns:\n List of sentences." | 550 | false | chimera0/accel-brain-code | listup_sentence | 18,731 | |
LDU_FT/thespacedoctor/transientNamer/json | LDU_FT | [
"<BEGIN>\n## `sources`",
"*The results of the search returned as a python list of dictionaries*",
" **Usage:**",
" .. code-block:: python",
" sources = tns.sources\n<END>",
"<BEGIN>\n## `spectra`",
"*The associated source spectral data*",
" **Usage:**",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | *Render the results in json format*
**Key Arguments:**
- ``dirPath`` -- the path to the directory to save the rendered results to. Default *None*
**Return:**
- `jsonSources` -- the top-level transient data
- `jsonPhot` -- all photometry associated with the transient... | "*Render the results in json format*\n\n **Key Arguments:**\n - ``dirPath`` -- the path to the directory to save the rendered results to. Default *None*\n\n **Return:**\n - `jsonSources` -- the top-level transient data\n - `jsonPhot` -- all photometry associated with the t... | 132 | false | thespacedoctor/transientNamer | json | 18,732 | |
LDU_FT/tehmaze/natural/bban | LDU_FT | [
"<BEGIN>\n## `ordinal`",
"Converts a number to its ordinal representation.",
" :param value: number",
" >>> print(ordinal(1))\n 1st\n >>> print(ordinal(11))\n 11th\n >>> print(ordinal(101))\n 101st\n >>> print(ordinal(104))\n 104th\n >>> print(ordinal(113))\n 113th\n >>> pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bban API.
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 bban API.
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... | Printable Basic Bank Account Number (BBAN) for the given country code. The
``country`` must be a valid ISO 3166-2 country code.
:param value: string or int
:param country: string
>>> bban('068-9999995-01', 'BE')
'068999999501'
>>> bban('555', 'NL')
'555'
>>> bban('555', 'NL', validate=... | "Printable Basic Bank Account Number (BBAN) for the given country code. The\n ``country`` must be a valid ISO 3166-2 country code.\n\n :param value: string or int\n :param country: string\n\n >>> bban('068-9999995-01', 'BE')\n '068999999501'\n >>> bban('555', 'NL')\n '555'\n >>> bban('555', 'NL'... | 153 | false | tehmaze/natural | bban | 18,733 | |
LDU_FT/indico/indico-plugins/convert | LDU_FT | [
"<BEGIN>\n## `available_backends`",
"Lists the currently available backend types\n<END>",
"<BEGIN>\n## `initial_export`",
"Performs the initial data export for an agent\n<END>",
"<BEGIN>\n## `get_result`",
"Perform the call and return the graph data",
" :return: Encoded PNG graph data string to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert API.
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 convert API.
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... | Converts a single dictionary or list of dictionaries into converted list of dictionaries. | "Converts a single dictionary or list of dictionaries into converted list of dictionaries." | 173 | false | indico/indico-plugins | convert | 18,734 | |
LDU_FT/QualiSystems/cloudshell-networking-devices/orchestration_restore | LDU_FT | [
"<BEGIN>\n## `create_networking_resource_from_context`",
"Creates an instance of Networking Resource by given context\n :param shell_name: Shell Name\n :type shell_name: str\n :param supported_os: list of supported OS\n :type supported_os: list\n :param context: cloudshell.shell.core.driver_context... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orchestration_restore 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 orchestration_restore API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Orchestration restore
:param saved_artifact_info: json with all required data to restore configuration on the device
:param custom_params: custom parameters | "Orchestration restore\n\n :param saved_artifact_info: json with all required data to restore configuration on the device\n :param custom_params: custom parameters" | 87 | false | QualiSystems/cloudshell-networking-devices | orchestration_restore | 18,735 | |
LDU_FT/twosigma/marbles/_extract_msg | LDU_FT | [
"<BEGIN>\n## `get_stack_info`",
"Capture locals, module name, filename, and line number from the\n stacktrace to provide the source of the assertion error and\n formatted note.\n<END>",
"<BEGIN>\n## `assertBetween`",
"Fail if ``obj`` is not between ``lower`` and ``upper``.",
" If ``strict=True`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_msg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_msg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Extracts the ``msg`` argument from the passed ``args``.
Returns
-------
tuple
The found ``msg``, the args and kwargs with that ``msg``
removed, and any remaining positional args after ``msg``. | "Extracts the ``msg`` argument from the passed ``args``.\n\n Returns\n -------\n tuple\n The found ``msg``, the args and kwargs with that ``msg``\n removed, and any remaining positional args after ``msg``." | 199 | false | twosigma/marbles | _extract_msg | 18,736 | |
LDU_FT/uber/rides-python-sdk/connect | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect controller to handle token exchange and query Uber API.\n<END>",
"<BEGIN>\n## `_adapt_response`",
"Convert error responses to standardized ErrorDetails.\n<END>",
"<BEGIN>\n## `_adapt_response`",
"Convert various error responses to standardized ErrorDetails.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Connect controller to handle token exchange and query Uber API. | "Connect controller to handle token exchange and query Uber API." | 194 | false | uber/rides-python-sdk | connect | 18,737 | |
LDU_FT/svven/summary/parse_refresh_header | LDU_FT | [
"<BEGIN>\n## `load_raw_rules`",
"Load raw rules from url or package file.\n<END>",
"<BEGIN>\n## `get_image`",
"Returned Image instance has response url.\r\n This might be different than the url param because of redirects.\n<END>",
"<BEGIN>\n## `check_color`",
"Just check if raw_image is completely ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_refresh_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_refresh_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | >>> parse_refresh_header("1; url=http://example.com/")
(1.0, 'http://example.com/')
>>> parse_refresh_header("1; url='http://example.com/'")
(1.0, 'http://example.com/')
>>> parse_refresh_header("1")
(1.0, None)
>>> parse_refresh_header("blah") # doctest: +IGNORE_EXCEPTI... | ">>> parse_refresh_header(\"1; url=http://example.com/\")\n (1.0, 'http://example.com/')\n >>> parse_refresh_header(\"1; url='http://example.com/'\")\n (1.0, 'http://example.com/')\n >>> parse_refresh_header(\"1\")\n (1.0, None)\n >>> parse_refresh_header(\"blah\") # doctest: ... | 41 | false | svven/summary | parse_refresh_header | 18,738 | |
LDU_FT/ewels/MultiQC/slamdunkFilterStatsTable | LDU_FT | [
"<BEGIN>\n## `star_stats_table`",
"Take the parsed stats from the STAR report and add them to the\n basic stats table at the top of the report\n<END>",
"<BEGIN>\n## `mirtrace_length_plot`",
"Generate the miRTrace Read Length Distribution\n<END>",
"<BEGIN>\n## `mirtrace_contamination_check`",
"Gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slamdunkFilterStatsTable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slamdunkFilterStatsTable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Take the parsed filter stats from Slamdunk and add it to a separate table | "Take the parsed filter stats from Slamdunk and add it to a separate table" | 532 | false | ewels/MultiQC | slamdunkFilterStatsTable | 18,739 | |
LDU_FT/EwilDawe/typy/drag | LDU_FT | [
"<BEGIN>\n## `move_line`",
"Moves the cursor in a straight line to (x, y) at a certain speed",
" :param x: target x-ordinate\n :param y: target y-ordinate\n :param speed: pixel traversal rate\n :return: None\n<END>",
"<BEGIN>\n## `move_arc`",
"Moves the cursor in an arc of radius r to (x, y) at ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drag API.
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 drag API.
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... | Drags the mouse along a specified path
:param args: list of arguments passed to function
:param function: path to traverse
:return: None | "Drags the mouse along a specified path\n\n :param args: list of arguments passed to function\n :param function: path to traverse\n :return: None" | 27 | false | EwilDawe/typy | drag | 18,740 | |
LDU_FT/openspending/babbage/bind | LDU_FT | [
"<BEGIN>\n## `count_results`",
"Get the count of records matching the query.\n<END>",
"<BEGIN>\n## `generate_results`",
"Generate the resulting records for this query, applying pagination.\n Values will be returned by their reference.\n<END>",
"<BEGIN>\n## `apply`",
"Sort on a set of field specificatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | When one column needs to match, use the key. | "When one column needs to match, use the key." | 66 | false | openspending/babbage | bind | 18,741 | |
LDU_FT/aws/sagemaker-containers/array_to_csv | LDU_FT | [
"<BEGIN>\n## `_orted_process`",
"Waits maximum of 5 minutes for orted process to start\n<END>",
"<BEGIN>\n## `_can_connect`",
"Checks if the connection to provided ``host`` and ``port`` is possible or not.\n Args:\n host (str): Hostname for the host to check connection.\n port (int):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the array_to_csv API.
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 array_to_csv API.
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 an array like object to CSV.
To understand better what an array like object is see:
https://docs.scipy.org/doc/numpy/user/basics.creation.html#converting-python-array-like-objects-to-numpy-arrays
Args:
array_like (np.array or Iterable or int or float): array like object to be converted to ... | "Convert an array like object to CSV.\n\n To understand better what an array like object is see:\n https://docs.scipy.org/doc/numpy/user/basics.creation.html#converting-python-array-like-objects-to-numpy-arrays\n\n Args:\n array_like (np.array or Iterable or int or float): array like object to be conver... | 200 | false | aws/sagemaker-containers | array_to_csv | 18,742 | |
LDU_FT/rm-hull/OPi.GPIO/output | LDU_FT | [
"<BEGIN>\n## `setmode`",
"You must call this method prior to using all other calls.",
" :param mode: the mode, one of :py:attr:`GPIO.BOARD`, :py:attr:`GPIO.BCM`,\n :py:attr:`GPIO.SUNXI`, or a `dict` or `object` representing a custom\n pin mapping.\n<END>",
"<BEGIN>\n## `setup`",
"You need t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API.
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 output API.
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 ... | Set the output state of a GPIO pin.
:param channel: the channel based on the numbering system you have specified
(:py:attr:`GPIO.BOARD`, :py:attr:`GPIO.BCM` or :py:attr:`GPIO.SUNXI`).
:param state: can be :py:attr:`0` / :py:attr:`GPIO.LOW` / :py:attr:`False`
or :py:attr:`1` / :py:attr:`GPIO.HIG... | "Set the output state of a GPIO pin.\n\n :param channel: the channel based on the numbering system you have specified\n (:py:attr:`GPIO.BOARD`, :py:attr:`GPIO.BCM` or :py:attr:`GPIO.SUNXI`).\n :param state: can be :py:attr:`0` / :py:attr:`GPIO.LOW` / :py:attr:`False`\n or :py:attr:`1` / :py:attr:`GP... | 60 | false | rm-hull/OPi.GPIO | output | 18,743 | |
LDU_FT/ColtonProvias/sqlalchemy-jsonapi/check_permission | LDU_FT | [
"<BEGIN>\n## `user_error`",
"Create and return a general user error response that is jsonapi compliant.",
" Required args:\n status_code: The HTTP status code associated with the problem.\n title: A short summary of the problem.\n detail: An explanation specific to the occurence of the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_permission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_permission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Check a permission for a given instance or field. Raises an error if
denied.
:param instance: The instance to check
:param field: The field name to check or None for instance
:param permission: The permission to check | "Check a permission for a given instance or field. Raises an error if\n denied.\n\n :param instance: The instance to check\n :param field: The field name to check or None for instance\n :param permission: The permission to check" | 95 | false | ColtonProvias/sqlalchemy-jsonapi | check_permission | 18,744 | |
LDU_FT/lambdalisue/django-roughpages/remove_pardir_symbols | LDU_FT | [
"<BEGIN>\n## `prepare_filename_decorator`",
"A decorator of `prepare_filename` method",
" 1. It automatically assign `settings.ROUGHPAGES_INDEX_FILENAME` if the\n `normalized_url` is ''.\n 2. It automatically assign file extensions to the output list.\n<END>",
"<BEGIN>\n## `prepare_filenames`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_pardir_symbols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_pardir_symbols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Remove relative path symobls such as '..'
Args:
path (str): A target path string
sep (str): A strint to refer path delimiter (Default: `os.sep`)
pardir (str): A string to refer parent directory (Default: `os.pardir`)
Returns:
str | "Remove relative path symobls such as '..'\n\n Args:\n path (str): A target path string\n sep (str): A strint to refer path delimiter (Default: `os.sep`)\n pardir (str): A string to refer parent directory (Default: `os.pardir`)\n\n Returns:\n str" | 29 | false | lambdalisue/django-roughpages | remove_pardir_symbols | 18,745 | |
LDU_FT/twitterdev/search-tweets-python/read_config | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the program's version from a python variable declaration.\n<END>",
"<BEGIN>\n## `make_session`",
"Creates a Requests Session for use. Accepts a bearer token\n for premiums users and will override username and password information if\n present.",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Reads and flattens a configuration file into a single
dictionary for ease of use. Works with both ``.config`` and
``.yaml`` files. Files should look like this::
search_rules:
from-date: 2017-06-01
to-date: 2017-09-01 01:01
pt-rule: kanye
search_params:
... | "Reads and flattens a configuration file into a single\n dictionary for ease of use. Works with both ``.config`` and\n ``.yaml`` files. Files should look like this::\n\n search_rules:\n from-date: 2017-06-01\n to-date: 2017-09-01 01:01\n pt-rule: kanye\n\n search_par... | 88 | false | twitterdev/search-tweets-python | read_config | 18,746 | |
LDU_FT/shazow/unstdlib.py/to_unicode | LDU_FT | [
"<BEGIN>\n## `convert_exception`",
"Decorator: Catch exception ``from_exception`` and instead raise ``to_exception(*to_args, **to_kw)``.",
" Useful when modules you're using in a method throw their own errors that you want to\n convert to your own exceptions that you handle higher in the stack.",
" E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_unicode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_unicode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | r"""
Returns a ``unicode`` of ``obj``, decoding using ``encoding`` if necessary.
If decoding fails, the ``fallback`` encoding (default ``latin1``) is used.
Examples::
>>> r(to_unicode(b'\xe1\x88\xb4'))
u'\u1234'
>>> r(to_unicode(b'\xff'))
u'\xff'
>>> r(to_unicode(u'... | "r\"\"\"\n Returns a ``unicode`` of ``obj``, decoding using ``encoding`` if necessary.\n If decoding fails, the ``fallback`` encoding (default ``latin1``) is used.\n\n Examples::\n\n >>> r(to_unicode(b'\\xe1\\x88\\xb4'))\n u'\\u1234'\n >>> r(to_unicode(b'\\xff'))\n u'\\xff'\n ... | 187 | false | shazow/unstdlib.py | to_unicode | 18,747 | |
LDU_FT/gtaylor/django-athumb/_get_or_create_bucket | LDU_FT | [
"<BEGIN>\n## `create_thumbnail`",
"This serves as a really basic example of a thumbnailing method. You\n may want to implement your own logic, but this will work for\n simple cases.",
" :param Image image: This is your engine's ``Image`` object. For\n PIL it's PIL.Image.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_or_create_bucket API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_or_create_bucket API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Retrieves a bucket if it exists, otherwise creates it. | "Retrieves a bucket if it exists, otherwise creates it." | 76 | false | gtaylor/django-athumb | _get_or_create_bucket | 18,748 | |
LDU_FT/googleapis/dialogflow-python-client-v2/get_document | LDU_FT | [
"<BEGIN>\n## `from_service_account_file`",
"Creates an instance of this client using the provided credentials\n file.",
" Args:\n filename (str): The path to the service account private key json\n file.\n args: Additional arguments to pass to the constructor.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_document API.
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_document API.
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... | Retrieves the specified document.
Example:
>>> import dialogflow_v2beta1
>>>
>>> client = dialogflow_v2beta1.DocumentsClient()
>>>
>>> name = client.document_path('[PROJECT]', '[KNOWLEDGE_BASE]', '[DOCUMENT]')
>>>
>>> response ... | "Retrieves the specified document.\n\n Example:\n >>> import dialogflow_v2beta1\n >>>\n >>> client = dialogflow_v2beta1.DocumentsClient()\n >>>\n >>> name = client.document_path('[PROJECT]', '[KNOWLEDGE_BASE]', '[DOCUMENT]')\n >>>\n >>>... | 280 | false | googleapis/dialogflow-python-client-v2 | get_document | 18,749 | |
LDU_FT/python-hyper/wsproto/receive_data | LDU_FT | [
"<BEGIN>\n## `validate`",
"Incrementally validate a chunk of bytes provided as string.\n Will return a quad ``(valid?, endsOnCodePoint?, currentIndex, totalIndex)``.\n As soon as an octet is encountered which renders the octet sequence\n invalid, a quad with ``valid? == False`` is returned. `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_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 extr... | Pass some received data to the connection for handling.
A list of events that the remote peer triggered by sending this data can
be retrieved with :meth:`~wsproto.connection.Connection.events`.
:param data: The data received from the remote peer on the network.
:type data: ``bytes`` | "Pass some received data to the connection for handling.\n\n A list of events that the remote peer triggered by sending this data can\n be retrieved with :meth:`~wsproto.connection.Connection.events`.\n\n :param data: The data received from the remote peer on the network.\n :type data: ``byt... | 34 | false | python-hyper/wsproto | receive_data | 18,750 | |
LDU_FT/RiotGames/cloud-inquisitor/update | LDU_FT | [
"<BEGIN>\n## `options`",
"Returns metadata information required for User Creation\n<END>",
"<BEGIN>\n## `run`",
"Update the cache of all DNS entries and perform checks",
" Args:\n *args: Optional list of arguments\n **kwargs: Optional list of keyword arguments",
" Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Updates the object information based on live data, if there were any changes made. Any changes will be
automatically applied to the object, but will not be automatically persisted. You must manually call
`db.session.add(ami)` on the object.
Args:
data (bunch): Data fetched from AWS ... | "Updates the object information based on live data, if there were any changes made. Any changes will be\n automatically applied to the object, but will not be automatically persisted. You must manually call\n `db.session.add(ami)` on the object.\n\n Args:\n data (bunch): Data fetched fro... | 693 | false | RiotGames/cloud-inquisitor | update | 18,751 | |
LDU_FT/jrief/django-websocket-redis/send_persisted_messages | LDU_FT | [
"<BEGIN>\n## `fetch_message`",
"Fetch the first message available for the given ``facility`` and ``audience``, if it has\n been persisted in the Redis datastore.\n The current HTTP ``request`` is used to determine to whom the message belongs.\n A unique string is used to identify the bucket's... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_persisted_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_persisted_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... | This method is called immediately after a websocket is openend by the client, so that
persisted messages can be sent back to the client upon connection. | "This method is called immediately after a websocket is openend by the client, so that\n persisted messages can be sent back to the client upon connection." | 60 | false | jrief/django-websocket-redis | send_persisted_messages | 18,752 | |
LDU_FT/inveniosoftware-contrib/json-merger/toposort | LDU_FT | [
"<BEGIN>\n## `dedupe_list`",
"Remove duplicates from a list preserving the order.",
" We might be tempted to use the list(set(l)) idiom, but it doesn't preserve\n the order, which hinders testability and does not work for lists with\n unhashable elements.\n<END>",
"<BEGIN>\n## `keep_longest`",
"Kee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toposort API.
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 toposort API.
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... | Toplogically sorts a list match graph.
Tries to perform a topological sort using as tiebreaker the pick_first
argument. If the graph contains cycles, raise ValueError. | "Toplogically sorts a list match graph.\n\n Tries to perform a topological sort using as tiebreaker the pick_first\n argument. If the graph contains cycles, raise ValueError." | 54 | false | inveniosoftware-contrib/json-merger | toposort | 18,753 | |
LDU_FT/skelsec/minikerberos/to_tgt | LDU_FT | [
"<BEGIN>\n## `to_tgt`",
"Returns the native format of an AS_REP message and the sessionkey in EncryptionKey native format\n<END>",
"<BEGIN>\n## `add_tgt`",
"Creates credential object from the TGT and adds to the ccache file\n\t\tThe TGT is basically the native representation of the asn1 encoded AS_REP data th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_tgt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_tgt API.
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 native format of an AS_REP message and the sessionkey in EncryptionKey native format | "Returns the native format of an AS_REP message and the sessionkey in EncryptionKey native format" | 50 | false | skelsec/minikerberos | to_tgt | 18,754 | |
LDU_FT/androguard/androguard/disable_colors | LDU_FT | [
"<BEGIN>\n## `go`",
"Launch the analysis.",
" this will start a total of `max_fetcher` threads.\n<END>",
"<BEGIN>\n## `filter_file`",
"This method is called in order to filer a specific app",
" :param log: an object which corresponds to a unique app\n :param bytes fileraw: the raw fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_colors API.
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 disable_colors API.
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... | Disable colors from the output (color = normal) | "Disable colors from the output (color = normal)" | 823 | false | androguard/androguard | disable_colors | 18,755 | |
LDU_FT/b3j0f/schema/unregistercls | LDU_FT | [
"<BEGIN>\n## `_getter`",
"Called when the parent element tries to get this property value.",
" :param obj: parent object.\n<END>",
"<BEGIN>\n## `_setter`",
"Called when the parent element tries to set this property value.",
" :param obj: parent object.\n :param value: new value to use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregistercls API.
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 unregistercls API.
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... | Unregister schema class or associated data_types.
:param type schemacls: sub class of Schema.
:param list data_types: data_types to unregister. | "Unregister schema class or associated data_types.\n\n :param type schemacls: sub class of Schema.\n :param list data_types: data_types to unregister." | 101 | false | b3j0f/schema | unregistercls | 18,756 | |
LDU_FT/dusktreader/py-buzz/complex_handle_errors | LDU_FT | [
"<BEGIN>\n## `reformat_exception`",
"Reformats an exception by adding a message to it and reporting the\n original exception name and message\n<END>",
"<BEGIN>\n## `handle_errors`",
"provides a context manager that will intercept exceptions and repackage\n them as Buzz instances with a message a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complex_handle_errors 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 complex_handle_errors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This function demonstrates a more complex usage of the handle_errors
ctx_mgr. The following features are demonstrated::
* Handling a specific exception type with ``exception_class``
* Absorbing exceptions by setting ``re_raise`` to ``False``
* Branching with ``do_except``, ``do_else``, and ``do_f... | "This function demonstrates a more complex usage of the handle_errors\n ctx_mgr. The following features are demonstrated::\n\n * Handling a specific exception type with ``exception_class``\n * Absorbing exceptions by setting ``re_raise`` to ``False``\n * Branching with ``do_except``, ``do_else``, and ... | 15 | false | dusktreader/py-buzz | complex_handle_errors | 18,757 | |
LDU_FT/CyberReboot/vent/add_option | LDU_FT | [
"<BEGIN>\n## `gpu_queue`",
"Queued up containers waiting for GPU resources\n<END>",
"<BEGIN>\n## `file_queue`",
"Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>",
"<BEGIN>\n## `inventory`",
"Return a dictionary of the inventory... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_option API.
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 add_option API.
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... | Creates an option for a section. If the section does
not exist, it will create the section. | "Creates an option for a section. If the section does\n not exist, it will create the section." | 141 | false | CyberReboot/vent | add_option | 18,758 | |
LDU_FT/JasonKessler/scattertext/remove_terms | LDU_FT | [
"<BEGIN>\n## `coarse_tag_str`",
"Convert POS sequence to our coarse system, formatted as a string.\n<END>",
"<BEGIN>\n## `extract_finditer`",
"The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>",
"<BEGIN>\n## `extract_ngram_filter`",
"The \"FilterFSA\"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_terms API.
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 remove_terms API.
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... | Non destructive term removal.
Parameters
----------
terms : list
list of terms to remove
ignore_absences : bool, False by default
if term does not appear, don't raise an error, just move on.
Returns
-------
TermDocMatrix, new object with ... | "Non destructive term removal.\n\n Parameters\n ----------\n terms : list\n list of terms to remove\n ignore_absences : bool, False by default\n if term does not appear, don't raise an error, just move on.\n\n Returns\n -------\n TermDocMatrix, new ... | 419 | false | JasonKessler/scattertext | remove_terms | 18,759 | |
LDU_FT/Genida/django-appsettings/check | LDU_FT | [
"<BEGIN>\n## `check`",
"Class method to check every settings.",
" Will raise an ``ImproperlyConfigured`` exception with explanation.\n<END>",
"<BEGIN>\n## `default_value`",
"Property to return the default value.",
" If the default value is callable and call_default is True, return\n t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Run the setting checker against the setting raw value.
Raises:
AttributeError: if the setting is missing and required.
ValueError: (or other Exception) if the raw value is invalid. | "Run the setting checker against the setting raw value.\n\n Raises:\n AttributeError: if the setting is missing and required.\n ValueError: (or other Exception) if the raw value is invalid." | 31 | false | Genida/django-appsettings | check | 18,760 | |
LDU_FT/projectshift/shift-schema/validate | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate\n Perform value validation against validation settings and return\n error object.",
" :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validate
Perform value validation and return result
:param value: value to check
:param model: parent model being validated
:param context: object or None, validation context
:return: shiftschema.results.SimpleResult | "Validate\n Perform value validation and return result\n\n :param value: value to check\n :param model: parent model being validated\n :param context: object or None, validation context\n :return: shiftschema.results.SimpleResult" | 135 | false | projectshift/shift-schema | validate | 18,761 | |
LDU_FT/andymccurdy/redis-py/timestamp_to_datetime | LDU_FT | [
"<BEGIN>\n## `acquire`",
"Use Redis to hold a shared, distributed lock named ``name``.\n Returns True once the lock is acquired.",
" If ``blocking`` is False, always return immediately. If the lock\n was acquired, return True, otherwise return False.",
" ``blocking_timeout`` specif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp_to_datetime 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 timestamp_to_datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Converts a unix timestamp to a Python datetime object | "Converts a unix timestamp to a Python datetime object" | 308 | false | andymccurdy/redis-py | timestamp_to_datetime | 18,762 | |
LDU_FT/raiden-network/raiden-contracts/setup_ctx | LDU_FT | [
"<BEGIN>\n## `check_permission_safety`",
"Check if the file at the given path is safe to use as a state file.",
" This checks that group and others have no permissions on the file and that the current user is\n the owner.\n<END>",
"<BEGIN>\n## `get_private_key`",
"Open a JSON-encoded private key and r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_ctx API.
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 setup_ctx API.
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 up deployment context according to common options (shared among all
subcommands). | "Set up deployment context according to common options (shared among all\n subcommands)." | 76 | false | raiden-network/raiden-contracts | setup_ctx | 18,763 | |
LDU_FT/mar10/pyftpsync/get_sync_info | LDU_FT | [
"<BEGIN>\n## `match_path`",
"Return True if `path` matches `match` and `exclude` options.\n<END>",
"<BEGIN>\n## `_compare_file`",
"Byte compare two files (early out on first difference).\n<END>",
"<BEGIN>\n## `_tick`",
"Write progress info and move cursor to beginning of line.\n<END>",
"<BEGIN>\n## `_sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sync_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sync_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 ext... | Get mtime/size when this target's current dir was last synchronized with remote. | "Get mtime/size when this target's current dir was last synchronized with remote." | 122 | false | mar10/pyftpsync | get_sync_info | 18,764 | |
LDU_FT/SeattleTestbed/seash/reverse_search_history | LDU_FT | [
"<BEGIN>\n## `_bind_key`",
"u\"\"\"setup the mapping from key to call the function.\n<END>",
"<BEGIN>\n## `_bind_exit_key`",
"u\"\"\"setup the mapping from key to call the function.\n<END>",
"<BEGIN>\n## `_get_completions`",
"Return a list of possible completions for the string ending at the point.\r\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_search_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_search_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | u'''Search backward starting at the current line and moving up
through the history as necessary. This is an incremental search. | "u'''Search backward starting at the current line and moving up\r\n through the history as necessary. This is an incremental search." | 281 | false | SeattleTestbed/seash | reverse_search_history | 18,765 | |
LDU_FT/awacha/sastool/Gaussian | LDU_FT | [
"<BEGIN>\n## `readB1logfile`",
"Read B1 logfile (*.log)",
" Inputs:\n filename: the file name",
" Output: A dictionary.\n<END>",
"<BEGIN>\n## `writeB1logfile`",
"Write a header structure into a B1 logfile.",
" Inputs:\n filename: name of the file.\n data: header dictionary"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Gaussian API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Gaussian API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Gaussian peak
Inputs:
-------
``x``: independent variable
``a``: scaling factor (extremal value)
``x0``: center
``sigma``: half width at half maximum
``y0``: additive constant
Formula:
--------
``a*exp(-(x-x0)^2)/(2*sigma^2)+y0`` | "Gaussian peak\n\n Inputs:\n -------\n ``x``: independent variable\n ``a``: scaling factor (extremal value)\n ``x0``: center\n ``sigma``: half width at half maximum\n ``y0``: additive constant\n\n Formula:\n --------\n ``a*exp(-(x-x0)^2)/(2*sigma^2)+y0``" | 426 | false | awacha/sastool | Gaussian | 18,766 | |
LDU_FT/twitterdev/twitter-python-ads-sdk/save | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Returns the content-type value determined by file extension.\n<END>",
"<BEGIN>\n## `__init_chunked_upload`",
"Initialization for a multi-chunk upload.\n<END>",
"<BEGIN>\n## `__upload_chunk`",
"Uploads a single chunk of a multi-chunk upload.\n<END>",
"<BEGIN>\n## `save`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Saves or updates the current tailored audience permission. | "Saves or updates the current tailored audience permission." | 74 | false | twitterdev/twitter-python-ads-sdk | save | 18,767 | |
LDU_FT/tuxu/python-samplerate/resample | LDU_FT | [
"<BEGIN>\n## `get_input_callback`",
"Return a function that produces samples of a sine.",
" Parameters\n ----------\n samplerate : float\n The sample rate.\n params : dict\n Parameters for FM generation.\n num_samples : int, optional\n Number of samples to be generated on eac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resample API.
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 resample API.
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... | Resample the signal in `input_data` at once.
Parameters
----------
input_data : ndarray
Input data. A single channel is provided as a 1D array of `num_frames` length.
Input data with several channels is represented as a 2D array of shape
(`num_frames`, `num_channels`). For use with ... | "Resample the signal in `input_data` at once.\n\n Parameters\n ----------\n input_data : ndarray\n Input data. A single channel is provided as a 1D array of `num_frames` length.\n Input data with several channels is represented as a 2D array of shape\n (`num_frames`, `num_channels`). For u... | 50 | false | tuxu/python-samplerate | resample | 18,768 | |
LDU_FT/Netflix-Skunkworks/historical/capture_delete_records | LDU_FT | [
"<BEGIN>\n## `handler`",
"Historical security group event differ.",
" Listens to the Historical current table and determines if there are differences that need to be persisted in the\n historical record.\n<END>",
"<BEGIN>\n## `serialize`",
"Serializes the JSON for the Polling Event Model.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_delete_records 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 capture_delete_records API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Writes all of our delete events to DynamoDB. | "Writes all of our delete events to DynamoDB." | 146 | false | Netflix-Skunkworks/historical | capture_delete_records | 18,769 | |
LDU_FT/sanger-pathogens/ariba/fake_run | 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 fake_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fake_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Doesn't actually run cd-hit. Instead, puts each input sequence into its own cluster. So it's as if cdhit was run, but didn't cluster anything | "Doesn't actually run cd-hit. Instead, puts each input sequence into its own cluster. So it's as if cdhit was run, but didn't cluster anything" | 105 | false | sanger-pathogens/ariba | fake_run | 18,770 | |
LDU_FT/tcalmant/ipopo/_unregister_all_factories | LDU_FT | [
"<BEGIN>\n## `__conn_listener`",
"Connection event listener",
" :param state: The new connection state\n<END>",
"<BEGIN>\n## `__path`",
"Adds the prefix to the given path",
" :param path: Z-Path\n :return: Prefixed Z-Path\n<END>",
"<BEGIN>\n## `create`",
"Creates a ZooKeeper node"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unregister_all_factories 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 _unregister_all_factories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Unregisters all factories. This method should be called only after the
iPOPO service has been unregistered (that's why it's not locked) | "Unregisters all factories. This method should be called only after the\n iPOPO service has been unregistered (that's why it's not locked)" | 1,396 | true | tcalmant/ipopo | _unregister_all_factories | 18,771 | |
LDU_FT/psss/did/listed | LDU_FT | [
"<BEGIN>\n## `search`",
"Perform issue search for given stats instance\n<END>",
"<BEGIN>\n## `updated`",
"True if the issue was commented by given user\n<END>",
"<BEGIN>\n## `issues`",
"Filter unique issues for given activity type and email\n<END>",
"<BEGIN>\n## `_fetch_activities`",
"Get organization... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listed API.
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 listed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Convert an iterable into a nice, human readable list or description::
listed(range(1)) .................... 0
listed(range(2)) .................... 0 and 1
listed(range(3), quote='"') ......... "0", "1" and "2"
listed(range(4), max=3) ............. 0, 1, 2 and 1 more
listed(rang... | "Convert an iterable into a nice, human readable list or description::\n\n listed(range(1)) .................... 0\n listed(range(2)) .................... 0 and 1\n listed(range(3), quote='\"') ......... \"0\", \"1\" and \"2\"\n listed(range(4), max=3) ............. 0, 1, 2 and 1 more\n ... | 118 | false | psss/did | listed | 18,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.