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/SITools2/pySitools2_1.0/retrieveJsonResponseFromServer | LDU_FT | [
"<BEGIN>\n## `__parseResponseServer`",
"Parses the response of the server.\n Exception\n ---------\n A Sitools2Exception is raised when the server does not send back a success.\n<END>",
"<BEGIN>\n## `__parseResponseServer`",
"Parses the server response.\n Input\n -----\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieveJsonResponseFromServer 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 retrieveJsonResponseFromServer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Retrieves a JSON response from the server.
Input parameters
----------------
url : url to call for retrieving the JSON response
Return
------
A dictionary
Exception
---------
SITools2Exception when a problem during the download or... | "Retrieves a JSON response from the server.\n Input parameters\n ----------------\n url : url to call for retrieving the JSON response\n \n Return\n ------\n A dictionary\n \n Exception\n ---------\n SITools2Exception when a problem during the... | 41 | false | SITools2/pySitools2_1.0 | retrieveJsonResponseFromServer | 34,273 | |
LDU_FT/tchellomello/python-arlo/get_night_light_state | LDU_FT | [
"<BEGIN>\n## `query`",
"Return a JSON object or raw session.",
" :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_night_light_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_night_light_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the state of the night light (on/off). | "Return the state of the night light (on/off)." | 69 | false | tchellomello/python-arlo | get_night_light_state | 34,274 | |
LDU_FT/ethereum/eth-utils/hexstr_if_str | LDU_FT | [
"<BEGIN>\n## `from_wei`",
"Takes a number of wei and converts it to any other ether unit.\n<END>",
"<BEGIN>\n## `to_wei`",
"Takes a number of a unit and converts it to wei.\n<END>",
"<BEGIN>\n## `to_hex`",
"Auto converts any supported value into its hex representation.\n Trims leading zeros, as defined... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hexstr_if_str API.
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 hexstr_if_str API.
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 to a type, assuming that strings can be only hexstr (not unicode text)
:param to_type function: takes the arguments (primitive, hexstr=hexstr, text=text),
eg~ to_bytes, to_text, to_hex, to_int, etc
:param hexstr_or_primitive bytes, str, int: value to convert | "Convert to a type, assuming that strings can be only hexstr (not unicode text)\n\n :param to_type function: takes the arguments (primitive, hexstr=hexstr, text=text),\n eg~ to_bytes, to_text, to_hex, to_int, etc\n :param hexstr_or_primitive bytes, str, int: value to convert" | 41 | false | ethereum/eth-utils | hexstr_if_str | 34,275 | |
LDU_FT/sffjunkie/astral/blue_hour_utc | LDU_FT | [
"<BEGIN>\n## `timezone`",
"The name of the time zone for the location.",
" A list of time zone names can be obtained from pytz. For example.",
" >>> from pytz import all_timezones\n >>> for timezone in all_timezones:\n ... print(timezone)\n<END>",
"<BEGIN>\n## `sun`",
"Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blue_hour_utc API.
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 blue_hour_utc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns the start and end times of the Blue Hour in the UTC timezone
when the sun is traversing in the specified direction.
This method uses the definition from PhotoPills i.e. the
blue hour is when the sun is between 6 and 4 degrees below the horizon.
:param direction: Determines whe... | "Returns the start and end times of the Blue Hour in the UTC timezone\n when the sun is traversing in the specified direction.\n\n This method uses the definition from PhotoPills i.e. the\n blue hour is when the sun is between 6 and 4 degrees below the horizon.\n\n :param direction: Determi... | 177 | false | sffjunkie/astral | blue_hour_utc | 34,276 | |
LDU_FT/lablup/backend.ai-client-py/range_expr | LDU_FT | [
"<BEGIN>\n## `generate_signature`",
"Generates the API request signature from the given parameters.\n<END>",
"<BEGIN>\n## `list_with_limit`",
"Fetches the list of agents with the given status with limit and offset for\n pagination.",
" :param limit: number of agents to get\n :param offs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range_expr API.
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 range_expr API.
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... | Accepts a range expression which generates a range of values for a variable.
Linear space range: "linspace:1,2,10" (start, stop, num) as in numpy.linspace
Pythonic range: "range:1,10,2" (start, stop[, step]) as in Python's range
Case range: "case:a,b,c" (comma-separated strings) | "Accepts a range expression which generates a range of values for a variable.\n\n Linear space range: \"linspace:1,2,10\" (start, stop, num) as in numpy.linspace\n Pythonic range: \"range:1,10,2\" (start, stop[, step]) as in Python's range\n Case range: \"case:a,b,c\" (comma-separated strings)" | 207 | false | lablup/backend.ai-client-py | range_expr | 34,277 | |
LDU_FT/jaraco/jaraco.mongodb/project | LDU_FT | [
"<BEGIN>\n## `extract_param`",
"From a list of args, extract the one param if supplied,\n returning the value and unused args.",
" >>> extract_param('port', ['foo', '--port=999', 'bar'], type=int)\n (999, ['foo', 'bar'])\n >>> extract_param('port', ['foo', '--port', '999', 'bar'], type=int)\n (99... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project API.
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 project API.
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... | Build a projection for MongoDB.
Due to https://jira.mongodb.org/browse/SERVER-3156, until MongoDB 2.6,
the values must be integers and not boolean.
>>> project(a=True) == {'a': 1}
True
Once MongoDB 2.6 is released, replace use of this function with a simple
dict. | "Build a projection for MongoDB.\n\n Due to https://jira.mongodb.org/browse/SERVER-3156, until MongoDB 2.6,\n the values must be integers and not boolean.\n\n >>> project(a=True) == {'a': 1}\n True\n\n Once MongoDB 2.6 is released, replace use of this function with a simple\n dict." | 82 | false | jaraco/jaraco.mongodb | project | 34,278 | |
LDU_FT/confluentinc/confluent-kafka-python/delete_subject | LDU_FT | [
"<BEGIN>\n## `_make_topics_result`",
"Map per-topic results to per-topic futures in futmap.\n The result value of each (successful) future is None.\n<END>",
"<BEGIN>\n## `_make_resource_result`",
"Map per-resource results to per-resource futures in futmap.\n The result value of each (successful)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_subject API.
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 delete_subject API.
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... | DELETE /subjects/(string: subject)
Deletes the specified subject and its associated compatibility level if registered.
It is recommended to use this API only when a topic needs to be recycled or in development environments.
:param subject: subject name
:returns: version of the schema del... | "DELETE /subjects/(string: subject)\n Deletes the specified subject and its associated compatibility level if registered.\n It is recommended to use this API only when a topic needs to be recycled or in development environments.\n :param subject: subject name\n :returns: version of the schem... | 88 | false | confluentinc/confluent-kafka-python | delete_subject | 34,279 | |
LDU_FT/ucsb-cs-education/hairball/finalize | LDU_FT | [
"<BEGIN>\n## `main`",
"The entrypoint for the hairball command installed via setup.py.\n<END>",
"<BEGIN>\n## `path_to_key`",
"Return the sha1sum (key) belonging to the file at filepath.\n<END>",
"<BEGIN>\n## `key_to_path`",
"Return the fullpath to the file with sha1sum key.\n<END>",
"<BEGIN>\n## `load`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalize API.
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 finalize API.
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... | Output the number of instances that contained dead code. | "Output the number of instances that contained dead code." | 90 | false | ucsb-cs-education/hairball | finalize | 34,280 | |
LDU_FT/dj-stripe/dj-stripe/reactivate | LDU_FT | [
"<BEGIN>\n## `stripe_to_db`",
"Convert the raw value to decimal representation.\n<END>",
"<BEGIN>\n## `stripe_to_db`",
"Convert the raw timestamp value to a DateTime representation.\n<END>",
"<BEGIN>\n## `from_request`",
"Create, validate and process a WebhookEventTrigger given a Django\n\t\trequest objec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reactivate API.
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 reactivate API.
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... | Reactivates this subscription.
If a customer's subscription is canceled with ``at_period_end`` set to True and it has not yet reached the end
of the billing period, it can be reactivated. Subscriptions canceled immediately cannot be reactivated.
(Source: https://stripe.com/docs/subscriptions/canceling-pausing)
... | "Reactivates this subscription.\n\n\t\tIf a customer's subscription is canceled with ``at_period_end`` set to True and it has not yet reached the end\n\t\tof the billing period, it can be reactivated. Subscriptions canceled immediately cannot be reactivated.\n\t\t(Source: https://stripe.com/docs/subscriptions/canceling... | 300 | false | dj-stripe/dj-stripe | reactivate | 34,281 | |
LDU_FT/edeposit/edeposit.amqp.aleph/_sendPostDict | LDU_FT | [
"<BEGIN>\n## `from_xml`",
"Pick informations from :class:`.MARCXMLRecord` object and use it to\n build :class:`.SemanticInfo` structure.",
" Args:\n xml (str/MARCXMLRecord): MarcXML which will be converted to\n SemanticInfo. In case of str, ``<record>`` tag is required.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sendPostDict API.
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 _sendPostDict API.
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... | Send `post_dict` to the :attr:`.ALEPH_EXPORT_URL`.
Args:
post_dict (dict): dictionary from :class:`PostData.get_POST_data()`
Returns:
str: Reponse from webform. | "Send `post_dict` to the :attr:`.ALEPH_EXPORT_URL`.\n\n Args:\n post_dict (dict): dictionary from :class:`PostData.get_POST_data()`\n\n Returns:\n str: Reponse from webform." | 102 | false | edeposit/edeposit.amqp.aleph | _sendPostDict | 34,282 | |
LDU_FT/LLNL/certipy/add_record | LDU_FT | [
"<BEGIN>\n## `open_tls_file`",
"Context to ensure correct file permissions for certs and directories",
" Ensures:\n - A containing directory with appropriate permissions\n - Correct file permissions based on what the file is (0o600 for keys\n and 0o644 for certs)\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Manually create a record of certs
Generally, Certipy can be left to manage certificate locations and
storage, but it is occasionally useful to keep track of a set of
certs that were created externally (for example, let's encrypt) | "Manually create a record of certs\n\n Generally, Certipy can be left to manage certificate locations and\n storage, but it is occasionally useful to keep track of a set of\n certs that were created externally (for example, let's encrypt)" | 50 | false | LLNL/certipy | add_record | 34,283 | |
LDU_FT/croscon/fleaker/create_audit_event | LDU_FT | [
"<BEGIN>\n## `install`",
"Install Fleaker.",
" In a function so we can protect this file so it's only run when we\n explicitly invoke it and not, say, when py.test collects all Python\n modules.\n<END>",
"<BEGIN>\n## `python_value`",
"Return the JSON in the database as a ``dict``.",
" Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_audit_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_audit_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.
Th... | Creates a generic auditing Event logging the changes between saves
and the initial data in creates.
Kwargs:
code (str): The code to set the new Event to.
Returns:
Event: A new event with relevant info inserted into it | "Creates a generic auditing Event logging the changes between saves\n and the initial data in creates.\n\n Kwargs:\n code (str): The code to set the new Event to.\n\n Returns:\n Event: A new event with relevant info inserted into it" | 259 | false | croscon/fleaker | create_audit_event | 34,284 | |
LDU_FT/Diaoul/subliminal/download_best_subtitles | LDU_FT | [
"<BEGIN>\n## `refine`",
"Refine a video by searching `OMDb API <http://omdbapi.com/>`_.",
" Several :class:`~subliminal.video.Episode` attributes can be found:",
" * :attr:`~subliminal.video.Episode.series`\n * :attr:`~subliminal.video.Episode.year`\n * :attr:`~subliminal.video.Episode.serie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_best_subtitles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_best_subtitles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Download the best matching subtitles.
:param subtitles: the subtitles to use.
:type subtitles: list of :class:`~subliminal.subtitle.Subtitle`
:param video: video to download subtitles for.
:type video: :class:`~subliminal.video.Video`
:param languages: languages to download.
... | "Download the best matching subtitles.\n\n :param subtitles: the subtitles to use.\n :type subtitles: list of :class:`~subliminal.subtitle.Subtitle`\n :param video: video to download subtitles for.\n :type video: :class:`~subliminal.video.Video`\n :param languages: languages to downlo... | 171 | false | Diaoul/subliminal | download_best_subtitles | 34,285 | |
LDU_FT/pyvisa/pyvisa-sim/get_debug_info | LDU_FT | [
"<BEGIN>\n## `_get_triplet`",
"Return a triplet from a dialogue dictionary.",
" :param dd: Dialogue dictionary.\n :type dd: Dict[str, str]\n :return: (query, response, error response)\n :rtype: (str, str | NoResponse, str | NoResponse)\n<END>",
"<BEGIN>\n## `_load`",
"YAML Parse a file or str an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_debug_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_debug_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a list of lines with backend info. | "Return a list of lines with backend info." | 85 | false | pyvisa/pyvisa-sim | get_debug_info | 34,286 | |
LDU_FT/iamaziz/PyDataset/google_nest_count | LDU_FT | [
"<BEGIN>\n## `__datasets_desc`",
"return a df of the available datasets with description\n<END>",
"<BEGIN>\n## `dumb_css_parser`",
"returns a hash of css selectors, each of which contains a hash of css attributes\n<END>",
"<BEGIN>\n## `element_style`",
"returns a hash of the 'final' style attributes of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the google_nest_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the google_nest_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... | calculate the nesting count of google doc lists | "calculate the nesting count of google doc lists" | 31 | false | iamaziz/PyDataset | google_nest_count | 34,287 | |
LDU_FT/googlefonts/glyphsLib/build_masters | LDU_FT | [
"<BEGIN>\n## `to_ufo_font_attributes`",
"Generate a list of UFOs with metadata loaded from .glyphs data.",
" Modifies the list of UFOs in the UFOBuilder (self) in-place.\n<END>",
"<BEGIN>\n## `to_glyphs_font_attributes`",
"Copy font attributes from `ufo` either to `self.font` or to `master`.",
" Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_masters API.
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_masters API.
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... | Write and return UFOs from the masters and the designspace defined in a
.glyphs file.
Args:
master_dir: Directory where masters are written.
designspace_instance_dir: If provided, a designspace document will be
written alongside the master UFOs though no instances will be built.
... | "Write and return UFOs from the masters and the designspace defined in a\n .glyphs file.\n\n Args:\n master_dir: Directory where masters are written.\n designspace_instance_dir: If provided, a designspace document will be\n written alongside the master UFOs though no instances will be bui... | 235 | false | googlefonts/glyphsLib | build_masters | 34,288 | |
LDU_FT/bachya/regenmaschine/runs | LDU_FT | [
"<BEGIN>\n## `upcoming`",
"Return watering statistics for the next 6 days.\n<END>",
"<BEGIN>\n## `_raise_for_remote_status`",
"Raise an error from the remote API if necessary.\n<END>",
"<BEGIN>\n## `login`",
"Authenticate against a RainMachine device.\n<END>",
"<BEGIN>\n## `_request`",
"Make a request... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the runs API.
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 runs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return all program runs for X days from Y date. | "Return all program runs for X days from Y date." | 22 | false | bachya/regenmaschine | runs | 34,289 | |
LDU_FT/senaite/senaite.lims/get_icon_url | LDU_FT | [
"<BEGIN>\n## `getViewletByName`",
"Viewlets allow through-the-web customizations.",
" Through-the-web customization magic is managed by five.customerize.\n We need to think of this when looking up viewlets.",
" @return: Viewlet registration object\n<END>",
"<BEGIN>\n## `setupViewletByNa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_icon_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_icon_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 extr... | Returns the (big) icon URL for the given catalog brain | "Returns the (big) icon URL for the given catalog brain" | 32 | false | senaite/senaite.lims | get_icon_url | 34,290 | |
LDU_FT/curious-containers/cc-core/_partition_all_internal | LDU_FT | [
"<BEGIN>\n## `brief_exception_text`",
"Returns the Exception class and the message of the exception as string.",
" :param exception: The exception to format\n :param secret_values: Values to hide in output\n<END>",
"<BEGIN>\n## `print_exception`",
"Prints the exception message and the name of the exce... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _partition_all_internal 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 _partition_all_internal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Uses str.partition() to split every occurrence of sep in s. The returned list does not contain empty strings.
:param s: The string to split.
:param sep: A separator string.
:return: A list of parts split by sep | "Uses str.partition() to split every occurrence of sep in s. The returned list does not contain empty strings.\n\n :param s: The string to split.\n :param sep: A separator string.\n :return: A list of parts split by sep" | 96 | false | curious-containers/cc-core | _partition_all_internal | 34,291 | |
LDU_FT/aws/aws-encryption-sdk-python/from_encoded_point | LDU_FT | [
"<BEGIN>\n## `_encryption_context_hash`",
"Generates the expected hash for the provided encryption context.",
" :param hasher: Existing hasher to use\n :type hasher: cryptography.hazmat.primitives.hashes.Hash\n :param dict encryption_context: Encryption context to hash\n :returns: Complete hash\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_encoded_point API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_encoded_point API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Creates a Verifier object based on the supplied algorithm and encoded compressed ECC curve point.
:param algorithm: Algorithm on which to base verifier
:type algorithm: aws_encryption_sdk.identifiers.Algorithm
:param bytes encoded_point: ECC public point compressed and encoded with _ecc_encode_... | "Creates a Verifier object based on the supplied algorithm and encoded compressed ECC curve point.\n\n :param algorithm: Algorithm on which to base verifier\n :type algorithm: aws_encryption_sdk.identifiers.Algorithm\n :param bytes encoded_point: ECC public point compressed and encoded with _ecc_en... | 364 | false | aws/aws-encryption-sdk-python | from_encoded_point | 34,292 | |
LDU_FT/tableau/document-api-python/save_as | LDU_FT | [
"<BEGIN>\n## `xml_open`",
"Opens the provided 'filename'. Handles detecting if the file is an archive,\n detecting the document version, and validating the root tag.\n<END>",
"<BEGIN>\n## `find_file_in_zip`",
"Returns the twb/tds file from a Tableau packaged file format. Packaged\n files can contain cac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_as API.
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 save_as API.
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... | Save our file with the name provided.
Args:
new_filename: New name for the workbook file. String.
Returns:
Nothing. | "Save our file with the name provided.\n\n Args:\n new_filename: New name for the workbook file. String.\n\n Returns:\n Nothing." | 55 | false | tableau/document-api-python | save_as | 34,293 | |
LDU_FT/drdoctr/doctr/setup_deploy_key | LDU_FT | [
"<BEGIN>\n## `encrypt_variable`",
"Encrypt an environment variable for ``build_repo`` for Travis",
" ``variable`` should be a bytes object, of the form ``b'ENV=value'``.",
" ``build_repo`` is the repo that ``doctr deploy`` will be run from. It\n should be like 'drdoctr/doctr'.",
" ``tld`` should... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_deploy_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_deploy_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Decrypts the deploy key and configures it with ssh
The key is assumed to be encrypted as keypath + key_ext, and the
encryption key is assumed to be set in the environment variable
``env_name``. If ``env_name`` is not set, it falls back to
``DOCTR_DEPLOY_ENCRYPTION_KEY`` for backwards compatibility.
... | "Decrypts the deploy key and configures it with ssh\n\n The key is assumed to be encrypted as keypath + key_ext, and the\n encryption key is assumed to be set in the environment variable\n ``env_name``. If ``env_name`` is not set, it falls back to\n ``DOCTR_DEPLOY_ENCRYPTION_KEY`` for backwards compatibilit... | 128 | false | drdoctr/doctr | setup_deploy_key | 34,294 | |
LDU_FT/requests/requests-kerberos/handle_401 | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Simple function to extract the current version using regular expressions.\n<END>",
"<BEGIN>\n## `_negotiate_value`",
"Extracts the gssapi authentication token from the appropriate header\n<END>",
"<BEGIN>\n## `_get_channel_bindings_application_data`",
"https://tools.ietf.org/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_401 API.
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_401 API.
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... | Handles 401's, attempts to use gssapi/kerberos authentication | "Handles 401's, attempts to use gssapi/kerberos authentication" | 23 | false | requests/requests-kerberos | handle_401 | 34,295 | |
LDU_FT/lobocv/anonymoususage/merge_databases | LDU_FT | [
"<BEGIN>\n## `get_average`",
"Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return\n `default`.\n :return: The average count value (count / table rows) or `default` if it cannot be calculated.\n<END>",
"<BEGIN>\n## `elapsed_time_s`",
"Return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_databases API.
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 merge_databases API.
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... | Merge the partial database into the master database.
:param master: database connection to the master database
:param part: database connection to the partial database | "Merge the partial database into the master database.\n :param master: database connection to the master database\n :param part: database connection to the partial database" | 60 | false | lobocv/anonymoususage | merge_databases | 34,296 | |
LDU_FT/proteanhq/protean/_get_entity_by_class | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Initialize a ListRequestObject object from a dictionary.\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to its string representation\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to an int and raise error on failures\n<END>",
"<BEGIN>\n## `_cast_to_ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_entity_by_class 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_entity_by_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Fetch Entity record with Entity class details | "Fetch Entity record with Entity class details" | 214 | false | proteanhq/protean | _get_entity_by_class | 34,297 | |
LDU_FT/datastore/datastore/get | LDU_FT | [
"<BEGIN>\n## `list`",
"Returns the `list` representation of this Key.",
" Note that this method assumes the key is immutable.\n<END>",
"<BEGIN>\n## `instance`",
"Returns an instance Key, by appending a name to the namespace.\n<END>",
"<BEGIN>\n## `parent`",
"Returns the parent Key (all namespaces exc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return the object named by key or None if it does not exist.
Retrieves the value from the ``child_datastore``, and de-serializes
it on the way out.
Args:
key: Key naming the object to retrieve
Returns:
object or None | "Return the object named by key or None if it does not exist.\n Retrieves the value from the ``child_datastore``, and de-serializes\n it on the way out.\n\n Args:\n key: Key naming the object to retrieve\n\n Returns:\n object or None" | 180 | false | datastore/datastore | get | 34,298 | |
LDU_FT/sanoma/django-arctic/append_query_parameter | LDU_FT | [
"<BEGIN>\n## `get_all_fields`",
"Returns a list of all field names on the instance.\n<END>",
"<BEGIN>\n## `query_string_ordering`",
"Add ordering param to the given query string\n :param context: template context\n :param value: examples would be '-id' or 'id'. A minus indicates that the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_query_parameter 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 append_query_parameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | quick and dirty appending of query parameters to a url | "quick and dirty appending of query parameters to a url" | 85 | false | sanoma/django-arctic | append_query_parameter | 34,299 | |
LDU_FT/agoragames/kairos/_normalize_timestamps | LDU_FT | [
"<BEGIN>\n## `_resolve_time`",
"Resolve the time in seconds of a configuration value.\n<END>",
"<BEGIN>\n## `step_size`",
"Return the time in seconds of a step. If a begin and end timestamp,\n return the time in seconds between them after adjusting for what buckets\n they alias to. If t1 and t0 resolve ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_timestamps 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 _normalize_timestamps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Helper for the subclasses to generate a list of timestamps. | "Helper for the subclasses to generate a list of timestamps." | 74 | false | agoragames/kairos | _normalize_timestamps | 34,300 | |
LDU_FT/ShadowBlip/Neteria/call_later | LDU_FT | [
"<BEGIN>\n## `listen`",
"Starts the client listener to listen for server responses.",
" Args:\n None",
" Returns:\n None\n<END>",
"<BEGIN>\n## `retransmit`",
"Processes messages that have been delivered from the transport\n protocol.",
" Args:\n dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_later API.
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 call_later API.
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... | Schedules a function to be run x number of seconds from now.
The call_later method is primarily used to resend messages if we
haven't received a confirmation message from the receiving host.
We can wait x number of seconds for a response and then try
sending the message again.
... | "Schedules a function to be run x number of seconds from now.\n\n The call_later method is primarily used to resend messages if we\n haven't received a confirmation message from the receiving host.\n We can wait x number of seconds for a response and then try\n sending the message again.\n\n... | 122 | false | ShadowBlip/Neteria | call_later | 34,301 | |
LDU_FT/pierre-rouanet/aupyom/as_ipywidget | LDU_FT | [
"<BEGIN>\n## `resample`",
"Returns a new sound with a samplerate of target_sr.\n<END>",
"<BEGIN>\n## `as_ipywidget`",
"Provides an IPywidgets player that can be used in a notebook.\n<END>",
"<BEGIN>\n## `from_file`",
"Loads an audiofile, uses sr=22050 by default.\n<END>",
"<BEGIN>\n## `chunks`",
"Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_ipywidget API.
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 as_ipywidget API.
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... | Provides an IPywidgets player that can be used in a notebook. | "Provides an IPywidgets player that can be used in a notebook." | 22 | false | pierre-rouanet/aupyom | as_ipywidget | 34,302 | |
LDU_FT/matthias-k/cyipopt/generate_dot | LDU_FT | [
"<BEGIN>\n## `pkgconfig`",
"Based on http://code.activestate.com/recipes/502261-python-distutils-pkg-config/#c2\n<END>",
"<BEGIN>\n## `inheritance_diagram_directive`",
"Run when the inheritance_diagram directive is first encountered.\n<END>",
"<BEGIN>\n## `html_output_graph`",
"Output the graph for HTML. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_dot API.
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 generate_dot API.
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... | Generate a graphviz dot graph from the classes that
were passed in to __init__.
*fd* is a Python file-like object to write to.
*name* is the name of the graph
*urls* is a dictionary mapping class names to http urls
*graph_options*, *node_options*, *edge_options* are
d... | "Generate a graphviz dot graph from the classes that\n were passed in to __init__.\n\n *fd* is a Python file-like object to write to.\n\n *name* is the name of the graph\n\n *urls* is a dictionary mapping class names to http urls\n\n *graph_options*, *node_options*, *edge_options* are... | 28 | false | matthias-k/cyipopt | generate_dot | 34,303 | |
LDU_FT/wummel/dosage/get_authors | LDU_FT | [
"<BEGIN>\n## `exception`",
"Write error message with traceback info.\n<END>",
"<BEGIN>\n## `write`",
"Write message with indentation, context and optional timestamp.\n<END>",
"<BEGIN>\n## `contains_case_insensitive`",
"Check if key is in adict. The search is case insensitive.\n<END>",
"<BEGIN>\n## `fini... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authors API.
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_authors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Read list of authors from a text file, filtering comments. | "Read list of authors from a text file, filtering comments." | 141 | false | wummel/dosage | get_authors | 34,304 | |
LDU_FT/emirozer/fake2db/data_filler_simple_registration | LDU_FT | [
"<BEGIN>\n## `database_caller_creator`",
"creates a mongodb database\n returns the related connection object\n which will be later used to spawn the cursor\n<END>",
"<BEGIN>\n## `database_caller_creator`",
"creates a redis connection object\n which will be later used to modify the db\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_filler_simple_registration 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 data_filler_simple_registration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | creates and fills the table with simple regis. information | "creates and fills the table with simple regis. information" | 44 | false | emirozer/fake2db | data_filler_simple_registration | 34,305 | |
LDU_FT/abarker/pdfCropMargins/calculate_bounding_box_from_image | LDU_FT | [
"<BEGIN>\n## `get_bounding_box_list`",
"Calculate a bounding box for each page in the document. The first\n argument is the filename of the document's original PDF file, the second is\n the PdfFileReader for the document. The argument full_page_box_list is a list\n of the full-page-size boxes (which is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_bounding_box_from_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_bounding_box_from_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | This function uses a PIL routine to get the bounding box of the rendered
image. | "This function uses a PIL routine to get the bounding box of the rendered\n image." | 71 | false | abarker/pdfCropMargins | calculate_bounding_box_from_image | 34,306 | |
LDU_FT/buildbot/buildbot/makesvg | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse messages sent by the 'buildbot-cvs-mail' program.\n<END>",
"<BEGIN>\n## `parse`",
"Parse messages sent by the svn 'commit-email.pl' trigger.\n<END>",
"<BEGIN>\n## `parse`",
"Parse branch notification messages sent by Launchpad.\n<END>",
"<BEGIN>\n## `remote_write`",
"Call... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makesvg API.
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 makesvg API.
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... | Renders an SVG from the template, using the specified data | "Renders an SVG from the template, using the specified data" | 518 | false | buildbot/buildbot | makesvg | 34,307 | |
LDU_FT/mozilla-releng/scriptworker/do_run_task | LDU_FT | [
"<BEGIN>\n## `create_queue`",
"Create a taskcluster queue.",
" Args:\n credentials (dict): taskcluster credentials.\n<END>",
"<BEGIN>\n## `write_json`",
"Write json to disk.",
" Args:\n path (str): the path to write to\n contents (dict): the contents of the j... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_run_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_run_task API.
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... | Run the task logic.
Returns the integer status of the task.
args:
context (scriptworker.context.Context): the scriptworker context.
run_cancellable (typing.Callable): wraps future such that it'll cancel upon worker shutdown
to_cancellable_process (typing.Callable): wraps ``TaskProcess`... | "Run the task logic.\n\n Returns the integer status of the task.\n\n args:\n context (scriptworker.context.Context): the scriptworker context.\n run_cancellable (typing.Callable): wraps future such that it'll cancel upon worker shutdown\n to_cancellable_process (typing.Callable): wraps ``Task... | 621 | false | mozilla-releng/scriptworker | do_run_task | 34,308 | |
LDU_FT/pypa/pipenv/save_configuration | LDU_FT | [
"<BEGIN>\n## `site_data_dir`",
"r\"\"\"Return full path to the user-shared data dir for this application.",
" \"appname\" is the name of application.\n If None, just the system directory is returned.\n \"appauthor\" (only used on Windows) is the name of the\n appauthor or dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_configuration 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 save_configuration 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... | Save the PyPI access configuration. You must have set ``username`` and
``password`` attributes before calling this method.
Again, distutils is used to do the actual work. | "Save the PyPI access configuration. You must have set ``username`` and\n ``password`` attributes before calling this method.\n\n Again, distutils is used to do the actual work." | 4,833 | true | pypa/pipenv | save_configuration | 34,309 | |
LDU_FT/lk-geimfari/mimesis/download_image | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Get a random HTTP content type.",
" :return: Content type.",
" :Example:\n Content-Type: application/json\n<END>",
"<BEGIN>\n## `ip_v4`",
"Generate a random IPv4 address.",
" :param with_port: Add port to IP.\n :return: Random IPv4 ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_image API.
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 download_image API.
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... | Download image and save in current directory on local machine.
:param url: URL to image.
:param save_path: Saving path.
:param unverified_ctx: Create unverified context.
:return: Path to downloaded image.
:rtype: str or None | "Download image and save in current directory on local machine.\n\n :param url: URL to image.\n :param save_path: Saving path.\n :param unverified_ctx: Create unverified context.\n :return: Path to downloaded image.\n :rtype: str or None" | 559 | false | lk-geimfari/mimesis | download_image | 34,310 | |
LDU_FT/exosite-labs/pyonep/list_device_data_sources | LDU_FT | [
"<BEGIN>\n## `request`",
"Wraps HTTPConnection.request. On exception it calls exception_fn\n with the exception object. If exception_fn is None, it re-raises the\n exception. If notimeout is True, create a new connection (regardless of\n self.reuseconnection setting) that uses the global defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_device_data_sources 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 list_device_data_sources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | List data sources of a portal device with rid 'device_rid'.
http://docs.exosite.com/portals/#list-device-data-source | "List data sources of a portal device with rid 'device_rid'.\n\n http://docs.exosite.com/portals/#list-device-data-source" | 199 | false | exosite-labs/pyonep | list_device_data_sources | 34,311 | |
LDU_FT/SciTools/biggus/run | LDU_FT | [
"<BEGIN>\n## `_groups_of_size`",
"Collect data into fixed-length chunks or blocks.\n<END>",
"<BEGIN>\n## `slice_repr`",
"Turn things like `slice(None, 2, -1)` into `:2:-1`.\n<END>",
"<BEGIN>\n## `biggus_chunk`",
"A function that lazily evaluates a biggus.Chunk. This is useful for\n passing through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Process the input queues in lock-step, and push any results to
the registered output queues. | "Process the input queues in lock-step, and push any results to\n the registered output queues." | 105 | false | SciTools/biggus | run | 34,312 | |
LDU_FT/tgbugs/ontquery/add_raw_entity | LDU_FT | [
"<BEGIN>\n## `examples`",
"Examples of how to use. Default are that some functions are commented out in order\n to not cause harm to existing metadata within the database.\n<END>",
"<BEGIN>\n## `process_response`",
"Checks for correct data response and status codes\n<END>",
"<BEGIN>\n## `process_syno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_raw_entity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_raw_entity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Adds entity if it does not already exist under your user ID.
Need to provide a list of dictionaries that have at least the key/values
for label and type. If given a key, the values provided must be in the
format shown in order for the server to except them. You can input
... | "Adds entity if it does not already exist under your user ID.\n\n Need to provide a list of dictionaries that have at least the key/values\n for label and type. If given a key, the values provided must be in the\n format shown in order for the server to except them. You can input\n ... | 44 | false | tgbugs/ontquery | add_raw_entity | 34,313 | |
LDU_FT/UDST/urbansim/probabilities | LDU_FT | [
"<BEGIN>\n## `log_start_finish`",
"A context manager to log messages with \"start: \" and \"finish: \"\n prefixes before and after a block.",
" Parameters\n ----------\n msg : str\n Will be prefixed with \"start: \" and \"finish: \".\n logger : logging.Logger\n level : int, optional\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the probabilities API.
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 probabilities API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns the probabilities for a set of choosers to choose
from among a set of alternatives.
Parameters
----------
choosers : pandas.DataFrame
Table describing the agents making choices, e.g. households.
alternatives : pandas.DataFrame
Table describing the... | "Returns the probabilities for a set of choosers to choose\n from among a set of alternatives.\n\n Parameters\n ----------\n choosers : pandas.DataFrame\n Table describing the agents making choices, e.g. households.\n alternatives : pandas.DataFrame\n Table descr... | 461 | false | UDST/urbansim | probabilities | 34,314 | |
LDU_FT/projectatomic/osbs-client/create_resource_quota | LDU_FT | [
"<BEGIN>\n## `get_openshift_base_uri`",
"https://<host>[:<port>]/",
" :return: str\n<END>",
"<BEGIN>\n## `get_builder_openshift_url`",
"url of OpenShift where builder will connect\n<END>",
"<BEGIN>\n## `generate_nodeselector_dict`",
"helper method for generating nodeselector dict\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_resource_quota API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_resource_quota API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Prevent builds being scheduled and wait for running builds to finish.
:return: | "Prevent builds being scheduled and wait for running builds to finish.\n\n :return:" | 268 | false | projectatomic/osbs-client | create_resource_quota | 34,315 | |
LDU_FT/jdrumgoole/mongodbshell/_get_collections | LDU_FT | [
"<BEGIN>\n## `database`",
"Set the default database for this Proxy object.\n :param database_name: A string naming the database\n<END>",
"<BEGIN>\n## `find`",
"Run the pymongo find command against the default database and collection\n and paginate the output to the screen.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_collections API.
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_collections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Internal function to return all the collections for every database.
include a list of db_names to filter the list of collections. | "Internal function to return all the collections for every database.\n include a list of db_names to filter the list of collections." | 33 | false | jdrumgoole/mongodbshell | _get_collections | 34,316 | |
LDU_FT/chrisdrackett/django-support/render | LDU_FT | [
"<BEGIN>\n## `active`",
"tag to determine if a link is to the current page, and if it is, sets 'link_active'\n to True in the context.",
" Use:\n {% active path view strict[True,False] arg1 arg2 arg3 %}",
" path: the path to check. Generally this is just 'request.path'\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
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 ... | Outputs a <ul> for this set of radio fields. | "Outputs a <ul> for this set of radio fields." | 22 | false | chrisdrackett/django-support | render | 34,317 | |
LDU_FT/python-wink/python-wink/_parse_ical_string | LDU_FT | [
"<BEGIN>\n## `set_mode`",
":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>",
"<BEGIN>\n## `set_privacy`",
":param state: True or False\n :return: nothing\n<END>",
"<BEGIN>\n## `_update_state_from_response`",
":param response_json: the json obj returned from query\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_ical_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_ical_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | SU,MO,TU,WE,TH,FR,SA
DTSTART;TZID=America/New_York:20180804T233251\nRRULE:FREQ=WEEKLY;BYDAY=SA
DTSTART;TZID=America/New_York:20180804T233251\nRRULE:FREQ=DAILY
DTSTART;TZID=America/New_York:20180804T233251\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA
DTSTART;TZID=America/New_York:20180718T174500 | "SU,MO,TU,WE,TH,FR,SA\r\n DTSTART;TZID=America/New_York:20180804T233251\\nRRULE:FREQ=WEEKLY;BYDAY=SA\r\n DTSTART;TZID=America/New_York:20180804T233251\\nRRULE:FREQ=DAILY\r\n DTSTART;TZID=America/New_York:20180804T233251\\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA\r\n DTSTART;TZID=America/New_York:20180718T1... | 133 | false | python-wink/python-wink | _parse_ical_string | 34,318 | |
LDU_FT/adfinis-sygroup/freeze/object_to_items | LDU_FT | [
"<BEGIN>\n## `freeze`",
"Freeze tries to convert any data-structure in a hierarchy of tuples.\n Tuples are comparable/sortable/hashable, you can use this with\n with recursive_sort(). freeze has no recursion detection.",
" :param data_structure: The structure to convert.",
" >>> recursive_sort(f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_to_items API.
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 object_to_items API.
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... | Converts a object to a items list respecting also slots.
Use dict(object_to_items(obj)) to get a dictionary. | "Converts a object to a items list respecting also slots.\n\n Use dict(object_to_items(obj)) to get a dictionary." | 53 | false | adfinis-sygroup/freeze | object_to_items | 34,319 | |
LDU_FT/ergoithz/browsepy/which | LDU_FT | [
"<BEGIN>\n## `defaultsnamedtuple`",
"Generate namedtuple with default values.",
" :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the which API.
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 which API.
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... | Get command absolute path.
:param name: name of executable command
:type name: str
:param env_path: OS environment executable paths, defaults to autodetected
:type env_path: list of str
:param is_executable_fnc: callable will be used to detect if path is
executable, de... | "Get command absolute path.\n\n :param name: name of executable command\n :type name: str\n :param env_path: OS environment executable paths, defaults to autodetected\n :type env_path: list of str\n :param is_executable_fnc: callable will be used to detect if path is\n execut... | 207 | false | ergoithz/browsepy | which | 34,320 | |
LDU_FT/joeyespo/gitpress/write_config_file | LDU_FT | [
"<BEGIN>\n## `remove_directory`",
"Deletes a directory and its contents.\n Returns a list of errors in form (function, path, excinfo).\n<END>",
"<BEGIN>\n## `copy_files`",
"Copies a list of files to the specified directory.\n If source_directory is provided, it will be prepended to each source file.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_config_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_config_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Writes the specified configuration to the specified file. | "Writes the specified configuration to the specified file." | 36 | false | joeyespo/gitpress | write_config_file | 34,321 | |
LDU_FT/pysal/mapclassify/quantile | LDU_FT | [
"<BEGIN>\n## `quantile`",
"Calculates the quantiles for an array",
" Parameters\n ----------\n y : array\n (n,1), values to classify\n k : int\n number of quantiles",
" Returns\n -------\n q : array\n (n,1), quantile values",
" Examples\n -----... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quantile API.
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 quantile API.
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... | Calculates the quantiles for an array
Parameters
----------
y : array
(n,1), values to classify
k : int
number of quantiles
Returns
-------
q : array
(n,1), quantile values
Examples
--------
>>> import numpy as np
>>> import mapclass... | "Calculates the quantiles for an array\n\n Parameters\n ----------\n y : array\n (n,1), values to classify\n k : int\n number of quantiles\n\n Returns\n -------\n q : array\n (n,1), quantile values\n\n Examples\n --------\n >>> import numpy as np\n >... | 87 | false | pysal/mapclassify | quantile | 34,322 | |
LDU_FT/pip-services3-python/pip-services3-components-python/dump | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures component by passing configuration parameters.",
" :param config: configuration parameters to be set.\n<END>",
"<BEGIN>\n## `can_create`",
"Checks if this factory is able to create component by given locator.",
" This method searches for all registered ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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... | Dumps (saves) the current values of counters. | "Dumps (saves) the current values of counters." | 272 | false | pip-services3-python/pip-services3-components-python | dump | 34,323 | |
LDU_FT/django-fluent/django-fluent-dashboard/init_with_context | LDU_FT | [
"<BEGIN>\n## `init_with_context`",
"Find the current URL based on the context.\n It uses :func:`get_edited_object` to find the model,\n and calls ``get_absolute_url()`` to get the frontend URL.\n<END>",
"<BEGIN>\n## `get_edited_object`",
"Return the object which is currently being edited.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_with_context API.
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 init_with_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Find the current URL based on the context.
It uses :func:`get_edited_object` to find the model,
and calls ``get_absolute_url()`` to get the frontend URL. | "Find the current URL based on the context.\n It uses :func:`get_edited_object` to find the model,\n and calls ``get_absolute_url()`` to get the frontend URL." | 28 | false | django-fluent/django-fluent-dashboard | init_with_context | 34,324 | |
LDU_FT/AnalogJ/lexicon/_authenticate | LDU_FT | [
"<BEGIN>\n## `_authenticate`",
"Authenticate with netcup server. Must be called first.\n<END>",
"<BEGIN>\n## `_create_record`",
"Create record. If it already exists, do nothing.\n<END>",
"<BEGIN>\n## `_list_records`",
"List all records. Return an empty list if no records found.\n ``rtype``, ``name`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _authenticate API.
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 _authenticate API.
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... | run any request against the API just to make sure the credentials
are valid
:return bool: success status
:raises Exception: on error | "run any request against the API just to make sure the credentials\n are valid\n\n :return bool: success status\n :raises Exception: on error" | 218 | false | AnalogJ/lexicon | _authenticate | 34,325 | |
LDU_FT/mschwager/cohesion/recursively_get_files_from_directory | LDU_FT | [
"<BEGIN>\n## `is_class_method_bound`",
"Return whether a class method is bound to the class\n<END>",
"<BEGIN>\n## `get_class_methods`",
"Return methods associated with a given class\n<END>",
"<BEGIN>\n## `get_class_variables`",
"Return class variables associated with a given class\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recursively_get_files_from_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recursively_get_files_from_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Return all filenames under recursively found in a directory | "Return all filenames under recursively found in a directory" | 12 | false | mschwager/cohesion | recursively_get_files_from_directory | 34,326 | |
LDU_FT/square/pylink/features | LDU_FT | [
"<BEGIN>\n## `main`",
"Prints the core's information.",
" Args:\n jlink_serial (str): the J-Link serial number\n device (str): the target CPU",
" Returns:\n Always returns ``0``.",
" Raises:\n JLinkException: on error\n<END>",
"<BEGIN>\n## `acquire`",
"Attempts to acquire a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the features API.
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 features API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns a list of the J-Link embedded features.
Args:
self (JLink): the ``JLink`` instance
Returns:
A list of strings, each a feature. Example:
``[ 'RDI', 'FlashBP', 'FlashDL', 'JFlash', 'GDB' ]`` | "Returns a list of the J-Link embedded features.\n\n Args:\n self (JLink): the ``JLink`` instance\n\n Returns:\n A list of strings, each a feature. Example:\n ``[ 'RDI', 'FlashBP', 'FlashDL', 'JFlash', 'GDB' ]``" | 949 | false | square/pylink | features | 34,327 | |
LDU_FT/googleapis/google-cloud-python/from_http_status | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_http_status API.
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 from_http_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create a :class:`GoogleAPICallError` from an HTTP status code.
Args:
status_code (int): The HTTP status code.
message (str): The exception message.
kwargs: Additional arguments passed to the :class:`GoogleAPICallError`
constructor.
Returns:
GoogleAPICallError: An in... | "Create a :class:`GoogleAPICallError` from an HTTP status code.\n\n Args:\n status_code (int): The HTTP status code.\n message (str): The exception message.\n kwargs: Additional arguments passed to the :class:`GoogleAPICallError`\n constructor.\n\n Returns:\n GoogleAPICallEr... | 7,029 | true | googleapis/google-cloud-python | from_http_status | 34,328 | |
LDU_FT/CS207-Final-Project-Group-10/cs207-FinalProject/accel_ES | LDU_FT | [
"<BEGIN>\n## `configuration_ES`",
"Get the positions and velocities of the earth and sun from date t0 to t1.\n Returned as a tuple q, v\n q: Nx3 array of positions (x, y, z) in the J2000.0 coordinate frame.\n<END>",
"<BEGIN>\n## `plot_ES`",
"Plot the earth-sun orbits.\n q is a Tx6 array. T indexes t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accel_ES API.
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 accel_ES API.
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... | Compute the gravitational accelerations in the earth-sun system.
q in row vector of 6 elements: sun (x, y, z), earth (x, y, z) | "Compute the gravitational accelerations in the earth-sun system.\n q in row vector of 6 elements: sun (x, y, z), earth (x, y, z)" | 92 | false | CS207-Final-Project-Group-10/cs207-FinalProject | accel_ES | 34,329 | |
LDU_FT/anchore/anchore/createpath | LDU_FT | [
"<BEGIN>\n## `get_current_user_info`",
"Return the metadata about the current user as supplied by the anchore.io service. Includes permissions and tier access.",
" :return: Dict of user metadata\n<END>",
"<BEGIN>\n## `sync`",
"Sync (download) latest policies from the Anchore.io service.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createpath API.
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 createpath API.
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... | Create directories in the indicated path.
:param path:
:param mode:
:param exists_ok:
:return: | "Create directories in the indicated path.\n :param path:\n :param mode:\n :param exists_ok:\n :return:" | 151 | false | anchore/anchore | createpath | 34,330 | |
LDU_FT/obulpathi/cdn-fastly-python/get_vcl | LDU_FT | [
"<BEGIN>\n## `list_backends`",
"List all backends for a particular service and version.\n<END>",
"<BEGIN>\n## `create_backend`",
"Create a backend for a particular service and version.\n<END>",
"<BEGIN>\n## `get_backend`",
"Get the backend for a particular service and version.\n<END>",
"<BEGIN>\n## `upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vcl API.
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_vcl API.
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... | Get the uploaded VCL for a particular service and version. | "Get the uploaded VCL for a particular service and version." | 116 | false | obulpathi/cdn-fastly-python | get_vcl | 34,331 | |
LDU_FT/unfoldingWord-dev/python-gogs-client/delete_user | LDU_FT | [
"<BEGIN>\n## `json_get`",
"Retrieves the key from a parsed_json dictionary, or raises an exception if the\n key is not present\n<END>",
"<BEGIN>\n## `append_url`",
"Append path to base_url in a sensible way.\n<END>",
"<BEGIN>\n## `authenticated_user`",
"Returns the user authenticated by ``auth``",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_user API.
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 delete_user API.
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... | Deletes the user with username ``username``. Should only be called if the
to-be-deleted user has no repositories.
:param auth.Authentication auth: authentication object, must be admin-level
:param str username: username of user to delete | "Deletes the user with username ``username``. Should only be called if the\n to-be-deleted user has no repositories.\n\n :param auth.Authentication auth: authentication object, must be admin-level\n :param str username: username of user to delete" | 123 | false | unfoldingWord-dev/python-gogs-client | delete_user | 34,332 | |
LDU_FT/lambdalisue/notify/get_user_config_filename | LDU_FT | [
"<BEGIN>\n## `create_message`",
"Create message object for sending email",
" Parameters\n ----------\n from_addr : string\n An email address used for 'From' attribute\n to_addr : string\n An email address used for 'To' attribute\n subject : string\n An email subject string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_config_filename 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 get_user_config_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get user config filename.
It will return operating system dependent config filename.
Parameters
----------
appname : string
An application name used for filename
Returns
-------
string
A filename of user configuration. | "Get user config filename.\n\n It will return operating system dependent config filename.\n\n Parameters\n ----------\n appname : string\n An application name used for filename\n\n Returns\n -------\n string\n A filename of user configuration." | 40 | false | lambdalisue/notify | get_user_config_filename | 34,333 | |
LDU_FT/cdgriffith/Reusables/roman_to_int | LDU_FT | [
"<BEGIN>\n## `datetime_format`",
"Replaces format style phrases (listed in the dt_exps dictionary)\n with this datetime instance's information.",
" .. code :: python",
" reusables.datetime_format(\"Hey, it's {month-full} already!\")\n \"Hey, it's March already!\"",
" :param desired_fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roman_to_int API.
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 roman_to_int API.
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... | Converts a string of roman numbers into an integer.
.. code: python
reusables.roman_to_int("XXXVI")
# 36
:param roman_string: XVI or similar
:return: parsed integer | "Converts a string of roman numbers into an integer.\n\n .. code: python\n\n reusables.roman_to_int(\"XXXVI\")\n # 36\n\n\n :param roman_string: XVI or similar\n :return: parsed integer" | 320 | false | cdgriffith/Reusables | roman_to_int | 34,334 | |
LDU_FT/MostAwesomeDude/gentleman/GetGroups | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetGroups API.
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 GetGroups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Gets all node groups in the cluster.
@type bulk: bool
@param bulk: whether to return all information about the groups
@rtype: list of dict or str
@return: if bulk is true, a list of dictionaries with info about all node
groups in the cluster, else a list of names of those node groups | "Gets all node groups in the cluster.\n\n @type bulk: bool\n @param bulk: whether to return all information about the groups\n\n @rtype: list of dict or str\n @return: if bulk is true, a list of dictionaries with info about all node\n groups in the cluster, else a list of names of those node grou... | 173 | false | MostAwesomeDude/gentleman | GetGroups | 34,335 | |
LDU_FT/roboogle/gtkmvc3/setup_content | LDU_FT | [
"<BEGIN>\n## `__create_log_props`",
"Creates all the logical property.",
" The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.",
" This method resolves also wildcards in names, and perform... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_content API.
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 setup_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates the radio buttons for counter selection, and sets
up the progress bar.
@param names is an iterable of strings for the names of counters.
@param max_value is the maximum value used to set the progress bar.
This method is called by controllers, when connected model is
... | "Creates the radio buttons for counter selection, and sets\n up the progress bar.\n \n @param names is an iterable of strings for the names of counters.\n @param max_value is the maximum value used to set the progress bar.\n\n This method is called by controllers, when connected model... | 300 | false | roboogle/gtkmvc3 | setup_content | 34,336 | |
LDU_FT/dropbox/pyannotate/type_consumer | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Deserialize a JSON file containing runtime collected types.",
" The input JSON is expected to to have a list of RawEntry items.\n<END>",
"<BEGIN>\n## `tokenize`",
"Translate a type comment into a list of tokens.\n<END>",
"<BEGIN>\n## `generate_annotations_json_string`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type_consumer API.
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 type_consumer API.
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... | Infinite loop of the type consumer thread.
It gets types to process from the task query. | "Infinite loop of the type consumer thread.\n It gets types to process from the task query." | 93 | false | dropbox/pyannotate | type_consumer | 34,337 | |
LDU_FT/EelcoHoogendoorn/Numpy_arraysetops_EP/min | LDU_FT | [
"<BEGIN>\n## `group_by`",
"construct a grouping object on the given keys, optionally performing the given reduction on the given values",
" Parameters\n ----------\n keys : indexable object\n keys to group by\n values : array_like, optional\n sequence of values, of the same length as k... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the min API.
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 min API.
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 the minimum within each group
Parameters
----------
values : array_like, [keys, ...]
values to take minimum of per group
axis : int, optional
alternative reduction axis for values
Returns
-------
unique: ndarray, [groups]
... | "return the minimum within each group\n\n Parameters\n ----------\n values : array_like, [keys, ...]\n values to take minimum of per group\n axis : int, optional\n alternative reduction axis for values\n\n Returns\n -------\n unique: ndarray, [group... | 198 | false | EelcoHoogendoorn/Numpy_arraysetops_EP | min | 34,338 | |
LDU_FT/mretegan/crispy/data | LDU_FT | [
"<BEGIN>\n## `loadFromDisk`",
"Read the spectra from the files generated by Quanty and store them\n as a list of spectum objects.\n<END>",
"<BEGIN>\n## `populateWidget`",
"Populate the widget using data stored in the state\n object. The order in which the individual widgets are populated\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Return role specific data for the item referred by
index.column(). | "Return role specific data for the item referred by\n index.column()." | 38 | false | mretegan/crispy | data | 34,339 | |
LDU_FT/gpennington/PyMarvel/previous | LDU_FT | [
"<BEGIN>\n## `get_comics`",
"Returns a full ComicDataWrapper object for this creator.",
" /creators/{creatorId}/comics",
" :returns: ComicDataWrapper -- A new request to API. Contains full results set.\n<END>",
"<BEGIN>\n## `get_events`",
"Returns a full EventDataWrapper object for this cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the previous API.
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 previous API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns new CharacterDataWrapper
TODO: Don't lower offset below 0 | "Returns new CharacterDataWrapper\n TODO: Don't lower offset below 0" | 109 | false | gpennington/PyMarvel | previous | 34,340 | |
LDU_FT/fudge-py/fudge/fmt_dict_vals | LDU_FT | [
"<BEGIN>\n## `fmt_val`",
"Format a value for inclusion in an \n informative text string.\n<END>",
"<BEGIN>\n## `fmt_dict_vals`",
"Returns list of key=val pairs formatted\n for inclusion in an informative text string.\n<END>",
"<BEGIN>\n## `with_patched_object`",
"Decorator that patches an object bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fmt_dict_vals API.
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 fmt_dict_vals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns list of key=val pairs formatted
for inclusion in an informative text string. | "Returns list of key=val pairs formatted\n for inclusion in an informative text string." | 155 | false | fudge-py/fudge | fmt_dict_vals | 34,341 | |
LDU_FT/ralphbean/taskw/set | LDU_FT | [
"<BEGIN>\n## `_stub_task`",
"Given a description, stub out a task dict.\n<END>",
"<BEGIN>\n## `_extract_annotations_from_task`",
"Removes annotations from a task and returns a list of annotations\n<END>",
"<BEGIN>\n## `task_add`",
"Add a new task.",
" Takes any of the keywords allowed by taskwarr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
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 set API.
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... | Set a key's value regardless of whether a change is seen. | "Set a key's value regardless of whether a change is seen." | 62 | false | ralphbean/taskw | set | 34,342 | |
LDU_FT/williamgilpin/pypdb/get_all | LDU_FT | [
"<BEGIN>\n## `make_query`",
"Repackage strings into a search dictionary",
" This function takes a list of search terms and specifications\n and repackages it as a dictionary object that can be used to conduct a search",
" Parameters\n ----------\n search_term : str",
" The specific ter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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... | Return a list of all PDB entries currently in the RCSB Protein Data Bank
Returns
-------
out : list of str
A list of all of the PDB IDs currently in the RCSB PDB
Examples
--------
>>> print(get_all()[:10])
['100D', '101D', '101M', '102D', '102L', '102M', '103D', '103L', '103M', '... | "Return a list of all PDB entries currently in the RCSB Protein Data Bank\n\n Returns\n -------\n\n out : list of str\n A list of all of the PDB IDs currently in the RCSB PDB\n\n Examples\n --------\n\n >>> print(get_all()[:10])\n ['100D', '101D', '101M', '102D', '102L', '102M', '103D', '103... | 243 | false | williamgilpin/pypdb | get_all | 34,343 | |
LDU_FT/jakebasile/reap/create_person | LDU_FT | [
"<BEGIN>\n## `create_person`",
"Creates a Person with the given information.\n<END>",
"<BEGIN>\n## `create_project`",
"Creates a Project with the given information.\n<END>",
"<BEGIN>\n## `create_client`",
"Creates a Client with the given information.\n<END>",
"<BEGIN>\n## `entries`",
"Retrieves entrie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_person API.
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 create_person API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates a Person with the given information. | "Creates a Person with the given information." | 14 | false | jakebasile/reap | create_person | 34,344 | |
LDU_FT/honzajavorek/redis-collections/get_or_set_score | LDU_FT | [
"<BEGIN>\n## `getmany`",
"Return a list of values corresponding to the keys in the iterable of\n *keys*.\n If a key is not present in the collection, its corresponding value will\n be :obj:`None`.",
" .. note::\n This method is not implemented by standard Python dictionary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_set_score API.
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_or_set_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | If *member* is in the collection, return its value. If not, store it
with a score of *default* and return *default*. *default* defaults to
0. | "If *member* is in the collection, return its value. If not, store it\n with a score of *default* and return *default*. *default* defaults to\n 0." | 147 | false | honzajavorek/redis-collections | get_or_set_score | 34,345 | |
LDU_FT/common-workflow-language/cwltool/docker_windows_reverse_path_adjust | LDU_FT | [
"<BEGIN>\n## `add_volumes`",
"Append volume mappings to the runtime option list.\n<END>",
"<BEGIN>\n## `docker_monitor`",
"Record memory usage of the running Docker container.\n<END>",
"<BEGIN>\n## `adjustFiles`",
"Apply a mapping function to each File path in the object `rec`.\n<END>",
"<BEGIN>\n## `ch... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the docker_windows_reverse_path_adjust API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the docker_windows_reverse_path_adjust API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | r"""
Change docker path (only on windows os) appropriately back to Window path/
Example: /C/Users/foo to C:\Users\foo | "r\"\"\"\n Change docker path (only on windows os) appropriately back to Window path/\n Example: /C/Users/foo to C:\\Users\\foo" | 161 | false | common-workflow-language/cwltool | docker_windows_reverse_path_adjust | 34,346 | |
LDU_FT/alexhayes/django-toolkit/get_form_kwargs | 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 get_form_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns the keyword arguments for instantiating the form. | "Returns the keyword arguments for instantiating the form." | 155 | false | alexhayes/django-toolkit | get_form_kwargs | 34,347 | |
LDU_FT/dh1tw/pyhamtools/_check_zone_exception_for_date | LDU_FT | [
"<BEGIN>\n## `get_homecall`",
"Strips off country prefixes (HC2/DH1TW) and activity suffixes (DH1TW/P).",
" Args:\n callsign (str): Amateur Radio callsign",
" Returns:\n str: callsign without country/activity pre/suffixes",
" Raises:\n ValueError: No cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_zone_exception_for_date 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 _check_zone_exception_for_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Checks the index and data if a cq-zone exception exists for the callsign
When a zone exception is found, the zone is returned. If no exception is found
a KeyError is raised | "Checks the index and data if a cq-zone exception exists for the callsign\n When a zone exception is found, the zone is returned. If no exception is found\n a KeyError is raised" | 238 | false | dh1tw/pyhamtools | _check_zone_exception_for_date | 34,348 | |
LDU_FT/ratt-ru/PyMORESANE/save_fits | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_fits API.
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_fits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | This method simply saves the model components and the residual.
INPUTS:
data (no default) Data which is to be saved.
name (no default) File name for new .fits file. Will overwrite. | "This method simply saves the model components and the residual.\n\n INPUTS:\n data (no default) Data which is to be saved.\n name (no default) File name for new .fits file. Will overwrite." | 125 | false | ratt-ru/PyMORESANE | save_fits | 34,349 | |
LDU_FT/MagicStack/asyncpg/copy_records_to_table | LDU_FT | [
"<BEGIN>\n## `fetch`",
"r\"\"\"Return the next *n* rows as a list of :class:`Record` objects.",
" :param float timeout: Optional timeout value in seconds.",
" :return: A list of :class:`Record` instances.\n<END>",
"<BEGIN>\n## `fetchrow`",
"r\"\"\"Return the next row.",
" :param flo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_records_to_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_records_to_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.
... | Copy a list of records to the specified table using binary COPY.
:param str table_name:
The name of the table to copy data to.
:param records:
An iterable returning row tuples to copy into the table.
:param list columns:
An optional list of column names to ... | "Copy a list of records to the specified table using binary COPY.\n\n :param str table_name:\n The name of the table to copy data to.\n\n :param records:\n An iterable returning row tuples to copy into the table.\n\n :param list columns:\n An optional list of column... | 284 | false | MagicStack/asyncpg | copy_records_to_table | 34,350 | |
LDU_FT/GeorgeArgyros/sfalearn/_run_in_hypothesis | LDU_FT | [
"<BEGIN>\n## `_add_training_data`",
"Training_data is a dictionary from strings to lists.\n - Each string (key) is an access string\n - Each list (value) is a list of tuples (target_state, [symbols directed to that\n state]). These represent that a transition exists from the state used as key... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_in_hypothesis 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 _run_in_hypothesis 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... | Run the string in the hypothesis automaton for index steps and then
return the access string for the state reached concatanated with the
rest of the string w.
Args:
mma (DFA): The hypothesis automaton
w_string (str): The examined string to be consumed
index (i... | "Run the string in the hypothesis automaton for index steps and then\n return the access string for the state reached concatanated with the\n rest of the string w.\n Args:\n mma (DFA): The hypothesis automaton\n w_string (str): The examined string to be consumed\n i... | 60 | false | GeorgeArgyros/sfalearn | _run_in_hypothesis | 34,351 | |
LDU_FT/Diaoul/subliminal/download | LDU_FT | [
"<BEGIN>\n## `refine`",
"Refine a video by searching `OMDb API <http://omdbapi.com/>`_.",
" Several :class:`~subliminal.video.Episode` attributes can be found:",
" * :attr:`~subliminal.video.Episode.series`\n * :attr:`~subliminal.video.Episode.year`\n * :attr:`~subliminal.video.Episode.serie... | 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 best subtitles.
PATH can be an directory containing videos, a video file path or a video file name. It can be used multiple times.
If an existing subtitle is detected (external or embedded) in the correct language, the download is skipped for
the associated video. | "Download best subtitles.\n\n PATH can be an directory containing videos, a video file path or a video file name. It can be used multiple times.\n\n If an existing subtitle is detected (external or embedded) in the correct language, the download is skipped for\n the associated video." | 171 | false | Diaoul/subliminal | download | 34,352 | |
LDU_FT/sfstpala/pcr/make_rsa_keys | LDU_FT | [
"<BEGIN>\n## `check_candidate`",
"Part of the Miller-Rabin primality test in is_prime().\n<END>",
"<BEGIN>\n## `is_prime`",
"Test whether n is prime probabilisticly.",
" This uses the Miller-Rabin primality test. If n is composite,\n then this test will declare it to be probably prime with a\n prob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_rsa_keys API.
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 make_rsa_keys API.
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... | Create RSA key pair.
Returns n, e, d, where (n, e) is the public
key and (n, e, d) is the private key (and k is
the number of rounds used in the Miller-Rabin
primality test). | "Create RSA key pair.\n\n Returns n, e, d, where (n, e) is the public\n key and (n, e, d) is the private key (and k is\n the number of rounds used in the Miller-Rabin\n primality test)." | 27 | false | sfstpala/pcr | make_rsa_keys | 34,353 | |
LDU_FT/KushalP/serfclient-py/call | LDU_FT | [
"<BEGIN>\n## `call`",
"Sends the provided command to Serf for evaluation, with\n any parameters as the message body.\n<END>",
"<BEGIN>\n## `handshake`",
"Sets up the connection with the Serf agent and does the\n initial handshake.\n<END>",
"<BEGIN>\n## `auth`",
"Performs the initial authenti... | 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... | Sends the provided command to Serf for evaluation, with
any parameters as the message body. | "Sends the provided command to Serf for evaluation, with\n any parameters as the message body." | 18 | false | KushalP/serfclient-py | call | 34,354 | |
LDU_FT/ynop/audiomate/read_json_file | LDU_FT | [
"<BEGIN>\n## `load`",
"Load and return the corpus from the given path.",
" Args:\n path (str): Path to the data set to load.",
" Returns:\n Corpus: The loaded corpus",
" Raises:\n IOError: When the data set is invalid, for example because required files ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_json_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_json_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Reads and return the data from the json file at the given path.
Parameters:
path (str): Path to read
Returns:
dict,list: The read json as dict/list. | "Reads and return the data from the json file at the given path.\n\n Parameters:\n path (str): Path to read\n\n Returns:\n dict,list: The read json as dict/list." | 619 | false | ynop/audiomate | read_json_file | 34,355 | |
LDU_FT/tariqdaouda/pyGeno/_kmp_search_first | LDU_FT | [
"<BEGIN>\n## `getGenomeList`",
"Return the names of all imported genomes\n<END>",
"<BEGIN>\n## `removeDuplicates`",
"removes duplicated lines from a 'inFileName' CSV file, the results are witten in 'outFileName\n<END>",
"<BEGIN>\n## `catCSVs`",
"Concatenates all csv in 'folder' and wites the results in 'o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _kmp_search_first API.
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 _kmp_search_first API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | use KMP algorithm to search the first occurrence in the input_sequence of the pattern. both arguments are integer arrays. return the position of the occurence if found; otherwise, -1. | "use KMP algorithm to search the first occurrence in the input_sequence of the pattern. both arguments are integer arrays. return the position of the occurence if found; otherwise, -1." | 167 | false | tariqdaouda/pyGeno | _kmp_search_first | 34,356 | |
LDU_FT/brandon-rhodes/python-adventure/add_synonym | LDU_FT | [
"<BEGIN>\n## `add_synonym`",
"Every word in a group of synonyms shares the same list.\n<END>",
"<BEGIN>\n## `play`",
"Turn the Python prompt into an Adventure game.",
" With optional the `seed` argument the caller can supply an integer\n to start the Python random number generator at a known state.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_synonym API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_synonym API.
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... | Every word in a group of synonyms shares the same list. | "Every word in a group of synonyms shares the same list." | 17 | false | brandon-rhodes/python-adventure | add_synonym | 34,357 | |
LDU_FT/Falkonry/falkonry-python-client/downstream | LDU_FT | [
"<BEGIN>\n## `exception_handler`",
"Function that takes exception Object(<Byte>,<str>) as a parameter and returns the error message<str>\n<END>",
"<BEGIN>\n## `get`",
"To make a GET request to Falkonry API server\n :param url: string\n<END>",
"<BEGIN>\n## `post`",
"To make a POST request to Falkonr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downstream API.
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 downstream API.
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... | To make a GET request to Falkonry API server and return stream
:param url: string | "To make a GET request to Falkonry API server and return stream\n :param url: string" | 52 | false | Falkonry/falkonry-python-client | downstream | 34,358 | |
LDU_FT/avanwyk/cipy/update_particle | LDU_FT | [
"<BEGIN>\n## `dictionary_based_metrics`",
"Higher order function creating a result type and collection function from\n the given metrics.",
" Args:\n metrics (iterable): Sequence of callable metrics, each\n accepting the algorithm state as parameter and returning the\n measure... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_particle API.
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 update_particle API.
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... | Update function for a particle.
Calculates and updates the velocity and position of a particle for a
single iteration of the PSO algorithm. Social best particle is determined
by the state.params['topology'] function.
Args:
state: cipy.algorithms.pso.State: The state of the PSO algorithm.
... | "Update function for a particle.\n\n Calculates and updates the velocity and position of a particle for a\n single iteration of the PSO algorithm. Social best particle is determined\n by the state.params['topology'] function.\n\n Args:\n state: cipy.algorithms.pso.State: The state of the PSO algorith... | 54 | false | avanwyk/cipy | update_particle | 34,359 | |
LDU_FT/ttinoco/OPTALG/recover_dual_variables | LDU_FT | [
"<BEGIN>\n## `solve`",
"Solves optimization problem.",
" Parameters\n ----------\n problem : Object\n<END>",
"<BEGIN>\n## `factorize`",
"Factorizes A.",
" Parameters\n ----------\n A : matrix\n For symmetric systems, should contain only lower diagonal pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recover_dual_variables 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 recover_dual_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Recovers dual variables for original problem.
Parameters
----------
lam : ndarray
nu : ndarray
mu : ndarray
pi : ndarray | "Recovers dual variables for original problem.\n\n Parameters\n ----------\n lam : ndarray\n nu : ndarray\n mu : ndarray\n pi : ndarray" | 86 | false | ttinoco/OPTALG | recover_dual_variables | 34,360 | |
LDU_FT/ska-sa/hypercube/create_local_arrays | LDU_FT | [
"<BEGIN>\n## `bytes_required`",
"Returns\n -------\n int\n Estimated number of bytes required by arrays registered\n on the cube, taking their extents into account.\n<END>",
"<BEGIN>\n## `register_dimension`",
"Registers a dimension on this cube.",
" .. code-block:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_local_arrays 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 create_local_arrays 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... | Function that creates arrays, given the definitions in
the reified_arrays dictionary and the array_factory
keyword argument.
Arguments
---------
reified_arrays : dictionary
Dictionary keyed on array name and array definitions.
Can be obtained via cube.arrays(reify=True)
... | "Function that creates arrays, given the definitions in\n the reified_arrays dictionary and the array_factory\n keyword argument.\n\n Arguments\n ---------\n reified_arrays : dictionary\n Dictionary keyed on array name and array definitions.\n Can be obtained via cube.arrays(rei... | 163 | false | ska-sa/hypercube | create_local_arrays | 34,361 | |
LDU_FT/timedata-org/loady/sanitize | LDU_FT | [
"<BEGIN>\n## `pull`",
"Pull the git repo from its origin. Can only be called after load()\n has been called.\n<END>",
"<BEGIN>\n## `matches`",
"Does the target match the whitelist entry?\n<END>",
"<BEGIN>\n## `check_entry`",
"Throws an exception if the entry isn't on the whitelist.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize API.
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 sanitize API.
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... | Strips all undesirable characters out of potential file paths. | "Strips all undesirable characters out of potential file paths." | 33 | false | timedata-org/loady | sanitize | 34,362 | |
LDU_FT/Opentrons/opentrons/dump_br_version | LDU_FT | [
"<BEGIN>\n## `get_attached_instruments`",
"Find the instruments attached to our mounts.",
" :param expected: A dict that may contain a mapping from mount to\n strings that should prefix instrument model names.\n When instruments are scanned, they are matche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_br_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 dump_br_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... | Dump an enhanced version json including
- The version from package.json
- The current branch (if it can be found)
- The current sha | "Dump an enhanced version json including\n - The version from package.json\n - The current branch (if it can be found)\n - The current sha" | 1,359 | true | Opentrons/opentrons | dump_br_version | 34,363 | |
LDU_FT/ericsuh/dirichlet/_piecewise | LDU_FT | [
"<BEGIN>\n## `meanprecision`",
"Mean and precision of Dirichlet distribution.",
" Parameters\n ----------\n a : array\n Parameters of Dirichlet distribution.",
" Returns\n -------\n mean : array\n Numbers [0,1] of the means of the Dirichlet distribution.\n precision : float\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _piecewise API.
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 _piecewise API.
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... | Fixed version of numpy.piecewise for 0-d arrays | "Fixed version of numpy.piecewise for 0-d arrays" | 39 | false | ericsuh/dirichlet | _piecewise | 34,364 | |
LDU_FT/JamesPHoughton/pysd/parse_units | LDU_FT | [
"<BEGIN>\n## `parse`",
"context : <string> 'eqn', 'defn'\n If context is set to equation, lone identifiers will be parsed as calls to elements\n If context is set to definition, lone identifiers will be cleaned and returned.\n<END>",
"<BEGIN>\n## `read_tabular`",
"Reads a vensim ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extra... | Extract and parse the units
Extract the bounds over which the expression is assumed to apply.
Parameters
----------
units_str
Returns
-------
Examples
--------
>>> parse_units('Widgets/Month [-10,10,1]')
('Widgets/Month', (-10,10,1))
>>> parse_units('Month [0,?]')
('M... | "Extract and parse the units\n Extract the bounds over which the expression is assumed to apply.\n\n Parameters\n ----------\n units_str\n\n Returns\n -------\n\n Examples\n --------\n >>> parse_units('Widgets/Month [-10,10,1]')\n ('Widgets/Month', (-10,10,1))\n\n >>> parse_units('Month... | 268 | false | JamesPHoughton/pysd | parse_units | 34,365 | |
LDU_FT/bububa/pyTOP/_invalidate_entry | LDU_FT | [
"<BEGIN>\n## `ordersku_update`",
"taobao.trade.ordersku.update 更新交易订单的销售属性",
" 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>",
"<BEGIN>\n## `get`",
"taobao.topats.result.get 获取异步任务结果",
" 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ",
" - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _invalidate_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _invalidate_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | If exists: Invalidate old entry and return it. | "If exists: Invalidate old entry and return it." | 619 | false | bububa/pyTOP | _invalidate_entry | 34,366 | |
LDU_FT/BerkeleyAutomation/visualization/show | LDU_FT | [
"<BEGIN>\n## `figure`",
"Create a blank figure.",
" Parameters\n ----------\n bgcolor : (3,) float\n Color of the background with values in [0,1].\n size : (2,) int\n Width and height of the figure in pixels.\n<END>",
"<BEGIN>\n## `show`",
"Display the current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
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 show API.
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... | Display the current figure and enable interaction.
Parameters
----------
animate : bool
Whether or not to animate the scene.
axis : (3,) float or None
If present, the animation will rotate about the given axis in world coordinates.
Otherwise, the anim... | "Display the current figure and enable interaction.\n\n Parameters\n ----------\n animate : bool\n Whether or not to animate the scene.\n axis : (3,) float or None\n If present, the animation will rotate about the given axis in world coordinates.\n Otherwise,... | 54 | false | BerkeleyAutomation/visualization | show | 34,367 | |
LDU_FT/williamjameshandley/fgivenx/compute_pmf | LDU_FT | [
"<BEGIN>\n## `plot`",
"r\"\"\"\n Plot iso-probability mass function, converted to sigmas.",
" Parameters\n ----------\n x, y, z : numpy arrays\n Same as arguments to :func:`matplotlib.pyplot.contour`",
" ax: axes object, optional\n :class:`matplotlib.axes._subplots.AxesSubplot` to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_pmf API.
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 compute_pmf API.
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... | r"""
Compute the probability mass function given `x` at a range of `x` values
for :math:`y = f(x|\theta)`
:math:`P(y|x) = \int P(y=f(x;\theta)|x,\theta) P(\theta) d\theta`
:math:`\mathrm{pmf}(y|x) = \int_{P(y'|x) < P(y|x)} P(y'|x) dy'`
Additionally, if a list of log-evidences are passed, along wi... | "r\"\"\"\n Compute the probability mass function given `x` at a range of `x` values\n for :math:`y = f(x|\\theta)`\n\n :math:`P(y|x) = \\int P(y=f(x;\\theta)|x,\\theta) P(\\theta) d\\theta`\n\n :math:`\\mathrm{pmf}(y|x) = \\int_{P(y'|x) < P(y|x)} P(y'|x) dy'`\n\n Additionally, if a list of log-evidences ... | 191 | false | williamjameshandley/fgivenx | compute_pmf | 34,368 | |
LDU_FT/hellosign/hellosign-python-sdk/_check_warnings | LDU_FT | [
"<BEGIN>\n## `create_account`",
"Create a new account.",
" If the account is created via an app, then Account.oauth will contain the\n OAuth data that can be used to execute actions on behalf of the newly created account.",
" Args:\n email_address (str): Email addres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_warnings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_warnings API.
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... | Extract warnings from the response to make them accessible
Args:
json_response (dict): JSON response | "Extract warnings from the response to make them accessible\n\n Args:\n json_response (dict): JSON response" | 416 | false | hellosign/hellosign-python-sdk | _check_warnings | 34,369 | |
LDU_FT/Othernet-Project/bottle-fdsend/range_iter | LDU_FT | [
"<BEGIN>\n## `send_file`",
"Send a file represented by file object",
" This function constcuts a HTTPResponse object that uses a file descriptor\n as response body. The file descriptor is suppled as ``fd`` argument and it\n must have a ``read()`` method. ``ValueError`` is raised when this is not\n t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range_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 extrac... | Iterator generator that iterates over chunks in specified range
This generator is meant to be used when returning file descriptor as a
response to Range request (byte serving). It limits the reads to the region
specified by ``offset`` (in bytes form start of the file) and ``limit``
(number of bytes to ... | "Iterator generator that iterates over chunks in specified range\n\n This generator is meant to be used when returning file descriptor as a\n response to Range request (byte serving). It limits the reads to the region\n specified by ``offset`` (in bytes form start of the file) and ``limit``\n (number of byt... | 40 | false | Othernet-Project/bottle-fdsend | range_iter | 34,370 | |
LDU_FT/HDI-Project/MLPrimitives/rolling_window_sequences | LDU_FT | [
"<BEGIN>\n## `resample`",
"pd.DataFrame.resample adapter.",
" Call the `df.resample` method on the given time_index\n and afterwards call the indicated aggregation.",
" Optionally group the dataframe by the indicated columns before\n performing the resampling.",
" If groupby option is used, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rolling_window_sequences 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 rolling_window_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Function that takes in a pandas.DataFrame and a window_size then creates
output arrays that correspond to a timeseries sequence with window_size overlap.
The output arrays can be fed into a timeseries forecasting model.
Assumes the input is timeseries sorted.
Args:
... | "Function that takes in a pandas.DataFrame and a window_size then creates\n output arrays that correspond to a timeseries sequence with window_size overlap.\n The output arrays can be fed into a timeseries forecasting model.\n Assumes the input is timeseries sorted.\n Args:\n ... | 96 | false | HDI-Project/MLPrimitives | rolling_window_sequences | 34,371 | |
LDU_FT/shtalinberg/django-el-pagination/get_page_template | LDU_FT | [
"<BEGIN>\n## `paginate`",
"Paginate objects.",
" Usage:",
" .. code-block:: html+django",
" {% paginate entries %}",
" After this call, the *entries* variable in the template context is replaced\n by only the entries of the current page.",
" You can also keep your *entries* origina... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_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... | Return the template name used for this request.
Only called if *page_template* is not given as a kwarg of
*self.as_view*. | "Return the template name used for this request.\n\n Only called if *page_template* is not given as a kwarg of\n *self.as_view*." | 166 | false | shtalinberg/django-el-pagination | get_page_template | 34,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.