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/MouseLand/rastermap/plot_clicked | LDU_FT | [
"<BEGIN>\n## `fit_transform`",
"Fit X into an embedded space and return that transformed\n output.\n Inputs\n ----------\n X : array, shape (n_samples, n_features). X contains a sample per row.",
" Returns\n -------\n embedding : array, shape (n_samples, n_compon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_clicked API.
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 plot_clicked API.
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... | left-click chooses a cell, right-click flips cell to other view | "left-click chooses a cell, right-click flips cell to other view" | 27 | false | MouseLand/rastermap | plot_clicked | 39,273 | |
LDU_FT/tulsawebdevs/django-multi-gtfs/populated_column_map | LDU_FT | [
"<BEGIN>\n## `post_save_stop`",
"Update related objects when the Stop is updated\n<END>",
"<BEGIN>\n## `to_python`",
"Handle data from serialization and form clean() methods.\n<END>",
"<BEGIN>\n## `parse_seconds`",
"Parse string into Seconds instances.",
" Handled formats:\n HH:MM:SS\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populated_column_map 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 populated_column_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the _column_map without unused optional fields | "Return the _column_map without unused optional fields" | 16 | false | tulsawebdevs/django-multi-gtfs | populated_column_map | 39,274 | |
LDU_FT/joeferraro/mm/execute | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Parse a JSON file\n First remove comments and then use the json module package\n Comments look like :\n // ...\n or\n /*\n ...\n */\n<END>",
"<BEGIN>\n## `get_meta_type_by_dir`",
"> quick and dirty fix for users expe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | self.params = {
"ActionScriptType" : "None",
"ExecutableEntityId" : "01pd0000001yXtYAAU",
"IsDumpingHeap" : True,
"Iteration" : 1,
"Line" : 3,
"ScopeId" : "005d00000... | "self.params = {\n \"ActionScriptType\" : \"None\",\n \"ExecutableEntityId\" : \"01pd0000001yXtYAAU\",\n \"IsDumpingHeap\" : True,\n \"Iteration\" : 1,\n \"Line\" : 3,\n \"ScopeId\" ... | 71 | false | joeferraro/mm | execute | 39,275 | |
LDU_FT/singnet/snet-cli/publish_proto_metadata_update | LDU_FT | [
"<BEGIN>\n## `list_my`",
"Find organization that has the current identity as the owner or as the member\n<END>",
"<BEGIN>\n## `is_group_name_exists`",
"check if group with given name is already exists\n<END>",
"<BEGIN>\n## `get_group_by_group_id`",
"return group with given group_id (return None if doesn't... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_proto_metadata_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_proto_metadata_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Publish protobuf model in ipfs and update existing metadata file | "Publish protobuf model in ipfs and update existing metadata file" | 65 | false | singnet/snet-cli | publish_proto_metadata_update | 39,276 | |
LDU_FT/mrcagney/gtfsrtk/interpolate_delays | LDU_FT | [
"<BEGIN>\n## `read_gtfsr`",
"Given a path (string or Path object) to a GTFSR feed file,\n return the corresponding GTFS feed (FeedMessage instance).\n If ``from_json``, then assume the feed file is in JSON format;\n otherwise, assume the feed file is in Protocol Buffer format.\n<END>",
"<BEGIN>\n## `wr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate_delays 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 interpolate_delays 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... | Given an augment stop times DataFrame as output by the function
:func:`build_augmented_stop_times`, a distance threshold (float)
in the same units as the ``'shape_dist_traveled'`` column of
``augmented_stop_times``, if that column is present, and a delay
threshold (integer number of seconds), alter the ... | "Given an augment stop times DataFrame as output by the function\n :func:`build_augmented_stop_times`, a distance threshold (float)\n in the same units as the ``'shape_dist_traveled'`` column of\n ``augmented_stop_times``, if that column is present, and a delay\n threshold (integer number of seconds), alter... | 23 | false | mrcagney/gtfsrtk | interpolate_delays | 39,277 | |
LDU_FT/alvinwan/TexSoup/count | LDU_FT | [
"<BEGIN>\n## `all`",
"r\"\"\"Returns all content in this node, regardless of whitespace or\n not. This includes all LaTeX needed to reconstruct the original source.",
" >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\newcommand{reverseconcat}[3]{#3#2#1}\n ...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API.
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 count API.
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... | Extract all labels, then count the number of times each is referenced in
the provided file. Does not follow \includes. | "Extract all labels, then count the number of times each is referenced in\n the provided file. Does not follow \\includes." | 166 | false | alvinwan/TexSoup | count | 39,278 | |
LDU_FT/telefonicaid/fiware-sdc/log_print_request | LDU_FT | [
"<BEGIN>\n## `_xml_to_dict`",
"Convert RAW XML string to Python dict\n :param xml_to_convert: XML to convert (string/text)\n :return: Python dict with all XML data\n<END>",
"<BEGIN>\n## `response_body_to_dict`",
"Convert a XML or JSON response in a Python dict\n :param http_requests_response: 'Reques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_print_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_print_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Log an HTTP request data.
:param logger: Logger to use
:param method: HTTP method
:param url: URL
:param query_params: Query parameters in the URL
:param headers: Headers (dict)
:param body: Body (raw body, string)
:return: None | "Log an HTTP request data.\n :param logger: Logger to use\n :param method: HTTP method\n :param url: URL\n :param query_params: Query parameters in the URL\n :param headers: Headers (dict)\n :param body: Body (raw body, string)\n :return: None" | 60 | false | telefonicaid/fiware-sdc | log_print_request | 39,279 | |
LDU_FT/sidecars/python-quickbooks/all | LDU_FT | [
"<BEGIN>\n## `get_authorize_url`",
"Returns the Authorize URL as returned by QB, and specified by OAuth 1.0a.\n :return URI:\n<END>",
"<BEGIN>\n## `get_access_tokens`",
"Wrapper around get_auth_session, returns session, and sets access_token and\n access_token_secret on the QB Object.\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | :param start_position:
:param max_results: The max number of entities that can be returned in a response is 1000.
:param qb:
:return: Returns list | ":param start_position:\n :param max_results: The max number of entities that can be returned in a response is 1000.\n :param qb:\n :return: Returns list" | 26 | false | sidecars/python-quickbooks | all | 39,280 | |
LDU_FT/totalgood/nlpia/download_file_from_google_drive | LDU_FT | [
"<BEGIN>\n## `main`",
"Train an LSTM encoder-decoder squence-to-sequence model on Anki flashcards for international translation",
" >>> model = main('spa', n=400, epochs=3, batch_size=128, num_neurons=32)\n Train on 360 samples, validate on 40 samples\n Epoch 1/3\n ...\n >>> len(model.get_weights... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file_from_google_drive 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 download_file_from_google_drive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Download script for google drive shared links
Thank you @turdus-merula and Andrew Hundt!
https://stackoverflow.com/a/39225039/623735 | "Download script for google drive shared links \n\n Thank you @turdus-merula and Andrew Hundt! \n https://stackoverflow.com/a/39225039/623735" | 471 | false | totalgood/nlpia | download_file_from_google_drive | 39,281 | |
LDU_FT/onnx/onnx/_to_bytes_or_false | LDU_FT | [
"<BEGIN>\n## `run_node`",
"Simple run one operator and return the results.\n Args:\n outputs_info: a list of tuples, which contains the element type and\n shape of each output. First element of the tuple is the dtype, and\n the second element is the shape. More use case can... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_bytes_or_false 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 _to_bytes_or_false 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... | An internal graph to convert the input to a bytes or to False.
The criteria for conversion is as follows and should be python 2 and 3
compatible:
- If val is py2 str or py3 bytes: return bytes
- If val is py2 unicode or py3 str: return val.decode('utf-8')
- Otherwise, return False | "An internal graph to convert the input to a bytes or to False.\n\n The criteria for conversion is as follows and should be python 2 and 3\n compatible:\n - If val is py2 str or py3 bytes: return bytes\n - If val is py2 unicode or py3 str: return val.decode('utf-8')\n - Otherwise, return False" | 72 | false | onnx/onnx | _to_bytes_or_false | 39,282 | |
LDU_FT/rfarley3/Kibana/write_object_to_file | LDU_FT | [
"<BEGIN>\n## `post_field_cache`",
"Where field_cache is a list of fields' mappings\n<END>",
"<BEGIN>\n## `check_mapping`",
"Assert minimum set of fields in cache, does not validate contents\n<END>",
"<BEGIN>\n## `get_index_mappings`",
"Converts all index's doc_types to .kibana\n<END>",
"<BEGIN>\n## `get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_object_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_object_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert obj (dict) to json string and write to file | "Convert obj (dict) to json string and write to file" | 27 | false | rfarley3/Kibana | write_object_to_file | 39,283 | |
LDU_FT/exxeleron/qPython/_init_socket | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads and optionally parses a single message.",
" :Parameters:\n - `source` - optional data buffer to be read, if not specified data is \n read from the wrapped stream\n :Options:\n - `raw` (`boolean`) - indicates whether read data should parsed or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_socket API.
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 _init_socket API.
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... | Initialises the socket used for communicating with a q service, | "Initialises the socket used for communicating with a q service," | 127 | false | exxeleron/qPython | _init_socket | 39,284 | |
LDU_FT/marten-de-vries/Flask-WebSub/init_publisher | LDU_FT | [
"<BEGIN>\n## `build_blueprint`",
"Build a blueprint that contains the endpoints for callback URLs of\n the current subscriber. Only call this once per instance. Arguments:",
" - url_prefix; this allows you to prefix the callback URLs in your app.\n<END>",
"<BEGIN>\n## `unsubscribe`",
"Ask the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_publisher API.
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 init_publisher API.
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... | Calling this with your flask app as argument is required for the
publisher decorator to work. | "Calling this with your flask app as argument is required for the\n publisher decorator to work." | 24 | false | marten-de-vries/Flask-WebSub | init_publisher | 39,285 | |
LDU_FT/shoeffner/pandoc-source-exec/save_plot | LDU_FT | [
"<BEGIN>\n## `select_executor`",
"Determines the executor for the code in `elem.text`.",
" The elem attributes and classes select the executor in this order (highest\n to lowest):\n - custom commands (cmd=...)\n - runas (runas=...) takes a key for the executors\n - first element class... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Converts matplotlib plots to tikz code.
If elem has either the plt attribute (format: plt=width,height) or the
attributes width=width and/or height=height, the figurewidth and -height
are set accordingly. If none are given, a height of 4cm and a width of 6cm
is used as default.
Args:
code:... | "Converts matplotlib plots to tikz code.\n\n If elem has either the plt attribute (format: plt=width,height) or the\n attributes width=width and/or height=height, the figurewidth and -height\n are set accordingly. If none are given, a height of 4cm and a width of 6cm\n is used as default.\n\n Args:\n ... | 55 | false | shoeffner/pandoc-source-exec | save_plot | 39,286 | |
LDU_FT/Robpol86/docoptcfg/values_from_env | LDU_FT | [
"<BEGIN>\n## `settable_options`",
"Determine which options we can set, which ones are boolean, and which ones are repeatable.",
" All set items are option long names.",
" :param str doc: Docstring from docoptcfg().\n :param iter argv: CLI arguments from docoptcfg().\n :param iter ignore: Options t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values_from_env API.
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 values_from_env API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get all values from environment variables.
:param str env_prefix: Argument from docoptcfg().
:param iter settable: Option long names available to set by config file.
:param iter booleans: Option long names of boolean/flag types.
:param iter repeatable: Option long names of repeatable options.
:ret... | "Get all values from environment variables.\n\n :param str env_prefix: Argument from docoptcfg().\n :param iter settable: Option long names available to set by config file.\n :param iter booleans: Option long names of boolean/flag types.\n :param iter repeatable: Option long names of repeatable options.\n\n... | 30 | false | Robpol86/docoptcfg | values_from_env | 39,287 | |
LDU_FT/OpenGov/carpenter/_check_years | LDU_FT | [
"<BEGIN>\n## `get_cell_type`",
"Returns a type to be used in table cell analysis. This is either\n 'basestring' or '(int, float)'.\n<END>",
"<BEGIN>\n## `check_cell_type`",
"Checks the cell type to see if it represents the cell_type passed in.",
" Args:\n cell_type: The type id for a cell match... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_years API.
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 _check_years API.
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... | Helper method which defines the rules for checking for existence of a year indicator. If the
cell is blank then prior_year is used to determine validity. | "Helper method which defines the rules for checking for existence of a year indicator. If the\n cell is blank then prior_year is used to determine validity." | 123 | false | OpenGov/carpenter | _check_years | 39,288 | |
LDU_FT/wikimedia/ores/extract_root_dependency_caches | LDU_FT | [
"<BEGIN>\n## `redis_from_url`",
"Converts a redis URL used by celery into a `redis.Redis` object.\n<END>",
"<BEGIN>\n## `process_model_scores`",
"Generates a score map for a set of models based on a `root_cache`.\n This method performs no substantial IO, but may incur substantial CPU\n usage.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_root_dependency_caches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_root_dependency_caches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Extracts a mapping of root :class:`revscoring.Datasource`
capable of generating the features needed for a particular set of
models without additional IO. This method implements all of the IO
heavy operations. The roots dependency caches produced by calling
this method can then be passe... | "Extracts a mapping of root :class:`revscoring.Datasource`\n capable of generating the features needed for a particular set of\n models without additional IO. This method implements all of the IO\n heavy operations. The roots dependency caches produced by calling\n this method can then be ... | 52 | false | wikimedia/ores | extract_root_dependency_caches | 39,289 | |
LDU_FT/gem/oq-engine/build_vf_node | LDU_FT | [
"<BEGIN>\n## `_compute_term_3`",
"Compute term 3 in equation 2 page 462.\n Distances are clipped at 15 km (as per Ezio Faccioli's personal\n communication.)\n<END>",
"<BEGIN>\n## `_compute_site_term`",
"Compute site term as a function of vs30: 4th, 5th and 6th terms in\n equation 2 page 4... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_vf_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_vf_node API.
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... | Convert a VulnerabilityFunction object into a Node suitable
for XML conversion. | "Convert a VulnerabilityFunction object into a Node suitable\n for XML conversion." | 4,544 | true | gem/oq-engine | build_vf_node | 39,290 | |
LDU_FT/ambitioninc/django-entity/get_entities_by_kind | LDU_FT | [
"<BEGIN>\n## `remove_duplicates`",
"Remove any duplicates from the entity relationship table\n :param apps:\n :param schema_editor:\n :return:\n<END>",
"<BEGIN>\n## `transaction_atomic_with_retry`",
"This is a decorator that will wrap the decorated method in an atomic transaction and\n retry the t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entities_by_kind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entities_by_kind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Builds a dict with keys of entity kinds if and values are another dict. Each of these dicts are keyed
off of a super entity id and optional have an 'all' key for any group that has a null super entity.
Example structure:
{
entity_kind_id: {
entity1_id: [1, 2, 3],
entity2_id: ... | "Builds a dict with keys of entity kinds if and values are another dict. Each of these dicts are keyed\n off of a super entity id and optional have an 'all' key for any group that has a null super entity.\n Example structure:\n {\n entity_kind_id: {\n entity1_id: [1, 2, 3],\n entit... | 83 | false | ambitioninc/django-entity | get_entities_by_kind | 39,291 | |
LDU_FT/obriencj/python-javatools/build_template | LDU_FT | [
"<BEGIN>\n## `compare`",
"yields EVENT,ENTRY pairs describing the differences between left\n and right, which are filenames for a pair of zip files\n<END>",
"<BEGIN>\n## `compare_zips`",
"yields EVENT,ENTRY pairs describing the differences between left\n and right ZipFile instances\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_template API.
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... | Compile the cheetah template in src into a python file in build | "Compile the cheetah template in src into a python file in build" | 357 | false | obriencj/python-javatools | build_template | 39,292 | |
LDU_FT/juju-solutions/charms.reactive/dispatch | LDU_FT | [
"<BEGIN>\n## `endpoint_from_name`",
"The object used for interacting with the named relations, or None.\n<END>",
"<BEGIN>\n## `endpoint_from_flag`",
"The object used for interacting with relations tied to a flag, or None.\n<END>",
"<BEGIN>\n## `relation_factory`",
"Get the RelationFactory for the given re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Dispatch registered handlers.
When dispatching in restricted mode, only matching hook handlers are executed.
Handlers are dispatched according to the following rules:
* Handlers are repeatedly tested and invoked in iterations, until the system
settles into quiescence (that is, until no new handlers... | "Dispatch registered handlers.\n\n When dispatching in restricted mode, only matching hook handlers are executed.\n\n Handlers are dispatched according to the following rules:\n\n * Handlers are repeatedly tested and invoked in iterations, until the system\n settles into quiescence (that is, until no new ... | 223 | false | juju-solutions/charms.reactive | dispatch | 39,293 | |
LDU_FT/occrp-attic/exactitude/clean_text | LDU_FT | [
"<BEGIN>\n## `clean`",
"The classic: date parsing, every which way.\n<END>",
"<BEGIN>\n## `fuzzy_date_parser`",
"Thin wrapper around ``parsedatetime`` and ``dateutil`` modules.\n Since there's no upstream suppport for multiple locales, this wrapper\n exists.\n :param str text: Text to par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_text API.
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 clean_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse and normalize an email address.
Returns None if this is not an email address. | "Parse and normalize an email address.\n\n Returns None if this is not an email address." | 34 | false | occrp-attic/exactitude | clean_text | 39,294 | |
LDU_FT/naphatkrit/easyci/init | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get the signature of the current state of the repository",
" TODO right now `get_signature` is an effectful process in that\n it adds all untracked file to staging. This is the only way to get\n accruate diff on new files. This is ok because we only use it on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
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 init API.
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... | Initialize the locking module for a repository | "Initialize the locking module for a repository" | 94 | false | naphatkrit/easyci | init | 39,295 | |
LDU_FT/keenlabs/KeenClient-Python/add_event | LDU_FT | [
"<BEGIN>\n## `_initialize_client_from_environment`",
"Initialize a KeenClient instance using environment variables.\n<END>",
"<BEGIN>\n## `add_event`",
"Adds an event.",
" Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediatel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Adds an event.
Depending on the persistence strategy of the client,
this will either result in the event being uploaded to Keen
immediately or will result in saving the event to some local cache.
:param event_collection: the name of the collection to insert the
event to
... | "Adds an event.\n\n Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediately or will result in saving the event to some local cache.\n\n :param event_collection: the name of the collection to insert the\n event to... | 177 | false | keenlabs/KeenClient-Python | add_event | 39,296 | |
LDU_FT/plizonczyk/noiseprotocol/decrypt_with_ad | LDU_FT | [
"<BEGIN>\n## `initialize_key`",
":param key: Key to set within CipherState\n<END>",
"<BEGIN>\n## `encrypt_with_ad`",
"If k is non-empty returns ENCRYPT(k, n++, ad, plaintext). Otherwise returns plaintext.\r",
" :param ad: bytes sequence\r\n :param plaintext: bytes sequence\r\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_with_ad API.
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 decrypt_with_ad API.
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... | If k is non-empty returns DECRYPT(k, n++, ad, ciphertext). Otherwise returns ciphertext. If an authentication
failure occurs in DECRYPT() then n is not incremented and an error is signaled to the caller.
:param ad: bytes sequence
:param ciphertext: bytes sequence
:return: plaintext... | "If k is non-empty returns DECRYPT(k, n++, ad, ciphertext). Otherwise returns ciphertext. If an authentication\r\n failure occurs in DECRYPT() then n is not incremented and an error is signaled to the caller.\r\n\r\n :param ad: bytes sequence\r\n :param ciphertext: bytes sequence\r\n :return... | 35 | false | plizonczyk/noiseprotocol | decrypt_with_ad | 39,297 | |
LDU_FT/Rockhopper-Technologies/pluginlib/version | LDU_FT | [
"<BEGIN>\n## `_items`",
"Args:\n type_filter(list): Optional iterable of types to return (GroupDict only)\n name(str): Only return key by this name",
" Alternative generator for items() method\n<END>",
"<BEGIN>\n## `_filter`",
"Args:\n blacklist(tuple): Iterable of of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version API.
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 version API.
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... | :py:class:Returns `str` -- Returns :attr:`_version_` if set,
otherwise falls back to module `__version__` or None | ":py:class:Returns `str` -- Returns :attr:`_version_` if set,\n otherwise falls back to module `__version__` or None" | 65 | false | Rockhopper-Technologies/pluginlib | version | 39,298 | |
LDU_FT/AguaClara/aguaclara/headloss_rect | LDU_FT | [
"<BEGIN>\n## `density_water`",
"Return the density of water at a given temperature.",
" If given units, the function will automatically convert to Kelvin.\n If not given units, the function will assume Kelvin.\n<END>",
"<BEGIN>\n## `viscosity_kinematic`",
"Return the kinematic viscosity of water at a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the headloss_rect API.
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 headloss_rect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return the total head loss in a rectangular channel.
Total head loss is a combination of the major and minor losses.
This equation applies to both laminar and turbulent flows. | "Return the total head loss in a rectangular channel.\n\n Total head loss is a combination of the major and minor losses.\n This equation applies to both laminar and turbulent flows." | 554 | false | AguaClara/aguaclara | headloss_rect | 39,299 | |
LDU_FT/craffel/mir_eval/merge_chord_intervals | 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 merge_chord_intervals 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 merge_chord_intervals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Merge consecutive chord intervals if they represent the same chord.
Parameters
----------
intervals : np.ndarray, shape=(n, 2), dtype=float
Chord intervals to be merged, in the format returned by
:func:`mir_eval.io.load_labeled_intervals`.
labels : list, shape=(n,)
Chord labels ... | "Merge consecutive chord intervals if they represent the same chord.\n\n Parameters\n ----------\n intervals : np.ndarray, shape=(n, 2), dtype=float\n Chord intervals to be merged, in the format returned by\n :func:`mir_eval.io.load_labeled_intervals`.\n labels : list, shape=(n,)\n Chor... | 1,001 | false | craffel/mir_eval | merge_chord_intervals | 39,300 | |
LDU_FT/pauleveritt/kaybee/get_rst_title | LDU_FT | [
"<BEGIN>\n## `render`",
"Given a Sphinx builder and context with sphinx_app in it,\n generate HTML\n<END>",
"<BEGIN>\n## `in_navitem`",
"Given href of nav item, determine if resource is in it\n<END>",
"<BEGIN>\n## `is_published`",
"Return true if this resource has published date in the past\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rst_title API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rst_title API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Given some RST, extract what docutils thinks is the title | "Given some RST, extract what docutils thinks is the title" | 71 | false | pauleveritt/kaybee | get_rst_title | 39,301 | |
LDU_FT/dstufft/potpie/_skip_char_around | LDU_FT | [
"<BEGIN>\n## `_transpose`",
"Convert unicode char to something similar to it.\n<END>",
"<BEGIN>\n## `_MapVowels`",
"Return a copy of ``string`` where characters that exist as keys in\n cls._VOWELS have been replaced with the corresponding value. If\n also_p is True, this function will also chan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _skip_char_around API.
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 _skip_char_around API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Custom pseudo method for skipping a given char around a string.
The default char to be skipped is the new line (\n) one.
Example:
'\nHello\n' would call ``_base_compile`` with 'Hello' only. | "Custom pseudo method for skipping a given char around a string.\n \n The default char to be skipped is the new line (\\n) one.\n \n Example:\n '\\nHello\\n' would call ``_base_compile`` with 'Hello' only." | 13 | false | dstufft/potpie | _skip_char_around | 39,302 | |
LDU_FT/olitheolix/qtmacs/commit | LDU_FT | [
"<BEGIN>\n## `qteSaveMacroData`",
"Associate arbitrary ``data`` with ``widgetObj``.",
" This is a convenience method to easily store applet/widget\n specific information in between calls.",
" If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
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 commit API.
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 ... | Insert the specified text in all selected lines, always
at the same column position. | "Insert the specified text in all selected lines, always\n at the same column position." | 1,108 | true | olitheolix/qtmacs | commit | 39,303 | |
LDU_FT/wtsi-hgi/consul-lock/_get_verbosity | LDU_FT | [
"<BEGIN>\n## `get_consul_configuration_from_environment`",
"Gets configuration on how to connect to Consul from the environment.\n :return: the configuration derived from the environment\n :raises KeyError: if a required environment variable has not been set\n<END>",
"<BEGIN>\n## `create_logger`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_verbosity API.
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_verbosity API.
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... | Gets the verbosity level from the parsed arguments.
:param parsed_arguments: the parsed arguments
:return: the verbosity level implied | "Gets the verbosity level from the parsed arguments.\n :param parsed_arguments: the parsed arguments\n :return: the verbosity level implied" | 55 | false | wtsi-hgi/consul-lock | _get_verbosity | 39,304 | |
LDU_FT/fulfilio/fulfil-python-api/one | LDU_FT | [
"<BEGIN>\n## `refresh_context`",
"Get the default context of the user and save it\n<END>",
"<BEGIN>\n## `login`",
"Attempts a login to the remote server\n and on success returns user id and session\n or None",
" Warning: Do not depend on this. This will be deprecated\n with SSO."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the one API.
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 one API.
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... | Return exactly one result or raise an exception.
Raises fulfil_client.exc.NoResultFound if the query selects no rows.
Raises fulfil_client.exc.MultipleResultsFound if multiple rows are
found. | "Return exactly one result or raise an exception.\n\n Raises fulfil_client.exc.NoResultFound if the query selects no rows.\n Raises fulfil_client.exc.MultipleResultsFound if multiple rows are\n found." | 79 | false | fulfilio/fulfil-python-api | one | 39,305 | |
LDU_FT/peterbe/gg/cli | LDU_FT | [
"<BEGIN>\n## `getback`",
"Goes back to the master branch, deletes the current branch locally\n and remotely.\n<END>",
"<BEGIN>\n## `get_summary`",
"return a summary for this bug/issue. If it can't be found,\n return None.\n<END>",
"<BEGIN>\n## `parse_remote_url`",
"return a tuple of (org, repo) from... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | A glorious command line tool to make your life with git, GitHub
and Bugzilla much easier. | "A glorious command line tool to make your life with git, GitHub\n and Bugzilla much easier." | 20 | false | peterbe/gg | cli | 39,306 | |
LDU_FT/haikuginger/beekeeper/add | LDU_FT | [
"<BEGIN>\n## `merge`",
"Take two copies of a variable and reconcile them. var1 is assumed\n to be the higher-level variable, and so will be overridden by var2\n where such becomes necessary.\n<END>",
"<BEGIN>\n## `has_value_of_type`",
"Does the variable both have the given type and\n have a varia... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
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 add API.
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... | Add additional single Variable objects to the Variables
object. | "Add additional single Variable objects to the Variables\n object." | 66 | false | haikuginger/beekeeper | add | 39,307 | |
LDU_FT/mishan/twemredis-py/get_shard_num_by_key | LDU_FT | [
"<BEGIN>\n## `_init_redis_shards`",
"init_redis_shards is used internally to connect to the Redis sentinels\n and populate self.shards with the redis.StrictRedis instances. This\n is a convenient method to override / stub out in unit tests.\n<END>",
"<BEGIN>\n## `get_shard_names`",
"get_shard_na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shard_num_by_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shard_num_by_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | get_shard_num_by_key returns the Redis shard number givne a key.
Keyword arguments:
key -- the key (e.g. 'friend_request:{12345}')
See get_shard_by_key for more details as this method behaves the same
way. | "get_shard_num_by_key returns the Redis shard number givne a key.\n Keyword arguments:\n key -- the key (e.g. 'friend_request:{12345}')\n\n See get_shard_by_key for more details as this method behaves the same\n way." | 48 | false | mishan/twemredis-py | get_shard_num_by_key | 39,308 | |
LDU_FT/shawalli/psycopg2-pgevents/poll | LDU_FT | [
"<BEGIN>\n## `trigger_function_installed`",
"Test whether or not the psycopg2-pgevents trigger function is installed.",
" Parameters\n ----------\n connection: psycopg2.extensions.connection\n Active connection to a PostGreSQL database.",
" Returns\n -------\n bool\n True if th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll API.
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 poll API.
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... | Poll the connection for notification events.
This method operates as an iterable. It will keep returning events until
all events have been read.
Parameters
----------
connection: psycopg2.extensions.connection
Active connection to a PostGreSQL database.
timeout: float
Number of... | "Poll the connection for notification events.\n\n This method operates as an iterable. It will keep returning events until\n all events have been read.\n\n Parameters\n ----------\n connection: psycopg2.extensions.connection\n Active connection to a PostGreSQL database.\n timeout: float\n ... | 52 | false | shawalli/psycopg2-pgevents | poll | 39,309 | |
LDU_FT/contains-io/rcli/_get_subcommand | LDU_FT | [
"<BEGIN>\n## `setup_keyword`",
"Add autodetected commands as entry points.",
" Args:\n dist: The distutils Distribution object for the project being\n installed.\n _: The keyword used in the setup function. Unused.\n value: The value set to the keyword in the setup function. I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_subcommand API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_subcommand API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return the function for the specified subcommand.
Args:
name: The name of a subcommand.
Returns:
The loadable object from the entry point represented by the subcommand. | "Return the function for the specified subcommand.\n\n Args:\n name: The name of a subcommand.\n\n Returns:\n The loadable object from the entry point represented by the subcommand." | 147 | false | contains-io/rcli | _get_subcommand | 39,310 | |
LDU_FT/the01/paps-settings/handle_msg | LDU_FT | [
"<BEGIN>\n## `get_file_hash`",
"Generate hash for given file",
" :param file_path: Path to file\n :type file_path: str\n :param block_size: Size of block to be read at once (default: 1024)\n :type block_size: int\n :param hasher: Use specific hasher, defaults to md5 (default: None)\n :type has... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_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 extrac... | Handle message for network plugin protocol
:param payload: Received message
:type payload: dict
:return: Response to send (if set)
:rtype: None | dict | "Handle message for network plugin protocol\n\n :param payload: Received message\n :type payload: dict\n :return: Response to send (if set)\n :rtype: None | dict" | 40 | false | the01/paps-settings | handle_msg | 39,311 | |
LDU_FT/what-studio/smartformat/format_field | LDU_FT | [
"<BEGIN>\n## `modify_number_pattern`",
"Modifies a number pattern by specified keyword arguments.\n<END>",
"<BEGIN>\n## `format_decimal_field`",
"Formats a decimal field:",
" .. sourcecode::",
" 1234 ('D') -> 1234\n -1234 ('D6') -> -001234\n<END>",
"<BEGIN>\n## `format_field`",
"Format ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_field API.
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 format_field API.
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... | Format specifiers are described in :func:`format_field` which is a
static function. | "Format specifiers are described in :func:`format_field` which is a\n static function." | 32 | false | what-studio/smartformat | format_field | 39,312 | |
LDU_FT/akfullfo/taskforce/request | LDU_FT | [
"<BEGIN>\n## `_format`",
"Returns the response tuple according to the selected format.\n A format is available if the method \"_format_xxx\" is callable.\n The default format is json.\n<END>",
"<BEGIN>\n## `version`",
"Return the taskforce version.",
" Supports standard options.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Pass-thru method to make this class behave a little like HTTPConnection | "Pass-thru method to make this class behave a little like HTTPConnection" | 290 | false | akfullfo/taskforce | request | 39,313 | |
LDU_FT/tyarkoni/pliers/add_nodes | LDU_FT | [
"<BEGIN>\n## `load_stims`",
"Load one or more stimuli directly from file, inferring/extracting\n metadata as needed.",
" Args:\n source (str or list): The location to load the stim(s) from. Can be\n the path to a directory, to a single file, or a list of filenames.\n dtype (str): ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_nodes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_nodes API.
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... | Adds one or more nodes to the current graph.
Args:
nodes (list): A list of nodes to add. Each element must be one of
the following:
* A dict containing keyword args to pass onto to the Node init.
* An iterable containing 1 - 3 elements. The first ele... | "Adds one or more nodes to the current graph.\n\n Args:\n nodes (list): A list of nodes to add. Each element must be one of\n the following:\n\n * A dict containing keyword args to pass onto to the Node init.\n * An iterable containing 1 - 3 elements. The f... | 137 | false | tyarkoni/pliers | add_nodes | 39,314 | |
LDU_FT/openstack/pyghmi/download | LDU_FT | [
"<BEGIN>\n## `get_bootdev`",
"Get current boot device override information.",
" :raises: PyghmiException on error\n :returns: dict\n<END>",
"<BEGIN>\n## `set_bootdev`",
"Set boot device to use on next reboot",
" :param bootdev:\n *network -- Request network boot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Download a file to filename or file object | "Download a file to filename or file object" | 273 | false | openstack/pyghmi | download | 39,315 | |
LDU_FT/weblyzard/inscriptis/write_line | LDU_FT | [
"<BEGIN>\n## `get_format_spec`",
"The format specification according to the values of `align` and `width`\n<END>",
"<BEGIN>\n## `compute_column_width_and_height`",
"compute and set the column width for all colls in the table\n<END>",
"<BEGIN>\n## `get_text`",
"::returns:\n a rendered string rep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_line API.
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... | Writes the current line to the buffer, provided that there is any
data to write.
::returns:
True, if a line has been writer, otherwise False | "Writes the current line to the buffer, provided that there is any\n data to write.\n\n ::returns:\n True, if a line has been writer, otherwise False" | 26 | false | weblyzard/inscriptis | write_line | 39,316 | |
LDU_FT/dillonhicks/rekt/load_swagger_config | LDU_FT | [
"<BEGIN>\n## `load_builtin_config`",
"Uses package info magic to find the resource file located in the specs\n submodule.\n<END>",
"<BEGIN>\n## `load_config`",
"Loads a yaml configuration.",
" :param path: a pathlib Path object pointing to the configuration\n<END>",
"<BEGIN>\n## `load_swagger_config`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_swagger_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_swagger_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.
T... | Load a restful service specified by some YAML file at config_path.
:param config_path: A pathlib Path object that points to the yaml
config
:returns: A python module containing a Client class, call factory,
and the definition of each of the APIs defined by the config. | "Load a restful service specified by some YAML file at config_path.\n\n :param config_path: A pathlib Path object that points to the yaml\n config\n :returns: A python module containing a Client class, call factory,\n and the definition of each of the APIs defined by the config." | 19 | false | dillonhicks/rekt | load_swagger_config | 39,317 | |
LDU_FT/OCA/openupgradelib/warn_possible_dataloss | LDU_FT | [
"<BEGIN>\n## `_adjust_merged_values_orm`",
"This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.",
" :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warn_possible_dataloss 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 warn_possible_dataloss API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Use that function in the following case:
if a field of a model was moved from a 'A' module to a 'B' module.
('B' depend on 'A'),
This function will test if 'B' is installed.
If not, count the number of different value and possibly warn the user.
Use orm, so call from the post script.
:param old... | "Use that function in the following case:\n if a field of a model was moved from a 'A' module to a 'B' module.\n ('B' depend on 'A'),\n This function will test if 'B' is installed.\n If not, count the number of different value and possibly warn the user.\n Use orm, so call from the post script.\n\n :p... | 190 | false | OCA/openupgradelib | warn_possible_dataloss | 39,318 | |
LDU_FT/Aluriak/bubble-tools/have_cycle | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the have_cycle API.
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 have_cycle API.
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... | Perform a topologic sort to detect any cycle.
Return the set of unsortable nodes. If at least one item,
then there is cycle in given graph. | "Perform a topologic sort to detect any cycle.\n\n Return the set of unsortable nodes. If at least one item,\n then there is cycle in given graph." | 88 | false | Aluriak/bubble-tools | have_cycle | 39,319 | |
LDU_FT/src-d/modelforge/refresh | LDU_FT | [
"<BEGIN>\n## `initialize_registry`",
"Initialize the registry and the index.",
" :param args: :class:`argparse.Namespace` with \"backend\", \"args\", \"force\" and \"log_level\".\n :param backend: Backend which is responsible for working with model files.\n :param log: Logger supplied by supply_backend... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API.
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 refresh API.
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... | Scan over all the involved directories and load configs from them. | "Scan over all the involved directories and load configs from them." | 118 | false | src-d/modelforge | refresh | 39,320 | |
LDU_FT/lrq3000/pyFileFixity/_subtract | LDU_FT | [
"<BEGIN>\n## `discard`",
"Remove the first occurrence of *val*.",
" If *val* is not a member, does nothing.\n<END>",
"<BEGIN>\n## `remove`",
"Remove first occurrence of *val*.",
" Raises ValueError if *val* is not present.\n<END>",
"<BEGIN>\n## `_delete`",
"Delete the item at the given (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _subtract API.
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 _subtract API.
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... | Remove object o from the summary by subtracting it's size. | "Remove object o from the summary by subtracting it's size." | 1,045 | true | lrq3000/pyFileFixity | _subtract | 39,321 | |
LDU_FT/bodylabs/lace/convert_units | LDU_FT | [
"<BEGIN>\n## `copy`",
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>",
"<BEGIN>\n## `concatenate`",
"Concatenates an arbitrary number of meshes.",
" Currently supports vertices, vertex c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_units API.
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 convert_units API.
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... | Convert the mesh from one set of units to another.
These calls are equivalent:
- mesh.convert_units(from_units='cm', to_units='m')
- mesh.scale(.01) | "Convert the mesh from one set of units to another.\n\n These calls are equivalent:\n\n - mesh.convert_units(from_units='cm', to_units='m')\n - mesh.scale(.01)" | 133 | false | bodylabs/lace | convert_units | 39,322 | |
LDU_FT/conbus/fbmq/send_quick_reply | LDU_FT | [
"<BEGIN>\n## `convert_shortcut_buttons`",
"support shortcut buttons [{'type':'web_url', 'title':'open web url', 'value':'https://~~'}]\n<END>",
"<BEGIN>\n## `set_webhook_handler`",
"Allows adding a webhook_handler as an alternative to the decorators\n<END>",
"<BEGIN>\n## `convert_shortcut_quick_reply`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_quick_reply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_quick_reply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | shortcuts are supported
page.send(recipient, "What's your favorite movie genre?",
quick_replies=[{'title': 'Action', 'payload': 'PICK_ACTION'},
{'title': 'Comedy', 'payload': 'PICK_COMEDY'}, ],
metadata="DEVELOPER_DEFINED_METADATA") | "shortcuts are supported\n page.send(recipient, \"What's your favorite movie genre?\",\n quick_replies=[{'title': 'Action', 'payload': 'PICK_ACTION'},\n {'title': 'Comedy', 'payload': 'PICK_COMEDY'}, ],\n metadata=\"DEVELOPER_DEFINED_METADATA\")" | 10 | false | conbus/fbmq | send_quick_reply | 39,323 | |
LDU_FT/HazyResearch/fonduer/get_mentions | LDU_FT | [
"<BEGIN>\n## `construct_stable_id`",
"Contruct a stable ID for a Context given its parent and its character\n offsets relative to the parent.\n<END>",
"<BEGIN>\n## `split_stable_id`",
"Split stable id, returning:",
" * Document (root) stable ID\n * Context polymorphic type\n * Charac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mentions API.
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_mentions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a list of lists of the mentions associated with this extractor.
Each list of the return will contain the Mentions for one of the
mention classes associated with the MentionExtractor.
:param docs: If provided, return Mentions from these documents. Else,
return all Mentions.
... | "Return a list of lists of the mentions associated with this extractor.\n\n Each list of the return will contain the Mentions for one of the\n mention classes associated with the MentionExtractor.\n\n :param docs: If provided, return Mentions from these documents. Else,\n return all Ment... | 540 | false | HazyResearch/fonduer | get_mentions | 39,324 | |
LDU_FT/keenlabs/KeenClient-Python/appendRandomLenPadding | LDU_FT | [
"<BEGIN>\n## `_initialize_client_from_environment`",
"Initialize a KeenClient instance using environment variables.\n<END>",
"<BEGIN>\n## `add_event`",
"Adds an event.",
" Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediatel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the appendRandomLenPadding 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 appendRandomLenPadding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | ISO 10126 Padding (withdrawn, 2007): Pad with random bytes + last byte equal to the number of padding bytes | "ISO 10126 Padding (withdrawn, 2007): Pad with random bytes + last byte equal to the number of padding bytes" | 177 | false | keenlabs/KeenClient-Python | appendRandomLenPadding | 39,325 | |
LDU_FT/Aluriak/tergraw/next_unwrittable_on_col | LDU_FT | [
"<BEGIN>\n## `clean`",
"Return a copy of given matrix where keys associated\n to space values are discarded\n<END>",
"<BEGIN>\n## `next_unwrittable_on_row`",
"Return position of the next (in row) letter that is unwrittable\n<END>",
"<BEGIN>\n## `next_unwrittable_on_col`",
"Return position of the next l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_unwrittable_on_col 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 next_unwrittable_on_col 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 position of the next letter (in column) that is unwrittable | "Return position of the next letter (in column) that is unwrittable" | 16 | false | Aluriak/tergraw | next_unwrittable_on_col | 39,326 | |
LDU_FT/Rediker-Software/doac/get_handler | LDU_FT | [
"<BEGIN>\n## `access_token`",
"Try to get the `AccessToken` associated with the provided token.",
" *The provided value must pass `BearerHandler.validate()`*\n<END>",
"<BEGIN>\n## `validate`",
"Try to get the `AccessToken` associated with the given token.",
" The return value is determined b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Imports the module for a DOAC handler based on the string representation of the module path that is provided. | "Imports the module for a DOAC handler based on the string representation of the module path that is provided." | 46 | false | Rediker-Software/doac | get_handler | 39,327 | |
LDU_FT/samirelanduk/quickplots/height | LDU_FT | [
"<BEGIN>\n## `color`",
"Returns or sets (if a value is provided) the series' colour.",
" :param str color: If given, the series' colour will be set to this.\n :rtype: ``str``\n<END>",
"<BEGIN>\n## `name`",
"Returns or sets (if a value is provided) the series' name.",
" :param str name... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the height API.
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 height API.
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 or sets (if a value is provided) the chart's height.
:param height: If given, the chart's height will be set to this. | "Returns or sets (if a value is provided) the chart's height.\n\n :param height: If given, the chart's height will be set to this." | 112 | false | samirelanduk/quickplots | height | 39,328 | |
LDU_FT/MrYsLab/pymata-aio/_sonar_data | LDU_FT | [
"<BEGIN>\n## `start`",
"This method opens an IP connection on the IP device",
" :return: None\n<END>",
"<BEGIN>\n## `write`",
"This method writes sends data to the IP device\n :param data:",
" :return: None\n<END>",
"<BEGIN>\n## `loop`",
"Function that gets called again as soon as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sonar_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sonar_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 extra... | This method handles the incoming sonar data message and stores
the data in the response table.
:param data: Message data from Firmata
:returns: No return value. | "This method handles the incoming sonar data message and stores\n the data in the response table.\n\n :param data: Message data from Firmata\n\n :returns: No return value." | 561 | false | MrYsLab/pymata-aio | _sonar_data | 39,329 | |
LDU_FT/ministryofjustice/money-to-prisoners-common/csrf_failure | LDU_FT | [
"<BEGIN>\n## `get_form_errors`",
"Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>",
"<BEGIN>\n## `sub_nav`",
"Sub-nav displayed below proposition header\n - creates alternate language links if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csrf_failure API.
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 csrf_failure API.
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... | CSRF-failure view which converts the failed POST request into a GET
and calls the original view with a sensible error message presented
to the user.
:param request: the HttpRequest
:param reason: non-localised failure description | "CSRF-failure view which converts the failed POST request into a GET\n and calls the original view with a sensible error message presented\n to the user.\n :param request: the HttpRequest\n :param reason: non-localised failure description" | 84 | false | ministryofjustice/money-to-prisoners-common | csrf_failure | 39,330 | |
LDU_FT/bernardopires/django-tenant-schemas/path | LDU_FT | [
"<BEGIN>\n## `clean_tenant_url`",
"Removes the TENANT_TOKEN from a particular string\n<END>",
"<BEGIN>\n## `app_labels`",
"Returns a list of app labels of the given apps_list, now properly handles\n new Django 1.7+ application registry.",
" https://docs.djangoproject.com/en/1.8/ref/applications/#djan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Look for files in subdirectory of MEDIA_ROOT using the tenant's
domain_url value as the specifier. | "Look for files in subdirectory of MEDIA_ROOT using the tenant's\n domain_url value as the specifier." | 31 | false | bernardopires/django-tenant-schemas | path | 39,331 | |
LDU_FT/cogeotiff/rio-tiler/_landsat_stats | LDU_FT | [
"<BEGIN>\n## `_meters_per_pixel`",
"Return the pixel resolution for a given mercator tile zoom and lattitude.",
" Parameters\n ----------\n zoom: int\n Mercator zoom level\n lat: float, optional\n Latitude in decimal degree (default: 0)\n tilesize: int, optional\n Mercator ti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _landsat_stats API.
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 _landsat_stats API.
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... | Retrieve landsat dataset statistics.
Attributes
----------
band : str
Landsat band number
address_prefix : str
A Landsat AWS S3 dataset prefix.
metadata : dict
Landsat metadata
overview_level : int, optional
Overview (decimation) level to fetch.
max_size: int... | "Retrieve landsat dataset statistics.\n\n Attributes\n ----------\n band : str\n Landsat band number\n address_prefix : str\n A Landsat AWS S3 dataset prefix.\n metadata : dict\n Landsat metadata\n overview_level : int, optional\n Overview (decimation) level to fetch.\n ... | 137 | false | cogeotiff/rio-tiler | _landsat_stats | 39,332 | |
LDU_FT/coin-or/GiMPy/floyd_warshall_get_cycle | LDU_FT | [
"<BEGIN>\n## `add_root`",
"API: add_root(self, root, **attrs)\n Description:\n Adds root node to the tree with name root and returns root Node\n instance.\n Input:\n root: Root node name.\n attrs: Root node attributes.\n Post:\n Changes s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the floyd_warshall_get_cycle 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 floyd_warshall_get_cycle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | API:
floyd_warshall_get_cycle(self, distance, nextn, element = None)
Description:
Finds a negative cycle in the graph.
Pre:
(1) distance and nextn are outputs of floyd_warshall method.
(2) The graph should have a negative cycle, , ie.
distance[... | "API:\n floyd_warshall_get_cycle(self, distance, nextn, element = None)\n Description:\n Finds a negative cycle in the graph.\n Pre:\n (1) distance and nextn are outputs of floyd_warshall method.\n (2) The graph should have a negative cycle, , ie.\n d... | 179 | false | coin-or/GiMPy | floyd_warshall_get_cycle | 39,333 | |
LDU_FT/9wfox/tornadoweb/get_modules | LDU_FT | [
"<BEGIN>\n## `_get_handlers`",
"获取 action.handlers\r",
" 添加路径 __conf__.ACTION_DIR_NAME 列表中的 action by ABeen\n<END>",
"<BEGIN>\n## `url`",
"Class Decorator: 设置路径匹配模式和排序序号\r",
" 1. 支持设置多个链接匹配规则。\r",
" 参数:\r\n pattern 链接正则匹配\r\n order 排序序号\r",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_modules API.
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_modules API.
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... | 返回包中所有符合条件的模块。
参数:
pkg_name 包名称
module_filter 模块名过滤器 def (module_name) | "返回包中所有符合条件的模块。\r\n\r\n 参数:\r\n pkg_name 包名称\r\n module_filter 模块名过滤器 def (module_name)" | 20 | false | 9wfox/tornadoweb | get_modules | 39,334 | |
LDU_FT/n8henrie/pycookiecheat/get_linux_config | LDU_FT | [
"<BEGIN>\n## `clean`",
"r\"\"\"Strip padding from decrypted value.",
" Remove number indicated by padding\n e.g. if last is '\\x0e' then ord('\\x0e') == 14, so take off 14.",
" Args:\n decrypted: decrypted value\n Returns:\n Decrypted stripped of junk padding\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_linux_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_linux_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 ... | Get the settings for Chrome/Chromium cookies on Linux.
Args:
browser: Either "Chrome" or "Chromium"
Returns:
Config dictionary for Chrome/Chromium cookie decryption | "Get the settings for Chrome/Chromium cookies on Linux.\n\n Args:\n browser: Either \"Chrome\" or \"Chromium\"\n Returns:\n Config dictionary for Chrome/Chromium cookie decryption" | 20 | false | n8henrie/pycookiecheat | get_linux_config | 39,335 | |
LDU_FT/JosuaKrause/quick_server/convert_argmap | LDU_FT | [
"<BEGIN>\n## `json_dumps`",
"A safe JSON dump function that provides correct diverging numbers for a\n ECMAscript consumer.\n<END>",
"<BEGIN>\n## `msg`",
"Prints a message from the server to the log file.\n<END>",
"<BEGIN>\n## `setup_restart`",
"Sets up restart functionality that doesn't keep the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_argmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_argmap API.
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... | Converts the query string of an URL to a map.
Parameters
----------
query : string
The URL to parse.
Returns
-------
A map object containing all fields as keys with their value. Fields
without '=' in the URL are interpreted as flags and the value is ... | "Converts the query string of an URL to a map.\n\n Parameters\n ----------\n query : string\n The URL to parse.\n\n Returns\n -------\n A map object containing all fields as keys with their value. Fields\n without '=' in the URL are interpreted as flags and th... | 90 | false | JosuaKrause/quick_server | convert_argmap | 39,336 | |
LDU_FT/TUT-ARG/sed_eval/class_wise_accuracy | LDU_FT | [
"<BEGIN>\n## `result_report_overall`",
"Report overall results",
" Returns\n -------\n str\n result report in string format\n<END>",
"<BEGIN>\n## `result_report_class_wise_average`",
"Report class-wise averages",
" Returns\n -------\n str\n r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the class_wise_accuracy 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 class_wise_accuracy 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... | Class-wise accuracy
Returns
-------
dict
results in a dictionary format | "Class-wise accuracy\n\n Returns\n -------\n dict\n results in a dictionary format" | 268 | false | TUT-ARG/sed_eval | class_wise_accuracy | 39,337 | |
LDU_FT/kushaldas/retask/send | LDU_FT | [
"<BEGIN>\n## `names`",
"Returns a list of queues available, ``None`` if no such\n queues found. Remember this will only shows queues with\n at least one item enqueued.\n<END>",
"<BEGIN>\n## `length`",
"Gives the length of the queue. Returns ``None`` if the queue is not\n connected.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
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 send API.
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... | Sends the result back to the producer. This should be called if only you
want to return the result in async manner.
:arg task: ::class:`~retask.task.Task` object
:arg result: Result data to be send back. Should be in JSON serializable.
:arg expire: Time in seconds after the key expires.... | "Sends the result back to the producer. This should be called if only you\n want to return the result in async manner.\n\n :arg task: ::class:`~retask.task.Task` object\n :arg result: Result data to be send back. Should be in JSON serializable.\n :arg expire: Time in seconds after the key ex... | 48 | false | kushaldas/retask | send | 39,338 | |
LDU_FT/beetbox/audioread/available_backends | LDU_FT | [
"<BEGIN>\n## `_notify_caps`",
"The callback for the sinkpad's \"notify::caps\" signal.\n<END>",
"<BEGIN>\n## `_pad_added`",
"The callback for GstElement's \"pad-added\" signal.\n<END>",
"<BEGIN>\n## `_no_more_pads`",
"The callback for GstElement's \"no-more-pads\" signal.\n<END>",
"<BEGIN>\n## `_new_sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the available_backends 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 available_backends API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns a list of backends that are available on this system. | "Returns a list of backends that are available on this system." | 58 | false | beetbox/audioread | available_backends | 39,339 | |
LDU_FT/Paradoxis/PIP-Module-Scanner/search_script_directory | 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_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_script_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Recursively loop through a directory to find all python
script files. When one is found, it is analyzed for import statements
:param path: string
:return: generator | "Recursively loop through a directory to find all python\n script files. When one is found, it is analyzed for import statements\n :param path: string\n :return: generator" | 12 | false | Paradoxis/PIP-Module-Scanner | search_script_directory | 39,340 | |
LDU_FT/sixty-north/cosmic-ray/report | LDU_FT | [
"<BEGIN>\n## `handle_new_config`",
"usage: cosmic-ray new-config <config-file>",
" Create a new config file.\n<END>",
"<BEGIN>\n## `handle_init`",
"usage: cosmic-ray init <config-file> <session-file>",
" Initialize a mutation testing session from a configuration. This\n primarily creates a sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | cr-report
Usage: cr-report [--show-output] [--show-diff] [--show-pending] <session-file>
Print a nicely formatted report of test results and some basic statistics.
options:
--show-output Display output of test executions
--show-diff Display diff of mutants
--show-pending Display results for incomp... | "cr-report\n\nUsage: cr-report [--show-output] [--show-diff] [--show-pending] <session-file>\n\nPrint a nicely formatted report of test results and some basic statistics.\n\noptions:\n --show-output Display output of test executions\n --show-diff Display diff of mutants\n --show-pending Display results ... | 213 | false | sixty-north/cosmic-ray | report | 39,341 | |
LDU_FT/hbldh/dlxsudoku/col_iter | LDU_FT | [
"<BEGIN>\n## `load_file`",
"Load a Sudoku from file.",
" :param file_path: The path to the file to load_file.\n :type file_path: str, unicode\n :return: A Sudoku instance with the parsed\n information from the file.\n :rtype: :py:class:`dlxsudoku.sudoku.Sudoku`\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the col_iter API.
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 col_iter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get an iterator over all columns in the Sudoku | "Get an iterator over all columns in the Sudoku" | 32 | false | hbldh/dlxsudoku | col_iter | 39,342 | |
LDU_FT/ModisWorks/modis/topic_update | LDU_FT | [
"<BEGIN>\n## `success`",
"Creates an embed UI containing a hex color message",
" Args:\n channel (discord.Channel): The Discord channel to bind the embed to\n image (str): The url of the image to add\n hex_str (str): The hex value",
" Returns:\n ui (ui_embed.UI): The embed UI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the topic_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the topic_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 extr... | Creates an embed UI for the topic update
Args:
channel (discord.Channel): The Discord channel to bind the embed to
topic_channel: The new topic channel
Returns:
embed: The created embed | "Creates an embed UI for the topic update\n\n Args:\n channel (discord.Channel): The Discord channel to bind the embed to\n topic_channel: The new topic channel\n\n Returns:\n embed: The created embed" | 278 | false | ModisWorks/modis | topic_update | 39,343 | |
LDU_FT/rduplain/jeni-python/extract_version | LDU_FT | [
"<BEGIN>\n## `see_doc`",
"Copy docstring from existing object to the decorated callable.\n<END>",
"<BEGIN>\n## `class_in_progress`",
"True if currently inside a class definition, else False.\n<END>",
"<BEGIN>\n## `get`",
"Get initial yield value, or result of send(name) if name given.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_version API.
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 extract_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Parse __version__ out of given Python file.
Given jeni.py has dependencies, `from jeni import __version__` will fail. | "Parse __version__ out of given Python file.\n\n Given jeni.py has dependencies, `from jeni import __version__` will fail." | 91 | false | rduplain/jeni-python | extract_version | 39,344 | |
LDU_FT/sarugaku/vistir/get_text_stream | LDU_FT | [
"<BEGIN>\n## `is_bytes`",
"Check if a string is a bytes instance",
" :param Union[str, bytes] string: A string that may be string or bytes like\n :return: Whether the provided string is a bytes type or not\n :rtype: bool\n<END>",
"<BEGIN>\n## `fs_encode`",
"Encode a filesystem path to the proper fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Retrieve a unicode stream wrapper around **sys.stdout** or **sys.stderr**.
:param str stream: The name of the stream to wrap from the :mod:`sys` module.
:param str encoding: An optional encoding to use.
:return: A new :class:`~vistir.misc.StreamWrapper` instance around the stream
:rtype: `vistir.misc.S... | "Retrieve a unicode stream wrapper around **sys.stdout** or **sys.stderr**.\n\n :param str stream: The name of the stream to wrap from the :mod:`sys` module.\n :param str encoding: An optional encoding to use.\n :return: A new :class:`~vistir.misc.StreamWrapper` instance around the stream\n :rtype: `vistir.... | 54 | false | sarugaku/vistir | get_text_stream | 39,345 | |
LDU_FT/sebdah/dynamic-dynamodb/get_throttled_write_event_count | LDU_FT | [
"<BEGIN>\n## `get_consumed_read_units_percent`",
"Returns the number of consumed read units in percent",
" :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_throttled_write_event_count 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 get_throttled_write_event_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Returns the number of throttled write events during a given time frame
:type table_name: str
:param table_name: Name of the DynamoDB table
:type lookback_window_start: int
:param lookback_window_start: Relative start time for the CloudWatch metric
:type lookback_period: int
:param lookback_peri... | "Returns the number of throttled write events during a given time frame\n\n :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type lookback_period: int\n :param lookb... | 191 | false | sebdah/dynamic-dynamodb | get_throttled_write_event_count | 39,346 | |
LDU_FT/matousc89/padasip/adapt | LDU_FT | [
"<BEGIN>\n## `standardize_back`",
"This is function for de-standarization of input series.",
" **Args:**",
" * `xs` : standardized input (1 dimensional array)",
" * `offset` : offset to add (float).",
" * `scale` : scale (float).",
" **Returns:**",
" * `x` : original (destandardised)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adapt API.
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 adapt API.
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... | Adapt weights according one desired value and its input.
**Args:**
* `d` : desired value (float)
* `x` : input array (1-dimensional array) | "Adapt weights according one desired value and its input.\n\n **Args:**\n\n * `d` : desired value (float)\n\n * `x` : input array (1-dimensional array)" | 327 | false | matousc89/padasip | adapt | 39,347 | |
LDU_FT/blockcypher/blockcypher-python/create_unsigned_tx | LDU_FT | [
"<BEGIN>\n## `script_to_address`",
"Like script_to_address but supports altcoins\n Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236\n<END>",
"<BEGIN>\n## `get_address_details`",
"Takes an address and coin_symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_unsigned_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_unsigned_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create a new transaction to sign. Doesn't ask for or involve private keys.
Behind the scenes, blockcypher will:
1) Fetch unspent outputs
2) Decide which make the most sense to consume for the given transaction
3) Return an unsigned transaction for you to sign
min_confirmations is the minimum number... | "Create a new transaction to sign. Doesn't ask for or involve private keys.\n Behind the scenes, blockcypher will:\n 1) Fetch unspent outputs\n 2) Decide which make the most sense to consume for the given transaction\n 3) Return an unsigned transaction for you to sign\n\n min_confirmations is the minimum... | 163 | false | blockcypher/blockcypher-python | create_unsigned_tx | 39,348 | |
LDU_FT/Hackerfleet/hfos/db_import | LDU_FT | [
"<BEGIN>\n## `_augment_book`",
"Checks if the newly created object is a book and only has an ISBN.\n If so, tries to fetch the book data off the internet.",
" :param uuid: uuid of book to augment\n :param client: requesting client\n<END>",
"<BEGIN>\n## `serial_ports`",
"Lists serial por... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_import API.
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 db_import API.
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... | Import objects from file
Warning! This functionality is work in progress and you may destroy live data by using it!
Be very careful when using the export/import functionality! | "Import objects from file\n\n Warning! This functionality is work in progress and you may destroy live data by using it!\n Be very careful when using the export/import functionality!" | 344 | false | Hackerfleet/hfos | db_import | 39,349 | |
LDU_FT/jermnelson/flask-fedora-commons/build_prefixes | LDU_FT | [
"<BEGIN>\n## `build_prefixes`",
"Internal function takes a list of prefix, namespace uri tuples and\n generates a SPARQL PREFIX string.",
" Args:\n namespaces(list): List of tuples, defaults to BIBFRAME and\n Schema.org",
" Returns:\n string\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_prefixes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_prefixes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Internal function takes a list of prefix, namespace uri tuples and
generates a SPARQL PREFIX string.
Args:
namespaces(list): List of tuples, defaults to BIBFRAME and
Schema.org
Returns:
string | "Internal function takes a list of prefix, namespace uri tuples and\n generates a SPARQL PREFIX string.\n\n Args:\n namespaces(list): List of tuples, defaults to BIBFRAME and\n Schema.org\n\n Returns:\n string" | 57 | false | jermnelson/flask-fedora-commons | build_prefixes | 39,350 | |
LDU_FT/Miserlou/SoundScrape/sanitize_filename | LDU_FT | [
"<BEGIN>\n## `main`",
"Main function.",
" Converts arguments to Python and processes accordingly.\n<END>",
"<BEGIN>\n## `download_tracks`",
"Given a list of tracks, iteratively download all of them.\n<END>",
"<BEGIN>\n## `get_soundcloud_data`",
"Scrapes a SoundCloud page for a track's important infor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_filename API.
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 sanitize_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Make sure filenames are valid paths.
Returns:
str: | "Make sure filenames are valid paths.\n\n Returns:\n str:" | 39 | false | Miserlou/SoundScrape | sanitize_filename | 39,351 | |
LDU_FT/inveniosoftware/invenio-oaiserver/oaiid_minter | 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 oaiid_minter API.
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 oaiid_minter API.
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... | Mint record identifiers.
:param record_uuid: The record UUID.
:param data: The record data.
:returns: A :class:`invenio_pidstore.models.PersistentIdentifier` instance. | "Mint record identifiers.\n\n :param record_uuid: The record UUID.\n :param data: The record data.\n :returns: A :class:`invenio_pidstore.models.PersistentIdentifier` instance." | 78 | false | inveniosoftware/invenio-oaiserver | oaiid_minter | 39,352 | |
LDU_FT/xgfs/NetLSD/netlsd | LDU_FT | [
"<BEGIN>\n## `check_1d`",
"Check input to be a vector. Converts lists to np.ndarray.",
" Parameters\n ----------\n inp : obj\n Input vector",
" Returns\n -------\n numpy.ndarray or None\n Input vector or None",
" Examples\n --------\n >>> check_1d([0, 1, 2, 3])\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the netlsd API.
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 netlsd API.
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 ... | Computes NetLSD signature from some given input, timescales, and normalization.
Accepts matrices, common Python graph libraries' graphs, or vectors of eigenvalues.
For precise definition, please refer to "NetLSD: Hearing the Shape of a Graph" by A. Tsitsulin, D. Mottin, P. Karras, A. Bronstein, E. Müller. Pub... | "Computes NetLSD signature from some given input, timescales, and normalization.\n\n Accepts matrices, common Python graph libraries' graphs, or vectors of eigenvalues. \n For precise definition, please refer to \"NetLSD: Hearing the Shape of a Graph\" by A. Tsitsulin, D. Mottin, P. Karras, A. Bronstein, E. Mülle... | 63 | false | xgfs/NetLSD | netlsd | 39,353 | |
LDU_FT/luismsgomes/stringology/lcsr | LDU_FT | [
"<BEGIN>\n## `llcs`",
"length of the longest common sequence",
" This implementation takes O(len(s1) * len(s2)) time and\n O(min(len(s1), len(s2))) space.",
" Use only with short strings.",
" >>> llcs('a.b.cd','!a!b!c!!!d!')\n 4\n<END>",
"<BEGIN>\n## `lcsr`",
"longest common sequence rati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lcsr API.
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 lcsr API.
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... | longest common sequence ratio
>>> lcsr('ab', 'abcd')
0.5 | "longest common sequence ratio\n\n >>> lcsr('ab', 'abcd')\n 0.5" | 29 | false | luismsgomes/stringology | lcsr | 39,354 | |
LDU_FT/google-research/batch-ppo/call | LDU_FT | [
"<BEGIN>\n## `count_weights`",
"Count learnable parameters.",
" Args:\n scope: Restrict the count to a variable scope.\n exclude: Regex to match variable names to exclude.\n graph: Operate on a graph other than the current default graph.",
" Returns:\n Number of learnable parameters as integer.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Asynchronously call a method of the external environment.
Args:
name: Name of the method to call.
*args: Positional arguments to forward to the method.
**kwargs: Keyword arguments to forward to the method.
Returns:
Promise object that blocks and provides the return value when called. | "Asynchronously call a method of the external environment.\n\n Args:\n name: Name of the method to call.\n *args: Positional arguments to forward to the method.\n **kwargs: Keyword arguments to forward to the method.\n\n Returns:\n Promise object that blocks and provides the return value when ... | 362 | false | google-research/batch-ppo | call | 39,355 | |
LDU_FT/fulfilio/fulfil-python-api/search_read_all | LDU_FT | [
"<BEGIN>\n## `refresh_context`",
"Get the default context of the user and save it\n<END>",
"<BEGIN>\n## `login`",
"Attempts a login to the remote server\n and on success returns user id and session\n or None",
" Warning: Do not depend on this. This will be deprecated\n with SSO."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_read_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_read_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | An endless iterator that iterates over records.
:param domain: A search domain
:param order: The order clause for search read
:param fields: The fields argument for search_read
:param batch_size: The optimal batch size when sending paginated
requests | "An endless iterator that iterates over records.\n\n :param domain: A search domain\n :param order: The order clause for search read\n :param fields: The fields argument for search_read\n :param batch_size: The optimal batch size when sending paginated\n requests" | 79 | false | fulfilio/fulfil-python-api | search_read_all | 39,356 | |
LDU_FT/scraperwiki/dumptruck/create_table | LDU_FT | [
"<BEGIN>\n## `column_names`",
"An iterable of column names, for a particular table or\n view.\n<END>",
"<BEGIN>\n## `execute`",
"Run raw SQL on the database, and receive relaxing output.\n This is sort of the foundational method that most of the\n others build on.\n<END>",
"<BEGIN>\n## `create_in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Create a table based on the data, but don\'t insert anything. | "Create a table based on the data, but don\\'t insert anything." | 12 | false | scraperwiki/dumptruck | create_table | 39,357 | |
LDU_FT/jlevy/strif/chmod_native | LDU_FT | [
"<BEGIN>\n## `new_timestamped_uid`",
"A unique id that begins with an ISO timestamp followed by fractions of seconds and bits of\n randomness. The advantage of this is it sorts nicely by time, while still being unique.\n Example: 20150912T084555Z-378465-43vtwbx\n<END>",
"<BEGIN>\n## `abbreviate_str`",
"Abbr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chmod_native API.
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 chmod_native API.
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... | This is ugly and will only work on POSIX, but the built-in Python os.chmod support
is very minimal, and neither supports fast recursive chmod nor "+X" type expressions,
both of which are slow for large trees. So just shell out. | "This is ugly and will only work on POSIX, but the built-in Python os.chmod support\n is very minimal, and neither supports fast recursive chmod nor \"+X\" type expressions,\n both of which are slow for large trees. So just shell out." | 38 | false | jlevy/strif | chmod_native | 39,358 | |
LDU_FT/cloudant/python-cloudant/couchdb_admin_party | LDU_FT | [
"<BEGIN>\n## `_start`",
"Starts streaming the feed using the provided session and feed options.\n<END>",
"<BEGIN>\n## `_translate`",
"Perform translation of feed options passed in as keyword\n arguments to CouchDB/Cloudant equivalent.\n<END>",
"<BEGIN>\n## `_validate`",
"Ensures that the key and th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the couchdb_admin_party 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 couchdb_admin_party 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... | Provides a context manager to create a CouchDB session in Admin Party mode
and provide access to databases, docs etc.
:param str url: URL for CouchDB server.
:param str encoder: Optional json Encoder object used to encode
documents for storage. Defaults to json.JSONEncoder.
For example:
... | "Provides a context manager to create a CouchDB session in Admin Party mode\n and provide access to databases, docs etc.\n\n :param str url: URL for CouchDB server.\n :param str encoder: Optional json Encoder object used to encode\n documents for storage. Defaults to json.JSONEncoder.\n\n For exampl... | 489 | false | cloudant/python-cloudant | couchdb_admin_party | 39,359 | |
LDU_FT/rkargon/pixelsorter/getImageDescriptor | LDU_FT | [
"<BEGIN>\n## `hue`",
"Returns the saturation of a pixel.\n Gray pixels have saturation 0.\n :param p: A tuple of (R,G,B) values\n :return: A saturation value between 0 and 360\n<END>",
"<BEGIN>\n## `saturation`",
"Returns the saturation of a pixel, defined as the ratio of chroma to value.\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getImageDescriptor 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 getImageDescriptor 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... | getImageDescriptor(im, xy=None)
Used for the local color table properties per image.
Otherwise global color table applies to all frames irrespective of
whether additional colors comes in play that require a redefined
palette. Still a maximum of 256 color per frame, obviously.
W... | "getImageDescriptor(im, xy=None)\n\n Used for the local color table properties per image.\n Otherwise global color table applies to all frames irrespective of\n whether additional colors comes in play that require a redefined\n palette. Still a maximum of 256 color per frame, obviously.\n\n ... | 79 | false | rkargon/pixelsorter | getImageDescriptor | 39,360 | |
LDU_FT/alexhayes/django-toolkit/validate | LDU_FT | [
"<BEGIN>\n## `get_anchor_href`",
"Given HTML markup, return a list of hrefs for each anchor tag.\n<END>",
"<BEGIN>\n## `get_anchor_contents`",
"Given HTML markup, return a list of href inner html for each anchor tag.\n<END>",
"<BEGIN>\n## `expire_cache`",
"Expire a cache item.",
" @param url: The url... | 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... | Check if value consists only of valid emails. | "Check if value consists only of valid emails." | 155 | false | alexhayes/django-toolkit | validate | 39,361 | |
LDU_FT/bitlabstudio/django-unshorten/api_auth | LDU_FT | [
"<BEGIN>\n## `unshorten_url`",
"Unshortens the short_url or returns None if not possible.\n<END>",
"<BEGIN>\n## `api_auth`",
"If the user is not logged in, this decorator looks for basic HTTP auth\n data in the request header.\n<END>",
"<BEGIN>\n## `get_history`",
"Returns the history from cache or DB ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_auth API.
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 api_auth API.
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... | If the user is not logged in, this decorator looks for basic HTTP auth
data in the request header. | "If the user is not logged in, this decorator looks for basic HTTP auth\n data in the request header." | 12 | false | bitlabstudio/django-unshorten | api_auth | 39,362 | |
LDU_FT/adammck/djtables/get_url | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Return an url, relative to the request associated with this\n table. Any keywords arguments provided added to the query\n string, replacing existing values.\n<END>",
"<BEGIN>\n## `object_list`",
"Return this table's object_list, transformed (sorted, reversed,\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return an url, relative to the request associated with this
table. Any keywords arguments provided added to the query
string, replacing existing values. | "Return an url, relative to the request associated with this\n table. Any keywords arguments provided added to the query\n string, replacing existing values." | 20 | false | adammck/djtables | get_url | 39,363 | |
LDU_FT/pgjones/quart/make_config | LDU_FT | [
"<BEGIN>\n## `get_command`",
"Return the relevant command given the context and name.",
" .. warning::",
" This differs substaintially from Flask in that it allows\n for the inbuilt commands to be overridden.\n<END>",
"<BEGIN>\n## `render_template`",
"Render the template with ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_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 make_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... | Create and return the configuration with appropriate defaults. | "Create and return the configuration with appropriate defaults." | 611 | false | pgjones/quart | make_config | 39,364 | |
LDU_FT/suds-community/suds/branch | LDU_FT | [
"<BEGIN>\n## `xml`",
"Get xml representation of the object.\n @return: The root node.\n @rtype: L{Element}\n<END>",
"<BEGIN>\n## `skip`",
"Get whether to skip (filter-out) the specified attribute.\n @param attr: An attribute.\n @type attr: I{Attribute}\n @return: True if sho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the branch API.
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 branch API.
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 ... | Traverse the path until a leaf is reached.
@param parts: A list of path parts.
@type parts: [str,..]
@param root: The root.
@type root: L{xsd.sxbase.SchemaObject}
@return: The end of the branch.
@rtype: L{xsd.sxbase.SchemaObject} | "Traverse the path until a leaf is reached.\n @param parts: A list of path parts.\n @type parts: [str,..]\n @param root: The root.\n @type root: L{xsd.sxbase.SchemaObject}\n @return: The end of the branch.\n @rtype: L{xsd.sxbase.SchemaObject}" | 466 | false | suds-community/suds | branch | 39,365 | |
LDU_FT/hydraplatform/hydra-base/_get_datasets | LDU_FT | [
"<BEGIN>\n## `check_perm`",
"Checks whether a user has permission to perform an action.\n The permission_code parameter should be a permission contained in tPerm.",
" If the user does not have permission to perfom an action, a permission\n error is thrown.\n<END>",
"<BEGIN>\n## `required_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_datasets API.
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_datasets API.
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 all the datasets in a list of dataset IDS. This must be done in chunks of 999,
as sqlite can only handle 'in' with < 1000 elements. | "Get all the datasets in a list of dataset IDS. This must be done in chunks of 999,\n as sqlite can only handle 'in' with < 1000 elements." | 576 | false | hydraplatform/hydra-base | _get_datasets | 39,366 | |
LDU_FT/dcaune/perseus-lib-python-common/acquire_connection | LDU_FT | [
"<BEGIN>\n## `convert_image_to_rgb_mode`",
"Convert the specified image instance to RGB mode.",
" @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.",
" @param fill_color: color to be used to fill transparent pixels when\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return a connection to a Relational DataBase Management System (RDBMS)
the most appropriate for the service requesting this connection.
@param settings: a dictionary of connection properties::
{
None: {
'rdbms_hostname': "...",
... | "Return a connection to a Relational DataBase Management System (RDBMS)\n the most appropriate for the service requesting this connection.\n\n @param settings: a dictionary of connection properties::\n {\n None: {\n 'rdbms_hostname': \"...\",\n ... | 498 | false | dcaune/perseus-lib-python-common | acquire_connection | 39,367 | |
LDU_FT/ramses-tech/nefertari/add_resource_routes | LDU_FT | [
"<BEGIN>\n## `_import_public_names`",
"Import public names from module into this module, like import *\n<END>",
"<BEGIN>\n## `encrypt_password`",
"Crypt :new_value: if it's not crypted yet.\n<END>",
"<BEGIN>\n## `create_apikey_model`",
"Generate ApiKey model class and connect it with :user_model:.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_resource_routes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_resource_routes 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... | ``view`` is a dotted name of (or direct reference to) a
Python view class,
e.g. ``'my.package.views.MyView'``.
``member_name`` should be the appropriate singular version of the resource
given your locale and used with members of the collection.
``collection_name`` will be used to refer to the reso... | "``view`` is a dotted name of (or direct reference to) a\n Python view class,\n e.g. ``'my.package.views.MyView'``.\n\n ``member_name`` should be the appropriate singular version of the resource\n given your locale and used with members of the collection.\n\n ``collection_name`` will be used to refer to ... | 226 | false | ramses-tech/nefertari | add_resource_routes | 39,368 | |
LDU_FT/aws/sagemaker-python-sdk/training_job_summaries | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy this ``Model`` to an ``Endpoint`` and optionally return a ``Predictor``.",
" Create a SageMaker ``Model`` and ``EndpointConfig``, and deploy an ``Endpoint`` from this ``Model``.\n If ``self.predictor_cls`` is not None, this method returns a the result of invoking\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the training_job_summaries 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 training_job_summaries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | A (paginated) list of everything from ``ListTrainingJobsForTuningJob``.
Args:
force_refresh (bool): Set to True to fetch the latest data from SageMaker API.
Returns:
dict: The Amazon SageMaker response for ``ListTrainingJobsForTuningJob``. | "A (paginated) list of everything from ``ListTrainingJobsForTuningJob``.\n\n Args:\n force_refresh (bool): Set to True to fetch the latest data from SageMaker API.\n\n Returns:\n dict: The Amazon SageMaker response for ``ListTrainingJobsForTuningJob``." | 796 | false | aws/sagemaker-python-sdk | training_job_summaries | 39,369 | |
LDU_FT/20c/munge/load_datafile | LDU_FT | [
"<BEGIN>\n## `find_datafile`",
"find all matching data files in search_path\n search_path: path of directories to load from\n codecs: allow to override from list of installed\n returns array of tuples (codec_object, filename)\n<END>",
"<BEGIN>\n## `load_datafile`",
"find datafile and load them from c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_datafile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_datafile API.
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... | find datafile and load them from codec
TODO only does the first one
kwargs:
default = if passed will return that on failure instead of throwing | "find datafile and load them from codec\n TODO only does the first one\n kwargs:\n default = if passed will return that on failure instead of throwing" | 25 | false | 20c/munge | load_datafile | 39,370 | |
LDU_FT/marrow/cinje/prepare | LDU_FT | [
"<BEGIN>\n## `match`",
"Match lines prefixed with a hash (\"#\") mark that don't look like text.\n<END>",
"<BEGIN>\n## `stream`",
"Safely iterate a template generator, ignoring ``None`` values and optionally stream encoding.",
"\tUsed internally by ``cinje.flatten``, this allows for easy use of a template g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | Prepare the ordered list of transformers and reset context state to initial. | "Prepare the ordered list of transformers and reset context state to initial." | 66 | false | marrow/cinje | prepare | 39,371 | |
LDU_FT/iterative/dvc/dump | LDU_FT | [
"<BEGIN>\n## `_get_remote`",
"The config file is stored in a way that allows you to have a\n cache for each remote.",
" This is needed when specifying external outputs\n (as they require you to have an external cache location).",
" Imagine a config file like the following:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
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 dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Save analytics report to a temporary file.
Returns:
str: path to the temporary file that contains the analytics report. | "Save analytics report to a temporary file.\n\n Returns:\n str: path to the temporary file that contains the analytics report." | 269 | false | iterative/dvc | dump | 39,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.