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/EUDAT-B2SAFE/B2HANDLE/send_handle_get_request | LDU_FT | [
"<BEGIN>\n## `add_missing_optional_args_with_value_none`",
"Adds key-value pairs to the passed dictionary, so that\n afterwards, the dictionary can be used without needing\n to check for KeyErrors.",
" If the keys passed as a second argument are not present,\n they are added with None as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_handle_get_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_handle_get_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Send a HTTP GET request to the handle server to read either an entire
handle or to some specified values from a handle record, using the
requests module.
:param handle: The handle.
:param indices: Optional. A list of indices to delete. Defaults to
None (i.e. the enti... | "Send a HTTP GET request to the handle server to read either an entire\n handle or to some specified values from a handle record, using the\n requests module.\n\n :param handle: The handle.\n :param indices: Optional. A list of indices to delete. Defaults to\n None (i.e. t... | 168 | false | EUDAT-B2SAFE/B2HANDLE | send_handle_get_request | 3,273 | |
LDU_FT/Frzk/Ellis/check_limit | LDU_FT | [
"<BEGIN>\n## `_prepare`",
"Updates the function arguments and creates a :class:`asyncio.Task`\n from the Action.",
" *kwargs* is an optional dictionnary of additional arguments to pass to\n the Action function.",
" .. warning::\n *kwargs* will overwrite existing keys in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_limit API.
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 check_limit API.
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... | Checks if the given limit is valid.
A limit must be > 0 to be considered valid.
Raises ValueError when the *limit* is not > 0. | "Checks if the given limit is valid.\n\n A limit must be > 0 to be considered valid.\n\n Raises ValueError when the *limit* is not > 0." | 106 | false | Frzk/Ellis | check_limit | 3,274 | |
LDU_FT/PedalPi/PluginsManager/close | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the index file and reorder the banks based in order listed in index",
" :param list[Indexable] indexables: Banks that will be reordered based in index file\n :return list[Bank]: Banks reordered\n<END>",
"<BEGIN>\n## `register`",
"Register an observer for it be notif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Remove the audio plugins loaded and closes connection with mod-host.
.. note::
If the mod-host process has been created with :meth:`~pluginsmanager.observer.mod_host.ModHost.start()`
method, it will be finished. | "Remove the audio plugins loaded and closes connection with mod-host.\n\n .. note::\n\n If the mod-host process has been created with :meth:`~pluginsmanager.observer.mod_host.ModHost.start()`\n method, it will be finished." | 139 | false | PedalPi/PluginsManager | close | 3,275 | |
LDU_FT/fizyk/pyramid_yml/_env_filenames | LDU_FT | [
"<BEGIN>\n## `printer`",
"Prepare data for printing.",
" :param data: a data value that will be processed by method\n :param int depth: recurrency indicator, to maintain proper indent",
" :returns: string with formatted config\n :rtype: str\n<END>",
"<BEGIN>\n## `slice_config`",
"Slice config ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _env_filenames API.
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 _env_filenames API.
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... | Extend filenames with ennv indication of environments.
:param list filenames: list of strings indicating filenames
:param str env: environment indicator
:returns: list of filenames extended with environment version
:rtype: list | "Extend filenames with ennv indication of environments.\n\n :param list filenames: list of strings indicating filenames\n :param str env: environment indicator\n\n :returns: list of filenames extended with environment version\n :rtype: list" | 35 | false | fizyk/pyramid_yml | _env_filenames | 3,276 | |
LDU_FT/AlejandroFrias/case-conversion/parse_case | LDU_FT | [
"<BEGIN>\n## `camelcase`",
"Return text in camelCase style.",
" Args:\n text: input string to convert case\n detect_acronyms: should attempt to detect acronyms\n acronyms: a list of acronyms to detect",
" >>> camelcase(\"hello world\")\n 'helloWorld'\n >>> camelcase(\"HELLO_HT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_case API.
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 parse_case API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse a stringiable into a list of words.
Also returns the case type, which can be one of the following:
- upper: All words are upper-case.
- lower: All words are lower-case.
- pascal: All words are title-case or upper-case. Note that the
stringiable may still have separat... | "Parse a stringiable into a list of words.\n\n Also returns the case type, which can be one of the following:\n - upper: All words are upper-case.\n - lower: All words are lower-case.\n - pascal: All words are title-case or upper-case. Note that the\n stringiable may still have ... | 42 | false | AlejandroFrias/case-conversion | parse_case | 3,277 | |
LDU_FT/prawn-cake/vk-requests/_get_access_token | LDU_FT | [
"<BEGIN>\n## `consumer`",
"Consumer decorator",
" :param fn: coroutine consumer function",
" Example:",
" >>> api = StreamingAPI('my_service_key')\n >>> stream = api.get_stream()",
" >>> @stream.consumer\n >>> @asyncio.coroutine\n >>> def handle_event(paylo... | 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... | Get access token using app_id, login and password OR service token
(service token docs: https://vk.com/dev/service_token | "Get access token using app_id, login and password OR service token\n (service token docs: https://vk.com/dev/service_token" | 55 | false | prawn-cake/vk-requests | _get_access_token | 3,278 | |
LDU_FT/jeffh/rpi_courses/time_conflict | LDU_FT | [
"<BEGIN>\n## `safeInt`",
"Throws an exception if the number starts with a 0 (may be significant).",
" If the value cannot be converted to an int, it is returned as is.\n<END>",
"<BEGIN>\n## `from_string`",
"Creates a new CourseCatalog instance from an string containing xml.\n<END>",
"<BEGIN>\n## `cross... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time_conflict API.
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 time_conflict API.
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... | Internal use. Determines when the given time range conflicts with the set of
excluded time ranges. | "Internal use. Determines when the given time range conflicts with the set of\n excluded time ranges." | 59 | false | jeffh/rpi_courses | time_conflict | 3,279 | |
LDU_FT/shmir/PyTrafficGenerator/eval | LDU_FT | [
"<BEGIN>\n## `new_log_file`",
"Create new logger and log file from existing logger.",
" The new logger will be create in the same directory as the existing logger file and will be named\n as the existing log file with the requested suffix.",
" :param logger: existing logger\n :param suffix: string... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval API.
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 eval API.
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... | Execute Tcl command.
Write the command to tcl script (.tcl) log file.
Execute the command.
Write the command and the output to general (.txt) log file.
:param command: Command to execute.
:returns: command raw output. | "Execute Tcl command.\n\n Write the command to tcl script (.tcl) log file.\n Execute the command.\n Write the command and the output to general (.txt) log file.\n\n :param command: Command to execute.\n :returns: command raw output." | 50 | false | shmir/PyTrafficGenerator | eval | 3,280 | |
LDU_FT/chorsley/python-Wappalyzer/_has_app | LDU_FT | [
"<BEGIN>\n## `_parse_html`",
"Parse the HTML with BeautifulSoup to find <script> and <meta> tags.\n<END>",
"<BEGIN>\n## `new_from_url`",
"Constructs a new WebPage object for the URL,\n using the `requests` module to fetch the HTML.",
" Parameters\n ----------",
" url : str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _has_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 _has_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... | Determine whether the web page matches the app signature. | "Determine whether the web page matches the app signature." | 24 | false | chorsley/python-Wappalyzer | _has_app | 3,281 | |
LDU_FT/Bystroushaak/pyDHTMLParser/escape | LDU_FT | [
"<BEGIN>\n## `_raw_split`",
"Parse HTML from text into array filled with tags end text.",
" Source code is little bit unintutive, because it is state machine parser.",
" For better understanding, look at http://bit.ly/1rXRcJj",
" Example::",
" >>> dhtmlparser._raw_split('<html><tag params=... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape API.
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 escape API.
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 ... | Escape `quote` in string `inp`.
Example usage::
>>> escape('hello "')
'hello \\"'
>>> escape('hello \\"')
'hello \\\\"'
Args:
inp (str): String in which `quote` will be escaped.
quote (char, default "): Specify which character will be escaped.
Returns:
... | "Escape `quote` in string `inp`.\n\n Example usage::\n\n >>> escape('hello \"')\n 'hello \\\\\"'\n >>> escape('hello \\\\\"')\n 'hello \\\\\\\\\"'\n\n Args:\n inp (str): String in which `quote` will be escaped.\n quote (char, default \"): Specify which character will be e... | 147 | false | Bystroushaak/pyDHTMLParser | escape | 3,282 | |
LDU_FT/frictionlessdata/tableschema-py/foreign_keys | LDU_FT | [
"<BEGIN>\n## `primary_key`",
"https://github.com/frictionlessdata/tableschema-py#schema\n<END>",
"<BEGIN>\n## `foreign_keys`",
"https://github.com/frictionlessdata/tableschema-py#schema\n<END>",
"<BEGIN>\n## `add_field`",
"https://github.com/frictionlessdata/tableschema-py#schema\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the foreign_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the foreign_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | https://github.com/frictionlessdata/tableschema-py#schema | "https://github.com/frictionlessdata/tableschema-py#schema" | 38 | false | frictionlessdata/tableschema-py | foreign_keys | 3,283 | |
LDU_FT/xoolive/traffic/temp | LDU_FT | [
"<BEGIN>\n## `closest_point_of_approach`",
"Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.",
" In order to be computed efficiently, the method needs the following\n parameters:",
" - projection: a firs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temp API.
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 temp API.
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... | temp (altitude): Temperature only version of ISA atmos
Input:
h = altitude in meters 0.0 < h < 84852.
(will be clipped when outside range, integer input allowed)
Output:
T (in SI-unit: K | "temp (altitude): Temperature only version of ISA atmos\n\n Input:\n h = altitude in meters 0.0 < h < 84852.\n (will be clipped when outside range, integer input allowed)\n Output:\n T (in SI-unit: K" | 147 | false | xoolive/traffic | temp | 3,284 | |
LDU_FT/ionelmc/python-cogen/handle_event | LDU_FT | [
"<BEGIN>\n## `run_op`",
"Handle the operation:",
" * if coro is in STATE_RUNNING, send or throw the given op\r",
" * if coro is in STATE_NEED_INIT, call the init function and if it\r\n doesn't return a generator, set STATE_COMPLETED and set the result\r\n to whatever the functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Handle completion for a request.
Calls the scheduler to run or schedule the associated coroutine. | "Handle completion for a request.\r\n\r\n Calls the scheduler to run or schedule the associated coroutine." | 175 | false | ionelmc/python-cogen | handle_event | 3,285 | |
LDU_FT/developersociety/django-glitter/has_publish_permission | LDU_FT | [
"<BEGIN>\n## `get_templates`",
"Return a list of templates usable by a model.\n<END>",
"<BEGIN>\n## `attach`",
"Registers the given layout(s) classes\n admin site:",
" @pages.register(Page)\n class Default(PageLayout):\n pass\n<END>",
"<BEGIN>\n## `get_formset`",
"Default user to the cur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_publish_permission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_publish_permission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns a boolean if the user in the request has publish permission for the object. | "Returns a boolean if the user in the request has publish permission for the object." | 80 | false | developersociety/django-glitter | has_publish_permission | 3,286 | |
LDU_FT/stephen-bunn/file-config/on_json_dumps | LDU_FT | [
"<BEGIN>\n## `on_yaml_imported`",
"The `pyyaml <https://pypi.org/project/pyyaml/>`_ import hook.",
" :param module yaml: The ``yaml`` module\n<END>",
"<BEGIN>\n## `on_yaml_dumps`",
"The `pyyaml <https://pypi.org/project/pyyaml/>`_ dumps method.",
" :param module yaml: The ``yaml`` module\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_json_dumps API.
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 on_json_dumps API.
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... | The :mod:`json` dumps method.
:param module json: The ``json`` module
:param class config: The instance's config class
:param dict dictionary: The dictionary instance to serialize
:param int indent: The amount of spaces to use for indentation,
defaults to 0, optional
... | "The :mod:`json` dumps method.\n\n :param module json: The ``json`` module\n :param class config: The instance's config class\n :param dict dictionary: The dictionary instance to serialize\n :param int indent: The amount of spaces to use for indentation,\n defaults to 0, optional\... | 215 | false | stephen-bunn/file-config | on_json_dumps | 3,287 | |
LDU_FT/TheOneHyer/arandomness/add_children | LDU_FT | [
"<BEGIN>\n## `add_children`",
"Adds new children nodes after filtering for duplicates",
" Args:\n children (list): list of OmniTree nodes to add as children\n<END>",
"<BEGIN>\n## `add_parents`",
"Adds new parent nodes after filtering for duplicates",
" Args:\n parents (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_children API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_children API.
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... | Adds new children nodes after filtering for duplicates
Args:
children (list): list of OmniTree nodes to add as children | "Adds new children nodes after filtering for duplicates\n\n Args:\n children (list): list of OmniTree nodes to add as children" | 41 | false | TheOneHyer/arandomness | add_children | 3,288 | |
LDU_FT/thriftrw/thriftrw-python/t_IDENTIFIER | LDU_FT | [
"<BEGIN>\n## `add_include`",
"Adds a module as an included module.",
" :param name:\n Name under which the included module should be exposed in the\n current module.\n :param module_spec:\n ModuleSpec of the included module.\n<END>",
"<BEGIN>\n## `link`",
"Link... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the t_IDENTIFIER API.
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 t_IDENTIFIER API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | r'[a-zA-Z_](\.[a-zA-Z_0-9]|[a-zA-Z_0-9])* | "r'[a-zA-Z_](\\.[a-zA-Z_0-9]|[a-zA-Z_0-9])*" | 135 | false | thriftrw/thriftrw-python | t_IDENTIFIER | 3,289 | |
LDU_FT/chaoss/grimoirelab-cereslib/configure_logging | LDU_FT | [
"<BEGIN>\n## `filter_`",
"This method filter some of the rows where the 'value'\n is found in each of the 'columns'.",
" :param column: list of strings\n :param value: any type",
" :returns: filtered dataframe\n :rtype: pandas.DataFrame\n<END>",
"<BEGIN>\n## `eventize`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_logging API.
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 configure_logging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Configure logging
The function configures log messages. By default, log messages
are sent to stderr. Set the parameter `debug` to activate the
debug mode.
:param debug: set the debug mode | "Configure logging\n The function configures log messages. By default, log messages\n are sent to stderr. Set the parameter `debug` to activate the\n debug mode.\n :param debug: set the debug mode" | 107 | false | chaoss/grimoirelab-cereslib | configure_logging | 3,290 | |
LDU_FT/Falkonry/falkonry-python-client/add_facts_stream | LDU_FT | [
"<BEGIN>\n## `exception_handler`",
"Function that takes exception Object(<Byte>,<str>) as a parameter and returns the error message<str>\n<END>",
"<BEGIN>\n## `get`",
"To make a GET request to Falkonry API server\n :param url: string\n<END>",
"<BEGIN>\n## `post`",
"To make a POST request to Falkonr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_facts_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_facts_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | To add facts data stream to a Assessment
:param datastream: string
:param data_type: string
:param options: dict
:param data: Stream | "To add facts data stream to a Assessment\n :param datastream: string\n :param data_type: string\n :param options: dict\n :param data: Stream" | 52 | false | Falkonry/falkonry-python-client | add_facts_stream | 3,291 | |
LDU_FT/consbio/ncdjango/create_response | LDU_FT | [
"<BEGIN>\n## `p_binary_operators`",
"conditional : conditional AND condition\n | conditional OR condition\n condition : condition LTE expression\n | condition GTE expression\n | condition LT expression\n | condition GT expression... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_response API.
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_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns a response object for the request. Can be overridden to return different responses. | "Returns a response object for the request. Can be overridden to return different responses." | 146 | false | consbio/ncdjango | create_response | 3,292 | |
LDU_FT/uber-common/opentracing-python-instrumentation/full_url | LDU_FT | [
"<BEGIN>\n## `install_all_patches`",
"A convenience method that installs all available hooks.",
" If a specific module is not available on the path, it is ignored.\n<END>",
"<BEGIN>\n## `install_patches`",
"Usually called from middleware to install client hooks\n specified in the client_hooks section ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Taken from
http://legacy.python.org/dev/peps/pep-3333/#url-reconstruction
:return: Reconstructed URL from WSGI environment. | "Taken from\n http://legacy.python.org/dev/peps/pep-3333/#url-reconstruction\n\n :return: Reconstructed URL from WSGI environment." | 74 | false | uber-common/opentracing-python-instrumentation | full_url | 3,293 | |
LDU_FT/tchellomello/python-arlo/last_video | LDU_FT | [
"<BEGIN>\n## `query`",
"Return a JSON object or raw session.",
" :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_video API.
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 last_video API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the last <ArloVideo> object from camera. | "Return the last <ArloVideo> object from camera." | 69 | false | tchellomello/python-arlo | last_video | 3,294 | |
LDU_FT/merll/docker-fabric/load_image | LDU_FT | [
"<BEGIN>\n## `reset_socat`",
"Finds and closes all processes of `socat`.",
" :param use_sudo: Use `sudo` command. As Docker-Fabric does not run `socat` with `sudo`, this is by default set to\n ``False``. Setting it to ``True`` could unintentionally remove instances from other users.\n :type use_sudo:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Uploads an image from a local file to a Docker remote. Note that this temporarily has to extend the service timeout
period.
:param filename: Local file name.
:type filename: unicode
:param timeout: Timeout in seconds to set temporarily for the upload.
:type timeout: int | "Uploads an image from a local file to a Docker remote. Note that this temporarily has to extend the service timeout\n period.\n\n :param filename: Local file name.\n :type filename: unicode\n :param timeout: Timeout in seconds to set temporarily for the upload.\n :type timeout: int" | 157 | false | merll/docker-fabric | load_image | 3,295 | |
LDU_FT/base4sistemas/satcomum/is_cpf | LDU_FT | [
"<BEGIN>\n## `dados_qrcode`",
"Compila os dados que compõem o QRCode do CF-e-SAT, conforme a\n documentação técnica oficial **Guia para Geração do QRCode pelo Aplicativo\n Comercial**, a partir de uma instância de ``ElementTree`` que represente a\n árvore do XML do CF-e-SAT.",
" :param cfe: Instânci... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_cpf API.
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 is_cpf API.
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 ... | Uma versão conveniente para usar em testes condicionais. Apenas retorna
verdadeiro ou falso, conforme o argumento é validado.
:param bool estrito: Padrão ``False``, indica se apenas os dígitos do
número deverão ser considerados. Se verdadeiro, potenciais caracteres
que formam a máscara serão re... | "Uma versão conveniente para usar em testes condicionais. Apenas retorna\n verdadeiro ou falso, conforme o argumento é validado.\n\n :param bool estrito: Padrão ``False``, indica se apenas os dígitos do\n número deverão ser considerados. Se verdadeiro, potenciais caracteres\n que formam a máscara se... | 61 | false | base4sistemas/satcomum | is_cpf | 3,296 | |
LDU_FT/intuition-io/intuition/use_google_symbol | LDU_FT | [
"<BEGIN>\n## `update`",
"Actualizes the portfolio universe with the alog state\n<END>",
"<BEGIN>\n## `trade_signals_handler`",
"Process buy and sell signals from the simulation\n<END>",
"<BEGIN>\n## `advise`",
"General parameters or user settings\n (maw_weigth, max_assets, max_frequency, commission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_google_symbol API.
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 use_google_symbol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Removes ".PA" or other market indicator from yahoo symbol
convention to suit google convention | "Removes \".PA\" or other market indicator from yahoo symbol\n convention to suit google convention" | 73 | false | intuition-io/intuition | use_google_symbol | 3,297 | |
LDU_FT/buruzaemon/natto-py/splitter_support | LDU_FT | [
"<BEGIN>\n## `__parse_tostr`",
"Builds and returns the MeCab function for parsing Unicode text.",
" Args:\n fn_name: MeCab function name that determines the function\n behavior, either 'mecab_sparse_tostr' or\n 'mecab_nbest_sparse_tostr'.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the splitter_support API.
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 splitter_support API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create tokenizer for use in boundary constraint parsing.
:param py2enc: Encoding used by Python 2 environment.
:type py2enc: str | "Create tokenizer for use in boundary constraint parsing.\n\n :param py2enc: Encoding used by Python 2 environment.\n :type py2enc: str" | 44 | false | buruzaemon/natto-py | splitter_support | 3,298 | |
LDU_FT/rtfd/sphinx-autoapi/_build_toc_node | LDU_FT | [
"<BEGIN>\n## `load`",
"Load objects from the filesystem into the ``paths`` dictionary.\n<END>",
"<BEGIN>\n## `read_file`",
"Read file input into memory, returning deserialized objects",
" :param path: Path of file to read\n :param \\**kwargs:\n * ignore (``list``): List of file patt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_toc_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_toc_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create the node structure that Sphinx expects for TOC Tree entries.
The ``bullet`` argument wraps it in a ``nodes.bullet_list``,
which is how you nest TOC Tree entries. | "Create the node structure that Sphinx expects for TOC Tree entries.\n\n The ``bullet`` argument wraps it in a ``nodes.bullet_list``,\n which is how you nest TOC Tree entries." | 169 | false | rtfd/sphinx-autoapi | _build_toc_node | 3,299 | |
LDU_FT/cloudmesh-cmd3/cmd3/generate_command | LDU_FT | [
"<BEGIN>\n## `do_clear`",
"Usage:\n clear",
" Clears the screen.\n<END>",
"<BEGIN>\n## `do_banner`",
"::",
" Usage:\n banner [-c CHAR] [-n WIDTH] [-i INDENT] [-r COLOR] TEXT",
" Arguments:\n TEXT The text message from which to creat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_command API.
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 generate_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | the command will generate the package and code for a sample cmd3 module.
:param command: the name of the command
:param package: name of the new package. Often this will be cloudmesh_COMMAND
which will be used if not specified.
:param path: path where to place the directory
:para... | "the command will generate the package and code for a sample cmd3 module.\n\n :param command: the name of the command\n :param package: name of the new package. Often this will be cloudmesh_COMMAND\n which will be used if not specified.\n :param path: path where to place the directory\n ... | 184 | false | cloudmesh-cmd3/cmd3 | generate_command | 3,300 | |
LDU_FT/cyrus-/cypy/ed | LDU_FT | [
"<BEGIN>\n## `packed`",
"each row is placed side-by-side with the length of the row interlaced\n the head of the packed matrix contains offsets to this length\n e.g. [[11, 22, 33], [44, 55], []] => [3, 7, 10, 3, 11, 22, 33, 2, 44, 55, 0]\n<END>",
"<BEGIN>\n## `reversed`",
"Create a connectivity ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ed API.
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 ed API.
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... | If ``fn`` maps ``iterable`` to a generator (e.g. :func:`flatten` and
others below), ``ed`` will consume the result and produce a tuple or list.
If ``iterable`` has a finite length (e.g. tuples, lists), uses the
same type to consume it. If not (e.g. generators), use a tuple.
The cypy functions have an ... | "If ``fn`` maps ``iterable`` to a generator (e.g. :func:`flatten` and\n others below), ``ed`` will consume the result and produce a tuple or list.\n\n If ``iterable`` has a finite length (e.g. tuples, lists), uses the\n same type to consume it. If not (e.g. generators), use a tuple.\n\n The cypy functions h... | 209 | false | cyrus-/cypy | ed | 3,301 | |
LDU_FT/townsenddw/jhubctl/parse_command_line | LDU_FT | [
"<BEGIN>\n## `parse_command_line`",
"Parse the jhubctl command line arguments.",
" This overwrites traitlets' default `parse_command_line` method\n and tailors it to jhubctl's needs.\n<END>",
"<BEGIN>\n## `define_parameters`",
"Get a list of parameters to pass to AWS boto call.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_command_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_command_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Parse the jhubctl command line arguments.
This overwrites traitlets' default `parse_command_line` method
and tailors it to jhubctl's needs. | "Parse the jhubctl command line arguments.\n \n This overwrites traitlets' default `parse_command_line` method\n and tailors it to jhubctl's needs." | 31 | false | townsenddw/jhubctl | parse_command_line | 3,302 | |
LDU_FT/SMTG-UCL/sumo/_makedos | LDU_FT | [
"<BEGIN>\n## `kpath_from_seekpath`",
"r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.",
" If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.",
" Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _makedos API.
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 _makedos API.
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... | This is basically the same as the SDOSPlotter get_plot function. | "This is basically the same as the SDOSPlotter get_plot function." | 449 | false | SMTG-UCL/sumo | _makedos | 3,303 | |
LDU_FT/CQCL/pytket/xmon_to_arc | LDU_FT | [
"<BEGIN>\n## `_jordan_wigner_mode`",
"Jordan_Wigner mode.\n Args:\n n (int): number of modes\n<END>",
"<BEGIN>\n## `_one_body_mapping`",
"Subroutine for one body mapping.\n Args:\n a_i (Pauli): pauli at index i\n a_j (Pauli): pauli at index j\n thresho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xmon_to_arc API.
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 xmon_to_arc API.
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... | Generates a :math:`\\mathrm{t|ket}\\rangle` :py:class:`Architecture` object for a Cirq :py:class:`XmonDevice` .
:param xmon: The device to convert
:return: The corresponding :math:`\\mathrm{t|ket}\\rangle` :py:class:`Architecture` | "Generates a :math:`\\\\mathrm{t|ket}\\\\rangle` :py:class:`Architecture` object for a Cirq :py:class:`XmonDevice` .\n \n :param xmon: The device to convert\n\n :return: The corresponding :math:`\\\\mathrm{t|ket}\\\\rangle` :py:class:`Architecture`" | 57 | false | CQCL/pytket | xmon_to_arc | 3,304 | |
LDU_FT/seung-lab/cloud-volume/__realized_bbox | LDU_FT | [
"<BEGIN>\n## `decode_kempressed`",
"subvol not bytestring since numpy conversion is done inside fpzip extension.\n<END>",
"<BEGIN>\n## `bbox2array`",
"Convenince method for creating a \n shared memory numpy array based on a CloudVolume\n and Bbox. c.f. sharedmemory.ndarray for information\n on the optional... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __realized_bbox API.
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 __realized_bbox API.
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... | The requested bbox might not be aligned to the underlying chunk grid
or even outside the bounds of the dataset. Convert the request into
a bbox representing something that can be actually downloaded.
Returns: Bbox | "The requested bbox might not be aligned to the underlying chunk grid \n or even outside the bounds of the dataset. Convert the request into\n a bbox representing something that can be actually downloaded.\n\n Returns: Bbox" | 237 | false | seung-lab/cloud-volume | __realized_bbox | 3,305 | |
LDU_FT/scidash/sciunit/to_html | LDU_FT | [
"<BEGIN>\n## `mean`",
"Compute a total score for each model over all the tests.",
" Uses the `norm_score` attribute, since otherwise direct comparison\n across different kinds of scores would not be possible.\n<END>",
"<BEGIN>\n## `to_html`",
"Extend Pandas built in `to_html` method for render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_html API.
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... | Extend Pandas built in `to_html` method for rendering a DataFrame
and use it to render a ScoreMatrix. | "Extend Pandas built in `to_html` method for rendering a DataFrame\n and use it to render a ScoreMatrix." | 128 | false | scidash/sciunit | to_html | 3,306 | |
LDU_FT/joke2k/faker/domain_name | LDU_FT | [
"<BEGIN>\n## `checksum`",
"Calculates the checksum char used for the 16th char.\n Author: Vincenzo Palazzo\n<END>",
"<BEGIN>\n## `binary`",
"Returns random binary blob.",
" Default blob size is 1 Mb.\n<END>",
"<BEGIN>\n## `md5`",
"Calculates the md5 hash of a given string\n :example 'cf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the domain_name API.
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 domain_name API.
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... | Produce an Internet domain name with the specified number of
subdomain levels.
>>> domain_name()
nichols-phillips.com
>>> domain_name(2)
williamson-hopkins.jackson.com | "Produce an Internet domain name with the specified number of\n subdomain levels.\n\n >>> domain_name()\n nichols-phillips.com\n >>> domain_name(2)\n williamson-hopkins.jackson.com" | 334 | false | joke2k/faker | domain_name | 3,307 | |
LDU_FT/frejanordsiek/GeminiMotorDrive/to_unit_velocity_acceleration | LDU_FT | [
"<BEGIN>\n## `get_driver`",
"Gets a driver for a Parker Motion Gemini drive.",
" Gets and connects a particular driver in ``drivers`` to a Parker\n Motion Gemini GV-6 or GT-6 servo/stepper motor drive.",
" The only driver currently supported is the ``'ASCII_RS232'`` driver\n which corresponds to `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_unit_velocity_acceleration 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 to_unit_velocity_acceleration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Convert velocities/accelerations to units of UnitConverter.
Converts velocity/ies and/or acceleration/s from units of motor
pitch per second (or second squared) to that of this
UnitConverter.
Parameters
----------
va : int, float, or iterable of ints and floats
... | "Convert velocities/accelerations to units of UnitConverter.\n\n Converts velocity/ies and/or acceleration/s from units of motor\n pitch per second (or second squared) to that of this\n UnitConverter.\n\n Parameters\n ----------\n va : int, float, or iterable of ints and floats... | 159 | false | frejanordsiek/GeminiMotorDrive | to_unit_velocity_acceleration | 3,308 | |
LDU_FT/kennydo/nyaalib/extract_url_query_parameter | LDU_FT | [
"<BEGIN>\n## `extract_url_query_parameter`",
"Given a URL (ex: \"http://www.test.com/path?query=3\") and a parameter\n (ex: \"query\"), return the value as a list\n :param url: a `str` URL\n :param parameter: the URL query we went to extract\n :return: a `list` of values for the given query name in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_url_query_parameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_url_query_parameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Given a URL (ex: "http://www.test.com/path?query=3") and a parameter
(ex: "query"), return the value as a list
:param url: a `str` URL
:param parameter: the URL query we went to extract
:return: a `list` of values for the given query name in the given URL or
an empty string if the query is not i... | "Given a URL (ex: \"http://www.test.com/path?query=3\") and a parameter\n (ex: \"query\"), return the value as a list\n :param url: a `str` URL\n :param parameter: the URL query we went to extract\n :return: a `list` of values for the given query name in the given URL or\n an empty string if the quer... | 14 | false | kennydo/nyaalib | extract_url_query_parameter | 3,309 | |
LDU_FT/reanahub/reana-commons/get_workflow_status_change_verb | LDU_FT | [
"<BEGIN>\n## `click_table_printer`",
"Generate space separated output for click commands.\n<END>",
"<BEGIN>\n## `calculate_job_input_hash`",
"Calculate md5 hash of job specification and workflow json.\n<END>",
"<BEGIN>\n## `calculate_file_access_time`",
"Calculate access times of files in workspace.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_workflow_status_change_verb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_workflow_status_change_verb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Give the correct verb conjugation depending on status tense.
:param status: String which represents the status the workflow changed to. | "Give the correct verb conjugation depending on status tense.\n\n :param status: String which represents the status the workflow changed to." | 45 | false | reanahub/reana-commons | get_workflow_status_change_verb | 3,310 | |
LDU_FT/MostAwesomeDude/gentleman/RenameInstance | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RenameInstance API.
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 RenameInstance API.
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... | Changes the name of an instance.
@type instance: string
@param instance: Instance name
@type new_name: string
@param new_name: New instance name
@type ip_check: bool
@param ip_check: Whether to ensure instance's IP address is inactive
@type name_check: bool
@param name_check: Whether to... | "Changes the name of an instance.\n\n @type instance: string\n @param instance: Instance name\n @type new_name: string\n @param new_name: New instance name\n @type ip_check: bool\n @param ip_check: Whether to ensure instance's IP address is inactive\n @type name_check: bool\n @param name_check: ... | 173 | false | MostAwesomeDude/gentleman | RenameInstance | 3,311 | |
LDU_FT/google-research/batch-ppo/_is_every_steps | LDU_FT | [
"<BEGIN>\n## `count_weights`",
"Count learnable parameters.",
" Args:\n scope: Restrict the count to a variable scope.\n exclude: Regex to match variable names to exclude.\n graph: Operate on a graph other than the current default graph.",
" Returns:\n Number of learnable parameters as integer.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_every_steps API.
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 _is_every_steps API.
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... | Determine whether a periodic event should happen at this step.
Args:
phase_step: The incrementing step.
batch: The number of steps progressed at once.
every: The interval of the period.
Returns:
Boolean of whether the event should happen. | "Determine whether a periodic event should happen at this step.\n\n Args:\n phase_step: The incrementing step.\n batch: The number of steps progressed at once.\n every: The interval of the period.\n\n Returns:\n Boolean of whether the event should happen." | 362 | false | google-research/batch-ppo | _is_every_steps | 3,312 | |
LDU_FT/glue-viz/echo/iter_callback_properties | LDU_FT | [
"<BEGIN>\n## `add_callback`",
"Attach a callback function to a property in an instance",
" Parameters\n ----------\n instance\n The instance to add the callback to\n prop : str\n Name of callback property in `instance`\n callback : func\n The callback function to add\n ech... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_callback_properties 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 iter_callback_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Iterator to loop over all callback properties. | "Iterator to loop over all callback properties." | 88 | false | glue-viz/echo | iter_callback_properties | 3,313 | |
LDU_FT/rigetti/pyquil/expectation | LDU_FT | [
"<BEGIN>\n## `to_latex`",
"Translates a given pyquil Program to a TikZ picture in a Latex document.",
" :param Program circuit: The circuit to be drawn, represented as a pyquil program.\n :param dict settings: An optional dictionary with settings for drawing the circuit. See `get_default_settings`\n i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expectation API.
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 expectation API.
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... | Calculate the expectation value of operators given a state prepared by
prep_program.
:note: If the execution of ``quil_program`` is **non-deterministic**, i.e., if it includes
measurements and/or noisy quantum gates, then the final wavefunction from which the
expectation values ... | "Calculate the expectation value of operators given a state prepared by\n prep_program.\n\n :note: If the execution of ``quil_program`` is **non-deterministic**, i.e., if it includes\n measurements and/or noisy quantum gates, then the final wavefunction from which the\n expectation v... | 1,152 | true | rigetti/pyquil | expectation | 3,314 | |
LDU_FT/ctuning/ck/wiki | LDU_FT | [
"<BEGIN>\n## `call_ck`",
"Input: {\n Input for CK\n }",
" Output: {\n return - return code = 0, if successful\n > 0, if error\n (error) - error text if return > 0",
" (stdout) - stdout, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wiki API.
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 wiki API.
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... | Input: {
(repo_uoa)
(module_uoa)
(data_uoa)
}
Output: {
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
} | "Input: { \n (repo_uoa)\n (module_uoa)\n (data_uoa)\n }\n\n Output: {\n return - return code = 0, if successful\n > 0, if error\n (error) - error text if return > 0\n }" | 640 | false | ctuning/ck | wiki | 3,315 | |
LDU_FT/runfalk/spans/adjacent | LDU_FT | [
"<BEGIN>\n## `format_sec`",
"Format seconds in a more human readable way. It supports units down to\n nanoseconds.",
" :param s: Float of seconds to format\n :return: String second representation, like 12.4 us\n<END>",
"<BEGIN>\n## `fix_timedelta_repr`",
"Account repr change for timedelta in Python... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjacent API.
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 adjacent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns True if ranges are directly next to each other but does not
overlap.
>>> intrange(1, 5).adjacent(intrange(5, 10))
True
>>> intrange(1, 5).adjacent(intrange(10, 15))
False
The empty set is not adjacent to any set.
This is the same as the ... | "Returns True if ranges are directly next to each other but does not\n overlap.\n\n >>> intrange(1, 5).adjacent(intrange(5, 10))\n True\n >>> intrange(1, 5).adjacent(intrange(10, 15))\n False\n\n The empty set is not adjacent to any set.\n\n This is the s... | 137 | false | runfalk/spans | adjacent | 3,316 | |
LDU_FT/explosion/spaCy/print_markdown | LDU_FT | [
"<BEGIN>\n## `to_html`",
"Doc method extension for saving the current state as a displaCy\n visualization.\n<END>",
"<BEGIN>\n## `overlap_tokens`",
"Get the tokens from the original Doc that are also in the comparison Doc.\n<END>",
"<BEGIN>\n## `iob2json`",
"Convert IOB files into JSON format for use w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_markdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_markdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Print data in GitHub-flavoured Markdown format for issues etc.
data (dict or list of tuples): Label/value pairs.
title (unicode or None): Title, will be rendered as headline 2. | "Print data in GitHub-flavoured Markdown format for issues etc.\n\n data (dict or list of tuples): Label/value pairs.\n title (unicode or None): Title, will be rendered as headline 2." | 346 | false | explosion/spaCy | print_markdown | 3,317 | |
LDU_FT/michaelbrooks/twitter-monitor/print_status | LDU_FT | [
"<BEGIN>\n## `on_error`",
"Called when a non-200 status code is returned\n<END>",
"<BEGIN>\n## `on_exception`",
"An exception occurred in the streaming thread\n<END>",
"<BEGIN>\n## `check`",
"Checks if the list of tracked terms has changed.\n Returns True if changed, otherwise False.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_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 extr... | Print out the current tweet rate and reset the counter | "Print out the current tweet rate and reset the counter" | 24 | false | michaelbrooks/twitter-monitor | print_status | 3,318 | |
LDU_FT/NICTA/revrand/_logtrick_gen | LDU_FT | [
"<BEGIN>\n## `fit`",
"r\"\"\"\n Learn the parameters of a Bayesian generalized linear model (GLM).",
" Parameters\n ----------\n X : ndarray\n (N, d) array input dataset (N samples, d dimensions).\n y : ndarray\n (N,) array targets (N samples)\n li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _logtrick_gen API.
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 _logtrick_gen API.
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... | Generate warping functions and new bounds for the log trick. | "Generate warping functions and new bounds for the log trick." | 535 | false | NICTA/revrand | _logtrick_gen | 3,319 | |
LDU_FT/noirbizarre/flask-fs/rerender | LDU_FT | [
"<BEGIN>\n## `configure`",
"Load configuration from application configuration.",
" For each storage, the configuration is loaded with the following pattern::",
" FS_{BACKEND_NAME}_{KEY} then\n {STORAGE_NAME}_FS_{KEY}",
" If no configuration is set for a given key, global ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rerender API.
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 rerender API.
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... | Rerender all derived images from the original.
If optmization settings or expected sizes changed,
they will be used for the new rendering. | "Rerender all derived images from the original.\n If optmization settings or expected sizes changed,\n they will be used for the new rendering." | 62 | false | noirbizarre/flask-fs | rerender | 3,320 | |
LDU_FT/geertj/gruvi/cancel | LDU_FT | [
"<BEGIN>\n## `from_errno`",
"Create a new instance from a :mod:`pyuv.errno` error code.\n<END>",
"<BEGIN>\n## `start`",
"Bind to *protocol* and start calling callbacks on it.\n<END>",
"<BEGIN>\n## `set_write_buffer_limits`",
"Set the low and high watermark for the write buffer.\n<END>",
"<BEGIN>\n## `cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Cancel the execution of the async function, if possible.
This method marks the future as done and sets the :class:`Cancelled`
exception.
A future that is not running can always be cancelled. However when a
future is running, the ability to cancel it depends on the pool
implemen... | "Cancel the execution of the async function, if possible.\n\n This method marks the future as done and sets the :class:`Cancelled`\n exception.\n\n A future that is not running can always be cancelled. However when a\n future is running, the ability to cancel it depends on the pool\n ... | 402 | false | geertj/gruvi | cancel | 3,321 | |
LDU_FT/widdowquinn/pyani/construct_nucmer_cmdline | LDU_FT | [
"<BEGIN>\n## `clean_axis`",
"Remove ticks, tick labels, and frame from axis\n<END>",
"<BEGIN>\n## `get_seaborn_colorbar`",
"Return a colorbar representing classes, for a Seaborn plot.",
" The aim is to get a pd.Series for the passed dataframe columns,\n in the form:\n 0 colour for class in col 0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_nucmer_cmdline 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 construct_nucmer_cmdline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Returns a tuple of NUCmer and delta-filter commands
The split into a tuple was made necessary by changes to SGE/OGE. The
delta-filter command must now be run as a dependency of the NUCmer
command, and be wrapped in a Python script to capture STDOUT.
NOTE: This command-line writes output data to a subd... | "Returns a tuple of NUCmer and delta-filter commands\n\n The split into a tuple was made necessary by changes to SGE/OGE. The\n delta-filter command must now be run as a dependency of the NUCmer\n command, and be wrapped in a Python script to capture STDOUT.\n\n NOTE: This command-line writes output data to... | 244 | false | widdowquinn/pyani | construct_nucmer_cmdline | 3,322 | |
LDU_FT/flaviogrossi/sockjs-cyclone/add | LDU_FT | [
"<BEGIN>\n## `enable_cache`",
"Enable client-side caching for the current request\n<END>",
"<BEGIN>\n## `flush`",
"Add accumulator to the moving average queue and reset it. For\n example, called by the StatsCollector once per second to calculate\n per-second average.\n<END>",
"<BEGIN>\n## `cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Add session to the container.
@param session: Session object | "Add session to the container.\n\n @param session: Session object" | 56 | false | flaviogrossi/sockjs-cyclone | add | 3,323 | |
LDU_FT/ozgurgunes/django-manifest/get_datetime_now | LDU_FT | [
"<BEGIN>\n## `create_user`",
"A simple wrapper that creates a new :class:`User`.",
" :param username:\n String containing the username of the new user.",
" :param email:\n String containing the email address of the new user.",
" :param password:\n String... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_datetime_now API.
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_datetime_now API.
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 datetime object with current point in time.
In Django 1.4+ it uses Django's django.utils.timezone.now() which returns
an aware or naive datetime that represents the current point in time
when ``USE_TZ`` in project's settings is True or False respectively.
In older versions of Django it uses dat... | "Returns datetime object with current point in time.\n\n In Django 1.4+ it uses Django's django.utils.timezone.now() which returns\n an aware or naive datetime that represents the current point in time\n when ``USE_TZ`` in project's settings is True or False respectively.\n In older versions of Django it us... | 121 | false | ozgurgunes/django-manifest | get_datetime_now | 3,324 | |
LDU_FT/webrecorder/warcio/get_header | LDU_FT | [
"<BEGIN>\n## `_raise_invalid_gzip_err`",
"A gzip file with multiple ARC/WARC records, non-chunked\n has been detected. This is not valid for replay, so notify user\n<END>",
"<BEGIN>\n## `_consume_blanklines`",
"Consume blank lines that are between records\n - For warcs, there are usually 2\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | return header (name, value)
if found | "return header (name, value)\n if found" | 91 | false | webrecorder/warcio | get_header | 3,325 | |
LDU_FT/thiezn/iperf3-python/bind_address | LDU_FT | [
"<BEGIN>\n## `more_data`",
"Check if there is more data left on the pipe",
" :param pipe_out: The os pipe_out\n :rtype: bool\n<END>",
"<BEGIN>\n## `read_pipe`",
"Read data on a pipe",
" Used to capture stdout data produced by libiperf",
" :param pipe_out: The os pipe_out\n :rtype: unicode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_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 extr... | The bind address the iperf3 instance will listen on
use * to listen on all available IPs
:rtype: string | "The bind address the iperf3 instance will listen on\n\n use * to listen on all available IPs\n :rtype: string" | 48 | false | thiezn/iperf3-python | bind_address | 3,326 | |
LDU_FT/linkedin/pyexchange/add_attendees | LDU_FT | [
"<BEGIN>\n## `add_attendees`",
"Adds new attendees to the event.",
" *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects.\n<END>",
"<BEGIN>\n## `remove_attendees`",
"Removes attendees from the event.",
" *attendees* can be a list of email addresses or :class:`Excha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_attendees API.
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 add_attendees API.
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... | Adds new attendees to the event.
*attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects. | "Adds new attendees to the event.\n\n *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects." | 102 | false | linkedin/pyexchange | add_attendees | 3,327 | |
LDU_FT/aksas/pypo4sel/all_elements | LDU_FT | [
"<BEGIN>\n## `wait`",
"Wait ``timeout`` seconds until ``method(**kwargs)`` returns a ``value`` that *bool(value)==True*.\n Returns last ``value``.\n If time expired and ``fail_on_timeout`` specified, then raise TimeoutException.",
" :param method:\n :param timeout:\n :param fail_on_timeout:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_elements API.
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 all_elements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | returns all public BasePageElements grouped by this element and it parent(s)
:rtype: list[(str, BasePageElement)] | "returns all public BasePageElements grouped by this element and it parent(s)\n :rtype: list[(str, BasePageElement)]" | 42 | false | aksas/pypo4sel | all_elements | 3,328 | |
LDU_FT/csparpa/pyowm/humidity_series | LDU_FT | [
"<BEGIN>\n## `parse_JSON`",
"Parses a *StationHistory* instance out of raw JSON data. Only certain\n properties of the data are used: if these properties are not found or\n cannot be parsed, an error is issued.",
" :param JSON_string: a raw JSON string\n :type JSON_string: str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the humidity_series API.
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 humidity_series API.
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 humidity time series relative to the meteostation, in
the form of a list of tuples, each one containing the couple
timestamp-value
:returns: a list of tuples | "Returns the humidity time series relative to the meteostation, in\n the form of a list of tuples, each one containing the couple\n timestamp-value\n\n :returns: a list of tuples" | 612 | false | csparpa/pyowm | humidity_series | 3,329 | |
LDU_FT/MartinThoma/mpu/generate | LDU_FT | [
"<BEGIN>\n## `timing`",
"Measure the execution time of a function call and print the result.\n<END>",
"<BEGIN>\n## `deprecated`",
"Mark functions as deprecated.",
" It will result in a warning being emitted when the function is used.\n<END>",
"<BEGIN>\n## `get_currency`",
"Convert an identifier for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
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 generate API.
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... | Generate a random date.
The generated dates are uniformly distributed.
Parameters
----------
minimum : datetime object
maximum : datetime object
local_random : random.Random
Returns
-------
generated_date : datetime object
Examples
--------
>>> import random; r = rand... | "Generate a random date.\n\n The generated dates are uniformly distributed.\n\n Parameters\n ----------\n minimum : datetime object\n maximum : datetime object\n local_random : random.Random\n\n Returns\n -------\n generated_date : datetime object\n\n Examples\n --------\n >>> import... | 255 | false | MartinThoma/mpu | generate | 3,330 | |
LDU_FT/nsfmc/swatch/parse | LDU_FT | [
"<BEGIN>\n## `chunk_count`",
"return the number of byte-chunks in a swatch object",
" this recursively walks the swatch list, returning 1 for a single color &\n returns 2 for each folder plus 1 for each color it contains\n<END>",
"<BEGIN>\n## `chunk_for_color`",
"builds up a byte-chunk for a color",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | parses a .ase file and returns a list of colors and color groups
`swatch.parse` reads in an ase file and converts it to a list of colors and
palettes. colors are simple dicts of the form
```json
{
'name': u'color name',
'type': u'Process',
'data': {
'mode': u'RGB',
... | "parses a .ase file and returns a list of colors and color groups\n\n `swatch.parse` reads in an ase file and converts it to a list of colors and\n palettes. colors are simple dicts of the form\n\n ```json\n {\n 'name': u'color name',\n 'type': u'Process',\n 'data': {\n 'mode... | 25 | false | nsfmc/swatch | parse | 3,331 | |
LDU_FT/twneale/visitors/continues | LDU_FT | [
"<BEGIN>\n## `continues`",
"Method decorator signifying that the visitor should not visit the\n current node's children once this method has been invoked.\n<END>",
"<BEGIN>\n## `get_methodnames`",
"Given a node, generate all names for matching visitor methods.\n<END>",
"<BEGIN>\n## `get_method`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the continues API.
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 continues API.
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... | Method decorator signifying that the visitor should not visit the
current node's children once this method has been invoked. | "Method decorator signifying that the visitor should not visit the\n current node's children once this method has been invoked." | 19 | false | twneale/visitors | continues | 3,332 | |
LDU_FT/tensorflow/skflow/collect_members | LDU_FT | [
"<BEGIN>\n## `collect_members`",
"Collect all symbols from a list of modules.",
" Args:\n module_to_name: Dictionary mapping modules to short names.",
" Returns:\n Dictionary mapping name to (fullname, member) pairs.\n<END>",
"<BEGIN>\n## `_get_anchor`",
"Turn a full member name into an anchor.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_members API.
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 collect_members API.
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... | Collect all symbols from a list of modules.
Args:
module_to_name: Dictionary mapping modules to short names.
Returns:
Dictionary mapping name to (fullname, member) pairs. | "Collect all symbols from a list of modules.\n\n Args:\n module_to_name: Dictionary mapping modules to short names.\n\n Returns:\n Dictionary mapping name to (fullname, member) pairs." | 46 | false | tensorflow/skflow | collect_members | 3,333 | |
LDU_FT/mjj4791/python-buienradar/__get_precipfc_data | LDU_FT | [
"<BEGIN>\n## `__to_float`",
"Convert val into float with digits decimal.\n<END>",
"<BEGIN>\n## `__getBarFC`",
"Parse the pressure and return FC (numerical).\n<END>",
"<BEGIN>\n## `__getBarFCName`",
"Parse the pressure and return FC (String).\n<END>",
"<BEGIN>\n## `get_json_data`",
"Get buienradar json... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_precipfc_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_precipfc_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get buienradar forecasted precipitation. | "Get buienradar forecasted precipitation." | 50 | false | mjj4791/python-buienradar | __get_precipfc_data | 3,334 | |
LDU_FT/dcos/shakedown/copy_file_from_agent | LDU_FT | [
"<BEGIN>\n## `get_tasks`",
"Get a list of tasks, optionally filtered by task id.\n The task_id can be the abbrevated. Example: If a task named 'sleep' is\n scaled to 3 in marathon, there will be be 3 tasks starting with 'sleep.'",
" :param task_id: task ID\n :type task_id: str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_file_from_agent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_file_from_agent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Copy a file to a Mesos agent, proxied through the master | "Copy a file to a Mesos agent, proxied through the master" | 288 | false | dcos/shakedown | copy_file_from_agent | 3,335 | |
LDU_FT/srittau/python-asserts/assert_regex | LDU_FT | [
"<BEGIN>\n## `assert_true`",
"Fail the test unless the expression is truthy.",
" >>> assert_true(\"Hello World!\")\n >>> assert_true(\"\")\n Traceback (most recent call last):\n ...\n AssertionError: '' is not truthy",
" The following msg_fmt arguments are supported:\n * msg - the def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_regex API.
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 assert_regex API.
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... | Fail if text does not match the regular expression.
regex can be either a regular expression string or a compiled regular
expression object.
>>> assert_regex("Hello World!", r"llo.*rld!$")
>>> assert_regex("Hello World!", r"\\d")
Traceback (most recent call last):
...
AssertionError: '... | "Fail if text does not match the regular expression.\n\n regex can be either a regular expression string or a compiled regular\n expression object.\n\n >>> assert_regex(\"Hello World!\", r\"llo.*rld!$\")\n >>> assert_regex(\"Hello World!\", r\"\\\\d\")\n Traceback (most recent call last):\n ...\n ... | 131 | false | srittau/python-asserts | assert_regex | 3,336 | |
LDU_FT/awslabs/aws-sam-cli/mkdir_temp | LDU_FT | [
"<BEGIN>\n## `invoke_common_options`",
"Common CLI options shared by \"local invoke\" and \"local start-api\" commands",
" :param f: Callback passed by Click\n<END>",
"<BEGIN>\n## `get_or_default_template_file_name`",
"Default value for the template file name option is more complex than what Click can ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdir_temp API.
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 mkdir_temp API.
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... | Context manager that makes a temporary directory and yields it name. Directory is deleted
after the context exits
Parameters
----------
mode : octal
Permissions to apply to the directory. Defaults to '755' because don't want directories world writable
Returns
-------
str
Pa... | "Context manager that makes a temporary directory and yields it name. Directory is deleted\n after the context exits\n\n Parameters\n ----------\n mode : octal\n Permissions to apply to the directory. Defaults to '755' because don't want directories world writable\n\n Returns\n -------\n str... | 708 | false | awslabs/aws-sam-cli | mkdir_temp | 3,337 | |
LDU_FT/rackerlabs/fleece/extract_function_metadata | LDU_FT | [
"<BEGIN>\n## `build_wsgi_environ_from_event`",
"Create a WSGI environment from the proxy integration event.\n<END>",
"<BEGIN>\n## `wsgi_handler`",
"lambda handler function.\n This function runs the WSGI app with it and collects its response, then\n translates the response back into the format expected b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_function_metadata 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 extract_function_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Stash the `args` and `kwargs` into the metadata of the subsegment. | "Stash the `args` and `kwargs` into the metadata of the subsegment." | 108 | false | rackerlabs/fleece | extract_function_metadata | 3,338 | |
LDU_FT/ArtoLabs/SimpleSteem/verify_key | LDU_FT | [
"<BEGIN>\n## `setup`",
"Runs only the first time SimpleSteem() \n is instantiated. Prompts user for the values\n that are then written to config.py\n<END>",
"<BEGIN>\n## `make`",
"takes the arguments and writes them as \n variable / value pairs to config.py\n<END>",
"<BEGIN>\n## `goodno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | This can be used to verify either a private
posting key or to verify a steemconnect refresh
token and retreive the access token. | "This can be used to verify either a private\n posting key or to verify a steemconnect refresh\n token and retreive the access token." | 74 | false | ArtoLabs/SimpleSteem | verify_key | 3,339 | |
LDU_FT/mayfield/cellulario/add_tier | LDU_FT | [
"<BEGIN>\n## `make_gatherer`",
"Produce a single source tier that gathers from a set of tiers when\n the key function returns a unique result for each tier.\n<END>",
"<BEGIN>\n## `enqueue_task`",
"Enqueue a task execution. It will run in the background as soon\n as the coordinator clears it to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_tier API.
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 add_tier API.
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... | Add a coroutine to the cell as a task tier. The source can be a
single value or a list of either `Tier` types or coroutine functions
already added to a `Tier` via `add_tier`. | "Add a coroutine to the cell as a task tier. The source can be a\n single value or a list of either `Tier` types or coroutine functions\n already added to a `Tier` via `add_tier`." | 30 | false | mayfield/cellulario | add_tier | 3,340 | |
LDU_FT/ehansis/ozelot/_base_query | LDU_FT | [
"<BEGIN>\n## `_query`",
"Base query for an url and xpath",
" Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>",
"<BEGIN>\n## `get`",
"Get a URL via the cache.",
" If the URL exists in the cache, return the cached value. Otherwise ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _base_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 _base_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... | Base query for a target.
Args:
session: database session to query in | "Base query for a target.\n\n Args:\n session: database session to query in" | 203 | false | ehansis/ozelot | _base_query | 3,341 | |
LDU_FT/danpoland/pyramid-restful-framework/filter_query | LDU_FT | [
"<BEGIN>\n## `parse_requested_expands`",
"Extracts the value of the expand query string parameter from a request.\n Supports comma separated lists.",
" :param query_key: The name query string parameter.\n :param request: Request instance.\n :return: List of strings representing the values of the exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_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 extr... | You may want to override this method if you want to add custom filtering to an ViewSet while still
utilizing the feature of the ``AttributeFilter`` implementation.
:param request: The pyramid ``Request`` instance.
:param query: The SQLAlchemy ``Query`` instance.
:param view: An instance... | "You may want to override this method if you want to add custom filtering to an ViewSet while still\n utilizing the feature of the ``AttributeFilter`` implementation.\n\n :param request: The pyramid ``Request`` instance.\n :param query: The SQLAlchemy ``Query`` instance.\n :param view: An in... | 70 | false | danpoland/pyramid-restful-framework | filter_query | 3,342 | |
LDU_FT/pkkid/python-plexapi/getStreamURL | LDU_FT | [
"<BEGIN>\n## `registerPlexObject`",
"Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>",
"<BEGIN>\n## `cast`",
"Cast the specified value to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStreamURL API.
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 getStreamURL API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a stream url that may be used by external applications such as VLC.
Parameters:
**params (dict): optional parameters to manipulate the playback when accessing
the stream. A few known parameters include: maxVideoBitrate, videoResolution
offset,... | "Returns a stream url that may be used by external applications such as VLC.\n\n Parameters:\n **params (dict): optional parameters to manipulate the playback when accessing\n the stream. A few known parameters include: maxVideoBitrate, videoResolution\n o... | 372 | false | pkkid/python-plexapi | getStreamURL | 3,343 | |
LDU_FT/airspeed-velocity/asv/asizeof | LDU_FT | [
"<BEGIN>\n## `get_graph_data`",
"Iterator over graph data sets",
" Yields\n ------\n param_idx\n Flat index to parameter permutations for parameterized benchmarks.\n None if benchmark is not parameterized.\n entry_name\n Name for the data set. If benc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asizeof API.
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 asizeof API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the combined size in bytes of all objects passed as positional argments.
The available options and defaults are the following.
*align=8* -- size alignment
*all=False* -- all current objects
*clip=80* -- clip ``repr()`` strings
*code=False* -- incl. ... | "Return the combined size in bytes of all objects passed as positional argments.\n\n The available options and defaults are the following.\n\n *align=8* -- size alignment\n\n *all=False* -- all current objects\n\n *clip=80* -- clip ``repr()`` strings\n\n *code=False* ... | 256 | false | airspeed-velocity/asv | asizeof | 3,344 | |
LDU_FT/django-crispy-forms/django-crispy-forms/get_layout_objects | LDU_FT | [
"<BEGIN>\n## `do_uni_form`",
"You need to pass in at least the form/formset object, and can also pass in the\n optional `crispy_forms.helpers.FormHelper` object.",
" helper (optional): A `crispy_forms.helper.FormHelper` object.",
" Usage::",
" {% load crispy_tags %}\n {% crispy form f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_layout_objects 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_layout_objects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns a list of lists pointing to layout objects of any type matching
`LayoutClasses`::
[
[[0,1,2], 'div'],
[[0,3], 'field_name']
]
:param max_level: An integer that indicates max level depth to reach when
traversing a layout.
:... | "Returns a list of lists pointing to layout objects of any type matching\n `LayoutClasses`::\n\n [\n [[0,1,2], 'div'],\n [[0,3], 'field_name']\n ]\n\n :param max_level: An integer that indicates max level depth to reach when\n traversing a layout.... | 89 | false | django-crispy-forms/django-crispy-forms | get_layout_objects | 3,345 | |
LDU_FT/klen/pylama/run | LDU_FT | [
"<BEGIN>\n## `run`",
"MCCabe code checking.",
" :return list: List of errors.\n<END>",
"<BEGIN>\n## `split_csp_str`",
"Split comma separated string into unique values, keeping their order.",
" :returns: list of splitted values\n<END>",
"<BEGIN>\n## `parse_linters`",
"Initialize choosen linte... | 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... | Check code with mypy.
:return list: List of errors. | "Check code with mypy.\n\n :return list: List of errors." | 81 | false | klen/pylama | run | 3,346 | |
LDU_FT/douban/brownant/validate_url | LDU_FT | [
"<BEGIN>\n## `url`",
"The fetching target URL.",
" The default behavior of this property is build URL string with the\n :const:`~brownant.dinergate.Dinergate.URL_TEMPLATE`.",
" The subclasses could override\n :const:`~brownant.dinergate.Dinergate.URL_TEMPLATE` or use a different\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Validate the :class:`~urllib.parse.ParseResult` object.
This method will make sure the :meth:`~brownant.app.BrownAnt.parse_url`
could work as expected even meet a unexpected URL string.
:param url: the parsed url.
:type url: :class:`~urllib.parse.ParseResult` | "Validate the :class:`~urllib.parse.ParseResult` object.\n\n This method will make sure the :meth:`~brownant.app.BrownAnt.parse_url`\n could work as expected even meet a unexpected URL string.\n\n :param url: the parsed url.\n :type url: :class:`~urllib.parse.ParseResult`" | 45 | false | douban/brownant | validate_url | 3,347 | |
LDU_FT/mbakker7/timml/headalongline | LDU_FT | [
"<BEGIN>\n## `plot`",
"Plot layout",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n<END>",
"<BEGIN>\n## `contour`",
"Contour plot",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n ngr ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the headalongline API.
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 headalongline API.
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... | Head along line or curve
Parameters
----------
x : array
x values of line
y : array
y values of line
layers : integer, list or array, optional
layers for which grid is returned
Returns
-------
h : array... | "Head along line or curve\n \n Parameters\n ----------\n x : array\n x values of line\n y : array\n y values of line\n layers : integer, list or array, optional\n layers for which grid is returned\n \n Returns\n -------\n ... | 82 | false | mbakker7/timml | headalongline | 3,348 | |
LDU_FT/kpdyer/libfte/decrypt | LDU_FT | [
"<BEGIN>\n## `long_to_bytes`",
"Given an input integer ``N``, ``long_to_bytes`` returns the representation of ``N`` in bytes.\n If ``blocksize`` is greater than ``1`` then the output string will be right justified and then padded with zero-bytes,\n such that the return values length is a multiple of ``block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Given ``ciphertext`` returns a ``plaintext`` decrypted using the keys specified in ``__init__``.
Raises ``CiphertextTypeError`` if the input ``ciphertext`` is not a string.
Raises ``RecoverableDecryptionError`` if the input ``ciphertext`` has a non-negative message length greater than the ciphertext le... | "Given ``ciphertext`` returns a ``plaintext`` decrypted using the keys specified in ``__init__``.\n\n Raises ``CiphertextTypeError`` if the input ``ciphertext`` is not a string.\n Raises ``RecoverableDecryptionError`` if the input ``ciphertext`` has a non-negative message length greater than the ciphertex... | 16 | false | kpdyer/libfte | decrypt | 3,349 | |
LDU_FT/pachyderm/python-pachyderm/put_file_url | LDU_FT | [
"<BEGIN>\n## `create_repo`",
"Creates a new Repo object in PFS with the given name. Repos are the \n top level data object in PFS and should be used to store data of a\n similar type. For example rather than having a single Repo for an\n entire project you might have separate Repos for logs, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_file_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_file_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Puts a file using the content found at a URL. The URL is sent to the
server which performs the request.
Params:
* commit: A tuple, string, or Commit object representing the commit.
* path: The path to the file.
* url: The url of the file to put.
* recursive: allow for re... | "Puts a file using the content found at a URL. The URL is sent to the\n server which performs the request.\n\n Params:\n * commit: A tuple, string, or Commit object representing the commit.\n * path: The path to the file.\n * url: The url of the file to put.\n * recursive: allo... | 66 | false | pachyderm/python-pachyderm | put_file_url | 3,350 | |
LDU_FT/CEA-COSMIC/ModOpt/svd_thresh_coef | LDU_FT | [
"<BEGIN>\n## `add_args_kwargs`",
"Add Args and Kwargs",
" This wrapper adds support for additional arguments and keyword arguments to\n any callable function",
" Parameters\n ----------\n func : function\n Callable function",
" Returns\n -------\n function wrapper\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the svd_thresh_coef API.
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 svd_thresh_coef API.
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... | Threshold the singular values coefficients
This method thresholds the input data using singular value decomposition
Parameters
----------
data : np.ndarray
Input data array, 2D matrix
operator : class
Operator class instance
threshold : float or np.ndarray
Threshold val... | "Threshold the singular values coefficients\n\n This method thresholds the input data using singular value decomposition\n\n Parameters\n ----------\n data : np.ndarray\n Input data array, 2D matrix\n operator : class\n Operator class instance\n threshold : float or np.ndarray\n T... | 565 | false | CEA-COSMIC/ModOpt | svd_thresh_coef | 3,351 | |
LDU_FT/wdm0006/git-pandas/commit_history | LDU_FT | [
"<BEGIN>\n## `repo_name`",
"Returns a DataFrame of the repo names present in this project directory",
" :return: DataFrame\n<END>",
"<BEGIN>\n## `coverage`",
"Will return a DataFrame with coverage information (if available) for each repo in the project).",
" If there is a .coverage file avai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a pandas DataFrame containing all of the commits for a given branch. The results from all repositories
are appended to each other, resulting in one large data frame of size <limit>. If a limit is provided, it is
divided by the number of repositories in the project directory to find out how many... | "Returns a pandas DataFrame containing all of the commits for a given branch. The results from all repositories\n are appended to each other, resulting in one large data frame of size <limit>. If a limit is provided, it is\n divided by the number of repositories in the project directory to find out how m... | 123 | false | wdm0006/git-pandas | commit_history | 3,352 | |
LDU_FT/seperman/deepdiff/copy | LDU_FT | [
"<BEGIN>\n## `__report_result`",
"Add a detected change to the reference-style result dictionary.\n report_type will be added to level.\n (We'll create the text-style report from there later.)\n :param report_type: A well defined string key describing the type of change.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
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 copy API.
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... | Get a deep copy of this comparision line.
:return: The leaf ("downmost") object of the copy. | "Get a deep copy of this comparision line.\n :return: The leaf (\"downmost\") object of the copy." | 46 | false | seperman/deepdiff | copy | 3,353 | |
LDU_FT/theolind/pymysensors/start_persistence | LDU_FT | [
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
"<BEGIN>\n## `_connect`",
"Connect to socket. This should be run in a new thread.\n<END>",
"<BEGIN>\n## `_check_connection`",
"Check if connection is alive every reconnect_timeout seconds.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_persistence API.
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 start_persistence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load persistence file and schedule saving of persistence file. | "Load persistence file and schedule saving of persistence file." | 109 | false | theolind/pymysensors | start_persistence | 3,354 | |
LDU_FT/zendesk/connect_python_sdk/subscribe | LDU_FT | [
"<BEGIN>\n## `unsubscribe`",
"Unsubscribe a user from some or all campaigns.",
" :param str | number user_id: the id you use to identify a user. this should\n be static for the lifetime of a user.",
" :param bool from_all True to unsubscribe from all campaigns. Take precedence over\n campaigns IDs... | 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... | Resubscribe a user to some or all campaigns.
:param str | number user_id: the id you use to identify a user. this should
be static for the lifetime of a user.
:param bool to_all True to reubscribe to all campaigns. Take precedence over
campaigns IDs if both are given.
:param list of str campaign_... | "Resubscribe a user to some or all campaigns.\n\n :param str | number user_id: the id you use to identify a user. this should\n be static for the lifetime of a user.\n\n :param bool to_all True to reubscribe to all campaigns. Take precedence over\n campaigns IDs if both are given.\n\n :param list of str ... | 69 | false | zendesk/connect_python_sdk | subscribe | 3,355 | |
LDU_FT/computational-metabolomics/msp2db/get_meta_regex | LDU_FT | [
"<BEGIN>\n## `create_db`",
"Create an empty SQLite database for library spectra.",
" Example:\n >>> from msp2db.db import create_db\n >>> db_pth = 'library.db'\n >>> create_db(file_pth=db_pth)",
" Args:\n file_pth (str): File path for SQLite database\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta_regex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta_regex API.
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 dictionary of regex for extracting the meta data for the spectra | "Create a dictionary of regex for extracting the meta data for the spectra" | 79 | false | computational-metabolomics/msp2db | get_meta_regex | 3,356 | |
LDU_FT/AlexandreDecan/python-intervals/to_string | LDU_FT | [
"<BEGIN>\n## `from_string`",
"Parse given string and create an Interval instance.\n A converter function has to be provided to convert a bound (as string) to a value.",
" :param string: string to parse.\n :param conv: function that converts a bound (as string) to an object.\n :param bound: pattern t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Export given interval (or atomic interval) to string.
:param interval: an Interval or AtomicInterval instance.
:param conv: function that is used to represent a bound (default is `repr`).
:param disj: string representing disjunctive operator (default is ' | ').
:param sep: string representing bound sep... | "Export given interval (or atomic interval) to string.\n\n :param interval: an Interval or AtomicInterval instance.\n :param conv: function that is used to represent a bound (default is `repr`).\n :param disj: string representing disjunctive operator (default is ' | ').\n :param sep: string representing bou... | 40 | false | AlexandreDecan/python-intervals | to_string | 3,357 | |
LDU_FT/architv/soccer-cli/standings | LDU_FT | [
"<BEGIN>\n## `get_team_scores`",
"Queries the API and gets the particular team scores\n<END>",
"<BEGIN>\n## `get_standings`",
"Queries the API and gets the standings for a particular league\n<END>",
"<BEGIN>\n## `get_league_scores`",
"Queries the API and fetches the scores for fixtures\n based upon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the standings API.
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 standings API.
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... | Prints the league standings in a pretty way | "Prints the league standings in a pretty way" | 50 | false | architv/soccer-cli | standings | 3,358 | |
LDU_FT/webrecorder/pywb/init_proxy | LDU_FT | [
"<BEGIN>\n## `read_last_line`",
"Read last line from a seekable file. Start reading\n from buff before end of file, and double backwards seek\n until line break is found. If reached beginning of file\n (no lines), just return whole file\n<END>",
"<BEGIN>\n## `load`",
"Load a file-like reader from the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_proxy API.
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 init_proxy API.
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... | Initialize and start proxy mode. If proxy configuration entry is not contained in the config
this is a no op. Causes handler to become an instance of WSGIProxMiddleware.
:param dict config: The configuration object used to configure this instance of FrontEndApp | "Initialize and start proxy mode. If proxy configuration entry is not contained in the config\n this is a no op. Causes handler to become an instance of WSGIProxMiddleware.\n\n :param dict config: The configuration object used to configure this instance of FrontEndApp" | 227 | false | webrecorder/pywb | init_proxy | 3,359 | |
LDU_FT/davidblaisonneau-orange/foreman/checkAndCreate | LDU_FT | [
"<BEGIN>\n## `importPuppetClasses`",
"Function importPuppetClasses\n Force the reload of puppet classes",
" @param smartProxyId: smartProxy Id\n @return RETURN: the API result\n<END>",
"<BEGIN>\n## `enhance`",
"Function enhance\n Enhance the object with new item or enhanced items... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checkAndCreate API.
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 checkAndCreate API.
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... | Function checkAndCreate
Check if an object exists and create it if not
@param key: The targeted object
@param payload: The targeted object description
@return RETURN: The id of the object | "Function checkAndCreate\n Check if an object exists and create it if not\n\n @param key: The targeted object\n @param payload: The targeted object description\n @return RETURN: The id of the object" | 118 | false | davidblaisonneau-orange/foreman | checkAndCreate | 3,360 | |
LDU_FT/9b/frisbee/_extract | LDU_FT | [
"<BEGIN>\n## `_format`",
"Format search queries to perform in bulk.",
" Build up the URLs to call for the search engine. These will be ran\n through a bulk processor and returned to a detailer.\n<END>",
"<BEGIN>\n## `_process`",
"Process search engine results for detailed analysis.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract API.
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 _extract API.
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... | Extract email addresses from results.
Text content from all crawled pages are ran through a simple email
extractor. Data is cleaned prior to running pattern expressions. | "Extract email addresses from results.\n\n Text content from all crawled pages are ran through a simple email\n extractor. Data is cleaned prior to running pattern expressions." | 29 | false | 9b/frisbee | _extract | 3,361 | |
LDU_FT/fmenabe/python-dokuwiki/get | LDU_FT | [
"<BEGIN>\n## `date`",
"DokuWiki returns dates of `xmlrpclib`/`xmlrpc.client` ``DateTime``\n type and the format changes between DokuWiki versions ... This function\n convert *date* to a `datetime` object.\n<END>",
"<BEGIN>\n## `utc2local`",
"DokuWiki returns date with a +0000 timezone. This function con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get dataentry from *content*. *keep_order* indicates whether to
return an ordered dictionnay. | "Get dataentry from *content*. *keep_order* indicates whether to\n return an ordered dictionnay." | 32 | false | fmenabe/python-dokuwiki | get | 3,362 | |
LDU_FT/SKA-ScienceDataProcessor/integration-prototype/scheduling_blocks | LDU_FT | [
"<BEGIN>\n## `_check_status`",
"SDP Status check.",
" Do all the tests to determine, if the SDP state is\n \"broken\", what could be the cause, and return a\n suitable status message to be sent back by the calling\n function.\n<END>",
"<BEGIN>\n## `allowed_transitions`",
"Get target states allow... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scheduling_blocks API.
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 scheduling_blocks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return list of Scheduling Block instances known to SDP. | "Return list of Scheduling Block instances known to SDP." | 573 | false | SKA-ScienceDataProcessor/integration-prototype | scheduling_blocks | 3,363 | |
LDU_FT/mfitzp/padua/minimum_valid_values_in_any_group | LDU_FT | [
"<BEGIN>\n## `remove_rows_matching`",
"Return a ``DataFrame`` with rows where `column` values match `match` are removed.",
" The selected `column` series of values from the supplied Pandas ``DataFrame`` is compared\n to `match`, and those rows that match are removed from the DataFrame.",
" :param df:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimum_valid_values_in_any_group 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 minimum_valid_values_in_any_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Filter ``DataFrame`` by at least n valid values in at least one group.
Taking a Pandas ``DataFrame`` with a ``MultiIndex`` column index, filters rows to remove
rows where there are less than `n` valid values per group. Groups are defined by the `levels` parameter indexing
into the column index. For example... | "Filter ``DataFrame`` by at least n valid values in at least one group.\n\n Taking a Pandas ``DataFrame`` with a ``MultiIndex`` column index, filters rows to remove\n rows where there are less than `n` valid values per group. Groups are defined by the `levels` parameter indexing\n into the column index. For ex... | 266 | false | mfitzp/padua | minimum_valid_values_in_any_group | 3,364 | |
LDU_FT/lappis-unb/salic-ml/proponent_projects | LDU_FT | [
"<BEGIN>\n## `approved_funds`",
"Verifica se o valor total de um projeto é um\n outlier em relação\n aos projetos do mesmo seguimento cultural\n Dataframes: planilha_orcamentaria\n<END>",
"<BEGIN>\n## `complexidade`",
"Returns a value that indicates project health, currently FinancialIndicator\n i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the proponent_projects 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 proponent_projects 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... | Checks the CNPJ/CPF of the proponent of project
with the given pronac and returns all the projects
that have been submitted by this proponent and all
projects that have already been analyzed. | "Checks the CNPJ/CPF of the proponent of project\n with the given pronac and returns all the projects\n that have been submitted by this proponent and all\n projects that have already been analyzed." | 102 | false | lappis-unb/salic-ml | proponent_projects | 3,365 | |
LDU_FT/mrname/haralyzer/css_load_time | 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 css_load_time API.
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 css_load_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns aggregate css load time for all pages. | "Returns aggregate css load time for all pages." | 72 | false | mrname/haralyzer | css_load_time | 3,366 | |
LDU_FT/jpoullet2000/atlasclient/handle_response | LDU_FT | [
"<BEGIN>\n## `handle_response`",
"Given a requests.Response object, throw the appropriate exception, if applicable.\n<END>",
"<BEGIN>\n## `create`",
"Create a new instance of this resource type.",
" As a general rule, the identifier should have been provided, but in\n some subclasses the ident... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_response API.
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 handle_response API.
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... | Given a requests.Response object, throw the appropriate exception, if applicable. | "Given a requests.Response object, throw the appropriate exception, if applicable." | 66 | false | jpoullet2000/atlasclient | handle_response | 3,367 | |
LDU_FT/camptocamp/marabunta/check_dict_expected_keys | LDU_FT | [
"<BEGIN>\n## `perform`",
"Perform the version upgrade on the database.\n<END>",
"<BEGIN>\n## `_perform_version`",
"Inner method for version upgrade.",
" Not intended for standalone use. This method performs the actual\n version upgrade with all the pre, post operations and addons upgrades.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_dict_expected_keys 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 check_dict_expected_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Check that we don't have unknown keys in a dictionary.
It does not raise an error if we have less keys than expected. | "Check that we don't have unknown keys in a dictionary.\n\n It does not raise an error if we have less keys than expected." | 48 | false | camptocamp/marabunta | check_dict_expected_keys | 3,368 | |
LDU_FT/ramrod-project/database-brain/get_targets_by_plugin | LDU_FT | [
"<BEGIN>\n## `deprecated_function`",
"decorator to annotate deprecated functions",
" usage @decorator(replacement=\"brain.whatever.new_function\")",
" :param func_: <callable>\n :param replacement: <str>\n :param args: positional arguments\n :param kwargs:\n :return: <func_'s return value>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_targets_by_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_targets_by_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | get_targets_by_plugin function from Brain.Targets table
:return: <generator> yields dict objects | "get_targets_by_plugin function from Brain.Targets table\n\n :return: <generator> yields dict objects" | 165 | false | ramrod-project/database-brain | get_targets_by_plugin | 3,369 | |
LDU_FT/btr1975/persistentdatatools/split_strings_in_list_retain_spaces | LDU_FT | [
"<BEGIN>\n## `verify_file_exists`",
"Function to verify if a file exists\n Args:\n file_name: The name of file to check\n file_location: The location of the file, derive from the os module",
" Returns: returns boolean True or False\n<END>",
"<BEGIN>\n## `file_name_increase`",
"Function t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_strings_in_list_retain_spaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_strings_in_list_retain_spaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Function to split every line in a list, and retain spaces for a rejoin
:param orig_list: Original list
:return:
A List with split lines | "Function to split every line in a list, and retain spaces for a rejoin\n :param orig_list: Original list\n :return:\n A List with split lines" | 56 | false | btr1975/persistentdatatools | split_strings_in_list_retain_spaces | 3,370 | |
LDU_FT/swevm/scaleio-py/is_ip_addr | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns a `list` of all the `System` objects to the cluster. Updates every time - no caching.\n :return: a `list` of all the `System` objects known to the cluster.\n :rtype: list\n<END>",
"<BEGIN>\n## `set_sds_name`",
"Set name for SDS\n :param name: Name of SDS\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_ip_addr API.
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 is_ip_addr API.
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... | Convenience method to verify if string is an IP addr?
:param ipstr: Stinrg containing IP address
:rtype True if string is a valid IP address | "Convenience method to verify if string is an IP addr?\n :param ipstr: Stinrg containing IP address\n :rtype True if string is a valid IP address" | 113 | false | swevm/scaleio-py | is_ip_addr | 3,371 | |
LDU_FT/sampsyo/confuse/export_live_eggs | LDU_FT | [
"<BEGIN>\n## `namespace_to_dict`",
"If obj is argparse.Namespace or optparse.Values we'll return\n a dict representation of it, else return the original object.",
" Redefine this method if using other parsers.",
" :param obj: *\n :return:\n :rtype: dict or *\n<END>",
"<BEGIN>\n## `_package_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_live_eggs API.
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_live_eggs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Adds all of the eggs in the current environment to PYTHONPATH. | "Adds all of the eggs in the current environment to PYTHONPATH." | 79 | false | sampsyo/confuse | export_live_eggs | 3,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.