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/google/budou/main | LDU_FT | [
"<BEGIN>\n## `get_parser`",
"Gets a parser.",
" Args:\n segmenter (str): Segmenter to use.\n options (:obj:`dict`, optional): Optional settings.",
" Returns:\n Parser (:obj:`budou.parser.Parser`)",
" Raises:\n ValueError: If unsupported segmenter is specified.\n<END>",
"<BEGIN>\n## `parse_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Budou main method for the command line tool. | "Budou main method for the command line tool." | 89 | false | google/budou | main | 40,873 | |
LDU_FT/nornir-automation/nornir/echo_data | LDU_FT | [
"<BEGIN>\n## `start`",
"Run the task for the given host.",
" Arguments:\n host (:obj:`nornir.core.inventory.Host`): Host we are operating with. Populated right\n before calling the ``task``\n nornir(:obj:`nornir.core.Nornir`): Populated right before calling\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the echo_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the echo_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Dummy task that echoes the data passed to it. Useful in grouped_tasks
to debug data passed to tasks.
Arguments:
``**kwargs``: Any <key,value> pair you want
Returns:
Result object with the following attributes set:
* result (``dict``): ``**kwargs`` passed to the task | "Dummy task that echoes the data passed to it. Useful in grouped_tasks\n to debug data passed to tasks.\n\n Arguments:\n ``**kwargs``: Any <key,value> pair you want\n\n Returns:\n Result object with the following attributes set:\n * result (``dict``): ``**kwargs`` passed to the task" | 175 | false | nornir-automation/nornir | echo_data | 40,874 | |
LDU_FT/noirbizarre/flask-fs/get_file | 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 get_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Serve files for storages with direct file access | "Serve files for storages with direct file access" | 62 | false | noirbizarre/flask-fs | get_file | 40,875 | |
LDU_FT/markomanninen/abnum/table | LDU_FT | [
"<BEGIN>\n## `svg`",
"Use in this way:",
" ´from remarkuple import helper as h, svg´\n<END>",
"<BEGIN>\n## `convert`",
"Swap characters from a script to transliteration and vice versa. \n Optionally sanitize string by using preprocess function.",
" :param preprocess:\n :param strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Table function presents the idea of extending tags for simpler generation of some
html element groups. Table has several group of tags in well defined structure. Caption
header should be right after table and before thead for example. Colgroup, tfoot, tbody, tr, td and
th elements has certain order which ar... | "Table function presents the idea of extending tags for simpler generation of some\n html element groups. Table has several group of tags in well defined structure. Caption\n header should be right after table and before thead for example. Colgroup, tfoot, tbody, tr, td and\n th elements has certain order whic... | 24 | false | markomanninen/abnum | table | 40,876 | |
LDU_FT/slok/prometheus-python/add | LDU_FT | [
"<BEGIN>\n## `negotiate`",
"Process headers dict to return the format class\n (not the instance)\n<END>",
"<BEGIN>\n## `add`",
"Add works like replace, but only previously pushed metrics with the\n same name (and the same job and instance) will be replaced.\n (It uses HTTP met... | 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 works like replace, but only previously pushed metrics with the
same name (and the same job and instance) will be replaced.
(It uses HTTP method 'POST' to push to the Pushgateway.) | "Add works like replace, but only previously pushed metrics with the\n same name (and the same job and instance) will be replaced.\n (It uses HTTP method 'POST' to push to the Pushgateway.)" | 20 | false | slok/prometheus-python | add | 40,877 | |
LDU_FT/raamana/hiwenet/check_array | LDU_FT | [
"<BEGIN>\n## `diff_medians`",
"Computes the difference in medians between two arrays of values.",
" Given arrays will be flattened (to 1D array) regardless of dimension,\n and any non-finite/NaN values will be ignored.",
" Parameters\n ----------\n array_one, array_two : iterable\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_array API.
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_array API.
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... | Converts to flattened numpy arrays and ensures its not empty. | "Converts to flattened numpy arrays and ensures its not empty." | 115 | false | raamana/hiwenet | check_array | 40,878 | |
LDU_FT/dronekit/dronekit-python/condition_yaw | LDU_FT | [
"<BEGIN>\n## `condition_yaw`",
"Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).",
" This method sets an absolute heading by default, but you can set the `relative` parameter\n to `True` to set yaw relative to the current yaw heading.",
" By default the yaw of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the condition_yaw API.
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 condition_yaw API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).
This method sets an absolute heading by default, but you can set the `relative` parameter
to `True` to set yaw relative to the current yaw heading.
By default the yaw of the vehicle will follow the direction of travel... | "Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).\n\n This method sets an absolute heading by default, but you can set the `relative` parameter\n to `True` to set yaw relative to the current yaw heading.\n\n By default the yaw of the vehicle will follow the direction of ... | 290 | false | dronekit/dronekit-python | condition_yaw | 40,879 | |
LDU_FT/astropy/pyregion/convert_to_imagecoord | LDU_FT | [
"<BEGIN>\n## `_generate_arg_types`",
"Find coordinate types based on shape name and coordlist length",
" This function returns a list of coordinate types based on which\n coordinates can be repeated for a given type of shap",
" Parameters\n ----------\n coordlist_length : int\n The numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_imagecoord 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 convert_to_imagecoord API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert the coordlist of `shape` to image coordinates
Parameters
----------
shape : `pyregion.parser_helper.Shape`
The `Shape` to convert coordinates
header : `~astropy.io.fits.Header`
Specifies what WCS transformations to use.
Returns
-------
new_coordlist : list
... | "Convert the coordlist of `shape` to image coordinates\n\n Parameters\n ----------\n shape : `pyregion.parser_helper.Shape`\n The `Shape` to convert coordinates\n\n header : `~astropy.io.fits.Header`\n Specifies what WCS transformations to use.\n\n Returns\n -------\n new_coordlist : ... | 75 | false | astropy/pyregion | convert_to_imagecoord | 40,880 | |
LDU_FT/mcieslik-mctp/papy/connect | LDU_FT | [
"<BEGIN>\n## `_inspect`",
"(internal) Determines the type of a given ``object``. Discriminates between \n ``Piper``, ``Worker``, ``FunctionType`` and ``Iterable`` instances. It \n returns a ``tuple`` of boolean variables i.e: (is_piper, is_worker, \n is_function, is_iterable_of_pipers, is_iterable_of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Connects the ``Piper`` instance to its upstream ``Pipers`` that should
be given as a sequence. This connects this ``Piper.inbox`` with the
upstream ``Piper.outbox`` respecting any "consume", "spawn" and
"produce" arguments.
Arguments:
- inbox(sequence) seque... | "Connects the ``Piper`` instance to its upstream ``Pipers`` that should\n be given as a sequence. This connects this ``Piper.inbox`` with the\n upstream ``Piper.outbox`` respecting any \"consume\", \"spawn\" and \n \"produce\" arguments. \n \n Arguments:\n \n - inbox(s... | 323 | false | mcieslik-mctp/papy | connect | 40,881 | |
LDU_FT/jakevdp/supersmoother/validate_inputs | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the smoother",
" Parameters\n ----------\n t : array_like\n time locations of the points to smooth\n y : array_like\n y locations of the points to smooth\n dy : array_like or float (default = 1)\n Errors in the y value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_inputs API.
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 validate_inputs API.
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... | Validate input arrays
This checks that
- Arrays are mutually broadcastable
- Broadcasted arrays are one-dimensional
Optionally, arrays are sorted according to the ``sort_by`` argument.
Parameters
----------
*args : ndarrays
All non-keyword arguments are arrays which will be valida... | "Validate input arrays\n\n This checks that\n - Arrays are mutually broadcastable\n - Broadcasted arrays are one-dimensional\n\n Optionally, arrays are sorted according to the ``sort_by`` argument.\n\n Parameters\n ----------\n *args : ndarrays\n All non-keyword arguments are arrays which wi... | 47 | false | jakevdp/supersmoother | validate_inputs | 40,882 | |
LDU_FT/OCHA-DAP/hdx-python-api/add_update_user | LDU_FT | [
"<BEGIN>\n## `validlocations`",
"Read valid locations from HDX",
" Args:\n configuration (Optional[Configuration]): HDX configuration. Defaults to global configuration.",
" Returns:\n List[Dict]: A list of valid locations\n<END>",
"<BEGIN>\n## `get_location_from_HDX_code`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_update_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_update_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Add new or update existing user in organization with new metadata. Capacity eg. member, admin
must be supplied either within the User object or dictionary or using the capacity argument (which takes
precedence).
Args:
user (Union[User,Dict,str]): Either a user id or user metadata ei... | "Add new or update existing user in organization with new metadata. Capacity eg. member, admin\n must be supplied either within the User object or dictionary or using the capacity argument (which takes\n precedence).\n\n Args:\n user (Union[User,Dict,str]): Either a user id or user metad... | 513 | false | OCHA-DAP/hdx-python-api | add_update_user | 40,883 | |
LDU_FT/tisimst/pyDOE/fold | LDU_FT | [
"<BEGIN>\n## `pbdesign`",
"Generate a Plackett-Burman design\r",
" Parameter\r\n ---------\r\n n : int\r\n The number of factors to create a matrix for.\r",
" Returns\r\n -------\r\n H : 2d-array\r\n An orthogonal design matrix with n columns, one for each factor, and\r\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fold API.
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 fold API.
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... | Fold a design to reduce confounding effects.
Parameters
----------
H : 2d-array
The design matrix to be folded.
columns : array
Indices of of columns to fold (Default: None). If ``columns=None`` is
used, then all columns will be folded.
Returns
------... | "Fold a design to reduce confounding effects.\r\n \r\n Parameters\r\n ----------\r\n H : 2d-array\r\n The design matrix to be folded.\r\n columns : array\r\n Indices of of columns to fold (Default: None). If ``columns=None`` is\r\n used, then all columns will be folded.\r\n \r\n ... | 96 | false | tisimst/pyDOE | fold | 40,884 | |
LDU_FT/istresearch/scrapy-cluster/load | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the settings dict",
" @param local: The local settings filename to use\n @param default: The default settings module to read\n @return: A dict of the loaded settings\n<END>",
"<BEGIN>\n## `load_from_string`",
"Loads settings from a settings_string. Expects an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
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 load API.
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... | Load the settings dict
@param local: The local settings filename to use
@param default: The default settings module to read
@return: A dict of the loaded settings | "Load the settings dict\n\n @param local: The local settings filename to use\n @param default: The default settings module to read\n @return: A dict of the loaded settings" | 269 | false | istresearch/scrapy-cluster | load | 40,885 | |
LDU_FT/ausaki/subfinder/_parse_videoname | LDU_FT | [
"<BEGIN>\n## `_gen_subname`",
"generate filename of subtitles\n :TODO: fix the conflict of subname\n<END>",
"<BEGIN>\n## `_compute_video_hash`",
"compute videofile's hash\n reference: https://docs.google.com/document/d/1w5MCBO61rKQ6hI5m9laJLWse__yTYdRugpVyz4RzrmM/preview\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_videoname API.
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 _parse_videoname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | parse videoname and return video info dict
video info contains:
- title, the name of video
- sub_title, the sub_title of video
- resolution,
- source,
-
- season, defaults to 0
- episode, defaults to 0 | "parse videoname and return video info dict\n video info contains:\n - title, the name of video\n - sub_title, the sub_title of video\n - resolution,\n - source,\n -\n - season, defaults to 0\n - episode, defaults to 0" | 26 | false | ausaki/subfinder | _parse_videoname | 40,886 | |
LDU_FT/dcwatson/bbcode/_find_closing_token | LDU_FT | [
"<BEGIN>\n## `render_html`",
"A module-level convenience method that creates a default bbcode parser,\n and renders the input string as HTML.\n<END>",
"<BEGIN>\n## `add_formatter`",
"Installs a render function for the specified tag name. The render function\n should have the following signature:",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_closing_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_closing_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.
T... | Given the current tag options, a list of tokens, and the current position
in the token list, this function will find the position of the closing token
associated with the specified tag. This may be a closing tag, a newline, or
simply the end of the list (to ensure tags are closed). This function... | "Given the current tag options, a list of tokens, and the current position\n in the token list, this function will find the position of the closing token\n associated with the specified tag. This may be a closing tag, a newline, or\n simply the end of the list (to ensure tags are closed). This func... | 36 | false | dcwatson/bbcode | _find_closing_token | 40,887 | |
LDU_FT/CiscoUcs/UcsPythonSDK/StartKvmSession | LDU_FT | [
"<BEGIN>\n## `get_boot_device`",
"Get the current boot device for the node.\r",
" Provides the current boot device of the node. Be aware that not\r\n all drivers support this.\r",
" :raises: InvalidParameterValue if any connection parameters are\r\n incorrect.\r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the StartKvmSession API.
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 StartKvmSession API.
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... | Starts KVM session.
launches the KVM session for the specific service profile, blade or rackUnit.
- serviceProfile specifies an object of type lsServer. Launches KVM session with which the service profile is associated.
- blade specifies an object of type computeBlade. Launches KVM session of blade server.
... | "Starts KVM session.\n\t\t\n\t\tlaunches the KVM session for the specific service profile, blade or rackUnit.\n\t\t- serviceProfile specifies an object of type lsServer. Launches KVM session with which the service profile is associated. \n\t\t- blade specifies an object of type computeBlade. Launches KVM session of bla... | 179 | false | CiscoUcs/UcsPythonSDK | StartKvmSession | 40,888 | |
LDU_FT/python-wink/python-wink/set_chime_volume | LDU_FT | [
"<BEGIN>\n## `set_mode`",
":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>",
"<BEGIN>\n## `set_privacy`",
":param state: True or False\n :return: nothing\n<END>",
"<BEGIN>\n## `_update_state_from_response`",
":param response_json: the json obj returned from query\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_chime_volume API.
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 set_chime_volume API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | :param volume: one of [low, medium, high] | ":param volume: one of [low, medium, high]" | 133 | false | python-wink/python-wink | set_chime_volume | 40,889 | |
LDU_FT/facundobatista/yaswfp/_str | LDU_FT | [
"<BEGIN>\n## `_str`",
"Show nicely the generic object received.\n<END>",
"<BEGIN>\n## `_repr`",
"Show the received object as precise as possible.\n<END>",
"<BEGIN>\n## `parsefile`",
"Parse a SWF.",
" If you have a file object already, just use SWFParser directly.",
" read_twips: True - return v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Show nicely the generic object received. | "Show nicely the generic object received." | 56 | false | facundobatista/yaswfp | _str | 40,890 | |
LDU_FT/nutechsoftware/alarmdecoder/open | LDU_FT | [
"<BEGIN>\n## `main`",
"Example application that watches for an event from a specific RF device.",
" This feature allows you to watch for events from RF devices if you have\n an RF receiver. This is useful in the case of internal sensors, which\n don't emit a FAULT if the sensor is tripped and the pane... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
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 open API.
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... | Opens the device.
:param baudrate: baudrate to use
:type baudrate: int
:param no_reader_thread: whether or not to automatically start the
reader thread.
:type no_reader_thread: bool
:raises: :py:class:`~alarmdecoder.util.NoDeviceError` | "Opens the device.\n\n :param baudrate: baudrate to use\n :type baudrate: int\n :param no_reader_thread: whether or not to automatically start the\n reader thread.\n :type no_reader_thread: bool\n\n :raises: :py:class:`~alarmdecoder.util.NoDeviceError`" | 286 | false | nutechsoftware/alarmdecoder | open | 40,891 | |
LDU_FT/pyblish/pyblish-qml/add_plugin | LDU_FT | [
"<BEGIN>\n## `process`",
"Given JSON objects from client, perform actual processing",
" Arguments:\n plugin (dict): JSON representation of plug-in to process\n instance (dict, optional): JSON representation of Instance to\n be processed.\n action (str, opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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.
The extrac... | Append `plugin` to model
Arguments:
plugin (dict): Serialised plug-in from pyblish-rpc
Schema:
plugin.json | "Append `plugin` to model\n\n Arguments:\n plugin (dict): Serialised plug-in from pyblish-rpc\n\n Schema:\n plugin.json" | 272 | false | pyblish/pyblish-qml | add_plugin | 40,892 | |
LDU_FT/ryanjdillon/pylleo/callback_datadirs | LDU_FT | [
"<BEGIN>\n## `create_bokeh_server`",
"Start bokeh server with applications paths\n<END>",
"<BEGIN>\n## `get_n_header`",
"Get the nummber of header rows in a Little Leonardo data file",
" Args\n ----\n f : file stream\n File handle for the file from which header rows will be read\n header_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the callback_datadirs API.
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 callback_datadirs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Update source and controls with data loaded from selected directory | "Update source and controls with data loaded from selected directory" | 60 | false | ryanjdillon/pylleo | callback_datadirs | 40,893 | |
LDU_FT/Jaza/flask-restplus-patched/_process_patch_operation | LDU_FT | [
"<BEGIN>\n## `resolve_object`",
"A helper decorator to resolve object instance from arguments (e.g. identity).",
" Example:\n >>> @namespace.route('/<int:user_id>')\n ... class MyResource(Resource):\n ... @namespace.resolve_object(\n ... object_arg_name='user',\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_patch_operation 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 _process_patch_operation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Args:
operation (dict): one patch operation in RFC 6902 format.
obj (object): an instance which is needed to be patched.
state (dict): inter-operations state storage
Returns:
processing_status (bool): True if operation was handled, otherwise False. | "Args:\n operation (dict): one patch operation in RFC 6902 format.\n obj (object): an instance which is needed to be patched.\n state (dict): inter-operations state storage\n\n Returns:\n processing_status (bool): True if operation was handled, otherwise False." | 30 | false | Jaza/flask-restplus-patched | _process_patch_operation | 40,894 | |
LDU_FT/rmorshea/spectate/watchable | LDU_FT | [
"<BEGIN>\n## `views`",
"Return a model's views keyed on what events they respond to.",
" Model views are added by calling :func:`view` on a model.\n<END>",
"<BEGIN>\n## `view`",
"A decorator for registering a callback to a model",
" Parameters:\n model: the model object whose changes the call... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watchable API.
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 watchable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns True if the given value is a :class:`Watchable` subclass or instance. | "Returns True if the given value is a :class:`Watchable` subclass or instance." | 94 | false | rmorshea/spectate | watchable | 40,895 | |
LDU_FT/jidn/flask-resteasy/output | LDU_FT | [
"<BEGIN>\n## `unpack`",
"Unpack the response from a view.",
" :param rv: the view response\n :type rv: either a :class:`werkzeug.wrappers.Response` or a\n tuple of (data, status_code, headers)\n<END>",
"<BEGIN>\n## `init_app`",
"Initialize actions with the app or blueprint.",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Wrap a resource (as a flask view function).
This is for cases where the resource does not directly return
a response object. Now everything should be a Response object.
:param resource: The resource as a flask view function | "Wrap a resource (as a flask view function).\n\n This is for cases where the resource does not directly return\n a response object. Now everything should be a Response object.\n\n :param resource: The resource as a flask view function" | 36 | false | jidn/flask-resteasy | output | 40,896 | |
LDU_FT/DasIch/argvard/main | LDU_FT | [
"<BEGIN>\n## `from_string`",
"Returns a :class:`Signature` object based on the given `string`. If\n `option` is `True`, repetitions or optional patterns will not be\n allowed.",
" If the `string` cannot be parsed, :exc:`InvalidSignature` is raised.\n<END>",
"<BEGIN>\n## `usage`",
"A usa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | A decorator that is used to register the main function with the given
`signature`::
@app.main()
def main(context):
# do something
pass
The main function is called, after any options and if no command has
been called. | "A decorator that is used to register the main function with the given\n `signature`::\n\n @app.main()\n def main(context):\n # do something\n pass\n\n The main function is called, after any options and if no command has\n been called." | 31 | false | DasIch/argvard | main | 40,897 | |
LDU_FT/evolbioinfo/pastml/choose_ancestral_states_joint | LDU_FT | [
"<BEGIN>\n## `reconstruct_ancestral_states`",
"Reconstructs ancestral states for the given character on the given tree.",
" :param character: character whose ancestral states are to be reconstructed.\n :type character: str\n :param tree: tree whose ancestral state are to be reconstructed,\n anno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the choose_ancestral_states_joint 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 choose_ancestral_states_joint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Chooses node ancestral states based on their marginal probabilities using joint method.
:param frequencies: numpy array of state frequencies
:param tree: ete3.Tree, the tree of interest
:param feature: str, character for which the ancestral states are to be chosen
:param states: numpy.array of possible... | "Chooses node ancestral states based on their marginal probabilities using joint method.\n\n :param frequencies: numpy array of state frequencies\n :param tree: ete3.Tree, the tree of interest\n :param feature: str, character for which the ancestral states are to be chosen\n :param states: numpy.array of po... | 150 | false | evolbioinfo/pastml | choose_ancestral_states_joint | 40,898 | |
LDU_FT/siemens/django-mantis-openioc-importer/openioc_embedding_pred | LDU_FT | [
"<BEGIN>\n## `xml_import`",
"Import an OpenIOC indicator xml (root element 'ioc') from file <filepath> or\n from a string <xml_content>",
" You can provide:",
" - a list of markings with which all generated Information Objects\n will be associated (e.g., in order to provide prov... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the openioc_embedding_pred 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 openioc_embedding_pred API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Predicate for recognizing inlined content in an XML; to
be used for DINGO's xml-import hook 'embedded_predicate'.
The question this predicate must answer is whether
the child should be extracted into a separate object.
The function returns either
- False (the child is not to be ... | "Predicate for recognizing inlined content in an XML; to\n be used for DINGO's xml-import hook 'embedded_predicate'.\n The question this predicate must answer is whether\n the child should be extracted into a separate object.\n\n The function returns either\n - False (the child is not... | 33 | false | siemens/django-mantis-openioc-importer | openioc_embedding_pred | 40,899 | |
LDU_FT/DerMitch/fritzbox-smarthome/get_energy | LDU_FT | [
"<BEGIN>\n## `login`",
"Try to login and set the internal session id.",
" Please note:\n - Any failed login resets all existing session ids, even of\n other users.\n - SIDs expire after some time\n<END>",
"<BEGIN>\n## `calculate_response`",
"Calculate response for the challenge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_energy API.
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_energy API.
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... | Returns the consumed energy since the start of the statistics in Wh.
Attention: Returns None if the value can't be queried or is unknown. | "Returns the consumed energy since the start of the statistics in Wh.\n Attention: Returns None if the value can't be queried or is unknown." | 35 | false | DerMitch/fritzbox-smarthome | get_energy | 40,900 | |
LDU_FT/trevisanj/a99/make_fits_keys_dict | LDU_FT | [
"<BEGIN>\n## `make_code_readable`",
"Add newlines at strategic places in code string for printing.\r",
" Args:\r\n s: str, piece of code. If not str, will attempt to convert to str.\r",
" Returns:\r\n str\n<END>",
"<BEGIN>\n## `chunk_string`",
"Splits a string into fixed-length chunks.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_fits_keys_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_fits_keys_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns a dictionary to translate to unique FITS header keys up to 8 characters long
This is similar to Windows making up 8-character names for filenames that
are longer than this
"The keyword names may be up to 8 characters long and can only contain
uppercase letters A to Z, the digits 0 to 9, ... | "Returns a dictionary to translate to unique FITS header keys up to 8 characters long\r\n\r\n This is similar to Windows making up 8-character names for filenames that\r\n are longer than this\r\n\r\n \"The keyword names may be up to 8 characters long and can only contain\r\n uppercase letters A to Z, the d... | 301 | false | trevisanj/a99 | make_fits_keys_dict | 40,901 | |
LDU_FT/tkf/rash/include_before | LDU_FT | [
"<BEGIN>\n## `concat_expr`",
"Concatenate `conditions` with `operator` and wrap it by ().",
" It returns a string in a list or empty list, if `conditions` is empty.\n<END>",
"<BEGIN>\n## `join`",
"Join `source`.",
" >>> sc = SQLConstructor('main', ['c1', 'c2'])\n >>> sc.join('sub', 'JOIN'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include_before API.
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 include_before API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return elements in `iterative` including `num`-before elements.
>>> list(include_before(lambda x: x == 'd', 2, 'abcded'))
['b', 'c', 'd', 'e', 'd'] | "Return elements in `iterative` including `num`-before elements.\n\n >>> list(include_before(lambda x: x == 'd', 2, 'abcded'))\n ['b', 'c', 'd', 'e', 'd']" | 142 | false | tkf/rash | include_before | 40,902 | |
LDU_FT/kevinconway/confpy/parsed | LDU_FT | [
"<BEGIN>\n## `configfile_from_path`",
"Get a ConfigFile object based on a file path.",
" This method will inspect the file extension and return the appropriate\n ConfigFile subclass initialized with the given path.",
" Args:\n path (str): The file path which represents the configuration file.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parsed API.
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 parsed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Get the JSON dictionary object which represents the content.
This property is cached and only parses the content once. | "Get the JSON dictionary object which represents the content.\n\n This property is cached and only parses the content once." | 104 | false | kevinconway/confpy | parsed | 40,903 | |
LDU_FT/mk-fg/feedjack/initview | LDU_FT | [
"<BEGIN>\n## `getsteps`",
"Returns a list with the max number of posts per \"tagcloud level\"\n<END>",
"<BEGIN>\n## `build`",
"Returns the tag cloud for a list of tags.\n<END>",
"<BEGIN>\n## `cloudata`",
"Returns a dictionary with all the tag clouds related to a site.\n<END>",
"<BEGIN>\n## `getcloud`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initview API.
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 initview API.
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... | Retrieves the basic data needed by all feeds (host, feeds, etc)
Returns a tuple of:
1. A valid cached response or None
2. The current site object
3. The cache key
4. The subscribers for the site (objects)
5. The feeds for the site (ids) | "Retrieves the basic data needed by all feeds (host, feeds, etc)\n\t\tReturns a tuple of:\n\t\t\t1. A valid cached response or None\n\t\t\t2. The current site object\n\t\t\t3. The cache key\n\t\t\t4. The subscribers for the site (objects)\n\t\t\t5. The feeds for the site (ids)" | 62 | false | mk-fg/feedjack | initview | 40,904 | |
LDU_FT/Robpol86/sphinxcontrib-versioning/_build | LDU_FT | [
"<BEGIN>\n## `setup_logging`",
"Configure console logging. Info and below go to stdout, others go to stderr.",
" :param int verbose: Verbosity level. > 0 print debug statements. > 1 passed to sphinx-build.\n :param bool colors: Print color text in non-verbose mode.\n :param str name: Which logger name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build API.
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 _build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Build Sphinx docs via multiprocessing for isolation.
:param tuple argv: Arguments to pass to Sphinx.
:param sphinxcontrib.versioning.lib.Config config: Runtime configuration.
:param sphinxcontrib.versioning.versions.Versions versions: Versions class instance.
:param str current_name: The ref name of th... | "Build Sphinx docs via multiprocessing for isolation.\n\n :param tuple argv: Arguments to pass to Sphinx.\n :param sphinxcontrib.versioning.lib.Config config: Runtime configuration.\n :param sphinxcontrib.versioning.versions.Versions versions: Versions class instance.\n :param str current_name: The ref name... | 172 | false | Robpol86/sphinxcontrib-versioning | _build | 40,905 | |
LDU_FT/HDI-Project/ballet/make_config_get | LDU_FT | [
"<BEGIN>\n## `check`",
"Check that the new file introduced is a python source file\n<END>",
"<BEGIN>\n## `check`",
"Check that the new file is within the contrib subdirectory\n<END>",
"<BEGIN>\n## `check`",
"Check that the name of the subpackage within contrib is valid",
" The package name must m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_config_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_config_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 e... | Return a function to get configuration options for a specific project
Args:
conf_path (path-like): path to project's conf file (i.e. foo.conf
module) | "Return a function to get configuration options for a specific project\n\n Args:\n conf_path (path-like): path to project's conf file (i.e. foo.conf\n module)" | 252 | false | HDI-Project/ballet | make_config_get | 40,906 | |
LDU_FT/arcturial/clickatell-python/sendMessage | LDU_FT | [
"<BEGIN>\n## `request`",
"Append the user authentication details to every incoming request\n<END>",
"<BEGIN>\n## `sendMessage`",
"If the 'to' parameter is a single entry, we will parse it into a list.\n We will merge default values into the request data and the extra parameters\n provided by the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendMessage API.
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 sendMessage API.
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... | If the 'to' parameter is a single entry, we will parse it into a list.
We will merge default values into the request data and the extra parameters
provided by the user. | "If the 'to' parameter is a single entry, we will parse it into a list.\n We will merge default values into the request data and the extra parameters\n provided by the user." | 26 | false | arcturial/clickatell-python | sendMessage | 40,907 | |
LDU_FT/pettarin/ipapy/cns_vwl_str_len | LDU_FT | [
"<BEGIN>\n## `can_map_ipa_string`",
"Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.",
" :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>",
"<BEGIN>\n## `map_ipa_string`",
"Convert the given IPAString to a string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cns_vwl_str_len API.
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 cns_vwl_str_len API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return a new IPAString, containing only:
1. the consonants,
2. the vowels, and
3. the stress diacritics, and
4. the length diacritics
in the current string.
:rtype: IPAString | "Return a new IPAString, containing only:\n \n 1. the consonants,\n 2. the vowels, and\n 3. the stress diacritics, and\n 4. the length diacritics\n\n in the current string.\n\n :rtype: IPAString" | 205 | false | pettarin/ipapy | cns_vwl_str_len | 40,908 | |
LDU_FT/carlosp420/dataset-creator/make_slash_number | LDU_FT | [
"<BEGIN>\n## `split_data`",
"Splits the list of SeqRecordExpanded objects into lists, which are\n kept into a bigger list.",
" If the file_format is Nexus, then it is only partitioned by gene. If it\n is FASTA, then it needs partitioning by codon positions if required.",
" Example:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_slash_number API.
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 make_slash_number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Charset lines have \2 or \3 depending on type of partitioning and codon
positions requested for our dataset.
:return: | "Charset lines have \\2 or \\3 depending on type of partitioning and codon\n positions requested for our dataset.\n\n :return:" | 54 | false | carlosp420/dataset-creator | make_slash_number | 40,909 | |
LDU_FT/econ-ark/HARK/usePointsForInterpolation | LDU_FT | [
"<BEGIN>\n## `calcLogSumChoiceProbs`",
"Returns the final optimal value and choice probabilities given the choice\n specific value functions `Vals`. Probabilities are degenerate if sigma == 0.0.\n Parameters\n ----------\n Vals : [numpy.array]\n A numpy.array that holds choice specific values a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usePointsForInterpolation 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 usePointsForInterpolation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Constructs a basic solution for this period, including the consumption
function and marginal value function.
Parameters
----------
cLvl : np.array
Consumption points for interpolation.
mLvl : np.array
Corresponding market resource points for interpolation... | "Constructs a basic solution for this period, including the consumption\n function and marginal value function.\n\n Parameters\n ----------\n cLvl : np.array\n Consumption points for interpolation.\n mLvl : np.array\n Corresponding market resource points for inte... | 1,253 | true | econ-ark/HARK | usePointsForInterpolation | 40,910 | |
LDU_FT/opencivicdata/pupa/limit_spec | LDU_FT | [
"<BEGIN>\n## `items_differ`",
"check whether or not jsonitems and dbitems differ\n<END>",
"<BEGIN>\n## `resolve_json_id`",
"Given an id found in scraped JSON, return a DB id for the object.",
" params:\n json_id: id from json\n allow_no_match: just return None... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limit_spec API.
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 limit_spec API.
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... | Whenever we do a Pseudo ID lookup from the database, we need to limit
based on the memberships -> organization -> jurisdiction, so we scope
the resolution. | "Whenever we do a Pseudo ID lookup from the database, we need to limit\n based on the memberships -> organization -> jurisdiction, so we scope\n the resolution." | 48 | false | opencivicdata/pupa | limit_spec | 40,911 | |
LDU_FT/hellupline/flask-manager/absolute_url | LDU_FT | [
"<BEGIN>\n## `register_items`",
"Bulk ``register_item``.",
" Args:\n items (iterable[Tree]):\n Sequence of nodes to be registered as children.\n<END>",
"<BEGIN>\n## `endpoints`",
"Get all the endpoints under this node in a tree like structure.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the absolute_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 absolute_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... | Get the absolute url of ``self``.
Returns:
str: the absolute url. | "Get the absolute url of ``self``.\n\n Returns:\n str: the absolute url." | 21 | false | hellupline/flask-manager | absolute_url | 40,912 | |
LDU_FT/Carreau/warn/filterwarnings | LDU_FT | [
"<BEGIN>\n## `warn_explicit`",
"Low level implementation of the warning functionality.\n Duplicate of the standard library `warnings.warn_explicit`,\n except it accepts the following arguments:",
" `emit_module`: regular expression that should match the module the warnings\n are emitt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filterwarnings API.
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 filterwarnings API.
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... | Insert an entry into the list of warnings filters (at the front).
'action' -- one of "error", "ignore", "always", "default", "module",
or "once"
'message' -- a regex that the warning message must match
'category' -- a class that the warning must be a subclass of
'module' -- a regex that... | "Insert an entry into the list of warnings filters (at the front).\n\n 'action' -- one of \"error\", \"ignore\", \"always\", \"default\", \"module\",\n or \"once\"\n 'message' -- a regex that the warning message must match\n 'category' -- a class that the warning must be a subclass of\n 'modu... | 14 | false | Carreau/warn | filterwarnings | 40,913 | |
LDU_FT/AtmaHou/atma/kendall_tau | LDU_FT | [
"<BEGIN>\n## `bleu`",
"Calculate BLEU for a single sentence, comment by atma\n The result of this code is same as the most popular perl script\n eg:\n weight = [0.25, 0.25, 0.25, 0.25]\n can = 'It is a guide to action which ensures that the military always obeys the commands of the party'.lowe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kendall_tau API.
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 kendall_tau API.
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 kendall_tau metric result of a method
:param query_dic: dict, key is qid, value is (item, bleu) tuple list, which will be ranked by 'item' as key
:param mark: string, which indicates which method is evaluated, also used as output file name here.
:return: average kendall score | "Calculate kendall_tau metric result of a method\r\n :param query_dic: dict, key is qid, value is (item, bleu) tuple list, which will be ranked by 'item' as key\r\n :param mark: string, which indicates which method is evaluated, also used as output file name here.\r\n :return: average kendall score" | 15 | false | AtmaHou/atma | kendall_tau | 40,914 | |
LDU_FT/manjitkumar/drf-url-filters/DatetimeWithTZ | LDU_FT | [
"<BEGIN>\n## `IntegerLike`",
"Checks whether a value is:\n - int, or\n - long, or\n - float without a fractional part, or\n - str or unicode composed only of digits\n<END>",
"<BEGIN>\n## `Alphanumeric`",
"Checks whether a value is:\n - int, or\n - long, or\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DatetimeWithTZ API.
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 DatetimeWithTZ API.
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... | Checks whether a value is :
- a valid castable datetime object with timezone. | "Checks whether a value is :\n - a valid castable datetime object with timezone." | 12 | false | manjitkumar/drf-url-filters | DatetimeWithTZ | 40,915 | |
LDU_FT/pytorch/ignite/get_param | LDU_FT | [
"<BEGIN>\n## `add_event_handler`",
"Add an event handler to be executed when the specified event is fired.",
" Args:\n event_name: An event to attach the handler to. Valid events are from :class:`~ignite.engine.Events`\n or any `event_name` added by :meth:`~ignite.engine.Engine.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_param API.
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 get_param API.
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 to get current optimizer's parameter value | "Method to get current optimizer's parameter value" | 110 | false | pytorch/ignite | get_param | 40,916 | |
LDU_FT/3ll3d00d/vibe/get | LDU_FT | [
"<BEGIN>\n## `get`",
"Analyses the measurement with the given parameters\n :param measurementId:\n :return:\n<END>",
"<BEGIN>\n## `start`",
"Initialises the device if required then enters a read loop taking data from the provider and passing it to the\n handler. It will continue until ei... | 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... | Reloads the measurements from the backing store.
:return: 200 if success. | "Reloads the measurements from the backing store.\n :return: 200 if success." | 240 | false | 3ll3d00d/vibe | get | 40,917 | |
LDU_FT/PatrikValkovic/grammpy/pre_order | LDU_FT | [
"<BEGIN>\n## `reverse_cyk_transforms`",
"Reverse transformation made to grammar before CYK.\n Performs following steps:\n - transform from chomsky normal form\n - restore unit rules\n - restore epsilon rules\n :param root: Root node of the parsed tree.\n :return: Restored... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pre_order API.
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 pre_order API.
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... | Perform pre-order traversing. Expects tree like structure.
Traverse in DFS fashion.
:param root: Root tree of the parsed tree.
:return: Sequence of nodes to traverse. | "Perform pre-order traversing. Expects tree like structure.\n Traverse in DFS fashion.\n :param root: Root tree of the parsed tree.\n :return: Sequence of nodes to traverse." | 126 | false | PatrikValkovic/grammpy | pre_order | 40,918 | |
LDU_FT/bitshares/python-bitshares/get_account | LDU_FT | [
"<BEGIN>\n## `decodeRPCErrorMsg`",
"Helper function to decode the raised Exception and give it a\n python Exception class\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer an asset to another account.",
" :param str to: Recipient\n :param float amount: Amount to transfer\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_account API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_account API.
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... | Get full account details from account name or id
:param str name: Account name or account id | "Get full account details from account name or id\n\n :param str name: Account name or account id" | 116 | false | bitshares/python-bitshares | get_account | 40,919 | |
LDU_FT/tarzanjw/python-mysql-binlog-to-blinker/start_publishing | LDU_FT | [
"<BEGIN>\n## `start_publishing`",
"Start publishing MySQL row-based binlog events to blinker signals",
" Args:\n mysql_settings (dict): information to connect to mysql via pymysql\n **kwargs: The additional kwargs will be passed to\n :py:class:`pymysqlreplication.BinLogStreamReader`.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_publishing API.
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_publishing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Start publishing MySQL row-based binlog events to blinker signals
Args:
mysql_settings (dict): information to connect to mysql via pymysql
**kwargs: The additional kwargs will be passed to
:py:class:`pymysqlreplication.BinLogStreamReader`. | "Start publishing MySQL row-based binlog events to blinker signals\n\n Args:\n mysql_settings (dict): information to connect to mysql via pymysql\n **kwargs: The additional kwargs will be passed to\n :py:class:`pymysqlreplication.BinLogStreamReader`." | 29 | false | tarzanjw/python-mysql-binlog-to-blinker | start_publishing | 40,920 | |
LDU_FT/mediawiki-utilities/python-mwpersistence/diffs2persistence | LDU_FT | [
"<BEGIN>\n## `persist_revision_once`",
"This function makes sure that a revision is only marked as persisting\n for a token once. This is important since some diff algorithms allow\n tokens to be copied more than once in a revision. The id(token) should\n unique to the in-memory representation of any o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diffs2persistence API.
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 diffs2persistence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Processes a sorted and page-partitioned sequence of revision documents into
and adds a 'persistence' field to them containing statistics about how each
token "added" in the revision persisted through future revisions.
:Parameters:
rev_docs : `iterable` ( `dict` )
JSON documents of revis... | "Processes a sorted and page-partitioned sequence of revision documents into\n and adds a 'persistence' field to them containing statistics about how each\n token \"added\" in the revision persisted through future revisions.\n\n :Parameters:\n rev_docs : `iterable` ( `dict` )\n JSON documents... | 22 | false | mediawiki-utilities/python-mwpersistence | diffs2persistence | 40,921 | |
LDU_FT/dswah/pyGAM/round_to_n_decimal_places | LDU_FT | [
"<BEGIN>\n## `validate_callback_data`",
"wraps a callback's method to pull the desired arguments from the vars dict\n also checks to ensure the method's arguments are in the vars dict",
" Parameters\n ----------\n method : callable",
" Returns\n -------\n validated callable\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the round_to_n_decimal_places 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 round_to_n_decimal_places API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | tool to keep round a float to n decimal places.
n=3 by default
Parameters
----------
array : np.array
n : int. number of decimal places to keep
Returns
-------
array : rounded np.array | "tool to keep round a float to n decimal places.\n\n n=3 by default\n\n Parameters\n ----------\n array : np.array\n n : int. number of decimal places to keep\n\n Returns\n -------\n array : rounded np.array" | 770 | false | dswah/pyGAM | round_to_n_decimal_places | 40,922 | |
LDU_FT/stain/forgetSQL/_saveDB | LDU_FT | [
"<BEGIN>\n## `prepareClasses`",
"Fix _userClasses and some stuff in classes.",
" Traverses locals, which is a locals() dictionary from\n the namespace where Forgetter subclasses have been\n defined, and resolves names in _userClasses to real\n class-references.",
" Normally you would call forge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _saveDB API.
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 _saveDB API.
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... | Overloaded - we don't have nextval() in mysql | "Overloaded - we don't have nextval() in mysql" | 66 | false | stain/forgetSQL | _saveDB | 40,923 | |
LDU_FT/clement-alexandre/TotemBionet/_state_after_transition | LDU_FT | [
"<BEGIN>\n## `pick_a_model_randomly`",
"Naive picking function, return one of the models chosen randomly.\n<END>",
"<BEGIN>\n## `as_data_frame`",
"Create a panda DataFrame representation of the resource table.\n<END>",
"<BEGIN>\n## `is_active`",
"Return True if the multiplex is active in the given state, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _state_after_transition 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 _state_after_transition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return the state reachable after a transition.
Since the state for a gene can only change by 1, if the absolute value of the
difference current_state - target_state is greater than 1, we lower it to 1 or -1.
Examples
--------
>>> model._state_after_transition(0, 2)
... | "Return the state reachable after a transition.\n Since the state for a gene can only change by 1, if the absolute value of the\n difference current_state - target_state is greater than 1, we lower it to 1 or -1.\n \n Examples\n --------\n\n >>> model._state_after_transition(0,... | 49 | false | clement-alexandre/TotemBionet | _state_after_transition | 40,924 | |
LDU_FT/CybOXProject/mixbox/subset | LDU_FT | [
"<BEGIN>\n## `__make_id`",
"Generate an identifier for a callable signal receiver.",
" This is used when disconnecting receivers, where we need to correctly\n establish equivalence between the input receiver and the receivers assigned\n to a signal.",
" Args:\n receiver: A callable object."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subset API.
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 subset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a subset of this NamespaceSet containing only data for the
given namespaces.
Args:
ns_uris (iterable): An iterable of namespace URIs which select the
namespaces for the subset.
Returns:
The subset
Raises:
NamespaceNotFoundErro... | "Return a subset of this NamespaceSet containing only data for the\n given namespaces.\n\n Args:\n ns_uris (iterable): An iterable of namespace URIs which select the\n namespaces for the subset.\n\n Returns:\n The subset\n\n Raises:\n Namespace... | 249 | false | CybOXProject/mixbox | subset | 40,925 | |
LDU_FT/mdavidsaver/p4p/forever | LDU_FT | [
"<BEGIN>\n## `_sync`",
"I will wait until all pending handlers cothreads have completed\n<END>",
"<BEGIN>\n## `close`",
"Close PV, disconnecting any clients.",
" :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forever API.
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 forever API.
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... | Create a server and block the calling thread until KeyboardInterrupt.
Shorthand for: ::
with Server(*args, **kws):
try;
time.sleep(99999999)
except KeyboardInterrupt:
pass | "Create a server and block the calling thread until KeyboardInterrupt.\n Shorthand for: ::\n\n with Server(*args, **kws):\n try;\n time.sleep(99999999)\n except KeyboardInterrupt:\n pass" | 201 | false | mdavidsaver/p4p | forever | 40,926 | |
LDU_FT/shaunduncan/smokesignal/_emit_twisted | LDU_FT | [
"<BEGIN>\n## `install_twisted`",
"If twisted is available, make `emit' return a DeferredList",
" This has been successfully tested with Twisted 14.0 and later.\n<END>",
"<BEGIN>\n## `emit`",
"Emits a single signal to call callbacks registered to respond to that signal.\n Optionally accepts args and kw... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _emit_twisted API.
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 _emit_twisted API.
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... | Emits a single signal to call callbacks registered to respond to that signal.
Optionally accepts args and kwargs that are passed directly to callbacks.
:param signal: Signal to send | "Emits a single signal to call callbacks registered to respond to that signal.\n Optionally accepts args and kwargs that are passed directly to callbacks.\n\n :param signal: Signal to send" | 24 | false | shaunduncan/smokesignal | _emit_twisted | 40,927 | |
LDU_FT/thebjorn/pydeps/pydeps | LDU_FT | [
"<BEGIN>\n## `write`",
"Write ``txt`` to file and output stream (StringIO).\n<END>",
"<BEGIN>\n## `write_attributes`",
"Write comma separated attribute values (if exists).\n<END>",
"<BEGIN>\n## `is_noise`",
"Is this module just noise? (too common either at top or bottom of\n the graph).\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pydeps API.
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 pydeps API.
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 ... | Entry point for the ``pydeps`` command.
This function should do all the initial parameter and environment
munging before calling ``_pydeps`` (so that function has a clean
execution path). | "Entry point for the ``pydeps`` command.\n\n This function should do all the initial parameter and environment\n munging before calling ``_pydeps`` (so that function has a clean\n execution path)." | 60 | false | thebjorn/pydeps | pydeps | 40,928 | |
LDU_FT/WZBSocialScienceCenter/tmtoolkit/print_ldamodel_doc_topics | LDU_FT | [
"<BEGIN>\n## `compute_models_parallel`",
"Compute several Topic Models in parallel using the \"lda\" package. Use a single or multiple document term matrices\n `data` and optionally a list of varying parameters `varying_parameters`. Pass parameters in `constant_parameters`\n dict to each model calculation. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ldamodel_doc_topics 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 print_ldamodel_doc_topics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Print `n_top` values from a LDA model's document-topic distributions. | "Print `n_top` values from a LDA model's document-topic distributions." | 135 | false | WZBSocialScienceCenter/tmtoolkit | print_ldamodel_doc_topics | 40,929 | |
LDU_FT/ThreatConnect-Inc/tcex/add_filter | LDU_FT | [
"<BEGIN>\n## `_print_results`",
"Print the download results.",
" Args:\n file (str): The filename.\n status (str): The file download status.\n<END>",
"<BEGIN>\n## `_confirm_overwrite`",
"Confirm overwrite of template files.",
" Make sure the user would like to continue ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_filter API.
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... | Add ThreatConnect API Filter for this resource request.
External Reference:
https://docs.threatconnect.com
Args:
name (string): The filter field name.
operator (string): The filter comparison operator.
value (string): The filter value. | "Add ThreatConnect API Filter for this resource request.\n\n External Reference:\n https://docs.threatconnect.com\n\n Args:\n name (string): The filter field name.\n operator (string): The filter comparison operator.\n value (string): The filter value." | 1,591 | true | ThreatConnect-Inc/tcex | add_filter | 40,930 | |
LDU_FT/pyupio/changelogs/parse | LDU_FT | [
"<BEGIN>\n## `get_releases`",
"Gets all releases from pypi meta data.\n :param data: dict, meta data\n :return: list, str releases\n<END>",
"<BEGIN>\n## `get_urls`",
"Gets URLs to changelogs.\n :param session: requests Session instance\n :param name: str, package name\n :param data: dict, meta ... | 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 the given content for a valid changelog
:param name: str, package name
:param content: str, content
:param releases: list, releases
:param get_head_fn: function
:return: dict, changelog | "Parses the given content for a valid changelog\n :param name: str, package name\n :param content: str, content\n :param releases: list, releases\n :param get_head_fn: function\n :return: dict, changelog" | 58 | false | pyupio/changelogs | parse | 40,931 | |
LDU_FT/chairbender/fantasy-football-auction/nominate | LDU_FT | [
"<BEGIN>\n## `buy`",
"indicate that the player was bought at the specified cost",
" :param Player player: player to buy\n :param int cost: cost to pay",
" :raises InsufficientFundsError: if owner doesn't have the money\n :raises NoValidRosterSlotError: if owner doesn't have a slot ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nominate API.
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 nominate API.
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... | Nominates the player for auctioning.
:param int owner_id: index of the owner who is nominating
:param int player_idx: index of the player to nominate in the players list
:param int bid: starting bid
:raise InvalidActionError: if the action is not allowed according to the rules. See the... | "Nominates the player for auctioning.\n\n :param int owner_id: index of the owner who is nominating\n :param int player_idx: index of the player to nominate in the players list\n :param int bid: starting bid\n\n :raise InvalidActionError: if the action is not allowed according to the rules. ... | 15 | false | chairbender/fantasy-football-auction | nominate | 40,932 | |
LDU_FT/tmux-python/tmuxp/import_tmuxinator | LDU_FT | [
"<BEGIN>\n## `get_config_dir`",
"Return tmuxp configuration directory.",
" ``TMUXP_CONFIGDIR`` environmental variable has precedence if set. We also \n evaluate XDG default directory from XDG_CONFIG_HOME environmental variable \n if set or its default. Then the old default ~/.tmuxp is returned for \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_tmuxinator API.
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 import_tmuxinator API.
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 tmuxp config from a `tmuxinator`_ yaml config.
.. _tmuxinator: https://github.com/aziz/tmuxinator
Parameters
----------
sconf : dict
python dict for session configuration.
Returns
-------
dict | "Return tmuxp config from a `tmuxinator`_ yaml config.\n\n .. _tmuxinator: https://github.com/aziz/tmuxinator\n\n Parameters\n ----------\n sconf : dict\n python dict for session configuration.\n\n Returns\n -------\n dict" | 161 | false | tmux-python/tmuxp | import_tmuxinator | 40,933 | |
LDU_FT/WimpyAnalytics/django-andablog/_get_userinfo | LDU_FT | [
"<BEGIN>\n## `_get_userinfo`",
"Get a dictionary that pulls together information about the poster\n safely for both authenticated and non-authenticated comments.",
" This dict will have ``name``, ``email``, and ``url`` fields.\n<END>",
"<BEGIN>\n## `get_as_text`",
"Return this comment as plain... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_userinfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_userinfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get a dictionary that pulls together information about the poster
safely for both authenticated and non-authenticated comments.
This dict will have ``name``, ``email``, and ``url`` fields. | "Get a dictionary that pulls together information about the poster\n safely for both authenticated and non-authenticated comments.\n\n This dict will have ``name``, ``email``, and ``url`` fields." | 16 | false | WimpyAnalytics/django-andablog | _get_userinfo | 40,934 | |
LDU_FT/dhylands/rshell/timeout | LDU_FT | [
"<BEGIN>\n## `add_device`",
"Adds a device to the list of devices we know about.\n<END>",
"<BEGIN>\n## `is_micropython_usb_device`",
"Checks a USB device to see if it looks like a MicroPython device.\n<END>",
"<BEGIN>\n## `is_micropython_usb_port`",
"Checks to see if the indicated portname is a MicroPytho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeout API.
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 timeout API.
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... | Sets the timeout associated with the serial port. | "Sets the timeout associated with the serial port." | 159 | false | dhylands/rshell | timeout | 40,935 | |
LDU_FT/biocommons/bioutils/get_cytoband_maps | LDU_FT | [
"<BEGIN>\n## `fetch_seq`",
"Fetches sequences and subsequences from NCBI eutils and Ensembl\n REST interfaces.",
" :param string ac: accession of sequence to fetch\n :param int start_i: start position of *interbase* interval\n :param int end_i: end position of *interbase* interval",
" **IMPORTA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cytoband_maps API.
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_cytoband_maps API.
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 all cytoband maps
>>> maps = get_cytoband_maps()
>>> maps["ucsc-hg38"]["1"]["p32.2"]
[55600000, 58500000, 'gpos50']
>>> maps["ucsc-hg19"]["1"]["p32.2"]
[56100000, 59000000, 'gpos50'] | "Load all cytoband maps\n\n >>> maps = get_cytoband_maps()\n >>> maps[\"ucsc-hg38\"][\"1\"][\"p32.2\"]\n [55600000, 58500000, 'gpos50']\n >>> maps[\"ucsc-hg19\"][\"1\"][\"p32.2\"]\n [56100000, 59000000, 'gpos50']" | 172 | false | biocommons/bioutils | get_cytoband_maps | 40,936 | |
LDU_FT/sveetch/boussole/dump | LDU_FT | [
"<BEGIN>\n## `clean`",
"Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.",
" Args:\n settings (dict): Loaded settings.",
" Returns:\n dict: Settings object filtered.\n<END>",
"<BEGIN>\n## `set_settings`",
"Set every given settings... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Dump settings content to filepath.
Args:
content (str): Settings content.
filepath (str): Settings file location. | "Dump settings content to filepath.\n\n Args:\n content (str): Settings content.\n filepath (str): Settings file location." | 289 | false | sveetch/boussole | dump | 40,937 | |
LDU_FT/dustin/twitty-twister/rawDataReceived | LDU_FT | [
"<BEGIN>\n## `__downloadPage`",
"Start a HTTP download, returning a HTTPDownloader object\n<END>",
"<BEGIN>\n## `__encodeMultipart`",
"fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rawDataReceived API.
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 rawDataReceived API.
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... | Called when raw data is received.
Fill the raw buffer C{_rawBuffer} until we have received at least
C{_expectedLength} bytes. Call C{datagramReceived} with the received
byte string of the expected size. Then switch back to line mode with
the remainder of the buffer. | "Called when raw data is received.\n\n Fill the raw buffer C{_rawBuffer} until we have received at least\n C{_expectedLength} bytes. Call C{datagramReceived} with the received\n byte string of the expected size. Then switch back to line mode with\n the remainder of the buffer." | 93 | false | dustin/twitty-twister | rawDataReceived | 40,938 | |
LDU_FT/openshift/openshift-restclient-python/validate | LDU_FT | [
"<BEGIN>\n## `meta_request`",
"Handles parsing response structure and translating API Exceptions\n<END>",
"<BEGIN>\n## `watch`",
"Stream events for a resource from the Kubernetes API",
" :param resource: The API resource object that will be used to query the API\n :param namespace: The namespa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | validate checks a kubernetes resource definition
Args:
definition (dict): resource definition
version (str): version of kubernetes to validate against
strict (bool): whether unexpected additional properties should be considered errors
Returns:
warnings (... | "validate checks a kubernetes resource definition\n\n Args:\n definition (dict): resource definition\n version (str): version of kubernetes to validate against\n strict (bool): whether unexpected additional properties should be considered errors\n\n Returns:\n w... | 22 | false | openshift/openshift-restclient-python | validate | 40,939 | |
LDU_FT/ponty/psidialogs/ask_file | LDU_FT | [
"<BEGIN>\n## `askstring`",
"Original doc: get a string from the user",
" Arguments:",
" title -- the dialog title\n prompt -- the label text\n **kw -- see SimpleDialog class",
" Return value is a string\n<END>",
"<BEGIN>\n## `message`",
"Display a message",
" :ref:`screen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ask_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ask_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | A dialog to get a file name.
The "default" argument specifies a file path.
save=False -> file for loading
save=True -> file for saving
Return the file path that the user entered, or None if he cancels the operation.
:param message: message to be displayed.
:param save: bool 0 -> load , 1 -> s... | "A dialog to get a file name.\n The \"default\" argument specifies a file path.\n\n save=False -> file for loading\n save=True -> file for saving\n\n Return the file path that the user entered, or None if he cancels the operation.\n\n :param message: message to be displayed.\n :param save: bool 0 -> l... | 110 | false | ponty/psidialogs | ask_file | 40,940 | |
LDU_FT/openvax/pyensembl/genes | LDU_FT | [
"<BEGIN>\n## `_write_csv`",
"Parameters\n ----------\n df : pandas.DataFrame",
" csv_path : str",
" chunksize : int\n Number of rows to write at a time. Helps to limit memory\n consumption while writing a CSV.\n<END>",
"<BEGIN>\n## `cached_dataframe`",
"If... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genes API.
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 genes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns all Gene objects in the database. Can be restricted to a
particular contig/chromosome and strand by the following arguments:
Parameters
----------
contig : str
Only return genes on the given contig.
strand : str
Only return genes on this strand. | "Returns all Gene objects in the database. Can be restricted to a\n particular contig/chromosome and strand by the following arguments:\n\n Parameters\n ----------\n contig : str\n Only return genes on the given contig.\n\n strand : str\n Only return genes on thi... | 234 | false | openvax/pyensembl | genes | 40,941 | |
LDU_FT/jelmer/python-fastimport/dump_str | LDU_FT | [
"<BEGIN>\n## `check_path`",
"Check that a path is legal.",
" :return: the path if all is OK\n :raise ValueError: if the path is illegal\n<END>",
"<BEGIN>\n## `format_path`",
"Format a path in utf8, quoting it if necessary.\n<END>",
"<BEGIN>\n## `format_who_when`",
"Format a tuple of name,email,sec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Dump fields as a string.
For debugging.
:param names: the list of fields to include or
None for all public fields
:param child_lists: dictionary of child command names to
fields for that child command to include
:param verbose: if True, prefix each line with the... | "Dump fields as a string.\n\n For debugging.\n\n :param names: the list of fields to include or\n None for all public fields\n :param child_lists: dictionary of child command names to\n fields for that child command to include\n :param verbose: if True, prefix each line... | 100 | false | jelmer/python-fastimport | dump_str | 40,942 | |
LDU_FT/edx/opaque-keys/replace | LDU_FT | [
"<BEGIN>\n## `parse_url`",
"If it can be parsed as a version_guid with no preceding org + offering, returns a dict\n with key 'version_guid' and the value,",
" If it can be parsed as a org + offering, returns a dict\n with key 'id' and optional keys 'branch' and 'version_guid'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
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 replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return: a new :class:`AsideDefinitionKeyV2` with ``KEY_FIELDS`` specified in ``kwargs`` replaced
with their corresponding values. Deprecation value is also preserved. | "Return: a new :class:`AsideDefinitionKeyV2` with ``KEY_FIELDS`` specified in ``kwargs`` replaced\n with their corresponding values. Deprecation value is also preserved." | 127 | false | edx/opaque-keys | replace | 40,943 | |
LDU_FT/defunkt/pystache/_make_load_partial | LDU_FT | [
"<BEGIN>\n## `render`",
"Return the given template string rendered using the given context.\n<END>",
"<BEGIN>\n## `_get_value`",
"Retrieve a key's value from a context item.",
" Returns _NOT_FOUND if the key does not exist.",
" The ContextStack.get() docstring documents this function's intended beha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_load_partial 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 _make_load_partial API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return a function that loads a partial by name. | "Return a function that loads a partial by name." | 177 | false | defunkt/pystache | _make_load_partial | 40,944 | |
LDU_FT/JelteF/PyLaTeX/end_table_header | LDU_FT | [
"<BEGIN>\n## `fill_document`",
"Add a section, a subsection and some text to the document.",
" :param doc: the document\n :type doc: :class:`pylatex.document.Document` instance\n<END>",
"<BEGIN>\n## `dumps_content`",
"r\"\"\"Represent the container as a string in LaTeX syntax.",
" Args\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_table_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_table_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 ... | r"""End the table header which will appear on every page. | "r\"\"\"End the table header which will appear on every page." | 183 | false | JelteF/PyLaTeX | end_table_header | 40,945 | |
LDU_FT/SmartTeleMax/iktomi/multidb_binds | LDU_FT | [
"<BEGIN>\n## `pare`",
"Pare text to have maximum size and add etc to the end if it's\n changed\n<END>",
"<BEGIN>\n## `quoteattrs`",
"Takes dict of attributes and returns their HTML representation\n<END>",
"<BEGIN>\n## `quote_js`",
"Quotes text to be used as JavaScript string in HTML templates. The\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multidb_binds API.
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 multidb_binds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates dictionary to be passed as `binds` parameter to
`sqlalchemy.orm.sessionmaker()` from dictionary mapping models module name
to connection URI that should be used for these models. Models module must
have `metadata` attribute. `package` when set must be a package or package
name for all models mod... | "Creates dictionary to be passed as `binds` parameter to\n `sqlalchemy.orm.sessionmaker()` from dictionary mapping models module name\n to connection URI that should be used for these models. Models module must\n have `metadata` attribute. `package` when set must be a package or package\n name for all model... | 196 | false | SmartTeleMax/iktomi | multidb_binds | 40,946 | |
LDU_FT/eclipse/unide.python/InstanceOf | LDU_FT | [
"<BEGIN>\n## `samples`",
"Yield the samples as dicts, keyed by dimensions.\n<END>",
"<BEGIN>\n## `device_measurement`",
"Returns a JSON MeasurementPayload ready to be send through a\n transport.",
" If `ts` is not given, the current time is used. `part` is an\n optional `Part` object, and `result` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the InstanceOf API.
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 InstanceOf API.
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... | A property that is an instance of `cls`. | "A property that is an instance of `cls`." | 25 | false | eclipse/unide.python | InstanceOf | 40,947 | |
LDU_FT/plizonczyk/noiseprotocol/initialize_key | LDU_FT | [
"<BEGIN>\n## `initialize_key`",
":param key: Key to set within CipherState\n<END>",
"<BEGIN>\n## `encrypt_with_ad`",
"If k is non-empty returns ENCRYPT(k, n++, ad, plaintext). Otherwise returns plaintext.\r",
" :param ad: bytes sequence\r\n :param plaintext: bytes sequence\r\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_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 ex... | :param key: Key to set within CipherState | ":param key: Key to set within CipherState" | 35 | false | plizonczyk/noiseprotocol | initialize_key | 40,948 | |
LDU_FT/testing-cabal/mock/start | LDU_FT | [
"<BEGIN>\n## `_get_signature_object`",
"Given an arbitrary, possibly callable object, try to create a suitable\n signature object.\n Return a (reduced func, signature) tuple, or None.\n<END>",
"<BEGIN>\n## `_instance_callable`",
"Given an object, return True if the object is callable.\n For classes, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
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 start API.
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... | Activate a patch, returning any created mock. | "Activate a patch, returning any created mock." | 30 | false | testing-cabal/mock | start | 40,949 | |
LDU_FT/collectiveacuity/labPack/_construct_inserts | LDU_FT | [
"<BEGIN>\n## `_delete`",
"a helper method for non-blocking deletion of files\r",
" :param _file_path: string with path to file to remove \r\n :param _method_title: string with name of method calling _delete\r\n :param _record_key: string with name of record key to delete\r\n :return:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _construct_inserts 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 _construct_inserts 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... | a helper method for constructing the insert kwargs for a record | "a helper method for constructing the insert kwargs for a record" | 886 | false | collectiveacuity/labPack | _construct_inserts | 40,950 | |
LDU_FT/adobe-apiplatform/umapi-client.py/paginate | LDU_FT | [
"<BEGIN>\n## `status`",
"Return the connection status, both locally and remotely.",
" The local connection status is a dictionary that gives:\n * the count of multiple queries sent to the server.\n * the count of single queries sent to the server.\n * the count of actions sent to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate API.
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 paginate API.
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... | Paginate through all results of a UMAPI query
:param query: a query method from a UMAPI instance (callable as a function)
:param org_id: the organization being queried
:param max_pages: the max number of pages to collect before returning (default all)
:param max_records: the max number of records to col... | "Paginate through all results of a UMAPI query\n :param query: a query method from a UMAPI instance (callable as a function)\n :param org_id: the organization being queried\n :param max_pages: the max number of pages to collect before returning (default all)\n :param max_records: the max number of records t... | 78 | false | adobe-apiplatform/umapi-client.py | paginate | 40,951 | |
LDU_FT/booktype/python-ooxml/parse_style | LDU_FT | [
"<BEGIN>\n## `parse_drawing`",
"Parse drawing element.",
" We don't do much with drawing element. We can find embeded image but we don't do more than that.\n<END>",
"<BEGIN>\n## `parse_paragraph`",
"Parse paragraph element.",
" Some other elements could be found inside of paragraph element (math, li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_style API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_style API.
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... | Parse styles document.
Styles are defined in file 'styles.xml'. | "Parse styles document.\n\n Styles are defined in file 'styles.xml'." | 117 | false | booktype/python-ooxml | parse_style | 40,952 | |
LDU_FT/nion-software/nionswift/get_data_item_by_uuid | LDU_FT | [
"<BEGIN>\n## `get_string`",
"Return a string value that the user enters. Raises exception for cancel.\n<END>",
"<BEGIN>\n## `__accept_reject`",
"Return a boolean value for accept/reject.\n<END>",
"<BEGIN>\n## `item_transaction`",
"Begin transaction state for item.",
" A transaction state is exist... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_item_by_uuid 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_data_item_by_uuid 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 the data item with the given UUID.
.. versionadded:: 1.0
Status: Provisional
Scriptable: Yes | "Get the data item with the given UUID.\n\n .. versionadded:: 1.0\n\n Status: Provisional\n Scriptable: Yes" | 690 | false | nion-software/nionswift | get_data_item_by_uuid | 40,953 | |
LDU_FT/lehins/python-wepay/__set_tax | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Documentation: `/oauth2/authorize\n <https://www.wepay.com/developer/reference/oauth2#authorize>`_.",
" .. note::",
" This is not an API call but an actual uri that you send the user to.\n<END>",
"<BEGIN>\n## `__token`",
"Call documentation: `/oauth2/tok... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_tax API.
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 __set_tax API.
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... | Call documentation: `/account/set_tax
<https://www.wepay.com/developer/reference/account-2011-01-15#set_tax>`_,
plus extra keyword parameters:
:keyword str access_token: will be used instead of instance's
``access_token``, with ``batch_mode=True`` will set `authorization`
... | "Call documentation: `/account/set_tax\n <https://www.wepay.com/developer/reference/account-2011-01-15#set_tax>`_, \n plus extra keyword parameters:\n \n :keyword str access_token: will be used instead of instance's\n ``access_token``, with ``batch_mode=True`` will set `authorizati... | 269 | false | lehins/python-wepay | __set_tax | 40,954 | |
LDU_FT/xflr6/graphviz/node | LDU_FT | [
"<BEGIN>\n## `command`",
"Return args list for ``subprocess.Popen`` and name of the rendered file.\n<END>",
"<BEGIN>\n## `run`",
"Run the command described by cmd and return its (stdout, stderr) tuple.\n<END>",
"<BEGIN>\n## `render`",
"Render file with Graphviz ``engine`` into ``format``, return result f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Create a node.
Args:
name: Unique identifier for the node inside the source.
label: Caption to be displayed (defaults to the node ``name``).
attrs: Any additional node attributes (must be strings). | "Create a node.\n\n Args:\n name: Unique identifier for the node inside the source.\n label: Caption to be displayed (defaults to the node ``name``).\n attrs: Any additional node attributes (must be strings)." | 93 | false | xflr6/graphviz | node | 40,955 | |
LDU_FT/willkg/everett/import_class | LDU_FT | [
"<BEGIN>\n## `parse_yaml_file`",
"Parse yaml file at ``path`` and return a dict.\n<END>",
"<BEGIN>\n## `import_class`",
"Given a clspath, returns the class.",
" Note: This is a really simplistic implementation.\n<END>",
"<BEGIN>\n## `upper_lower_none`",
"Validate arg value as \"upper\", \"lower\", or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Given a clspath, returns the class.
Note: This is a really simplistic implementation. | "Given a clspath, returns the class.\n\n Note: This is a really simplistic implementation." | 63 | false | willkg/everett | import_class | 40,956 | |
LDU_FT/AtteqCom/zsl/rss_create | LDU_FT | [
"<BEGIN>\n## `_nested_transactional`",
"In a transactional method create a nested transaction.\n<END>",
"<BEGIN>\n## `exec_task`",
"Execute task.",
" :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>",
"<BEGIN>\n## `ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rss_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rss_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create RSS xml feed.
:param channel: channel info [title, link, description, language]
:type channel: dict(str, str)
:param articles: list of articles, an article is a dictionary with some \
required fields [title, description, link] and any optional, which will \
result to `<dict_key>dict_value</d... | "Create RSS xml feed.\n\n :param channel: channel info [title, link, description, language]\n :type channel: dict(str, str)\n :param articles: list of articles, an article is a dictionary with some \\\n required fields [title, description, link] and any optional, which will \\\n result to `<dict_key>dict... | 292 | false | AtteqCom/zsl | rss_create | 40,957 | |
LDU_FT/dossier/dossier.models/web_search | LDU_FT | [
"<BEGIN>\n## `run`",
"Generate the report to the given output.",
" :param output: writable file-like object or file path\n<END>",
"<BEGIN>\n## `_generate_report_all`",
"Generate report for all subfolders contained by self.folder_id.\n<END>",
"<BEGIN>\n## `_generate_report_single`",
"Generate repo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the web_search API.
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 web_search API.
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... | encapsulates urllib retrieval for fetching JSON results from
Google's Custom Search API. Returns a deserialized result set. | "encapsulates urllib retrieval for fetching JSON results from\n Google's Custom Search API. Returns a deserialized result set." | 217 | false | dossier/dossier.models | web_search | 40,958 | |
LDU_FT/LucidtechAI/las-sdk-python/delete_consent_id | LDU_FT | [
"<BEGIN>\n## `predict`",
"Run inference and create prediction on document.\n This method takes care of creating and uploading a document specified by document_path.\n as well as running inference using model specified by model_name to create prediction on the document.",
" >>> from las impo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_consent_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_consent_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Delete documents with this consent_id, calls the DELETE /consent/{consentId} endpoint.
>>> from las import Client
>>> client = Client(endpoint='<api endpoint>')
>>> client.delete_consent_id('<consent id>')
:param consent_id: Delete documents with this consent_id
:type consent_i... | "Delete documents with this consent_id, calls the DELETE /consent/{consentId} endpoint.\n\n >>> from las import Client\n >>> client = Client(endpoint='<api endpoint>')\n >>> client.delete_consent_id('<consent id>')\n\n :param consent_id: Delete documents with this consent_id\n :type c... | 28 | false | LucidtechAI/las-sdk-python | delete_consent_id | 40,959 | |
LDU_FT/brettcannon/caniusepython3/projects_from_requirements | LDU_FT | [
"<BEGIN>\n## `_manual_overrides`",
"Read the overrides file.",
" An attempt is made to read the file as it currently stands on GitHub, and\n then only if that fails is the included file used.\n<END>",
"<BEGIN>\n## `supports_py3`",
"Check with PyPI if a project supports Python 3.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the projects_from_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the projects_from_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Extract the project dependencies from a Requirements specification. | "Extract the project dependencies from a Requirements specification." | 25 | false | brettcannon/caniusepython3 | projects_from_requirements | 40,960 | |
LDU_FT/openego/ding0/import_pf_config | LDU_FT | [
"<BEGIN>\n## `print_upper_triangular_matrix`",
"Prints a CVRP data dict matrix",
" Arguments\n ---------\n matrix : dict\n Description",
" Notes\n -----\n It is assummed that the first row of matrix contains all needed headers.\n<END>",
"<BEGIN>\n## `print_upper_triangular_matrix_as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_pf_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_pf_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Creates power flow config class and imports config from file
Returns
-------
PFConfigDing0
PFConfigDing0 object | "Creates power flow config class and imports config from file\n\n Returns\n -------\n PFConfigDing0\n PFConfigDing0 object" | 932 | false | openego/ding0 | import_pf_config | 40,961 | |
LDU_FT/Hrabal/TemPy/populate | LDU_FT | [
"<BEGIN>\n## `render_attrs`",
"Renders the tag's attributes using the formats and performing special attributes name substitution.\n<END>",
"<BEGIN>\n## `toggle_class`",
"Same as jQuery's toggleClass function. It toggles the css class on this element.\n<END>",
"<BEGIN>\n## `remove_class`",
"Removes the gi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populate API.
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 populate API.
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... | Generates the list tree.
struct: if a list/set/tuple is given, a flat list is generated
<*l><li>v1</li><li>v2</li>...</*l>
If the list type is 'Dl' a flat list without definitions is generated
<*l><dt>v1</dt><dt>v2</dt>...</*l>
If the given struct is a dict, key contaninct lists... | "Generates the list tree.\n struct: if a list/set/tuple is given, a flat list is generated\n <*l><li>v1</li><li>v2</li>...</*l>\n If the list type is 'Dl' a flat list without definitions is generated\n <*l><dt>v1</dt><dt>v2</dt>...</*l>\n\n If the given struct is a dict, key contaninc... | 80 | false | Hrabal/TemPy | populate | 40,962 | |
LDU_FT/pyparsing/pyparsing/parser | LDU_FT | [
"<BEGIN>\n## `parse`",
"Accepts an input string containing an LA equation, e.g.,\r\n \"M3_mymatrix = M3_anothermatrix^-1\" returns C code function\r\n calls that implement the expression.\n<END>",
"<BEGIN>\n## `fprocess`",
"Scans an input file for LA equations between double square brackets,\r\n e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parser API.
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 parser API.
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 ... | This function returns a parser.
The grammar should be like most full text search engines (Google, Tsearch, Lucene).
Grammar:
- a query consists of alphanumeric words, with an optional '*' wildcard
at the end of a word
- a sequence of words between quotes is a literal str... | "This function returns a parser.\r\n The grammar should be like most full text search engines (Google, Tsearch, Lucene).\r\n\r\n Grammar:\r\n - a query consists of alphanumeric words, with an optional '*' wildcard\r\n at the end of a word\r\n - a sequence of words between quotes is ... | 132 | false | pyparsing/pyparsing | parser | 40,963 | |
LDU_FT/miguelgrinberg/Flask-SocketIO/emit | LDU_FT | [
"<BEGIN>\n## `emit`",
"Emit a SocketIO event.",
" This function emits a SocketIO event to one or more connected clients. A\n JSON blob can be attached to the event as payload. This is a function that\n can only be called from a SocketIO event handler, as in obtains some\n information from the curren... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Emit a server generated SocketIO event.
This function emits a SocketIO event to one or more connected clients.
A JSON blob can be attached to the event as payload. This function can
be used outside of a SocketIO event context, so it is appropriate to
use when the server is the originato... | "Emit a server generated SocketIO event.\n\n This function emits a SocketIO event to one or more connected clients.\n A JSON blob can be attached to the event as payload. This function can\n be used outside of a SocketIO event context, so it is appropriate to\n use when the server is the ori... | 87 | false | miguelgrinberg/Flask-SocketIO | emit | 40,964 | |
LDU_FT/MarcMeszaros/envitro/str | LDU_FT | [
"<BEGIN>\n## `_strtobool`",
"Convert a string representation of truth to true (1) or false (0).",
" True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values\n are 'n', 'no', 'f', 'false', 'off', '0' and ''. Raises ValueError if\n 'val' is anything else.\n<END>",
"<BEGIN>\n## `_str_to_lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a string based environment value or the default.
Args:
name: The environment variable name
default: The default value to use if no environment variable is found
allow_none: If the return value can be `None` (i.e. optional) | "Get a string based environment value or the default.\n\n Args:\n name: The environment variable name\n default: The default value to use if no environment variable is found\n allow_none: If the return value can be `None` (i.e. optional)" | 58 | false | MarcMeszaros/envitro | str | 40,965 | |
LDU_FT/RPi-Distro/python-sense-hat/get_pixels | LDU_FT | [
"<BEGIN>\n## `_load_text_assets`",
"Internal. Builds a character indexed dictionary of pixels used by the\n show_message function below\n<END>",
"<BEGIN>\n## `_trim_whitespace`",
"Internal. Trims white space pixels from the front and back of loaded\n text characters\n<END>",
"<BEGIN>\n## `_get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pixels API.
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_pixels API.
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... | Returns a list containing 64 smaller lists of [R,G,B] pixels
representing what is currently displayed on the LED matrix | "Returns a list containing 64 smaller lists of [R,G,B] pixels\n representing what is currently displayed on the LED matrix" | 75 | false | RPi-Distro/python-sense-hat | get_pixels | 40,966 | |
LDU_FT/blockstack/blockstack-core/atlasdb_reset_zonefile_tried_storage | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atlasdb_reset_zonefile_tried_storage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atlasdb_reset_zonefile_tried_storage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | For zonefiles that we don't have, re-attempt to fetch them from storage. | "For zonefiles that we don't have, re-attempt to fetch them from storage." | 1,580 | true | blockstack/blockstack-core | atlasdb_reset_zonefile_tried_storage | 40,967 | |
LDU_FT/umutbozkurt/django-rest-framework-mongoengine/apply_customization | LDU_FT | [
"<BEGIN>\n## `to_representation`",
"convert value to representation.",
" DRF ModelField uses ``value_to_string`` for this purpose. Mongoengine fields do not have such method.",
" This implementation uses ``django.utils.encoding.smart_text`` to convert everything to text, while keeping json-safe ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_customization 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 apply_customization 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... | Applies fields customization to a nested or embedded DocumentSerializer. | "Applies fields customization to a nested or embedded DocumentSerializer." | 36 | false | umutbozkurt/django-rest-framework-mongoengine | apply_customization | 40,968 | |
LDU_FT/awickert/gFlex/BC_Mirror | LDU_FT | [
"<BEGIN>\n## `elasprep`",
"dx4, dy4, dx2dy2, D = elasprep(dx,dy,Te,E=1E11,nu=0.25)",
" Defines the variables that are required to create the 2D finite \n difference solution coefficient matrix\n<END>",
"<BEGIN>\n## `BC_selector_and_coeff_matrix_creator`",
"Selects the boundary conditions\n E-W is f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the BC_Mirror API.
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 BC_Mirror API.
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... | Mirrors qs across the boundary on either the west (left) or east (right)
side, depending on the selections.
This can, for example, produce a scenario in which you are observing
a mountain range up to the range crest (or, more correctly, the halfway
point across the mountain range). | "Mirrors qs across the boundary on either the west (left) or east (right) \r\n side, depending on the selections.\r\n \r\n This can, for example, produce a scenario in which you are observing \r\n a mountain range up to the range crest (or, more correctly, the halfway \r\n point across the mountain range... | 78 | false | awickert/gFlex | BC_Mirror | 40,969 | |
LDU_FT/contains-io/rcli/get_log_level | LDU_FT | [
"<BEGIN>\n## `setup_keyword`",
"Add autodetected commands as entry points.",
" Args:\n dist: The distutils Distribution object for the project being\n installed.\n _: The keyword used in the setup function. Unused.\n value: The value set to the keyword in the setup function. I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_log_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_log_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the log level from the CLI arguments.
Removes logging arguments from sys.argv.
Args:
args: The parsed docopt arguments to be used to determine the logging
level.
Returns:
The correct log level based on the three CLI arguments given.
Raises:
ValueError: Raised ... | "Get the log level from the CLI arguments.\n\n Removes logging arguments from sys.argv.\n\n Args:\n args: The parsed docopt arguments to be used to determine the logging\n level.\n\n Returns:\n The correct log level based on the three CLI arguments given.\n\n Raises:\n ValueE... | 147 | false | contains-io/rcli | get_log_level | 40,970 | |
LDU_FT/ultradns/python_rest_api_client/edit_rrset_rdata | LDU_FT | [
"<BEGIN>\n## `create_primary_zone`",
"Creates a new primary zone.",
" Arguments:\n account_name -- The name of the account that will contain this zone.\n zone_name -- The name of the zone. It must be unique.\n<END>",
"<BEGIN>\n## `create_primary_zone_by_upload`",
"Creates a new primary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_rrset_rdata API.
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 edit_rrset_rdata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Updates an existing RRSet's Rdata in the specified zone.
Arguments:
zone_name -- The zone that contains the RRSet. The trailing dot is optional.
rtype -- The type of the RRSet. This can be numeric (1) or
if a well-known name is defined for the type (A), you can use it instead... | "Updates an existing RRSet's Rdata in the specified zone.\n\n Arguments:\n zone_name -- The zone that contains the RRSet. The trailing dot is optional.\n rtype -- The type of the RRSet. This can be numeric (1) or\n if a well-known name is defined for the type (A), you can use it i... | 69 | false | ultradns/python_rest_api_client | edit_rrset_rdata | 40,971 | |
LDU_FT/pycontribs/jira/backup_progress | LDU_FT | [
"<BEGIN>\n## `translate_resource_args`",
"Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>",
"<BEGIN>\n## `_check_update_`",
"Check if the current version of the library is outdated.\n<END>",
"<BEGIN>\n## `_fetch_pages`",
"Fetch pages.",
" :param it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the backup_progress API.
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 backup_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return status of cloud backup as a dict.
Is there a way to get progress for Server version? | "Return status of cloud backup as a dict.\n\n Is there a way to get progress for Server version?" | 468 | false | pycontribs/jira | backup_progress | 40,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.