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/berkeley-cocosci/Wallace/sandbox | LDU_FT | [
"<BEGIN>\n## `submission_successful`",
"Run when a participant submits successfully.\n<END>",
"<BEGIN>\n## `summary`",
"Summarize the participants' status codes.\n<END>",
"<BEGIN>\n## `experiment_property`",
"Get a property of the experiment by name.\n<END>",
"<BEGIN>\n## `ad_address`",
"Get the addre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sandbox API.
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 sandbox API.
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... | Deploy app using Heroku to the MTurk Sandbox. | "Deploy app using Heroku to the MTurk Sandbox." | 118 | false | berkeley-cocosci/Wallace | sandbox | 36,673 | |
LDU_FT/johnwmillr/LyricsGenius/save_artists | LDU_FT | [
"<BEGIN>\n## `get_artist_songs`",
"Documents (songs) for the artist specified.\n<END>",
"<BEGIN>\n## `_scrape_song_lyrics_from_url`",
"Use BeautifulSoup to scrape song info off of a Genius song URL\n :param url: URL for the web page to scrape lyrics from\n<END>",
"<BEGIN>\n## `_clean_str`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_artists API.
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 save_artists API.
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... | Save lyrics from multiple Artist objects as JSON object
:param artists: List of Artist objects to save lyrics from
:param filename: Name of output file (json)
:param overwrite: Overwrites preexisting file if True | "Save lyrics from multiple Artist objects as JSON object\n :param artists: List of Artist objects to save lyrics from\n :param filename: Name of output file (json)\n :param overwrite: Overwrites preexisting file if True" | 25 | false | johnwmillr/LyricsGenius | save_artists | 36,674 | |
LDU_FT/hatemile/hatemile-for-python/_associate_data_cells_with_header_cells_of_row | LDU_FT | [
"<BEGIN>\n## `_get_shortcut_prefix`",
"Returns the shortcut prefix of browser.",
" :param user_agent: The user agent of browser.\n :type user_agent: str\n :param standart_prefix: The default prefix.\n :type standart_prefix: str\n :return: The shortcut prefix of browser.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _associate_data_cells_with_header_cells_of_row API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _associate_data_cells_with_header_cells_of_row API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> i... | Associate the data cell with header cell of row.
:param element: The table body or table footer.
:type element: hatemile.util.html.htmldomelement.HTMLDOMElement | "Associate the data cell with header cell of row.\n\n :param element: The table body or table footer.\n :type element: hatemile.util.html.htmldomelement.HTMLDOMElement" | 202 | false | hatemile/hatemile-for-python | _associate_data_cells_with_header_cells_of_row | 36,675 | |
LDU_FT/dfm/george/parameter_vector | LDU_FT | [
"<BEGIN>\n## `computed`",
"Has the processes been computed since the last update of the kernel?\n<END>",
"<BEGIN>\n## `parse_samples`",
"Parse a list of samples to make sure that it has the correct\n dimensions.",
" :param t: ``(nsamples,)`` or ``(nsamples, ndim)``\n The list of sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameter_vector API.
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 parameter_vector API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | An array of all parameters (including frozen parameters) | "An array of all parameters (including frozen parameters)" | 111 | false | dfm/george | parameter_vector | 36,676 | |
LDU_FT/chris1610/barnum-proj/create_nouns | LDU_FT | [
"<BEGIN>\n## `completed_number`",
"'prefix' is the start of the CC number as a string, any number of digits.\n 'length' is the length of the CC number to generate. Typically 13 or 16\n<END>",
"<BEGIN>\n## `create_nouns`",
"Return a string of random nouns up to max number\n<END>",
"<BEGIN>\n## `create_dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_nouns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_nouns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a string of random nouns up to max number | "Return a string of random nouns up to max number" | 16 | false | chris1610/barnum-proj | create_nouns | 36,677 | |
LDU_FT/frostming/marko/consume | LDU_FT | [
"<BEGIN>\n## `camel_to_snake_case`",
"Takes a camelCased string and converts to snake_case.\n<END>",
"<BEGIN>\n## `is_paired`",
"Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>",
"<BEGIN>\n## `match_prefix`",
"Check if the line starts with giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume API.
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 consume API.
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... | Consume the body of source. ``pos`` will move forward. | "Consume the body of source. ``pos`` will move forward." | 49 | false | frostming/marko | consume | 36,678 | |
LDU_FT/martinpitt/python-dbusmock/log | LDU_FT | [
"<BEGIN>\n## `AddAdapter`",
"Convenience method to add a Bluetooth adapter",
" You have to specify a device name which must be a valid part of an object\n path, e. g. \"hci0\", and an arbitrary system name (pretty hostname).",
" Returns the new object path.\n<END>",
"<BEGIN>\n## `AddDevice`",
"Co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
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 log API.
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... | Log a message, prefixed with a timestamp.
If a log file was specified in the constructor, it is written there,
otherwise it goes to stdout. | "Log a message, prefixed with a timestamp.\n\n If a log file was specified in the constructor, it is written there,\n otherwise it goes to stdout." | 188 | false | martinpitt/python-dbusmock | log | 36,679 | |
LDU_FT/inveniosoftware/invenio-pidrelations/update_redirect | LDU_FT | [
"<BEGIN>\n## `resolve_pid`",
"Retrieve the real PID given a fetched PID.",
" :param pid: fetched PID to resolve.\n<END>",
"<BEGIN>\n## `ordered`",
"Order the query result on the relations' indexes.\n<END>",
"<BEGIN>\n## `_resolved_pid`",
"Resolve self.pid if it is a fetched pid.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_redirect API.
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_redirect API.
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 the parent redirect to the current last child.
This method should be called on the parent PID node.
Use this method when the status of a PID changed (ex: draft changed
from RESERVED to REGISTERED) | "Update the parent redirect to the current last child.\n\n This method should be called on the parent PID node.\n\n Use this method when the status of a PID changed (ex: draft changed\n from RESERVED to REGISTERED)" | 53 | false | inveniosoftware/invenio-pidrelations | update_redirect | 36,680 | |
LDU_FT/kislyuk/aegea/iter_commit_activity | LDU_FT | [
"<BEGIN>\n## `update`",
"Update this authorization.",
" :param list scopes: (optional), replaces the authorization scopes with\n these\n :param list add_scopes: (optional), scopes to be added\n :param list rm_scopes: (optional), scopes to be removed\n :param str note: (opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_commit_activity 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 iter_commit_activity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Iterate over last year of commit activity by week.
See: http://developer.github.com/v3/repos/statistics/
:param int number: (optional), number of weeks to return. Default -1
will return all of the weeks.
:param str etag: (optional), ETag from a previous request to the same
... | "Iterate over last year of commit activity by week.\n\n See: http://developer.github.com/v3/repos/statistics/\n\n :param int number: (optional), number of weeks to return. Default -1\n will return all of the weeks.\n :param str etag: (optional), ETag from a previous request to the same\n... | 834 | false | kislyuk/aegea | iter_commit_activity | 36,681 | |
LDU_FT/stbraun/fuzzing/main | LDU_FT | [
"<BEGIN>\n## `step_impl03`",
"Check assertions.",
" :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl`",
"Check assertions.",
" :param max_modified: maximum expected number of modifications.\n :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl06`",
"Execute fuzzer.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Read configuration and execute test runs. | "Read configuration and execute test runs." | 79 | false | stbraun/fuzzing | main | 36,682 | |
LDU_FT/narwhaljames/restapi-logging-handler/emit | LDU_FT | [
"<BEGIN>\n## `serialize`",
"JSON serializer for objects not serializable by default json code\n<END>",
"<BEGIN>\n## `_getPayload`",
"The data that will be sent to the RESTful API\n<END>",
"<BEGIN>\n## `_prepPayload`",
"record: generated from logger module\n This preps the payload to be formatted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API.
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 emit API.
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... | Override emit() method in handler parent for sending log to RESTful
API | "Override emit() method in handler parent for sending log to RESTful\n API" | 13 | false | narwhaljames/restapi-logging-handler | emit | 36,683 | |
LDU_FT/astropy/astropy-helpers/generate_version_py | LDU_FT | [
"<BEGIN>\n## `get_dummy_distribution`",
"Returns a distutils Distribution object used to instrument the setup\n environment before calling the actual setup() function.\n<END>",
"<BEGIN>\n## `get_distutils_option`",
"Returns the value of the given distutils option.",
" Parameters\n ----------\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_version_py 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 generate_version_py 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... | Generate a version.py file in the package with version information, and
update developer version strings.
This function should normally be called without any arguments. In this case
the package name and version is read in from the ``setup.cfg`` file (from
the ``name`` or ``package_name`` entry and the ... | "Generate a version.py file in the package with version information, and\n update developer version strings.\n\n This function should normally be called without any arguments. In this case\n the package name and version is read in from the ``setup.cfg`` file (from\n the ``name`` or ``package_name`` entry an... | 135 | false | astropy/astropy-helpers | generate_version_py | 36,684 | |
LDU_FT/wrboyce/telegrambot/set_web_hook | LDU_FT | [
"<BEGIN>\n## `from_api`",
"Parses a payload from the API, guided by `_api_attrs`\n<END>",
"<BEGIN>\n## `api_method`",
"Returns the api method to `send` the current API Object type\n<END>",
"<BEGIN>\n## `api_payload`",
"Generates a payload ready for submission to the API, guided by `_api_payload`\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_web_hook API.
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 set_web_hook API.
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... | Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an
update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized
Update. In case of an unsuccessful request, we will give up after a reasonable amo... | "Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an\n update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized\n Update. In case of an unsuccessful request, we will give up after a reasonable ... | 34 | false | wrboyce/telegrambot | set_web_hook | 36,685 | |
LDU_FT/zeaphoo/budoc/methods | LDU_FT | [
"<BEGIN>\n## `import_module`",
"Imports a module. A single point of truth for importing modules to\n be documented by `pydoc`. In particular, it makes sure that the top\n module in `module_name` can be imported by using only the paths in\n `pydoc.import_path`.",
" If a module has already been import... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the methods API.
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 methods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns all documented methods as `pydoc.Function` objects in
the class, sorted alphabetically with `__init__` always coming
first.
Unfortunately, this also includes class methods. | "Returns all documented methods as `pydoc.Function` objects in\n the class, sorted alphabetically with `__init__` always coming\n first.\n\n Unfortunately, this also includes class methods." | 54 | false | zeaphoo/budoc | methods | 36,686 | |
LDU_FT/InspectorMustache/base16-builder-python/git_clone | LDU_FT | [
"<BEGIN>\n## `get_parent_dir`",
"Get the directory $level levels above $base_dir.\n<END>",
"<BEGIN>\n## `get_pystache_parsed`",
"Return a ParsedTemplate instance based on the contents of\n $mustache_file.\n<END>",
"<BEGIN>\n## `get_template_dirs`",
"Return a set of all template directories.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the git_clone API.
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 git_clone API.
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... | Clone git repository at $git_url to $path. | "Clone git repository at $git_url to $path." | 50 | false | InspectorMustache/base16-builder-python | git_clone | 36,687 | |
LDU_FT/elkiwy/paynter/setColorAlpha | LDU_FT | [
"<BEGIN>\n## `drawLine`",
"Draws a line on the current :py:class:`Layer` with the current :py:class:`Brush`.\n\t\tCoordinates are relative to the original layer size WITHOUT downsampling applied.",
"\t\t:param x1: Starting X coordinate.\n\t\t:param y1: Starting Y coordinate.\n\t\t:param x2: End X coordinate.\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setColorAlpha API.
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 setColorAlpha API.
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... | Change the alpha of the current :py:class:`Color`.
:param fixed: Set the absolute 0-1 value of the alpha.
:param proportional: Set the relative value of the alpha (Es: If the current alpha is 0.8, a proportional value of 0.5 will set the final value to 0.4).
:rtype: Nothing. | "Change the alpha of the current :py:class:`Color`.\n\t\t\n\t\t:param fixed: Set the absolute 0-1 value of the alpha.\n\t\t:param proportional: Set the relative value of the alpha (Es: If the current alpha is 0.8, a proportional value of 0.5 will set the final value to 0.4).\n\t\t:rtype: Nothing." | 57 | false | elkiwy/paynter | setColorAlpha | 36,688 | |
LDU_FT/markovmodel/PyEMMA/assign_to_centers | LDU_FT | [
"<BEGIN>\n## `filenames`",
"list of file names the data is originally being read from.",
" Returns\n -------\n names : list of str\n list of file names at the beginning of the input chain.\n<END>",
"<BEGIN>\n## `_data_flow_chain`",
"Get a list of all elements in the data flow... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_to_centers API.
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 assign_to_centers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | r"""Assigns data to the nearest cluster centers
Creates a Voronoi partition with the given cluster centers. If given
trajectories as data, this function will by default discretize the
trajectories and return discrete trajectories of corresponding lengths.
Otherwise, an assignment object will be returne... | "r\"\"\"Assigns data to the nearest cluster centers\n\n Creates a Voronoi partition with the given cluster centers. If given\n trajectories as data, this function will by default discretize the\n trajectories and return discrete trajectories of corresponding lengths.\n Otherwise, an assignment object will b... | 1,924 | true | markovmodel/PyEMMA | assign_to_centers | 36,689 | |
LDU_FT/cons3rt/pycons3rt/main | LDU_FT | [
"<BEGIN>\n## `getdict`",
"Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>",
"<BEGIN>\n## `get_ec2_client`",
"Gets an EC2 client",
" :return: boto3.client object\n :raises: AWSAPIError\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Sample usage for this python module
This main method simply illustrates sample usage for this python
module.
:return: None | "Sample usage for this python module\n\n This main method simply illustrates sample usage for this python\n module.\n\n :return: None" | 386 | false | cons3rt/pycons3rt | main | 36,690 | |
LDU_FT/hydraplatform/hydra-base/add_dataset_to_collection | LDU_FT | [
"<BEGIN>\n## `check_perm`",
"Checks whether a user has permission to perform an action.\n The permission_code parameter should be a permission contained in tPerm.",
" If the user does not have permission to perfom an action, a permission\n error is thrown.\n<END>",
"<BEGIN>\n## `required_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_dataset_to_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_dataset_to_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Add a single dataset to a dataset collection. | "Add a single dataset to a dataset collection." | 576 | false | hydraplatform/hydra-base | add_dataset_to_collection | 36,691 | |
LDU_FT/KujiraProject/Flask-PAM/group_required | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Performs authentication using simplepam",
" This function calls simplepam's authenticate function and returns\n status of authentication using PAM and token object (of type\n self.token_type)",
" :param username: username in Linux",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_required API.
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 group_required API.
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... | Decorator which checks if user is in group
Decorator for Flask's view which blocks requests from not
authenticated users or if user is not member of specified group
:param group: group's name | "Decorator which checks if user is in group\n\n Decorator for Flask's view which blocks requests from not\n authenticated users or if user is not member of specified group\n\n :param group: group's name" | 25 | false | KujiraProject/Flask-PAM | group_required | 36,692 | |
LDU_FT/OCA/vertical-hotel/onchange_partner_id | LDU_FT | [
"<BEGIN>\n## `_offset_format_timestamp1`",
"Convert a source timeStamp string into a destination timeStamp string,\n attempting to apply the correct offset if both the server and local\n timeZone are recognized,or no offset at all if they aren't or if\n tz_offset is false (i.e. assuming they are both in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onchange_partner_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onchange_partner_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | When you change partner_id it will update the partner_invoice_id,
partner_shipping_id and pricelist_id of the hotel folio as well
---------------------------------------------------------------
@param self: object pointer | "When you change partner_id it will update the partner_invoice_id,\n partner_shipping_id and pricelist_id of the hotel folio as well\n ---------------------------------------------------------------\n @param self: object pointer" | 71 | false | OCA/vertical-hotel | onchange_partner_id | 36,693 | |
LDU_FT/bcb/jsonrpcserver/create_requests | LDU_FT | [
"<BEGIN>\n## `validate`",
"Wraps jsonschema.validate, returning the same object passed in.",
" Args:\n request: The deserialized-from-json request.\n schema: The jsonschema schema to validate against.",
" Raises:\n jsonschema.ValidationError\n<END>",
"<BEGIN>\n## `call`",
"Valid... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_requests API.
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 create_requests API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create a Request object from a dictionary (or list of them).
Args:
requests: Request object, or a collection of them.
methods: The list of methods that can be called.
context: If specified, will be the first positional argument in all requests.
convert_camel_case: Will convert the m... | "Create a Request object from a dictionary (or list of them).\n\n Args:\n requests: Request object, or a collection of them.\n methods: The list of methods that can be called.\n context: If specified, will be the first positional argument in all requests.\n convert_camel_case: Will conver... | 47 | false | bcb/jsonrpcserver | create_requests | 36,694 | |
LDU_FT/pschmitt/pykeepass/compute_header_hmac_hash | LDU_FT | [
"<BEGIN>\n## `compute_transformed`",
"Compute transformed key for opening database\n<END>",
"<BEGIN>\n## `compute_header_hmac_hash`",
"Compute HMAC-SHA256 hash of header.\n Used to prevent header tampering.\n<END>",
"<BEGIN>\n## `compute_payload_block_hash`",
"Compute hash of each payload block.\n U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_header_hmac_hash 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 compute_header_hmac_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Compute HMAC-SHA256 hash of header.
Used to prevent header tampering. | "Compute HMAC-SHA256 hash of header.\n Used to prevent header tampering." | 46 | false | pschmitt/pykeepass | compute_header_hmac_hash | 36,695 | |
LDU_FT/rm-hull/luma.emulator/display | LDU_FT | [
"<BEGIN>\n## `scale2x`",
"Scales using the AdvanceMAME Scale2X algorithm which does a\n 'jaggie-less' scale of bitmap graphics.\n<END>",
"<BEGIN>\n## `smoothscale`",
"Smooth scaling using MMX or SSE extensions if available\n<END>",
"<BEGIN>\n## `identity`",
"Fast scale operation that does not sampl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display API.
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 display API.
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... | Takes a :py:mod:`PIL.Image` and renders it to the current terminal as
ASCII-blocks. | "Takes a :py:mod:`PIL.Image` and renders it to the current terminal as\n ASCII-blocks." | 28 | false | rm-hull/luma.emulator | display | 36,696 | |
LDU_FT/axltxl/m2bk/msg_debug | LDU_FT | [
"<BEGIN>\n## `chkstr`",
"Small routine for checking whether a string is empty\n even a string",
" :param s: the string in question\n :param v: variable name\n<END>",
"<BEGIN>\n## `load`",
"Load this driver",
" Note that if either aws_access_key_id or aws_secret_access_key are\n not specifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the msg_debug API.
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 msg_debug API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Log a debug message
:param message: the message to be logged | "Log a debug message\n\n :param message: the message to be logged" | 83 | false | axltxl/m2bk | msg_debug | 36,697 | |
LDU_FT/photo/openphoto-python/create | LDU_FT | [
"<BEGIN>\n## `list`",
"Endpoint: /albums/list.json",
" Returns a list of Album objects.\n<END>",
"<BEGIN>\n## `cover_update`",
"Endpoint: /album/<album_id>/cover/<photo_id>/update.json",
" Update the cover photo of an album.\n Returns the updated album object.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Endpoint: /tag/create.json
Creates a new tag.
Returns True if successful.
Raises a TroveboxError if not. | "Endpoint: /tag/create.json\n\n Creates a new tag.\n Returns True if successful.\n Raises a TroveboxError if not." | 174 | false | photo/openphoto-python | create | 36,698 | |
LDU_FT/CityOfZion/neo-python-rpc/send_from | LDU_FT | [
"<BEGIN>\n## `get_account`",
"Look up an account on the blockchain. Sample output:",
" Args:\n address: (str) address to lookup ( in format 'AXjaFSP23Jkbe6Pk9pPGT6NBDs1HVdqaXK')\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) end... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_from API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_from API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Transfer from the specified address to the destination address.
Args:
asset_id: (str) asset identifier (for NEO: 'c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b', for GAS: '602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7')
addr_from: (str) transfering a... | "Transfer from the specified address to the destination address.\n Args:\n asset_id: (str) asset identifier (for NEO: 'c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b', for GAS: '602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7')\n addr_from: (str) transferi... | 76 | false | CityOfZion/neo-python-rpc | send_from | 36,699 | |
LDU_FT/vatlab/SoS/initialize_dag | LDU_FT | [
"<BEGIN>\n## `process_request`",
"port is the open port at the worker, num_pending is the num_pending of stack.\n A non-zero num_pending means that the worker is pending on something while\n looking for new job, so the worker should not be killed.\n<END>",
"<BEGIN>\n## `check_workers`",
"Kill wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_dag API.
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 initialize_dag API.
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... | Create a DAG by analyzing sections statically. | "Create a DAG by analyzing sections statically." | 193 | false | vatlab/SoS | initialize_dag | 36,700 | |
LDU_FT/insilichem/ommprotocol/from_desmond | LDU_FT | [
"<BEGIN>\n## `protocol`",
"Run all the stages in protocol",
" Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation",
" cfg : dict\n Imported YAML file.\n<END>",
"<BEGIN>\n## `run`",
"Launch MD simulation, which may consist of:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_desmond API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_desmond API.
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... | Loads a topology from a Desmond DMS file located at `path`.
Arguments
---------
path : str
Path to a Desmond DMS file | "Loads a topology from a Desmond DMS file located at `path`.\n\n Arguments\n ---------\n path : str\n Path to a Desmond DMS file" | 84 | false | insilichem/ommprotocol | from_desmond | 36,701 | |
LDU_FT/johnbywater/eventsourcing/store | LDU_FT | [
"<BEGIN>\n## `register_new_suffix_tree`",
"Factory method, returns new suffix tree object.\n<END>",
"<BEGIN>\n## `find_substring`",
"Returns the index if substring in tree, otherwise -1.\n<END>",
"<BEGIN>\n## `_canonize_suffix`",
"This canonizes the suffix, walking along its suffix string until it\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store API.
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 store API.
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... | Appends given domain event, or list of domain events, to their sequence.
:param domain_event_or_events: domain event, or list of domain events | "Appends given domain event, or list of domain events, to their sequence.\n\n :param domain_event_or_events: domain event, or list of domain events" | 161 | false | johnbywater/eventsourcing | store | 36,702 | |
LDU_FT/networks-lab/metaknowledge/_bibFormatter | LDU_FT | [
"<BEGIN>\n## `readGraph`",
"Reads the files given by _edgeList_ and _nodeList_ and creates a networkx graph for the files.",
" This is designed only for the files produced by metaknowledge and is meant to be the reverse of [writeGraph()](#metaknowledge.graphHelpers.writeGraph), if this does not produce the d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bibFormatter API.
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 _bibFormatter API.
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... | Formats a string, list or number to make it good for a bib file by:
* if too long splits up the string correctly
* tries to use the best quoting characters
* expands lists into ' and ' seperated values, as per spec for authors field
Note, this does not escape characters. LaTeX may have issue... | "Formats a string, list or number to make it good for a bib file by:\n * if too long splits up the string correctly\n * tries to use the best quoting characters\n * expands lists into ' and ' seperated values, as per spec for authors field\n Note, this does not escape characters. LaTeX may have ... | 1,149 | true | networks-lab/metaknowledge | _bibFormatter | 36,703 | |
LDU_FT/makinacorpus/django-tracking-fields/_create_create_tracking_event | LDU_FT | [
"<BEGIN>\n## `changelist_view`",
"Get object currently tracked and add a button to get back to it\n<END>",
"<BEGIN>\n## `_add_get_tracking_url`",
"Add a method to get the tracking url of an object.\n<END>",
"<BEGIN>\n## `track`",
"Decorator used to track changes on Model's fields.",
" :Example:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_create_tracking_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_create_tracking_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Create a TrackingEvent and TrackedFieldModification for a CREATE event. | "Create a TrackingEvent and TrackedFieldModification for a CREATE event." | 33 | false | makinacorpus/django-tracking-fields | _create_create_tracking_event | 36,704 | |
LDU_FT/etingof/pyasn1/getTagMapNearPosition | LDU_FT | [
"<BEGIN>\n## `isSameTypeWith`",
"Examine |ASN.1| type for equality with other ASN.1 type.",
" ASN.1 tags (:py:mod:`~pyasn1.type.tag`) and constraints\n (:py:mod:`~pyasn1.type.constraint`) are examined when carrying\n out ASN.1 types comparison.",
" Python class inheritance relation... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTagMapNearPosition 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 getTagMapNearPosition 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 ASN.1 types that are allowed at or past given field position.
Some ASN.1 serialisation allow for skipping optional and defaulted fields.
Some constructed ASN.1 types allow reordering of the fields. When recovering
such objects it may be important to know which types can possibly be
... | "Return ASN.1 types that are allowed at or past given field position.\n\n Some ASN.1 serialisation allow for skipping optional and defaulted fields.\n Some constructed ASN.1 types allow reordering of the fields. When recovering\n such objects it may be important to know which types can possibly be\... | 239 | false | etingof/pyasn1 | getTagMapNearPosition | 36,705 | |
LDU_FT/openstates/billy/_normalize | LDU_FT | [
"<BEGIN>\n## `decimal_format`",
"Format a decimal.Decimal like to 2 decimal places.\n<END>",
"<BEGIN>\n## `notification_preference`",
"Display two radio buttons for turning notifications on or off.\n The default value is is have alerts_on = True.\n<END>",
"<BEGIN>\n## `committee_object`",
"If the commi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Normalizes a legislator name by stripping titles from the front,
converting to lowercase and removing punctuation. | "Normalizes a legislator name by stripping titles from the front,\n converting to lowercase and removing punctuation." | 168 | false | openstates/billy | _normalize | 36,706 | |
LDU_FT/poldracklab/niworkflows/_check_and_expand_subformula | LDU_FT | [
"<BEGIN>\n## `spike_regressors`",
"Add spike regressors to a confound/nuisance matrix.",
" Parameters\n ----------\n data: pandas DataFrame object\n A tabulation of observations from which spike regressors should be\n estimated.\n criteria: dict{str: ('>' or '<', float)}\n Crite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_and_expand_subformula API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_and_expand_subformula API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Check if the current operation contains a suboperation, and parse it
where appropriate. | "Check if the current operation contains a suboperation, and parse it\n where appropriate." | 305 | false | poldracklab/niworkflows | _check_and_expand_subformula | 36,707 | |
LDU_FT/yunojuno/elasticsearch-django/_prune_hit | LDU_FT | [
"<BEGIN>\n## `execute_search`",
"Create a new SearchQuery instance and execute a search against ES.",
" Args:\n search: elasticsearch.search.Search object, that internally contains\n the connection and query; this is the query that is executed. All\n we are doing is logging the i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prune_hit API.
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 _prune_hit API.
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... | Check whether a document should be pruned.
This method uses the SearchDocumentManagerMixin.in_search_queryset method
to determine whether a 'hit' (search document) should be pruned from an index,
and if so it returns the hit as a Django object(id=hit_id).
Args:
hit: dict object the represents ... | "Check whether a document should be pruned.\n\n This method uses the SearchDocumentManagerMixin.in_search_queryset method\n to determine whether a 'hit' (search document) should be pruned from an index,\n and if so it returns the hit as a Django object(id=hit_id).\n\n Args:\n hit: dict object the rep... | 124 | false | yunojuno/elasticsearch-django | _prune_hit | 36,708 | |
LDU_FT/cmbruns/pyopenvr/getPlayAreaSize | LDU_FT | [
"<BEGIN>\n## `key_press`",
"Close the application when the player presses ESCAPE\n<END>",
"<BEGIN>\n## `scale`",
"Uniform scale, if only sx argument is specified\n<END>",
"<BEGIN>\n## `bInit`",
"Purpose: Allocates and populates the GL resources for a render model\n<END>",
"<BEGIN>\n## `cleanup`",
"Pur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getPlayAreaSize API.
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 getPlayAreaSize API.
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 width and depth of the Play Area (formerly named Soft Bounds) in X and Z.
Tracking space center (0,0,0) is the center of the Play Area. | "Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z. \n Tracking space center (0,0,0) is the center of the Play Area." | 475 | false | cmbruns/pyopenvr | getPlayAreaSize | 36,709 | |
LDU_FT/rsalmei/clearly/filter_workers | LDU_FT | [
"<BEGIN>\n## `server`",
"Starts the Clearly Server.",
" BROKER: The broker being used by celery, like \"amqp://localhost\".\n<END>",
"<BEGIN>\n## `start_server`",
"Starts a Clearly Server programmatically.\n<END>",
"<BEGIN>\n## `_event_to_pb`",
"Supports converting internal TaskData and WorkerDat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_workers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_workers API.
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... | Filter workers by matching a pattern to hostname. | "Filter workers by matching a pattern to hostname." | 63 | false | rsalmei/clearly | filter_workers | 36,710 | |
LDU_FT/puiterwijk/flask-oidc/get_access_token | LDU_FT | [
"<BEGIN>\n## `check_redirect_uris`",
"This function checks all return uris provided and tries to deduce\n as what type of client we should register.",
" :param uris: The redirect URIs to check.\n :type uris: list\n :param client_type: An indicator of which client type you are expecting\n to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_access_token API.
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_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Method to return the current requests' access_token.
:returns: Access token or None
:rtype: str
.. versionadded:: 1.2 | "Method to return the current requests' access_token.\n\n :returns: Access token or None\n :rtype: str\n\n .. versionadded:: 1.2" | 74 | false | puiterwijk/flask-oidc | get_access_token | 36,711 | |
LDU_FT/rocky/python-uncompyle6/setcomprehension_walk3 | LDU_FT | [
"<BEGIN>\n## `code_deparse`",
"ingests and deparses a given code block 'co'. If version is None,\n we will use the current Python interpreter version.\n<END>",
"<BEGIN>\n## `deparse_code2str`",
"Return the deparsed text for a Python code object. `out` is where any intermediate\n output for assembly or t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setcomprehension_walk3 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 setcomprehension_walk3 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Set comprehensions the way they are done in Python3.
They're more other comprehensions, e.g. set comprehensions
See if we can combine code. | "Set comprehensions the way they are done in Python3.\n They're more other comprehensions, e.g. set comprehensions\n See if we can combine code." | 205 | false | rocky/python-uncompyle6 | setcomprehension_walk3 | 36,712 | |
LDU_FT/carpyncho/feets/create_uniform | LDU_FT | [
"<BEGIN>\n## `basic_animation`",
"Plot a basic sine wave with oscillating amplitude\n<END>",
"<BEGIN>\n## `lorenz_animation`",
"Plot a 3D visualization of the dynamics of the Lorenz system\n<END>",
"<BEGIN>\n## `_included_frames`",
"frame_list should be a list of filenames\n<END>",
"<BEGIN>\n## `_embedd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_uniform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_uniform API.
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... | Generate a data with magnitudes that follows a uniform
distribution; the error instead are gaussian.
Parameters
----------
low : float, optional
Lower boundary of the output interval. All values generated will be
greater than or equal to low. The default value is 0.
high : float... | "Generate a data with magnitudes that follows a uniform\n distribution; the error instead are gaussian.\n\n Parameters\n ----------\n\n low : float, optional\n Lower boundary of the output interval. All values generated will be\n greater than or equal to low. The default value is 0.\n hi... | 111 | false | carpyncho/feets | create_uniform | 36,713 | |
LDU_FT/MacHu-GWU/rolex-project/day_interval | LDU_FT | [
"<BEGIN>\n## `add_seconds`",
"Returns a time that n seconds after a time.",
" :param datetimestr: a datetime object or a datetime str\n :param n: number of seconds, value can be negative",
" **中文文档**",
" 返回给定日期N秒之后的时间。\n<END>",
"<BEGIN>\n## `add_months`",
"Returns a time that n months after ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the day_interval API.
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 day_interval API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a start datetime and end datetime of a day.
:param milliseconds: Minimum time resolution.
:param return_string: If you want string instead of datetime, set True
Usage Example::
>>> start, end = rolex.day_interval(2014, 6, 17)
>>> start
datetime(2014, 6, 17, 0, 0, 0)
... | "Return a start datetime and end datetime of a day.\n\n :param milliseconds: Minimum time resolution.\n :param return_string: If you want string instead of datetime, set True\n\n Usage Example::\n\n >>> start, end = rolex.day_interval(2014, 6, 17)\n >>> start\n datetime(2014, 6, 17, 0, 0, ... | 103 | false | MacHu-GWU/rolex-project | day_interval | 36,714 | |
LDU_FT/mrname/haralyzer/time_to_first_byte | LDU_FT | [
"<BEGIN>\n## `get_load_times`",
"Just a ``list`` of the load times of a certain asset type for each page",
" :param asset_type: ``str`` of the asset type to return load times for\n<END>",
"<BEGIN>\n## `get_stdev`",
"Returns the standard deviation for a set of a certain asset type.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time_to_first_byte 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 time_to_first_byte 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... | Time to first byte of the page request in ms | "Time to first byte of the page request in ms" | 72 | false | mrname/haralyzer | time_to_first_byte | 36,715 | |
LDU_FT/semiversus/python-broqer/subscribe | LDU_FT | [
"<BEGIN>\n## `build_sink`",
"Decorator to wrap a function to return a Sink subscriber.",
" :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>",
"<BEGIN>\n## `build_map`",
"Decorator to wrap a function to return a Map operator.",
" :param fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe API.
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 subscribe API.
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... | Subscribing the given subscriber.
:param subscriber: subscriber to add
:param prepend: For internal use - usually the subscribers will be
added at the end of a list. When prepend is True, it will be added
in front of the list. This will habe an effect in the order the
... | "Subscribing the given subscriber.\n\n :param subscriber: subscriber to add\n :param prepend: For internal use - usually the subscribers will be\n added at the end of a list. When prepend is True, it will be added\n in front of the list. This will habe an effect in the order the\n ... | 65 | false | semiversus/python-broqer | subscribe | 36,716 | |
LDU_FT/mathiasertl/django-ca/wrap_file_exceptions | LDU_FT | [
"<BEGIN>\n## `init`",
"Create a new certificate authority.",
" Parameters\n ----------",
" name : str\n The name of the CA. This is a human-readable string and is used for administrative purposes only.\n subject : dict or str or :py:class:`~django_ca.subject.Subject`\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_file_exceptions 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 wrap_file_exceptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Contextmanager to wrap file exceptions into identicaly exceptions in py2 and py3.
This should be removed once py2 support is dropped. | "Contextmanager to wrap file exceptions into identicaly exceptions in py2 and py3.\n\n This should be removed once py2 support is dropped." | 164 | false | mathiasertl/django-ca | wrap_file_exceptions | 36,717 | |
LDU_FT/neovim/pynvim/feedkeys | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Used to signal `asyncio.Protocol` of a successful connection.\n<END>",
"<BEGIN>\n## `data_received`",
"Used to signal `asyncio.Protocol` of incoming data.\n<END>",
"<BEGIN>\n## `pipe_data_received`",
"Used to signal `asyncio.SubprocessProtocol` of incoming data.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feedkeys API.
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 feedkeys API.
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... | Push `keys` to Nvim user input buffer.
Options can be a string with the following character flags:
- 'm': Remap keys. This is default.
- 'n': Do not remap keys.
- 't': Handle keys as if typed; otherwise they are handled as if coming
from a mapping. This matters for undo, ... | "Push `keys` to Nvim user input buffer.\n\n Options can be a string with the following character flags:\n - 'm': Remap keys. This is default.\n - 'n': Do not remap keys.\n - 't': Handle keys as if typed; otherwise they are handled as if coming\n from a mapping. This matters for... | 139 | false | neovim/pynvim | feedkeys | 36,718 | |
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/sync | LDU_FT | [
"<BEGIN>\n## `find_location`",
"find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>",
"<BEGIN>\n## `json_2_location`",
"transform JSON obj coming f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync API.
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 sync API.
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... | synchronize self from Ariane server according its id (priority) or name
:return: | "synchronize self from Ariane server according its id (priority) or name\n :return:" | 303 | false | echinopsii/net.echinopsii.ariane.community.cli.python3 | sync | 36,719 | |
LDU_FT/marcharper/python-ternary/get_cmap | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Normalizes input list.",
" Parameters\n ----------\n l: list\n The list to be normalized",
" Returns\n -------\n The normalized list or numpy array",
" Raises\n ------\n ValueError, if the list sums to zero\n<END>",
"<BEGIN>\n## `simplex_iterat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cmap API.
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... | Loads a matplotlib colormap if specified or supplies the default.
Parameters
----------
cmap: string or matplotlib.colors.Colormap instance
The name of the Matplotlib colormap to look up.
Returns
-------
The desired Matplotlib colormap
Raises
------
ValueError if colormap ... | "Loads a matplotlib colormap if specified or supplies the default.\n\n Parameters\n ----------\n cmap: string or matplotlib.colors.Colormap instance\n The name of the Matplotlib colormap to look up.\n\n Returns\n -------\n The desired Matplotlib colormap\n\n Raises\n ------\n ValueErro... | 179 | false | marcharper/python-ternary | get_cmap | 36,720 | |
LDU_FT/joytunes/JTLocalize/append_dictionary_to_file | LDU_FT | [
"<BEGIN>\n## `handle_duplications`",
"Omits the duplications in the strings files.\n Keys that appear more than once, will be joined to one appearance and the omit will be documented.",
" Args:\n file_path (str): The path to the strings file.\n<END>",
"<BEGIN>\n## `add_comments`",
"Add comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_dictionary_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_dictionary_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Appends dictionary of localization keys and comments to a file
Args:
localization_key_to_comment (dict): A mapping between localization keys and comments.
file_path (str): The path of the file to append to.
section_name (str): The name of the section. | "Appends dictionary of localization keys and comments to a file\n\n Args:\n localization_key_to_comment (dict): A mapping between localization keys and comments.\n file_path (str): The path of the file to append to.\n section_name (str): The name of the section." | 104 | false | joytunes/JTLocalize | append_dictionary_to_file | 36,721 | |
LDU_FT/b3j0f/annotation/_bind_target | LDU_FT | [
"<BEGIN>\n## `mixin_function_or_method`",
"Mixin a routine into the target.",
" :param routine: routine to mix in target.\n :param str name: mixin name. Routine name by default.\n :param bool isbound: If True (False by default), the mixin result is a\n bound method to target.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bind_target API.
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 _bind_target API.
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... | Weave self.intercepts among target advices with pointcut. | "Weave self.intercepts among target advices with pointcut." | 84 | false | b3j0f/annotation | _bind_target | 36,722 | |
LDU_FT/andylockran/heatmiserV3/_hm_read_address | LDU_FT | [
"<BEGIN>\n## `extract_bits`",
"Extras the 4 bits, XORS the message data, and does table lookups.\n<END>",
"<BEGIN>\n## `_hm_send_msg`",
"This is the only interface to the serial connection.\n<END>",
"<BEGIN>\n## `_hm_read_address`",
"Reads from the DCB and maps to yaml config file.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hm_read_address API.
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 _hm_read_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Reads from the DCB and maps to yaml config file. | "Reads from the DCB and maps to yaml config file." | 10 | false | andylockran/heatmiserV3 | _hm_read_address | 36,723 | |
LDU_FT/PyCQA/pydocstyle/_check_section | LDU_FT | [
"<BEGIN>\n## `error_lineno`",
"Get the line number with which to report violations.\n<END>",
"<BEGIN>\n## `source`",
"Return the source code for the definition.\n<END>",
"<BEGIN>\n## `is_public`",
"Return True iff this function should be considered public.\n<END>",
"<BEGIN>\n## `is_magic`",
"Return Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_section API.
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 _check_section API.
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... | D4{05,06,10,11,13}, D214: Section name checks.
Check for valid section names. Checks that:
* The section name is properly capitalized (D405).
* The section is not over-indented (D214).
* The section name has no superfluous suffix to it (D406).
* There's a blank l... | "D4{05,06,10,11,13}, D214: Section name checks.\n\n Check for valid section names. Checks that:\n * The section name is properly capitalized (D405).\n * The section is not over-indented (D214).\n * The section name has no superfluous suffix to it (D406).\n * There's a ... | 183 | false | PyCQA/pydocstyle | _check_section | 36,724 | |
LDU_FT/pytroll/trollimage/colorize | LDU_FT | [
"<BEGIN>\n## `colorize`",
"Colorize a monochromatic array *arr*, based *colors* given for\n *values*. Interpolation is used. *values* must be in ascending order.\n<END>",
"<BEGIN>\n## `palettize`",
"From start *values* apply *colors* to *data*.\n<END>",
"<BEGIN>\n## `set_range`",
"Set the range of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colorize API.
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 colorize API.
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... | Colorize a monochromatic array *arr*, based *colors* given for
*values*. Interpolation is used. *values* must be in ascending order. | "Colorize a monochromatic array *arr*, based *colors* given for\n *values*. Interpolation is used. *values* must be in ascending order." | 150 | false | pytroll/trollimage | colorize | 36,725 | |
LDU_FT/AdvancedClimateSystems/uModbus/create_from_request_pdu | LDU_FT | [
"<BEGIN>\n## `pdu_to_function_code_or_raise_error`",
"Parse response PDU and return of :class:`ModbusFunction` or\n raise error.",
" :param resp_pdu: PDU of response.\n :return: Subclass of :class:`ModbusFunction` matching the response.\n :raises ModbusError: When response contains error code.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_request_pdu 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_from_request_pdu API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Create instance from request PDU.
:param pdu: A request PDU.
:return: Instance of this class. | "Create instance from request PDU.\n\n :param pdu: A request PDU.\n :return: Instance of this class." | 186 | false | AdvancedClimateSystems/uModbus | create_from_request_pdu | 36,726 | |
LDU_FT/openeemeter/eemeter/get_single_cdd_hdd_candidate_model | LDU_FT | [
"<BEGIN>\n## `as_freq`",
"Resample data to a different frequency.",
" This method can be used to upsample or downsample meter data. The\n assumption it makes to do so is that meter data is constant and averaged\n over the given periods. For instance, to convert billing-period data to\n daily data, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_single_cdd_hdd_candidate_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_single_cdd_hdd_candidate_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Return and fit a single candidate cdd_hdd model for a particular selection
of cooling balance point and heating balance point
Parameters
----------
data : :any:`pandas.DataFrame`
A DataFrame containing at least the column ``meter_value`` and
``hdd_<heating_balance_point>`` and ``cdd_<co... | "Return and fit a single candidate cdd_hdd model for a particular selection\n of cooling balance point and heating balance point\n\n Parameters\n ----------\n data : :any:`pandas.DataFrame`\n A DataFrame containing at least the column ``meter_value`` and\n ``hdd_<heating_balance_point>`` and `... | 213 | false | openeemeter/eemeter | get_single_cdd_hdd_candidate_model | 36,727 | |
LDU_FT/nikhilkumarsingh/content-downloader/download_parallel_gui | LDU_FT | [
"<BEGIN>\n## `download_parallel_gui`",
"called when paralled downloading is true\n<END>",
"<BEGIN>\n## `download_series_gui`",
"called when user wants serial downloading\n<END>",
"<BEGIN>\n## `start`",
"function to initialize thread for downloading\n<END>",
"<BEGIN>\n## `read_bytes`",
"reading bytes; ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_parallel_gui 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_parallel_gui API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | called when paralled downloading is true | "called when paralled downloading is true" | 37 | false | nikhilkumarsingh/content-downloader | download_parallel_gui | 36,728 | |
LDU_FT/pyviz/holoviews/cartesian_product | LDU_FT | [
"<BEGIN>\n## `initialize_plot`",
"Initializes a new plot object with the last available frame.\n<END>",
"<BEGIN>\n## `_get_axis_dims`",
"Returns the dimensions corresponding to each axis.",
" Should return a list of dimensions or list of lists of\n dimensions, which will be formatted to label ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cartesian_product API.
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 cartesian_product API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Efficient cartesian product of a list of 1D arrays returning the
expanded array views for each dimensions. By default arrays are
flattened, which may be controlled with the flat flag. The array
views can be turned into regular arrays with the copy flag. | "Efficient cartesian product of a list of 1D arrays returning the\n expanded array views for each dimensions. By default arrays are\n flattened, which may be controlled with the flat flag. The array\n views can be turned into regular arrays with the copy flag." | 1,961 | true | pyviz/holoviews | cartesian_product | 36,729 | |
LDU_FT/zeroSteiner/AdvancedHTTPServer/respond_unauthorized | LDU_FT | [
"<BEGIN>\n## `resolve_ssl_protocol_version`",
"Look up an SSL protocol version by name. If *version* is not specified, then\n\tthe strongest protocol available will be returned.",
"\t:param str version: The name of the version to look up.\n\t:return: A protocol constant from the :py:mod:`ssl` module.\n\t:rtype:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the respond_unauthorized 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 respond_unauthorized API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Respond to the client that the request is unauthorized.
:param bool request_authentication: Whether to request basic authentication information by sending a WWW-Authenticate header. | "Respond to the client that the request is unauthorized.\n\n\t\t:param bool request_authentication: Whether to request basic authentication information by sending a WWW-Authenticate header." | 102 | false | zeroSteiner/AdvancedHTTPServer | respond_unauthorized | 36,730 | |
LDU_FT/pyvisa/pyvisa-sim/add_eom | 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 add_eom API.
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 add_eom API.
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... | Add default end of message for a given interface type and resource class.
:param type_class: interface type and resource class as strings joined by space
:param query_termination: end of message used in queries.
:param response_termination: end of message used in responses. | "Add default end of message for a given interface type and resource class.\n\n :param type_class: interface type and resource class as strings joined by space\n :param query_termination: end of message used in queries.\n :param response_termination: end of message used in responses." | 85 | false | pyvisa/pyvisa-sim | add_eom | 36,731 | |
LDU_FT/DeepHorizons/iarm/magic_memory | LDU_FT | [
"<BEGIN>\n## `ADR`",
"ADR Ra, [PC, #imm10_4]\n ADR Ra, label",
" Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>",
"<BEGIN>\n## `LDR`",
"LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the magic_memory API.
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 magic_memory API.
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... | Print out the current value of memory
Usage:
Pass in the byte of memory to read, separated by spaced
A list of memory contents can be entered by separating them by a hyphen
`%mem 4 5`
or
`%mem 8-12` | "Print out the current value of memory\n\n Usage:\n Pass in the byte of memory to read, separated by spaced\n A list of memory contents can be entered by separating them by a hyphen\n\n `%mem 4 5`\n or\n `%mem 8-12`" | 253 | false | DeepHorizons/iarm | magic_memory | 36,732 | |
LDU_FT/constverum/ProxyBroker/find | LDU_FT | [
"<BEGIN>\n## `grab`",
"Gather proxies from the providers without checking.",
" :param list countries: (optional) List of ISO country codes\n where should be located proxies\n :param int limit: (optional) The maximum number of proxies",
" :ref:`Example of usag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
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 find API.
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... | Gather and check proxies from providers or from a passed data.
:ref:`Example of usage <proxybroker-examples-find>`.
:param list types:
Types (protocols) that need to be check on support by proxy.
Supported: HTTP, HTTPS, SOCKS4, SOCKS5, CONNECT:80, CONNECT:25
And lev... | "Gather and check proxies from providers or from a passed data.\n\n :ref:`Example of usage <proxybroker-examples-find>`.\n\n :param list types:\n Types (protocols) that need to be check on support by proxy.\n Supported: HTTP, HTTPS, SOCKS4, SOCKS5, CONNECT:80, CONNECT:25\n ... | 57 | false | constverum/ProxyBroker | find | 36,733 | |
LDU_FT/timothycrosley/isort/_load_names | LDU_FT | [
"<BEGIN>\n## `iter_source_code`",
"Iterate over all Python source files defined in paths.\n<END>",
"<BEGIN>\n## `file_should_be_skipped`",
"Returns True if the file and/or folder should be skipped based on the passed in settings.\n<END>",
"<BEGIN>\n## `chdir`",
"Context manager for changing dir and restor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_names API.
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 _load_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return list of thirdparty modules from requirements | "Return list of thirdparty modules from requirements" | 44 | false | timothycrosley/isort | _load_names | 36,734 | |
LDU_FT/andrenarchy/krypy/ritz | LDU_FT | [
"<BEGIN>\n## `find_common_dtype`",
"Returns common dtype of numpy and scipy objects.",
" Recognizes ndarray, spmatrix and LinearOperator. All other objects are\n ignored (most notably None).\n<END>",
"<BEGIN>\n## `shape_vecs`",
"Reshape all ndarrays with ``shape==(n,)`` to ``shape==(n,1)``.",
" R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ritz API.
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 ritz API.
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... | Compute several kinds of Ritz pairs from an Arnoldi/Lanczos relation.
This function computes Ritz, harmonic Ritz or improved harmonic Ritz values
and vectors with respect to the Krylov subspace :math:`K_n(A,v)` from the
extended Hessenberg matrix :math:`\\underline{H}_n` generated with n
iterations the... | "Compute several kinds of Ritz pairs from an Arnoldi/Lanczos relation.\n\n This function computes Ritz, harmonic Ritz or improved harmonic Ritz values\n and vectors with respect to the Krylov subspace :math:`K_n(A,v)` from the\n extended Hessenberg matrix :math:`\\\\underline{H}_n` generated with n\n iterat... | 194 | false | andrenarchy/krypy | ritz | 36,735 | |
LDU_FT/ofek/bit/sign_tx | LDU_FT | [
"<BEGIN>\n## `currency_to_satoshi`",
"Converts a given amount of currency to the equivalent number of\n satoshi. The amount can be either an int, float, or string as long as\n it is a valid input to :py:class:`decimal.Decimal`.",
" :param amount: The quantity of currency.\n :param currency: One of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Signs inputs in provided transaction object for which unspents
are provided and can be signed by the private key.
:param private_key: Private key
:type private_key: ``PrivateKey`` or ``MultiSig``
:param tx: Transaction object
:type tx: ``TxObj``
:param unspents: For inputs to be signed their co... | "Signs inputs in provided transaction object for which unspents\n are provided and can be signed by the private key.\n\n :param private_key: Private key\n :type private_key: ``PrivateKey`` or ``MultiSig``\n :param tx: Transaction object\n :type tx: ``TxObj``\n :param unspents: For inputs to be signed ... | 71 | false | ofek/bit | sign_tx | 36,736 | |
LDU_FT/vpelletier/pprofile/runfile | LDU_FT | [
"<BEGIN>\n## `_iterOutFiles`",
"Yields path, data, mimetype for each file involved on or produced by\n profiling.\n<END>",
"<BEGIN>\n## `asMIMEString`",
"Return a mime-multipart representation of:\n - callgrind profiling statistics (cachegrind.out.pprofile)\n - any SQL query issued via ZM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the runfile API.
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 runfile API.
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... | Run code from given file descriptor with profiling enabled.
Closes fd before executing contained code. | "Run code from given file descriptor with profiling enabled.\n Closes fd before executing contained code." | 32 | false | vpelletier/pprofile | runfile | 36,737 | |
LDU_FT/rembish/cfb/right | LDU_FT | [
"<BEGIN>\n## `raise_if`",
"If current exception has smaller priority than minimum, subclass of\n this class only warns user, otherwise normal exception will be raised.\n<END>",
"<BEGIN>\n## `root`",
"Property provides access to root object in CFB.\n<END>",
"<BEGIN>\n## `next_fat`",
"Helper gives yo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the right API.
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 right API.
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... | Entry is right sibling of current directory entry | "Entry is right sibling of current directory entry" | 26 | false | rembish/cfb | right | 36,738 | |
LDU_FT/litl/rauth/sign | LDU_FT | [
"<BEGIN>\n## `request`",
"A loose wrapper around Requests' :class:`~requests.sessions.Session`\n which injects OAuth 1.0/a parameters.",
" :param method: A string representation of the HTTP method to be used.\n :type method: str\n :param url: The resource to be requested.\n :t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
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 sign API.
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... | Sign request parameters.
:param consumer_secret: RSA private key.
:type consumer_secret: str or RSA._RSAobj
:param access_token_secret: Unused.
:type access_token_secret: str
:param method: The method of this particular request.
:type method: str
:param url: The ... | "Sign request parameters.\n\n :param consumer_secret: RSA private key.\n :type consumer_secret: str or RSA._RSAobj\n :param access_token_secret: Unused.\n :type access_token_secret: str\n :param method: The method of this particular request.\n :type method: str\n :param ... | 79 | false | litl/rauth | sign | 36,739 | |
LDU_FT/okpy/ok-client/run | LDU_FT | [
"<BEGIN>\n## `load`",
"Prepares a set of setup, test, and teardown code to be\n run in the console.",
" PARAMETERS:\n code -- list; processed lines of code. Elements in the list are\n either strings (input) or CodeAnswer objects (output)\n setup -- str; raw ... | 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... | Score tests and print results. Tests are taken from
self.assignment.specified_tests. A score breakdown by question and the
total score are both printed.
ENV is used by the programatic API for Python doctests only. | "Score tests and print results. Tests are taken from\n self.assignment.specified_tests. A score breakdown by question and the\n total score are both printed.\n\n ENV is used by the programatic API for Python doctests only." | 141 | false | okpy/ok-client | run | 36,740 | |
LDU_FT/SpikeInterface/spikeextractors/_export_prb_file | LDU_FT | [
"<BEGIN>\n## `write_recording`",
"Save recording extractor to MEArec format.\n Parameters\n ----------\n recording: RecordingExtractor\n Recording extractor object to be saved\n save_path: str\n .h5 or .hdf5 path\n<END>",
"<BEGIN>\n## `write_sorting`",
"Save s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _export_prb_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 _export_prb_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 ... | Exports .prb file
Parameters
----------
recording: RecordingExtractor
The recording extractor to save probe file from
file_name: str
probe filename to be exported to
format: str
'klusta' | 'spiking_circus' (defualt=None)
adjacency_distance: float
distance to cons... | "Exports .prb file\n\n Parameters\n ----------\n recording: RecordingExtractor\n The recording extractor to save probe file from\n file_name: str\n probe filename to be exported to\n format: str\n 'klusta' | 'spiking_circus' (defualt=None)\n adjacency_distance: float\n dist... | 115 | false | SpikeInterface/spikeextractors | _export_prb_file | 36,741 | |
LDU_FT/davesque/django-rest-framework-simplejwt/decode | LDU_FT | [
"<BEGIN>\n## `verify`",
"Performs additional validation steps which were not performed when this\n token was decoded. This method is part of the \"public\" API to indicate\n the intention that it may be overridden in subclasses.\n<END>",
"<BEGIN>\n## `verify_token_type`",
"Ensures that the toke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
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 decode API.
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 ... | Performs a validation of the given token and returns its payload
dictionary.
Raises a `TokenBackendError` if the token is malformed, if its
signature check fails, or if its 'exp' claim indicates it has expired. | "Performs a validation of the given token and returns its payload\n dictionary.\n\n Raises a `TokenBackendError` if the token is malformed, if its\n signature check fails, or if its 'exp' claim indicates it has expired." | 25 | false | davesque/django-rest-framework-simplejwt | decode | 36,742 | |
LDU_FT/almarklein/pyelastix/get_default_params | LDU_FT | [
"<BEGIN>\n## `get_elastix_exes`",
"Get the executables for elastix and transformix. Raises an error\n if they cannot be found.\n<END>",
"<BEGIN>\n## `_clear_dir`",
"Remove a directory and it contents. Ignore any failures.\n<END>",
"<BEGIN>\n## `get_tempdir`",
"Get the temporary directory where pyelasti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | get_default_params(type='BSPLINE')
Get `Parameters` struct with parameters that users may want to tweak.
The given `type` specifies the type of allowed transform, and can
be 'RIGID', 'AFFINE', 'BSPLINE'.
For detail on what parameters are available and how they should be used,
we refer to t... | "get_default_params(type='BSPLINE')\n \n Get `Parameters` struct with parameters that users may want to tweak.\n The given `type` specifies the type of allowed transform, and can\n be 'RIGID', 'AFFINE', 'BSPLINE'.\n \n For detail on what parameters are available and how they should be used,\n we re... | 37 | false | almarklein/pyelastix | get_default_params | 36,743 | |
LDU_FT/jjgomera/iapws/deriv_H | LDU_FT | [
"<BEGIN>\n## `_Tb`",
"Procedure to calculate the boiling temperature of seawater",
" Parameters\n ----------\n P : float\n Pressure, [MPa]\n S : float\n Salinity, [kg/kg]",
" Returns\n -------\n Tb : float\n Boiling temperature, [K]",
" References\n ----------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deriv_H API.
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 deriv_H API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | r"""Calculate generic partial derivative
:math:`\left.\frac{\partial z}{\partial x}\right|_{y}` from a fundamental
helmholtz free energy equation of state
Parameters
----------
state : any python object
Only need to define P and T properties, non phase specific properties
z : str
... | "r\"\"\"Calculate generic partial derivative\n :math:`\\left.\\frac{\\partial z}{\\partial x}\\right|_{y}` from a fundamental\n helmholtz free energy equation of state\n\n Parameters\n ----------\n state : any python object\n Only need to define P and T properties, non phase specific properties\n ... | 574 | false | jjgomera/iapws | deriv_H | 36,744 | |
LDU_FT/inspirehep/inspire-json-merger/filter_publisher_references | LDU_FT | [
"<BEGIN>\n## `scan_author_string_for_phrases`",
"Scan a name string and output an object representing its structure.\n Example:\n Sample output for the name 'Jingleheimer Schmitt, John Jacob, XVI.' is::\n {\n 'TOKEN_TAG_LIST' : ['lastnames', 'nonlastnames', 'titles', 'raw'],\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_publisher_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_publisher_references API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Remove references from ``update`` if there are any in ``head``.
This is useful when merging a record from a publisher with an update form arXiv,
as arXiv should never overwrite references from the publisher. | "Remove references from ``update`` if there are any in ``head``.\n\n This is useful when merging a record from a publisher with an update form arXiv,\n as arXiv should never overwrite references from the publisher." | 32 | false | inspirehep/inspire-json-merger | filter_publisher_references | 36,745 | |
LDU_FT/holgern/pyedflib/setPhysicalMinimum | LDU_FT | [
"<BEGIN>\n## `short_path`",
"Return relative or absolute path name, whichever is shortest.\n<END>",
"<BEGIN>\n## `get_all_dict`",
"Return a copy of the __all__ dict with irrelevant items removed.\n<END>",
"<BEGIN>\n## `compare`",
"Return sets of objects only in __all__, refguide, or completely missing.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setPhysicalMinimum 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 setPhysicalMinimum 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... | Sets the physical_minimum of signal edfsignal.
Parameters
----------
edfsignal: int
signal number
physical_minimum: float
Sets the physical minimum
Notes
-----
This function is required for every signal and can be called only after openin... | "Sets the physical_minimum of signal edfsignal.\n\n Parameters\n ----------\n edfsignal: int\n signal number\n physical_minimum: float\n Sets the physical minimum\n\n Notes\n -----\n This function is required for every signal and can be called only ... | 135 | false | holgern/pyedflib | setPhysicalMinimum | 36,746 | |
LDU_FT/mmoussallam/bird/s_bird | LDU_FT | [
"<BEGIN>\n## `_single_multichannel_mp_run`",
"run of the structured variant of the RSSMP algorithm\n<END>",
"<BEGIN>\n## `_pad`",
"add zeroes on the border to make sure the signal length is a\n power of two\n<END>",
"<BEGIN>\n## `_denoise`",
"multiple rssmp runs with a smart stopping criterion using\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the s_bird API.
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 s_bird API.
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 ... | Multichannel version of BIRD (S-BIRD) seeking Structured Sparsity
Parameters
----------
X : array, shape (n_channels, n_times)
The numpy n_channels-vy-n_samples array to be denoised where n_channels
is the number of sensors and n_samples the dimension
scales : list of int
The ... | "Multichannel version of BIRD (S-BIRD) seeking Structured Sparsity\n\n Parameters\n ----------\n X : array, shape (n_channels, n_times)\n The numpy n_channels-vy-n_samples array to be denoised where n_channels\n is the number of sensors and n_samples the dimension\n scales : list of int\n ... | 35 | false | mmoussallam/bird | s_bird | 36,747 | |
LDU_FT/AN3223/fpbox/partition | LDU_FT | [
"<BEGIN>\n## `partition`",
"Works similar to filter, except it returns a two-item tuple where the\r\n first item is the sequence of items that passed the filter and the\r\n second is a sequence of items that didn't pass the filter\n<END>",
"<BEGIN>\n## `lazy_binmap`",
"Maps a binary function over a sequ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partition API.
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 partition API.
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... | Works similar to filter, except it returns a two-item tuple where the
first item is the sequence of items that passed the filter and the
second is a sequence of items that didn't pass the filter | "Works similar to filter, except it returns a two-item tuple where the\r\n first item is the sequence of items that passed the filter and the\r\n second is a sequence of items that didn't pass the filter" | 11 | false | AN3223/fpbox | partition | 36,748 | |
LDU_FT/cocagne/txdbus/connect | LDU_FT | [
"<BEGIN>\n## `isSignatureValid`",
"Verifies that the received signature matches the expected value\n<END>",
"<BEGIN>\n## `notifyOnDisconnect`",
"Registers a callback that will be called when the DBus connection\n underlying the remote object is lost",
" @type callback: Callable object acceptin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connects to the specified bus and returns a
L{twisted.internet.defer.Deferred} to the fully-connected
L{DBusClientConnection}.
@param reactor: L{twisted.internet.interfaces.IReactor} implementor
@param busAddress: 'session', 'system', or a valid bus address as defined
by the DBus specification... | "Connects to the specified bus and returns a\n L{twisted.internet.defer.Deferred} to the fully-connected\n L{DBusClientConnection}.\n\n @param reactor: L{twisted.internet.interfaces.IReactor} implementor\n\n @param busAddress: 'session', 'system', or a valid bus address as defined\n by the DBus speci... | 160 | false | cocagne/txdbus | connect | 36,749 | |
LDU_FT/squdle/baseconvert/str_digit_to_int | LDU_FT | [
"<BEGIN>\n## `represent_as_tuple`",
"Represent a number-string in the form of a tuple of digits.\r\n \"868.0F\" -> (8, 6, 8, '.', 0, 15)\r",
" Args:\r\n string - Number represented as a string of digits.\r\n Returns:\r\n Number represented as an iterable container of digits\r",
" >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_digit_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_digit_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 ... | Converts a string character to a decimal number.
Where "A"->10, "B"->11, "C"->12, ...etc
Args:
chr(str): A single character in the form of a string.
Returns:
The integer value of the input string digit. | "Converts a string character to a decimal number.\r\n Where \"A\"->10, \"B\"->11, \"C\"->12, ...etc\r\n\r\n Args:\r\n chr(str): A single character in the form of a string.\r\n\r\n Returns:\r\n The integer value of the input string digit." | 77 | false | squdle/baseconvert | str_digit_to_int | 36,750 | |
LDU_FT/ihabunek/toot/post_status | LDU_FT | [
"<BEGIN>\n## `_wc_hard_wrap`",
"Wrap text to length characters, breaking when target length is reached,\n taking into account character width.",
" Used to wrap lines which cannot be wrapped on whitespace.\n<END>",
"<BEGIN>\n## `wc_wrap`",
"Wrap text to given length, breaking on whitespace and taking i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_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 extra... | Posts a new status.
https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#posting-a-new-status | "Posts a new status.\n https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#posting-a-new-status" | 44 | false | ihabunek/toot | post_status | 36,751 | |
LDU_FT/SkyLothar/shcmd/rm | LDU_FT | [
"<BEGIN>\n## `cd`",
"cd to target dir when running in this block",
" :param cd_path: dir to cd into\n :param create: create new dir if destination not there",
" Usage::",
" >>> with cd(\"/tmp\"):\n ... print(\"we are in /tmp now\")\n<END>",
"<BEGIN>\n## `cd_to`",
"make a gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rm API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rm API.
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 docu... | delete file or dir
returns True if deleted, if file/dir not exists, return False
:param path: path to delete
:param isdir: set True if you want to delete dir | "delete file or dir\n returns True if deleted, if file/dir not exists, return False\n\n :param path: path to delete\n :param isdir: set True if you want to delete dir" | 41 | false | SkyLothar/shcmd | rm | 36,752 | |
LDU_FT/rbarrois/xworkflows/applies_to | LDU_FT | [
"<BEGIN>\n## `_setup_states`",
"Create a StateList object from a 'states' Workflow attribute.\n<END>",
"<BEGIN>\n## `_setup_transitions`",
"Create a TransitionList object from a 'transitions' Workflow attribute.",
" Args:\n tdef: list of transition definitions\n states (StateList): already ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the applies_to API.
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 applies_to API.
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... | Whether this hook applies to the given transition/state.
Args:
transition (Transition): the transition to check
from_state (State or None): the state to check. If absent, the check
is 'might this hook apply to the related transition, given a
valid source ... | "Whether this hook applies to the given transition/state.\n\n Args:\n transition (Transition): the transition to check\n from_state (State or None): the state to check. If absent, the check\n is 'might this hook apply to the related transition, given a\n valid ... | 59 | false | rbarrois/xworkflows | applies_to | 36,753 | |
LDU_FT/ascribe/pyspool/can_register | LDU_FT | [
"<BEGIN>\n## `address_from_path`",
"Args:\n path (str): Path for the HD wallet. If path is ``None`` it\n will generate a unique path based on time.",
" Returns:\n A ``tuple`` with the path and leaf address.\n<END>",
"<BEGIN>\n## `_unique_hierarchical_string`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | bool: :const:`True` if :attr:`address` can register the edition
:attr:`edition_number` of :attr:`piece_address` else :const:`False`.
In order to register an edition:
1. The master piece needs to be registered.
2. The number of editions needs to be registered.
3. The :attr:`edit... | "bool: :const:`True` if :attr:`address` can register the edition\n :attr:`edition_number` of :attr:`piece_address` else :const:`False`.\n\n In order to register an edition:\n\n 1. The master piece needs to be registered.\n 2. The number of editions needs to be registered.\n 3. The :at... | 79 | false | ascribe/pyspool | can_register | 36,754 | |
LDU_FT/stevearc/dql/_global_index | LDU_FT | [
"<BEGIN>\n## `field_or_value`",
"For a clause that could be a field or value,\n create the right one and return it\n<END>",
"<BEGIN>\n## `from_where`",
"Factory method for creating the top-level expression\n<END>",
"<BEGIN>\n## `_factory`",
"Factory for joining constraints with a single conjunction\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _global_index API.
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 _global_index API.
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 grammar for a global index declaration | "Create grammar for a global index declaration" | 157 | false | stevearc/dql | _global_index | 36,755 | |
LDU_FT/ga4gh/ga4gh-server/runListReferenceBases | LDU_FT | [
"<BEGIN>\n## `VerifierMiddleware`",
"Common wrapper for the authentication modules.\n * Parses the request before passing it on to the authentication module.\n * Sets 'pyoidc' cookie if authentication succeeds.\n * Redirects the user to complete the authentication.\n * Allows the user ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the runListReferenceBases 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 runListReferenceBases API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Runs a listReferenceBases request for the specified ID and
request arguments. | "Runs a listReferenceBases request for the specified ID and\n request arguments." | 768 | false | ga4gh/ga4gh-server | runListReferenceBases | 36,756 | |
LDU_FT/inveniosoftware/invenio-files-rest/guess_mimetype | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_mimetype API.
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 guess_mimetype API.
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... | Map extra mimetype with the encoding provided.
:returns: The extra mimetype. | "Map extra mimetype with the encoding provided.\n\n :returns: The extra mimetype." | 272 | false | inveniosoftware/invenio-files-rest | guess_mimetype | 36,757 | |
LDU_FT/smnorris/pgdata/build_query | LDU_FT | [
"<BEGIN>\n## `schemas`",
"Get a listing of all non-system schemas (prefixed with 'pg_') that\n exist in the database.\n<END>",
"<BEGIN>\n## `tables`",
"Get a listing of all tables\n - if schema specified on connect, return unqualifed table names in\n that schema\n - in no s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_query API.
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 build_query API.
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... | Modify table and field name variables in a sql string with a dict.
This seems to be discouraged by psycopg2 docs but it makes small
adjustments to large sql strings much easier, making prepped queries
much more versatile.
USAGE
sql = 'SELECT $myInputField FROM $myInputTable'
... | "Modify table and field name variables in a sql string with a dict.\n This seems to be discouraged by psycopg2 docs but it makes small\n adjustments to large sql strings much easier, making prepped queries\n much more versatile.\n\n USAGE\n sql = 'SELECT $myInputField FROM $myInputTab... | 50 | false | smnorris/pgdata | build_query | 36,758 | |
LDU_FT/dariusbakunas/rawdisk/do_list | LDU_FT | [
"<BEGIN>\n## `get_entry`",
"Get mft entry by index. If entry is not already loaded it will load \\\n it from file specified during :class:`MftTable` initialization.",
" Returns:\n MftEntry: initialized :class:`~.mft_entry.MftEntry`.\n<END>",
"<BEGIN>\n## `do_list`",
"Enumerate resou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Enumerate resources
Possible values: plugins, volumes | "Enumerate resources\n\n Possible values: plugins, volumes" | 75 | false | dariusbakunas/rawdisk | do_list | 36,759 | |
LDU_FT/PyGithub/PyGithub/NEW_DEBUG_FRAME | LDU_FT | [
"<BEGIN>\n## `add_membership`",
":calls: `PUT /teams/:id/memberships/:user <http://developer.github.com/v3/orgs/teams>`_\n :param member: :class:`github.Nameduser.NamedUser`\n :param role: string\n :rtype: None\n<END>",
"<BEGIN>\n## `add_to_repos`",
":calls: `PUT /teams/:id/repos/:org/:re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the NEW_DEBUG_FRAME API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the NEW_DEBUG_FRAME API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Initialize a debug frame with requestHeader
Frame count is updated and will be attached to respond header
The structure of a frame: [requestHeader, statusCode, responseHeader, raw_data]
Some of them may be None | "Initialize a debug frame with requestHeader\n Frame count is updated and will be attached to respond header\n The structure of a frame: [requestHeader, statusCode, responseHeader, raw_data]\n Some of them may be None" | 520 | false | PyGithub/PyGithub | NEW_DEBUG_FRAME | 36,760 | |
LDU_FT/zerok/flask-compass/init_app | LDU_FT | [
"<BEGIN>\n## `init_app`",
"Initialize the application once the configuration has been loaded\n there.\n<END>",
"<BEGIN>\n## `compile`",
"Main entry point that compiles all the specified or found compass\n projects.\n<END>",
"<BEGIN>\n## `after_request`",
"after_request handler for compiling ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
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 init_app API.
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... | Initialize the application once the configuration has been loaded
there. | "Initialize the application once the configuration has been loaded\n there." | 12 | false | zerok/flask-compass | init_app | 36,761 | |
LDU_FT/StorjOld/heartbeat/prove | LDU_FT | [
"<BEGIN>\n## `generate_challenges`",
"Generate the specified number of hash challenges.",
" :param num: The number of hash challenges we want to generate.\n :param root_seed: Some value that we use to generate our seeds from.\n<END>",
"<BEGIN>\n## `meet_challenge`",
"Get the SHA256 hash of a s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prove API.
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 prove API.
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... | Returns a proof of ownership of the given file based on the
challenge. The proof consists of a hash of the specified file chunk
and the complete merkle branch.
:param file: a file that supports `read()`, `seek()` and `tell()`
:param challenge: the challenge to use for generating this p... | "Returns a proof of ownership of the given file based on the\n challenge. The proof consists of a hash of the specified file chunk\n and the complete merkle branch.\n\n :param file: a file that supports `read()`, `seek()` and `tell()`\n :param challenge: the challenge to use for generating ... | 100 | false | StorjOld/heartbeat | prove | 36,762 | |
LDU_FT/GNS3/gns3-server/update | LDU_FT | [
"<BEGIN>\n## `_asyncio_open_serial_windows`",
"Open a windows named pipe",
" :returns: An IO like object\n<END>",
"<BEGIN>\n## `_asyncio_open_serial_unix`",
"Open a unix socket or a windows named pipe",
" :returns: An IO like object\n<END>",
"<BEGIN>\n## `_choose_capture_side`",
"Run capture on ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update the node on the compute server
:param kwargs: Node properties | "Update the node on the compute server\n\n :param kwargs: Node properties" | 1,412 | true | GNS3/gns3-server | update | 36,763 | |
LDU_FT/raamana/hiwenet/get_features | LDU_FT | [
"<BEGIN>\n## `diff_medians`",
"Computes the difference in medians between two arrays of values.",
" Given arrays will be flattened (to 1D array) regardless of dimension,\n and any non-finite/NaN values will be ignored.",
" Parameters\n ----------\n array_one, array_two : iterable\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extr... | Placeholder to insert your own function to read subject-wise features. | "Placeholder to insert your own function to read subject-wise features." | 115 | false | raamana/hiwenet | get_features | 36,764 | |
LDU_FT/major/supernova/load_config | LDU_FT | [
"<BEGIN>\n## `get_user_password`",
"Allows the user to print the credential for a particular keyring entry\n to the screen\n<END>",
"<BEGIN>\n## `pull_env_credential`",
"Dissects a keyring credential lookup string from the supernova config file\n and returns the username/password combo\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Pulls the supernova configuration file and reads it | "Pulls the supernova configuration file and reads it" | 66 | false | major/supernova | load_config | 36,765 | |
LDU_FT/pecan/pecan/_find_controller | LDU_FT | [
"<BEGIN>\n## `route`",
"This function is used to define an explicit route for a path segment.",
" You generally only want to use this in situations where your desired path\n segment is not a valid Python variable/function name.",
" For example, if you wanted to be able to route to:",
" /path/wit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_controller API.
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 _find_controller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns the appropriate controller for routing a custom action. | "Returns the appropriate controller for routing a custom action." | 157 | false | pecan/pecan | _find_controller | 36,766 | |
LDU_FT/limix/numpy-sugar/cartesian | LDU_FT | [
"<BEGIN>\n## `dotd`",
"r\"\"\"Diagonal of :math:`\\mathrm A\\mathrm B^\\intercal`.",
" If ``A`` is :math:`n\\times p` and ``B`` is :math:`p\\times n`, it is done in\n :math:`O(pn)`.",
" Args:\n A (array_like): Left matrix.\n B (array_like): Right matrix.\n out (:class:`numpy.ndar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cartesian API.
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 cartesian API.
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... | r"""Cartesian indexing.
Returns a sequence of n-tuples indexing each element of a hypothetical
matrix of the given shape.
Args:
shape (tuple): tuple of dimensions.
Returns:
array_like: indices.
Example
-------
.. doctest::
>>> from numpy_sugar import cartesian
... | "r\"\"\"Cartesian indexing.\n\n Returns a sequence of n-tuples indexing each element of a hypothetical\n matrix of the given shape.\n\n Args:\n shape (tuple): tuple of dimensions.\n\n Returns:\n array_like: indices.\n\n Example\n -------\n\n .. doctest::\n\n >>> from numpy_suga... | 124 | false | limix/numpy-sugar | cartesian | 36,767 | |
LDU_FT/helixyte/everest/get_resource_class_relationship_attribute_iterator | LDU_FT | [
"<BEGIN>\n## `domain_relationship`",
"Returns a domain relationship equivalent with this resource\n relationship.\n<END>",
"<BEGIN>\n## `get_attribute_cardinality`",
"Returns the cardinality of the given resource attribute.",
" :returns: One of the constants defined in\n :class:`evererst.cons... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource_class_relationship_attribute_iterator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource_class_relationship_attribute_iterator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <EN... | Returns an iterator over all terminal attributes in the given registered
resource. | "Returns an iterator over all terminal attributes in the given registered\n resource." | 449 | false | helixyte/everest | get_resource_class_relationship_attribute_iterator | 36,768 | |
LDU_FT/happyleavesaoc/python-limitlessled/brightness | LDU_FT | [
"<BEGIN>\n## `command_set_factory`",
"Create command set for controlling a specific led group.\n :param bridge: The bridge the leds are connected to.\n :param group_number: The group number.\n :param led_type: The type of the leds.\n :return: The created command set.\n<END>",
"<BEGIN>\n## `rate`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the brightness API.
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 brightness API.
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... | Set the brightness.
:param brightness: Value to set (0.0-1.0). | "Set the brightness.\n\n :param brightness: Value to set (0.0-1.0)." | 164 | false | happyleavesaoc/python-limitlessled | brightness | 36,769 | |
LDU_FT/revelc/pyaccumulo/attachIterator | LDU_FT | [
"<BEGIN>\n## `following_key`",
"Returns the key immediately following the input key - based on the Java implementation found in\n org.apache.accumulo.core.data.Key, function followingKey(PartialKey part)\n :param key: the key to be followed\n :return: a key that immediately follows the input key\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attachIterator API.
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 attachIterator API.
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... | Parameters:
- login
- tableName
- setting
- scopes | "Parameters:\n - login\n - tableName\n - setting\n - scopes" | 110 | false | revelc/pyaccumulo | attachIterator | 36,770 | |
LDU_FT/NikolayDachev/jadm/putfo | LDU_FT | [
"<BEGIN>\n## `recv`",
"Read from the standard output of the forked program.",
" :param int size: how many chars should be read",
" :return: the length of the read content, as an `int`\n<END>",
"<BEGIN>\n## `generate`",
"Generate a new private DSS key. This factory function can be used to\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the putfo API.
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 putfo API.
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... | Copy the contents of an open file object (``fl``) to the SFTP server as
``remotepath``. Any exception raised by operations will be passed
through.
The SFTP operations use pipelining for speed.
:param file fl: opened file or file-like object to copy
:param str remotepath: the de... | "Copy the contents of an open file object (``fl``) to the SFTP server as\n ``remotepath``. Any exception raised by operations will be passed\n through.\n\n The SFTP operations use pipelining for speed.\n\n :param file fl: opened file or file-like object to copy\n :param str remotepath... | 141 | false | NikolayDachev/jadm | putfo | 36,771 | |
LDU_FT/apple/turicreate/show | LDU_FT | [
"<BEGIN>\n## `ReadTag`",
"Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.",
" We return the raw bytes of the tag rather than decoding them. The raw\n bytes can then be used to look up the proper decoder. This effectively allows\n us to trade some work that would be done in pure-python ... | 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... | Displays the image. Requires PIL/Pillow.
Alternatively, you can create an :class:`turicreate.SArray` of this image
and use py:func:`turicreate.SArray.show()`
See Also
--------
turicreate.image_analysis.resize
Examples
--------
>>> img = turicreate.Image... | "Displays the image. Requires PIL/Pillow.\n\n Alternatively, you can create an :class:`turicreate.SArray` of this image\n and use py:func:`turicreate.SArray.show()`\n\n See Also\n --------\n turicreate.image_analysis.resize\n\n Examples\n --------\n >>> img = turi... | 7,340 | true | apple/turicreate | show | 36,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.