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/teepark/greenhouse/wait | LDU_FT | [
"<BEGIN>\n## `read`",
"read up to len bytes and return them, or empty string on EOF\n<END>",
"<BEGIN>\n## `write`",
"write data to the ssl channel and return the # of bytes transferred\n<END>",
"<BEGIN>\n## `connect`",
"connects to the address and wraps the connection in an SSL context\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API.
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 wait API.
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... | pause the current coroutine until this event is set
.. note::
this method will block the current coroutine if :meth:`set` has not
been called.
:param timeout:
the maximum amount of time to block in seconds. the default of
``None`` allows indefinite bloc... | "pause the current coroutine until this event is set\n\n .. note::\n\n this method will block the current coroutine if :meth:`set` has not\n been called.\n\n :param timeout:\n the maximum amount of time to block in seconds. the default of\n ``None`` allows indef... | 349 | false | teepark/greenhouse | wait | 33,773 | |
LDU_FT/azraq27/neural/command_list | LDU_FT | [
"<BEGIN>\n## `connectivity_map`",
"Will perform connectivity analysis on ``dset`` using seed point ``(x,y,z)`` (in RAI order) with a sphere of radius ``radius``.\n Does not perform any preprocessing of ``dset``. This should be already motion corrected, noise-regressed, residualized, etc.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | returns the 3dDeconvolve command as a list
The list returned can be run by passing it into a subprocess-like command
(e.g., neural.run()) | "returns the 3dDeconvolve command as a list\n\n The list returned can be run by passing it into a subprocess-like command\n (e.g., neural.run())" | 232 | false | azraq27/neural | command_list | 33,774 | |
LDU_FT/xguse/table_enforcer/_validate_series_dtype | LDU_FT | [
"<BEGIN>\n## `minmax`",
"Test that the data items fall within range: low <= x <= high.\n<END>",
"<BEGIN>\n## `choice`",
"Test that the data items are members of the set `choices`.\n<END>",
"<BEGIN>\n## `bounded_length`",
"Test that the length of the data items fall within range: low <= x <= high.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_series_dtype 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 _validate_series_dtype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Validate that the series data is the correct dtype. | "Validate that the series data is the correct dtype." | 42 | false | xguse/table_enforcer | _validate_series_dtype | 33,775 | |
LDU_FT/coderholic/pyradio/_print_options_help | LDU_FT | [
"<BEGIN>\n## `toggleTransparency`",
"Toggles theme trasparency.",
" force_value will set trasparency if True or False,\n or toggle trasparency if None\n<END>",
"<BEGIN>\n## `keypress`",
"returns theme_id, save_theme\n return_id\n 0-.. : id in self._theme\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_options_help 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 _print_options_help 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... | # Uncomment if trouble with help lines
if logger.isEnabledFor(logging.DEBUG):
logger.debug('self._num_of_help_lines = {}'.format(self._num_of_help_lines)) | "# Uncomment if trouble with help lines\n if logger.isEnabledFor(logging.DEBUG):\n logger.debug('self._num_of_help_lines = {}'.format(self._num_of_help_lines))" | 65 | false | coderholic/pyradio | _print_options_help | 33,776 | |
LDU_FT/Unidata/MetPy/exner_function | LDU_FT | [
"<BEGIN>\n## `warn_deprecated`",
"Display deprecation warning in a standard way.",
" Parameters\n ----------\n since : str\n The release at which this API became deprecated.",
" message : str, optional\n Override the default deprecation message. The format\n specifier `%(name... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exner_function API.
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 exner_function API.
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... | r"""Calculate the Exner function.
.. math:: \Pi = \left( \frac{p}{p_0} \right)^\kappa
This can be used to calculate potential temperature from temperature (and visa-versa),
since
.. math:: \Pi = \frac{T}{\theta}
Parameters
----------
pressure : `pint.Quantity`
The total atmospher... | "r\"\"\"Calculate the Exner function.\n\n .. math:: \\Pi = \\left( \\frac{p}{p_0} \\right)^\\kappa\n\n This can be used to calculate potential temperature from temperature (and visa-versa),\n since\n\n .. math:: \\Pi = \\frac{T}{\\theta}\n\n Parameters\n ----------\n pressure : `pint.Quantity`\n ... | 1,193 | true | Unidata/MetPy | exner_function | 33,777 | |
LDU_FT/awslabs/mxboard/add_image | LDU_FT | [
"<BEGIN>\n## `close`",
"Flushes the pending events and closes the writer after it is done.\n<END>",
"<BEGIN>\n## `reopen`",
"Reopens the EventFileWriter.\n Can be called after `close()` to add more events in the same directory.\n The events will go into a new events file.\n Does nothing i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add image data to the event file.
This function supports input as a 2D, 3D, or 4D image.
If the input image is 2D, a channel axis is prepended as the first dimension
and image will be replicated three times and concatenated along the channel axis.
If the input image is 3D, it will be rep... | "Add image data to the event file.\n This function supports input as a 2D, 3D, or 4D image.\n If the input image is 2D, a channel axis is prepended as the first dimension\n and image will be replicated three times and concatenated along the channel axis.\n If the input image is 3D, it will b... | 113 | false | awslabs/mxboard | add_image | 33,778 | |
LDU_FT/Capitains/MyCapytain/parse | LDU_FT | [
"<BEGIN>\n## `call`",
"Call an endpoint given the parameters",
" :param parameters: Dictionary of parameters\n :type parameters: dict\n :rtype: text\n<END>",
"<BEGIN>\n## `getValidReff`",
"Retrieve valid urn-references for a text",
" :param urn: URN identifying the text\n ... | 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... | Parse a textgroup resource
:param resource: Element representing the textgroup
:param parent: Parent of the textgroup
:param _cls_dict: Dictionary of classes to generate subclasses | "Parse a textgroup resource\n\n :param resource: Element representing the textgroup\n :param parent: Parent of the textgroup\n :param _cls_dict: Dictionary of classes to generate subclasses" | 473 | false | Capitains/MyCapytain | parse | 33,779 | |
LDU_FT/tundish/turberfield-dialogue/handle_line | LDU_FT | [
"<BEGIN>\n## `options`",
"Generate folders to best match metadata.",
" The results will be a single, perfectly matched folder, or the two nearest\n neighbours of an imperfect match.",
" :param dict data: metadata matching criteria.",
" This method is a generator. It yields\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Handle a line event.
This function displays a line of dialogue. It generates a blocking wait
for a period of time calculated from the length of the line.
:param obj: A :py:class:`~turberfield.dialogue.model.Model.Line` object.
:return: The supplied object. | "Handle a line event.\n\n This function displays a line of dialogue. It generates a blocking wait\n for a period of time calculated from the length of the line.\n\n :param obj: A :py:class:`~turberfield.dialogue.model.Model.Line` object.\n :return: The supplied object." | 63 | false | tundish/turberfield-dialogue | handle_line | 33,780 | |
LDU_FT/warner/magic-wormhole/wormhole | LDU_FT | [
"<BEGIN>\n## `receive`",
"I implement 'wormhole receive'. I return a Deferred that fires with\n None (for success), or signals one of the following errors:\n * WrongPasswordError: the two sides didn't use matching passwords\n * Timeout: something didn't happen fast enough for our tastes\n * TransferEr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wormhole API.
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 wormhole API.
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... | Create a Magic Wormhole and communicate through it.
Wormholes are created by speaking the same magic CODE in two
different places at the same time. Wormholes are secure against
anyone who doesn't use the same code. | "Create a Magic Wormhole and communicate through it.\n\n Wormholes are created by speaking the same magic CODE in two\n different places at the same time. Wormholes are secure against\n anyone who doesn't use the same code." | 36 | false | warner/magic-wormhole | wormhole | 33,781 | |
LDU_FT/Alexis-benoist/eralchemy/intermediary_to_markdown | LDU_FT | [
"<BEGIN>\n## `filter_lines_from_comments`",
"Filter the lines from comments and non code lines.\n<END>",
"<BEGIN>\n## `_check_no_current_table`",
"Raises exception if we try to add a relation or a column\n with no current table.\n<END>",
"<BEGIN>\n## `markdown_file_to_intermediary`",
"Parse a file and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intermediary_to_markdown 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 intermediary_to_markdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Saves the intermediary representation to markdown. | "Saves the intermediary representation to markdown." | 39 | false | Alexis-benoist/eralchemy | intermediary_to_markdown | 33,782 | |
LDU_FT/fabric-bolt/fabric-bolt/web_hooks | LDU_FT | [
"<BEGIN>\n## `form_valid`",
"After the form is valid lets let people know\n<END>",
"<BEGIN>\n## `form_valid`",
"First call the parent's form valid then let the user know it worked.\n<END>",
"<BEGIN>\n## `post`",
"Create the SSH file & then return the normal get method...\n<END>",
"<BEGIN>\n## `web_hooks... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the web_hooks API.
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 web_hooks API.
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... | Get all web hooks for this project. Includes global hooks. | "Get all web hooks for this project. Includes global hooks." | 65 | false | fabric-bolt/fabric-bolt | web_hooks | 33,783 | |
LDU_FT/loli/medpy/set_tweight | LDU_FT | [
"<BEGIN>\n## `sls`",
"r\"\"\"\n Computes the signed local similarity between two images.",
" Compares a patch around each voxel of the minuend array to a number of patches\n centered at the points of a search neighbourhood in the subtrahend. Thus, creates\n a multi-dimensional measure of patch simil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_tweight API.
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 set_tweight API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | r"""
Set a single t-weight / terminal-weight.
Parameters
----------
node : int
Node-id for which to set the terminal weights.
weight_source : float
Weight to source terminal.
weight_sink : float
Weight to sink terminal.
... | "r\"\"\"\n Set a single t-weight / terminal-weight.\n \n Parameters\n ----------\n node : int\n Node-id for which to set the terminal weights.\n weight_source : float\n Weight to source terminal.\n weight_sink : float\n Weight to sink ter... | 1,313 | true | loli/medpy | set_tweight | 33,784 | |
LDU_FT/fedora-infra/fedora-messaging/_consume_callback | LDU_FT | [
"<BEGIN>\n## `cli`",
"The fedora-messaging command line interface.\n<END>",
"<BEGIN>\n## `consume`",
"Consume messages from an AMQP queue using a Python callback.\n<END>",
"<BEGIN>\n## `_consume_errback`",
"Handle any errors that occur during consumer registration.\n<END>",
"<BEGIN>\n## `_consume_callba... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _consume_callback API.
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 _consume_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Callback when consumers are successfully registered.
This simply registers callbacks for consumer.result deferred object which
fires when the consumer stops.
Args
consumers (list of fedora_messaging.api.Consumer):
The list of consumers that were successfully created. | "Callback when consumers are successfully registered.\n\n This simply registers callbacks for consumer.result deferred object which\n fires when the consumer stops.\n\n Args\n consumers (list of fedora_messaging.api.Consumer):\n The list of consumers that were successfully created." | 302 | false | fedora-infra/fedora-messaging | _consume_callback | 33,785 | |
LDU_FT/meraki-analytics/datapipelines-python/get_many | LDU_FT | [
"<BEGIN>\n## `_transform`",
"Transform data to a new type.",
" Args:\n transformer_chain: A sequence of (transformer, type) pairs to convert the data.\n data: The data to be transformed.\n context: The context of the transformations (mutable).",
" Returns:\n The transformed d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_many API.
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_many API.
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... | Gets a query from the data source, where the query contains multiple elements to be extracted.
1) Extracts the query from the data source.
2) Inserts the result into any data sinks.
3) Transforms the results into the requested type if it wasn't already.
4) Inserts the transformed result... | "Gets a query from the data source, where the query contains multiple elements to be extracted.\n\n 1) Extracts the query from the data source.\n 2) Inserts the result into any data sinks.\n 3) Transforms the results into the requested type if it wasn't already.\n 4) Inserts the transformed ... | 54 | false | meraki-analytics/datapipelines-python | get_many | 33,786 | |
LDU_FT/jenisys/parse_type/make_index_for | LDU_FT | [
"<BEGIN>\n## `build_type_dict`",
"Builds type dictionary for user-defined type converters,\n used by :mod:`parse` module.\n This requires that each type converter has a \"name\" attribute.",
" :param converters: List of type converters (parse_types)\n :return: Type converter dictionary\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_index_for API.
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 make_index_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Create an 'index.html' for one package.
:param package: Package object to use.
:param index_dir: Where 'index.html' should be created. | "Create an 'index.html' for one package.\n\n :param package: Package object to use.\n :param index_dir: Where 'index.html' should be created." | 115 | false | jenisys/parse_type | make_index_for | 33,787 | |
LDU_FT/hardbyte/python-can/Write | LDU_FT | [
"<BEGIN>\n## `open`",
"Opens a CAN connection using `CanalOpen()`.",
" :param str configuration: the configuration: \"device_id; baudrate\"\n :param int flags: the flags to be set",
" :raises can.CanError: if any error occurred\n :returns: Valid handle for CANAL API functions on su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Write API.
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 Write API.
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... | Transmits a CAN message
Parameters:
Channel : A TPCANHandle representing a PCAN Channel
MessageBuffer: A TPCANMsg representing the CAN message to be sent
Returns:
A TPCANStatus error code | "Transmits a CAN message\n\n Parameters:\n Channel : A TPCANHandle representing a PCAN Channel\n MessageBuffer: A TPCANMsg representing the CAN message to be sent\n\n Returns:\n A TPCANStatus error code" | 417 | false | hardbyte/python-can | Write | 33,788 | |
LDU_FT/t-makaro/animatplot/demeshgrid | LDU_FT | [
"<BEGIN>\n## `parametric_line`",
"Parameters\n ----------\n x : 1D numpy array\n y : 1D numpy array\n<END>",
"<BEGIN>\n## `demeshgrid`",
"Turns an ndarray created by a meshgrid back into a 1D array",
" Parameters\n ----------\n arr : array of dimension > 1\n This array should have b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the demeshgrid API.
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 demeshgrid API.
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... | Turns an ndarray created by a meshgrid back into a 1D array
Parameters
----------
arr : array of dimension > 1
This array should have been created by a meshgrid. | "Turns an ndarray created by a meshgrid back into a 1D array\n\n Parameters\n ----------\n arr : array of dimension > 1\n This array should have been created by a meshgrid." | 36 | false | t-makaro/animatplot | demeshgrid | 33,789 | |
LDU_FT/SiLab-Bonn/basil/arr_select | LDU_FT | [
"<BEGIN>\n## `write`",
"Write to dummy memory",
" Parameters\n ----------\n addr : int\n The register address.\n data : list, tuple\n Data (byte array) to be written.",
" Returns\n -------\n nothing\n<END>",
"<BEGIN>\n## `read`",
"Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arr_select API.
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 arr_select API.
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... | Selecting array elements by bitwise and comparison to a given value.
Parameters:
value : int
Value to which array elements are compared to.
Returns:
array : np.array | "Selecting array elements by bitwise and comparison to a given value.\r\n\r\n Parameters:\r\n value : int\r\n Value to which array elements are compared to.\r\n\r\n Returns:\r\n array : np.array" | 147 | false | SiLab-Bonn/basil | arr_select | 33,790 | |
LDU_FT/shazow/unstdlib.py/javascript_link | LDU_FT | [
"<BEGIN>\n## `convert_exception`",
"Decorator: Catch exception ``from_exception`` and instead raise ``to_exception(*to_args, **to_kw)``.",
" Useful when modules you're using in a method throw their own errors that you want to\n convert to your own exceptions that you handle higher in the stack.",
" E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the javascript_link API.
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 javascript_link API.
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... | Helper for programmatically building HTML JavaScript source include
links, with optional cache busting.
:param src_url:
Goes into the `src` attribute of the `<script src="...">` tag.
:param src_path:
Optional filesystem path to the source file, used when `cache_bust` is
enabled.
... | "Helper for programmatically building HTML JavaScript source include\n links, with optional cache busting.\n\n :param src_url:\n Goes into the `src` attribute of the `<script src=\"...\">` tag.\n\n :param src_path:\n Optional filesystem path to the source file, used when `cache_bust` is\n ... | 187 | false | shazow/unstdlib.py | javascript_link | 33,791 | |
LDU_FT/draperjames/qtpandas/currentSelected | LDU_FT | [
"<BEGIN>\n## `startDrag`",
"start a drag operation with a PandasCellPayload on defined index.",
" Args:\n index (QModelIndex): model index you want to start the drag operation.\n<END>",
"<BEGIN>\n## `initUi`",
"Initalizes the Uuser Interface with all sub widgets.\n<END>",
"<BEGIN>\n## `e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the currentSelected API.
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 currentSelected API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns the currently selected delimiter character.
Returns:
str: One of `,`, `;`, `\t`, `*other*`. | "Returns the currently selected delimiter character.\n\n Returns:\n str: One of `,`, `;`, `\\t`, `*other*`." | 420 | false | draperjames/qtpandas | currentSelected | 33,792 | |
LDU_FT/dronekit/dronekit-python/wait_for | 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 wait_for API.
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 wait_for API.
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... | Wait for a condition to be True.
Wait for condition, a callable, to return True. If timeout is
nonzero, raise a TimeoutError(errmsg) if the condition is not
True after timeout seconds. Check the condition everal
interval seconds. | "Wait for a condition to be True.\n\n Wait for condition, a callable, to return True. If timeout is\n nonzero, raise a TimeoutError(errmsg) if the condition is not\n True after timeout seconds. Check the condition everal\n interval seconds." | 290 | false | dronekit/dronekit-python | wait_for | 33,793 | |
LDU_FT/rwl/pylon/dumps | LDU_FT | [
"<BEGIN>\n## `performAction`",
"perform an action on the world that changes it's internal state\n (maybe stochastically).",
" All you have to do is pull one of the arm and receive a payout. Each\n arm has a distribution of different payouts that are delivered with\n different probabi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Serialize ``obj`` to a JSON formatted ``str``.
If ``skipkeys`` is ``True`` then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.
If ``ensure_ascii`` is ``False``, then the return value w... | "Serialize ``obj`` to a JSON formatted ``str``.\n\n If ``skipkeys`` is ``True`` then ``dict`` keys that are not basic types\n (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) \n will be skipped instead of raising a ``TypeError``.\n\n If ``ensure_ascii`` is ``False``, then the return ... | 527 | false | rwl/pylon | dumps | 33,794 | |
LDU_FT/ozgurgunes/django-manifest/generate_sha1 | LDU_FT | [
"<BEGIN>\n## `create_user`",
"A simple wrapper that creates a new :class:`User`.",
" :param username:\n String containing the username of the new user.",
" :param email:\n String containing the email address of the new user.",
" :param password:\n String... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_sha1 API.
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 generate_sha1 API.
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... | Generates a sha1 hash for supplied string. Doesn't need to be very secure
because it's not used for password checking. We got Django for that.
:param string:
The string that needs to be encrypted.
:param salt:
Optionally define your own salt. If none is supplied, will use a
random... | "Generates a sha1 hash for supplied string. Doesn't need to be very secure\n because it's not used for password checking. We got Django for that.\n\n :param string:\n The string that needs to be encrypted.\n\n :param salt:\n Optionally define your own salt. If none is supplied, will use a \n ... | 121 | false | ozgurgunes/django-manifest | generate_sha1 | 33,795 | |
LDU_FT/Komnomnomnom/swigibpy/reqRealTimeBars | LDU_FT | [
"<BEGIN>\n## `placeOrder`",
"placeOrder(EClient self, OrderId id, Contract contract, Order order)\n<END>",
"<BEGIN>\n## `reqMktDepth`",
"reqMktDepth(EClient self, TickerId id, Contract contract, int numRows, TagValueListSPtr const & mktDepthOptions)\n<END>",
"<BEGIN>\n## `exerciseOptions`",
"exerciseOptio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reqRealTimeBars API.
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 reqRealTimeBars API.
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... | reqRealTimeBars(EClientSocketBase self, TickerId id, Contract contract, int barSize, IBString const & whatToShow, bool useRTH, TagValueListSPtr const & realTimeBarsOptions) | "reqRealTimeBars(EClientSocketBase self, TickerId id, Contract contract, int barSize, IBString const & whatToShow, bool useRTH, TagValueListSPtr const & realTimeBarsOptions)" | 81 | false | Komnomnomnom/swigibpy | reqRealTimeBars | 33,796 | |
LDU_FT/cons3rt/pycons3rt/service_network_restart | LDU_FT | [
"<BEGIN>\n## `getdict`",
"Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>",
"<BEGIN>\n## `get_ec2_client`",
"Gets an EC2 client",
" :return: boto3.client object\n :raises: AWSAPIError\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the service_network_restart 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 service_network_restart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Restarts the network service on linux
:return: None
:raises CommandError | "Restarts the network service on linux\n :return: None\n :raises CommandError" | 386 | false | cons3rt/pycons3rt | service_network_restart | 33,797 | |
LDU_FT/santosjorge/cufflinks/surface | LDU_FT | [
"<BEGIN>\n## `to_df`",
"Extracts the data from a Plotly Figure",
" Parameters\n ----------\n figure : plotly_figure\n Figure from which data will be \n extracted",
" Returns a DataFrame or list of DataFrame\n<END>",
"<BEGIN>\n## `to_rgba`",
"Converts from hex|rgb ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the surface API.
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 surface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a DataFrame with the required format for
a surface plot
Parameters:
-----------
n_x : int
Number of points along the X axis
n_y : int
Number of points along the Y axis | "Returns a DataFrame with the required format for \n\ta surface plot\n\n\tParameters:\n\t-----------\n\t\tn_x : int\n\t\t\tNumber of points along the X axis\n\t\tn_y : int\n\t\t\tNumber of points along the Y axis" | 328 | false | santosjorge/cufflinks | surface | 33,798 | |
LDU_FT/ResidentMario/geoplot/_paint_hue_legend | LDU_FT | [
"<BEGIN>\n## `load`",
"A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.",
" Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _paint_hue_legend API.
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 _paint_hue_legend API.
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 a legend and attaches it to the axis. Meant to be used when a ``legend=True`` parameter is passed.
Parameters
----------
ax : matplotlib.Axes instance
The ``matplotlib.Axes`` instance on which a legend is being painted.
categories : list
A list of categories being plotted. May b... | "Creates a legend and attaches it to the axis. Meant to be used when a ``legend=True`` parameter is passed.\n\n Parameters\n ----------\n ax : matplotlib.Axes instance\n The ``matplotlib.Axes`` instance on which a legend is being painted.\n categories : list\n A list of categories being plotte... | 404 | false | ResidentMario/geoplot | _paint_hue_legend | 33,799 | |
LDU_FT/arkottke/pysra/location | LDU_FT | [
"<BEGIN>\n## `_calc_strain_ref`",
"Compute the reference strain using Equation (6).\n<END>",
"<BEGIN>\n## `_calc_mod_reduc`",
"Compute the shear modulus reduction using Equation (1).\n<END>",
"<BEGIN>\n## `_calc_damping`",
"Compute the damping ratio using Equation (16).\n<END>",
"<BEGIN>\n## `relative_e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the location API.
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 location API.
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... | Create a Location for a specific depth.
Parameters
----------
wave_field: str
Wave field. See :class:`Location` for possible values.
depth: float, optional
Depth corresponding to the :class`Location` of interest. If
provided, then index is ignored.
... | "Create a Location for a specific depth.\n\n Parameters\n ----------\n wave_field: str\n Wave field. See :class:`Location` for possible values.\n depth: float, optional\n Depth corresponding to the :class`Location` of interest. If\n provided, then index is ig... | 111 | false | arkottke/pysra | location | 33,800 | |
LDU_FT/nyergler/hieroglyph/_add_slide_number | LDU_FT | [
"<BEGIN>\n## `filter_doctree_for_slides`",
"Given a doctree, remove all non-slide related elements from it.\n<END>",
"<BEGIN>\n## `_make_title_node`",
"Generate a new title node for ``node``.",
" ``node`` is a ``nextslide`` node. The title will use the node's\n parent's title, or the title spe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_slide_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 _add_slide_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... | Add the slide number to the output if enabled. | "Add the slide number to the output if enabled." | 39 | false | nyergler/hieroglyph | _add_slide_number | 33,801 | |
LDU_FT/python-wink/python-wink/local_set_state | 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 local_set_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_set_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Set device state via local API, and fall back to online API.
Args:
device (WinkDevice): The device the change is being requested for.
state (Dict): The state being requested.
id_override (String, optional): A device ID used to override the
passed in device's ... | "Set device state via local API, and fall back to online API.\n\n Args:\n device (WinkDevice): The device the change is being requested for.\n state (Dict): The state being requested.\n id_override (String, optional): A device ID used to override the\n passed in de... | 133 | false | python-wink/python-wink | local_set_state | 33,802 | |
LDU_FT/henzk/django-productline/refine_MIDDLEWARE_CLASSES | LDU_FT | [
"<BEGIN>\n## `requires_product_environment`",
"task decorator that makes sure that the product environment\n of django_productline is activated:\n -context is bound\n -features have been composed\n<END>",
"<BEGIN>\n## `set_site`",
"This method is part of the prepare_data helper.\n Sets the site. D... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refine_MIDDLEWARE_CLASSES 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 refine_MIDDLEWARE_CLASSES API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Django docs say that the LocaleMiddleware should come after the SessionMiddleware.
Here, we make sure that the SessionMiddleware is enabled and then place the
LocaleMiddleware at the correct position.
Be careful with the order when refining the MiddlewareClasses with following features.
:param original:... | "Django docs say that the LocaleMiddleware should come after the SessionMiddleware.\n Here, we make sure that the SessionMiddleware is enabled and then place the\n LocaleMiddleware at the correct position.\n Be careful with the order when refining the MiddlewareClasses with following features.\n :param orig... | 57 | false | henzk/django-productline | refine_MIDDLEWARE_CLASSES | 33,803 | |
LDU_FT/biocore/deblur/start_log | LDU_FT | [
"<BEGIN>\n## `deblur_system_call`",
"Build deblur command for subprocess.",
" Parameters\n ----------\n params: list of str\n parameter settings to pass to deblur CLI\n input_fp : str\n name of the input fasta file to deblur",
" Returns\n -------\n stdout: string\n pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | start the logger for the run
Parameters
----------
level : int, optional
logging.DEBUG, logging.INFO etc. for the log level (between 0-50).
filename : str, optional
name of the filename to save the log to or
None (default) to use deblur.log.TIMESTAMP | "start the logger for the run\n\n Parameters\n ----------\n level : int, optional\n logging.DEBUG, logging.INFO etc. for the log level (between 0-50).\n filename : str, optional\n name of the filename to save the log to or\n None (default) to use deblur.log.TIMESTAMP" | 94 | false | biocore/deblur | start_log | 33,804 | |
LDU_FT/gebn/wood/_read_file | LDU_FT | [
"<BEGIN>\n## `_normalise_path`",
"Ensures a path is parsed.",
" :param path: A path string or Path object.\n :return: The path as a Path object.\n<END>",
"<BEGIN>\n## `root`",
"Retrieve a root directory object from a path.",
" :param path: The path string or Path object.\n :return: The created... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_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 extrac... | Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file. | "Read the contents of a file.\n\n :param name: The name of the file in the current directory.\n :param encoding: The encoding of the file; defaults to utf-8.\n :return: The contents of the file." | 70 | false | gebn/wood | _read_file | 33,805 | |
LDU_FT/camsci/meteor-pi/add_set_membership | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a host on a given port.\n If the hostname ends with a colon (`:') followed by a number, and\n there is no port specified, that suffix will be stripped off and the\n number interpreted as the port number to use.\n<END>",
"<BEGIN>\n## `waiting`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_set_membership 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 add_set_membership 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... | Append a set membership test, creating a query of the form 'WHERE name IN (?,?...?)'.
:param values:
A list of values, or a subclass of basestring. If this is non-None and non-empty this will add a set
membership test to the state. If the supplied value is a basestring it will be wrappe... | "Append a set membership test, creating a query of the form 'WHERE name IN (?,?...?)'.\n\n :param values:\n A list of values, or a subclass of basestring. If this is non-None and non-empty this will add a set\n membership test to the state. If the supplied value is a basestring it will be w... | 210 | false | camsci/meteor-pi | add_set_membership | 33,806 | |
LDU_FT/OpenTreeOfLife/peyotl/get_from_config_setting_cascade | LDU_FT | [
"<BEGIN>\n## `write_taxon_info`",
"Writes out data from `taxon` to the `output` stream to demonstrate\n the attributes of a taxon object.\n (currently some lines are commented out until the web-services call returns more info. See:\n https://github.com/OpenTreeOfLife/taxomachine/issues/85\n ).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_from_config_setting_cascade API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_from_config_setting_cascade API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | return the first non-None setting from a series where each
element in `sec_param_list` is a section, param pair suitable for
a get_config_setting call.
Note that non-None values for overrides for this ConfigWrapper instance will cause
this call to only evaluate the first element in ... | "return the first non-None setting from a series where each\n element in `sec_param_list` is a section, param pair suitable for\n a get_config_setting call.\n\n Note that non-None values for overrides for this ConfigWrapper instance will cause\n this call to only evaluate the first eleme... | 456 | false | OpenTreeOfLife/peyotl | get_from_config_setting_cascade | 33,807 | |
LDU_FT/Komnomnomnom/swigibpy/reqScannerSubscription | LDU_FT | [
"<BEGIN>\n## `placeOrder`",
"placeOrder(EClient self, OrderId id, Contract contract, Order order)\n<END>",
"<BEGIN>\n## `reqMktDepth`",
"reqMktDepth(EClient self, TickerId id, Contract contract, int numRows, TagValueListSPtr const & mktDepthOptions)\n<END>",
"<BEGIN>\n## `exerciseOptions`",
"exerciseOptio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reqScannerSubscription 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 reqScannerSubscription API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | reqScannerSubscription(EClientSocketBase self, int tickerId, ScannerSubscription subscription, TagValueListSPtr const & scannerSubscriptionOptions) | "reqScannerSubscription(EClientSocketBase self, int tickerId, ScannerSubscription subscription, TagValueListSPtr const & scannerSubscriptionOptions)" | 81 | false | Komnomnomnom/swigibpy | reqScannerSubscription | 33,808 | |
LDU_FT/jxtech/wechatpy/transfer | LDU_FT | [
"<BEGIN>\n## `add_articles`",
"新增永久图文素材\n 详情请参考\n https://mp.weixin.qq.com/wiki?id=mp1494572718_WzHIY",
" :param articles: 图文素材数组\n :type articles: list[dict]\n :return: 返回的 JSON 数据包\n<END>",
"<BEGIN>\n## `add`",
"新增其它类型永久素材\n 详情请参考\n http://mp.weixin.qq.com/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transfer API.
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 transfer API.
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... | 企业付款接口
:param user_id: 接受收红包的用户在公众号下的 openid
:param amount: 付款金额,单位分
:param desc: 付款说明
:param client_ip: 可选,调用接口机器的 IP 地址
:param check_name: 可选,校验用户姓名选项,
NO_CHECK:不校验真实姓名,
FORCE_CHECK:强校验真实姓名(未实名认证的用户会校验失败,无法转账),
... | "企业付款接口\n\n :param user_id: 接受收红包的用户在公众号下的 openid\n :param amount: 付款金额,单位分\n :param desc: 付款说明\n :param client_ip: 可选,调用接口机器的 IP 地址\n :param check_name: 可选,校验用户姓名选项,\n NO_CHECK:不校验真实姓名,\n FORCE_CHECK:强校验真实姓名(未实名认证的用户会校验失败,无法转账),\n ... | 813 | false | jxtech/wechatpy | transfer | 33,809 | |
LDU_FT/recurly/recurly-client-python/error_class_for_http_status | LDU_FT | [
"<BEGIN>\n## `error_class_for_http_status`",
"Return the appropriate `ResponseError` subclass for the given\n HTTP status code.\n<END>",
"<BEGIN>\n## `response_doc`",
"The XML document received from the service.\n<END>",
"<BEGIN>\n## `transaction_error_code`",
"The machine-readable error code for a tra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error_class_for_http_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error_class_for_http_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return the appropriate `ResponseError` subclass for the given
HTTP status code. | "Return the appropriate `ResponseError` subclass for the given\n HTTP status code." | 103 | false | recurly/recurly-client-python | error_class_for_http_status | 33,810 | |
LDU_FT/FNNDSC/pfmisc/filesFromHere_explore | LDU_FT | [
"<BEGIN>\n## `authorizeClientRequest`",
"Checks the authorization permissions of the bearer token passed, and determines whether the sender is permitted to make the request housed in the payload.\n Usage:\n request = The header object from pfioh, or the whole request from pman. This is parsed fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filesFromHere_explore 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 filesFromHere_explore 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 a list of path/files from "here" in the stree, using
the child explore access.
:param astr_startPath: path from which to start
:return: | "Return a list of path/files from \"here\" in the stree, using\n the child explore access.\n\n :param astr_startPath: path from which to start\n :return:" | 165 | false | FNNDSC/pfmisc | filesFromHere_explore | 33,811 | |
LDU_FT/hydroshare/hs_restclient/addResourceFile | LDU_FT | [
"<BEGIN>\n## `custom`",
":param payload:\r\n a key/value object containing the scimeta you want to store\r\n e.g. {\"weather\": \"sunny\", \"temperature\": \"80C\" }\r\n :return:\r\n empty (200 status code)\n<END>",
"<BEGIN>\n## `get`",
":param payload:\r\n a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addResourceFile API.
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 addResourceFile API.
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 a new file to an existing resource
:param pid: The HydroShare ID of the resource
:param resource_file: a read-only binary file-like object (i.e. opened with the flag 'rb') or a string
representing path to file to be uploaded as part of the new resource
:param resource_filename: ... | "Add a new file to an existing resource\n\n :param pid: The HydroShare ID of the resource\n :param resource_file: a read-only binary file-like object (i.e. opened with the flag 'rb') or a string\n representing path to file to be uploaded as part of the new resource\n :param resource_file... | 95 | false | hydroshare/hs_restclient | addResourceFile | 33,812 | |
LDU_FT/stan-dev/pystan/_redirect_stderr | LDU_FT | [
"<BEGIN>\n## `lookup`",
"Look up for a Stan function with similar functionality to a Python\n function (or even an R function, see examples). If the function is\n not present on the lookup table, then attempts to find similar one\n and prints the results. This function requires package `pandas`.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _redirect_stderr API.
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 _redirect_stderr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Redirect stderr for subprocesses to /dev/null
Silences copious compilation messages.
Returns
-------
orig_stderr : file descriptor
Copy of original stderr file descriptor | "Redirect stderr for subprocesses to /dev/null\n\n Silences copious compilation messages.\n\n Returns\n -------\n orig_stderr : file descriptor\n Copy of original stderr file descriptor" | 222 | false | stan-dev/pystan | _redirect_stderr | 33,813 | |
LDU_FT/aws/aws-xray-sdk-python/snapshot_statistics | LDU_FT | [
"<BEGIN>\n## `middleware`",
"Main middleware function, deals with all the X-Ray segment logic\n<END>",
"<BEGIN>\n## `patch`",
"patch the built-in `urllib/httplib/httplib.client` methods for tracing.\n<END>",
"<BEGIN>\n## `unpatch`",
"Unpatch any previously patched modules.\n This operation is idempoten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snapshot_statistics 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 snapshot_statistics 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... | Take a snapshot of request/borrow/sampled count for reporting
back to X-Ray back-end by ``TargetPoller`` and reset those counters. | "Take a snapshot of request/borrow/sampled count for reporting\n back to X-Ray back-end by ``TargetPoller`` and reset those counters." | 198 | false | aws/aws-xray-sdk-python | snapshot_statistics | 33,814 | |
LDU_FT/glamp/bashplotlib/drange | LDU_FT | [
"<BEGIN>\n## `drange`",
"Generate between 2 numbers w/ optional step, optionally include upper bound\n<END>",
"<BEGIN>\n## `abbreviate`",
"Abbreviate labels without introducing ambiguities.\n<END>",
"<BEGIN>\n## `calc_bins`",
"Calculate number of bins for the histogram\n<END>",
"<BEGIN>\n## `read_number... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drange API.
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 drange API.
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 ... | Generate between 2 numbers w/ optional step, optionally include upper bound | "Generate between 2 numbers w/ optional step, optionally include upper bound" | 14 | false | glamp/bashplotlib | drange | 33,815 | |
LDU_FT/apache/incubator-superset/_delete | LDU_FT | [
"<BEGIN>\n## `new`",
"Creates a new, blank dashboard and redirects to it in edit mode\n<END>",
"<BEGIN>\n## `import_datasource`",
"Imports the datasource from the object to the database.",
" Metrics and columns and datasource will be overrided if exists.\n This function can be used to import/export ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API.
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 _delete API.
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... | Delete function logic, override to implement diferent logic
deletes the record with primary_key = pk
:param pk:
record primary key to delete | "Delete function logic, override to implement diferent logic\n deletes the record with primary_key = pk\n\n :param pk:\n record primary key to delete" | 411 | false | apache/incubator-superset | _delete | 33,816 | |
LDU_FT/jeremymcrae/denovonear/get_genomic_seq_for_transcript | LDU_FT | [
"<BEGIN>\n## `get_cached_data`",
"get cached data for a url if stored in the cache and not outdated",
" Args:\n url: URL for the Ensembl REST service",
" Returns:\n data if data in cache, else None\n<END>",
"<BEGIN>\n## `cache_url_data`",
"cache the data retrieved from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_genomic_seq_for_transcript API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_genomic_seq_for_transcript API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | obtain the sequence for a transcript from ensembl | "obtain the sequence for a transcript from ensembl" | 112 | false | jeremymcrae/denovonear | get_genomic_seq_for_transcript | 33,817 | |
LDU_FT/pavelsof/ipatok/load_ipa | LDU_FT | [
"<BEGIN>\n## `normalise`",
"Convert each character of the string to the normal form in which it was\n\tdefined in the IPA spec. This would be normal form D, except for the\n\tvoiceless palatar fricative (ç) which should be in normal form C.",
"\tHelper for tokenise_word(string, ..).\n<END>",
"<BEGIN>\n## `gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ipa API.
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 load_ipa API.
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... | Populate the instance's set properties using the specified file. | "Populate the instance's set properties using the specified file." | 47 | false | pavelsof/ipatok | load_ipa | 33,818 | |
LDU_FT/roaet/eh/rewrap | LDU_FT | [
"<BEGIN>\n## `make_sample`",
"Generate the theme roller sample markdown\n<END>",
"<BEGIN>\n## `col`",
"print col('foo', 124) -> red 'foo' on the terminal\n c = color, s the value to colorize\n<END>",
"<BEGIN>\n## `rewrap`",
"Reasonably smart rewrapping checking punctuations\n<END>",
"<BEGIN>\n## `spl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rewrap API.
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 rewrap API.
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 ... | Reasonably smart rewrapping checking punctuations | "Reasonably smart rewrapping checking punctuations" | 35 | false | roaet/eh | rewrap | 33,819 | |
LDU_FT/SMTG-UCL/sumo/get_cached_colour | LDU_FT | [
"<BEGIN>\n## `kpath_from_seekpath`",
"r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.",
" If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.",
" Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cached_colour API.
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_cached_colour API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get a colour for a particular elemental and orbital combination.
If the element is not specified in the colours dictionary, the cache is
checked. If this element-orbital combination has not been chached before,
a new colour is drawn from the current matplotlib colour cycle and cached.
The default cach... | "Get a colour for a particular elemental and orbital combination.\n\n If the element is not specified in the colours dictionary, the cache is\n checked. If this element-orbital combination has not been chached before,\n a new colour is drawn from the current matplotlib colour cycle and cached.\n\n The defau... | 449 | false | SMTG-UCL/sumo | get_cached_colour | 33,820 | |
LDU_FT/opengisch/pum/__run_delta_sql | LDU_FT | [
"<BEGIN>\n## `pg_backup`",
"Call the pg_dump command to create a db backup",
" Parameters\n ----------\n pg_dump_exe: str\n the pg_dump command path\n exclude_schema: str[]\n list of schemas to be skipped\n<END>",
"<BEGIN>\n## `pg_restore`",
"Call the pg_res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __run_delta_sql API.
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 __run_delta_sql API.
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... | Execute the delta sql file on the database | "Execute the delta sql file on the database" | 71 | false | opengisch/pum | __run_delta_sql | 33,821 | |
LDU_FT/9b/frisbee/_config_bootstrap | LDU_FT | [
"<BEGIN>\n## `_format`",
"Format search queries to perform in bulk.",
" Build up the URLs to call for the search engine. These will be ran\n through a bulk processor and returned to a detailer.\n<END>",
"<BEGIN>\n## `_process`",
"Process search engine results for detailed analysis.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _config_bootstrap API.
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 _config_bootstrap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Handle the basic setup of the tool prior to user control.
Bootstrap will load all the available modules for searching and set
them up for use by this main class. | "Handle the basic setup of the tool prior to user control.\n\n Bootstrap will load all the available modules for searching and set\n them up for use by this main class." | 29 | false | 9b/frisbee | _config_bootstrap | 33,822 | |
LDU_FT/pahaz/sshtunnel/_stop_transport | LDU_FT | [
"<BEGIN>\n## `check_address`",
"Check if the format of the address is correct",
" Arguments:\n address (tuple):\n (``str``, ``int``) representing an IP address and port,\n respectively",
" .. note::\n alternatively a local ``address`` can be a ``str`` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _stop_transport API.
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 _stop_transport API.
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... | Close the underlying transport when nothing more is needed | "Close the underlying transport when nothing more is needed" | 96 | false | pahaz/sshtunnel | _stop_transport | 33,823 | |
LDU_FT/wesyoung/pyzyre/udp_recv | LDU_FT | [
"<BEGIN>\n## `set_header`",
"Set node header; these are provided to other nodes during discovery\nand come in each ENTER message.\n<END>",
"<BEGIN>\n## `set_endpoint`",
"By default, Zyre binds to an ephemeral TCP port and broadcasts the local\nhost name using UDP beaconing. When you call this method, Zyre wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the udp_recv API.
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 udp_recv API.
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... | Receive zframe from UDP socket, and set address of peer that sent it
The peername must be a char [INET_ADDRSTRLEN] array if IPv6 is disabled or
NI_MAXHOST if it's enabled. Returns NULL when failing to get peer address.
*** This is for CZMQ internal use only and may change arbitrarily *** | "Receive zframe from UDP socket, and set address of peer that sent it\nThe peername must be a char [INET_ADDRSTRLEN] array if IPv6 is disabled or\nNI_MAXHOST if it's enabled. Returns NULL when failing to get peer address.\n*** This is for CZMQ internal use only and may change arbitrarily ***" | 192 | false | wesyoung/pyzyre | udp_recv | 33,824 | |
LDU_FT/jbloomlab/phydms/branchScale | LDU_FT | [
"<BEGIN>\n## `maximizeLikelihood`",
"Maximize the log likelihood.",
" Maximizes log likelihood with respect to model parameters\n and potentially branch lengths depending on `optimize_brlen`.\n If optimizing the branch lengths, iterates between optimizing\n the model parameters and b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the branchScale API.
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 branchScale API.
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... | See docs for `Model` abstract base class. | "See docs for `Model` abstract base class." | 294 | false | jbloomlab/phydms | branchScale | 33,825 | |
LDU_FT/src-d/lookout-sdk/add_request_log_fields | LDU_FT | [
"<BEGIN>\n## `create_channel`",
"Creates a gRPC channel",
" The gRPC channel is created with the provided options and intercepts each\n invocation via the provided interceptors.",
" The created channel is configured with the following default options:\n - \"grpc.max_send_message_length\": 100M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_request_log_fields 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 add_request_log_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Add log fields related to a request to the provided log fields
:param log_fields: log fields instance to which to add the fields
:param call_details: some information regarding the call | "Add log fields related to a request to the provided log fields\n\n :param log_fields: log fields instance to which to add the fields\n :param call_details: some information regarding the call" | 40 | false | src-d/lookout-sdk | add_request_log_fields | 33,826 | |
LDU_FT/dmbee/seglearn/transform | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Fit all the transforms one after the other and transform the\n data, then fit the transformed data using the final estimator.",
" Parameters\n ----------\n X : iterable\n Training data. Must fulfill input requirements of fir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
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 transform API.
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... | Transform the segmented time series data into feature data.
If contextual data is included in X, it is returned with the feature data.
Parameters
----------
X : array-like, shape [n_series, ...]
Segmented time series data and (optionally) contextual data
Returns
... | "Transform the segmented time series data into feature data.\n If contextual data is included in X, it is returned with the feature data.\n\n Parameters\n ----------\n X : array-like, shape [n_series, ...]\n Segmented time series data and (optionally) contextual data\n\n Re... | 165 | false | dmbee/seglearn | transform | 33,827 | |
LDU_FT/PlaidWeb/Publ/run | LDU_FT | [
"<BEGIN>\n## `load_metafile`",
"Load a metadata file from the filesystem\n<END>",
"<BEGIN>\n## `description`",
"Get the textual description of the category\n<END>",
"<BEGIN>\n## `breadcrumb`",
"Get the category hierarchy leading up to this category, including\n root and self.",
" For examp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run all pending tasks; 'force' will run all tasks whether they're
pending or not. | "Run all pending tasks; 'force' will run all tasks whether they're\n pending or not." | 285 | false | PlaidWeb/Publ | run | 33,828 | |
LDU_FT/summanlp/textrank/_doublec | LDU_FT | [
"<BEGIN>\n## `_cons`",
"cons(i) is TRUE <=> b[i] is a consonant.\n<END>",
"<BEGIN>\n## `_m`",
"m() measures the number of consonant sequences between k0 and j.\n if c is a consonant sequence and v a vowel sequence, and <..>\n indicates arbitrary presence,",
" <c><v> gives 0\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _doublec API.
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 _doublec API.
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... | doublec(word) is TRUE <=> word ends with a double consonant | "doublec(word) is TRUE <=> word ends with a double consonant" | 126 | false | summanlp/textrank | _doublec | 33,829 | |
LDU_FT/ksbg/sparklanes/make_default_logger | LDU_FT | [
"<BEGIN>\n## `build_lane_from_yaml`",
"Builds a `sparklanes.Lane` object from a YAML definition file.",
" Parameters\n ----------\n path: str\n Path to the YAML definition file",
" Returns\n -------\n Lane\n Lane, built according to definition in YAML file\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_default_logger 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_default_logger 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... | Create a logger with the default configuration | "Create a logger with the default configuration" | 62 | false | ksbg/sparklanes | make_default_logger | 33,830 | |
LDU_FT/kontron/python-ipmi/get_sensor_reading | LDU_FT | [
"<BEGIN>\n## `sel_entries`",
"Generator which returns all SEL entries.\n<END>",
"<BEGIN>\n## `initiate_upgrade_action`",
"Initiate Upgrade Action\n components:\n action:\n ACTION_BACKUP_COMPONENT = 0x00\n ACTION_PREPARE_COMPONENT = 0x01\n ACTION_UPLOAD_FOR_UPGRAD... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sensor_reading API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sensor_reading API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the sensor reading at the assertion states for the given
sensor number.
`sensor_number`
Returns a tuple with `raw reading`and `assertion states`. | "Returns the sensor reading at the assertion states for the given\n sensor number.\n\n `sensor_number`\n\n Returns a tuple with `raw reading`and `assertion states`." | 87 | false | kontron/python-ipmi | get_sensor_reading | 33,831 | |
LDU_FT/dmcc/PyStanfordDependencies/as_asciitree | LDU_FT | [
"<BEGIN>\n## `convert_trees`",
"Convert a list of Penn Treebank formatted strings (ptb_trees)\n into Stanford Dependencies. The dependencies are represented\n as a list of sentences (CoNLL.Corpus), where each sentence\n (CoNLL.Sentence) is itself a list of CoNLL.Token objects.",
" Cu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_asciitree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_asciitree API.
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... | Represent this Sentence as an ASCII tree string. Requires
the asciitree package. A default token stringifier is provided
but for custom formatting, specify a str_func which should take
a single Token and return a string. | "Represent this Sentence as an ASCII tree string. Requires\n the asciitree package. A default token stringifier is provided\n but for custom formatting, specify a str_func which should take\n a single Token and return a string." | 56 | false | dmcc/PyStanfordDependencies | as_asciitree | 33,832 | |
LDU_FT/twisted/epsilon/setTimeout | LDU_FT | [
"<BEGIN>\n## `main`",
"Create a private key and a certificate and write them to a file.\n<END>",
"<BEGIN>\n## `setTimeout`",
"Change the timeout period",
" @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setTimeout API.
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 setTimeout API.
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... | Change the timeout period
@type period: C{int} or C{NoneType}
@param period: The period, in seconds, to change the timeout to, or
C{None} to disable the timeout. | "Change the timeout period\n\n @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the timeout." | 217 | false | twisted/epsilon | setTimeout | 33,833 | |
LDU_FT/codeinthehole/purl/_format_pair_with_equals | LDU_FT | [
"<BEGIN>\n## `to_utf8`",
"Encode a string as a UTF8 bytestring. This function could be passed a\n bytestring or unicode string so must distinguish between the two.\n<END>",
"<BEGIN>\n## `dict_to_unicode`",
"Ensure all keys and values in a dict are unicode.",
" The passed dict is assumed to have lists... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_pair_with_equals 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 _format_pair_with_equals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Format a key, value pair including the equals sign
when there is no value | "Format a key, value pair including the equals sign\n when there is no value" | 75 | false | codeinthehole/purl | _format_pair_with_equals | 33,834 | |
LDU_FT/raamana/pyradigm/cli_run | LDU_FT | [
"<BEGIN>\n## `check_compatibility`",
"Checks whether the given MLdataset instances are compatible",
" i.e. with same set of subjects, each beloning to the same class in all instances.",
" Checks the first dataset in the list against the rest, and returns a boolean array.",
" Parameters\n -------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Command line interface
This interface saves you coding effort to:
- display basic info (classes, sizes etc) about datasets
- display meta data (class membership) for samples
- perform basic arithmetic (add multiple classes or feature sets) | "Command line interface\n\n This interface saves you coding effort to:\n\n - display basic info (classes, sizes etc) about datasets\n - display meta data (class membership) for samples\n - perform basic arithmetic (add multiple classes or feature sets)" | 140 | false | raamana/pyradigm | cli_run | 33,835 | |
LDU_FT/trustar/trustar-python/filter_false_positive | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Create an indicator object from a dictionary.",
" :param indicator: The dictionary.\n :return: The indicator object.\n<END>",
"<BEGIN>\n## `to_dict`",
"Creates a dictionary representation of the indicator.",
" :param remove_nones: Whether ``None`` values sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_false_positive 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 filter_false_positive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | method that takes in FireEye (FE) alerts and filters FE-tests and False Positives
:param process_time:
:param df:
:return: | "method that takes in FireEye (FE) alerts and filters FE-tests and False Positives\n :param process_time:\n :param df:\n :return:" | 243 | false | trustar/trustar-python | filter_false_positive | 33,836 | |
LDU_FT/DeV1doR/aioethereum/eth_getLogs | LDU_FT | [
"<BEGIN>\n## `db_putString`",
"https://github.com/ethereum/wiki/wiki/JSON-RPC#db_putstring",
" DEPRECATED\n<END>",
"<BEGIN>\n## `db_getString`",
"https://github.com/ethereum/wiki/wiki/JSON-RPC#db_getstring",
" DEPRECATED\n<END>",
"<BEGIN>\n## `db_putHex`",
"https://github.com/ethereum/wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eth_getLogs API.
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 eth_getLogs API.
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... | https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getlogs
:param from_block: Block tag or number (optional)
:type from_block: int or BLOCK_TAGS
:param to_block: Block tag or number (optional)
:type to_block: int or BLOCK_TAGS
:param address: Contract address (optional)
... | "https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getlogs\n\n :param from_block: Block tag or number (optional)\n :type from_block: int or BLOCK_TAGS\n\n :param to_block: Block tag or number (optional)\n :type to_block: int or BLOCK_TAGS\n\n :param address: Contract address (optiona... | 166 | false | DeV1doR/aioethereum | eth_getLogs | 33,837 | |
LDU_FT/jazzband/sorl-thumbnail/is_valid_image | LDU_FT | [
"<BEGIN>\n## `is_valid_image`",
"Wand library makes sure when opening any image that is fine, when\n the image is corrupted raises an exception.\n<END>",
"<BEGIN>\n## `parse_geometry`",
"Parses a geometry string syntax and returns a (width, height) tuple\n<END>",
"<BEGIN>\n## `parse_crop`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Wand library makes sure when opening any image that is fine, when
the image is corrupted raises an exception. | "Wand library makes sure when opening any image that is fine, when\n the image is corrupted raises an exception." | 68 | false | jazzband/sorl-thumbnail | is_valid_image | 33,838 | |
LDU_FT/mcs07/PubChemPy/synonyms | LDU_FT | [
"<BEGIN>\n## `request`",
"Construct API request from parameters and return the response.",
" Full specification at http://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html\n<END>",
"<BEGIN>\n## `get`",
"Request wrapper that automatically handles async requests.\n<END>",
"<BEGIN>\n## `get_json`",
"Reque... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the synonyms API.
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 synonyms API.
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 ranked list of all the names associated with this Compound.
Requires an extra request. Result is cached. | "A ranked list of all the names associated with this Compound.\n\n Requires an extra request. Result is cached." | 83 | false | mcs07/PubChemPy | synonyms | 33,839 | |
LDU_FT/guaix-ucm/pyemir/locate_unknown_arc_lines | LDU_FT | [
"<BEGIN>\n## `merge2images`",
"Merge 2 EMIR images, averaging the common region.",
" Parameters\n ----------\n hdu1 : HDUList object\n Input image #1.\n hdu2 : HDUList object\n Input image #2.\n debugplot : int\n Determines whether intermediate computations and/or plots\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the locate_unknown_arc_lines 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 locate_unknown_arc_lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Determine the location of known arc lines in slitlet.
Parameters
----------
slitlet2d : numpy array
Image containing the 2d slitlet image.
times_sigma_threshold : float
Times (robust) sigma above the median of the image to look
for arc lines.
... | "Determine the location of known arc lines in slitlet.\n\n Parameters\n ----------\n slitlet2d : numpy array\n Image containing the 2d slitlet image.\n times_sigma_threshold : float\n Times (robust) sigma above the median of the image to look\n for arc lines.... | 282 | false | guaix-ucm/pyemir | locate_unknown_arc_lines | 33,840 | |
LDU_FT/CivicSpleen/ambry/nullify | LDU_FT | [
"<BEGIN>\n## `_or_join`",
"Joins terms using OR operator.",
" Args:\n terms (list): terms to join",
" Examples:\n self._or_join(['term1', 'term2']) -> 'term1 | term2'",
" Returns:\n str\n<END>",
"<BEGIN>\n## `search`",
"Finds datasets by search phras... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nullify API.
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 nullify API.
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... | Convert empty strings and strings with only spaces to None values. | "Convert empty strings and strings with only spaces to None values." | 1,165 | true | CivicSpleen/ambry | nullify | 33,841 | |
LDU_FT/chukysoria/pyspotify-connect/load_application_key_file | LDU_FT | [
"<BEGIN>\n## `load_application_key_file`",
"Load your libspotify application key file.",
" If called without arguments, it tries to read ``spotify_appkey.key``\n from the current working directory.",
" This is an alternative to setting :attr:`application_key` yourself. The\n file m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_application_key_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_application_key_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Load your libspotify application key file.
If called without arguments, it tries to read ``spotify_appkey.key``
from the current working directory.
This is an alternative to setting :attr:`application_key` yourself. The
file must be a binary key file, not the C code key file that can b... | "Load your libspotify application key file.\n\n If called without arguments, it tries to read ``spotify_appkey.key``\n from the current working directory.\n\n This is an alternative to setting :attr:`application_key` yourself. The\n file must be a binary key file, not the C code key file tha... | 65 | false | chukysoria/pyspotify-connect | load_application_key_file | 33,842 | |
LDU_FT/django-treebeard/django-treebeard/_inc_path | LDU_FT | [
"<BEGIN>\n## `get_foreign_keys`",
"Get foreign keys and models they refer to, so we can pre-process\n the data for load_bulk\n<END>",
"<BEGIN>\n## `_process_foreign_keys`",
"For each foreign key try to load the actual object so load_bulk\n doesn't fail trying to load an int where django expects ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _inc_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _inc_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | :returns: The path of the next sibling of a given node path. | ":returns: The path of the next sibling of a given node path." | 194 | false | django-treebeard/django-treebeard | _inc_path | 33,843 | |
LDU_FT/django-parler/django-parler/get_translated_url | LDU_FT | [
"<BEGIN>\n## `objectlanguage`",
"Template tag to switch an object language\n Example::",
" {% objectlanguage object \"en\" %}\n {{ object.title }}\n {% endobjectlanguage %}",
" A TranslatedObject is not affected by the ``{% language .. %}`` tag\n as it maintains it's own state.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_translated_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_translated_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.
Th... | Get the proper URL for this page in a different language.
Note that this algorithm performs a "best effect" approach to give a proper URL.
To make sure the proper view URL is returned, add the :class:`~parler.views.ViewUrlMixin` to your view.
Example, to build a language menu::
<ul>
{... | "Get the proper URL for this page in a different language.\n\n Note that this algorithm performs a \"best effect\" approach to give a proper URL.\n To make sure the proper view URL is returned, add the :class:`~parler.views.ViewUrlMixin` to your view.\n\n Example, to build a language menu::\n\n <ul>\n ... | 163 | false | django-parler/django-parler | get_translated_url | 33,844 | |
LDU_FT/mozilla/django-tidings/unsubscribe | LDU_FT | [
"<BEGIN>\n## `multi_raw`",
"Scoop multiple model instances out of the DB at once, given a query that\n returns all fields of each.",
" Return an iterable of sequences of model instances parallel to the\n ``models`` sequence of classes. For example::",
" [(<User such-and-such>, <Watch such-and-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unsubscribe API.
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 unsubscribe API.
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... | Unsubscribe from (i.e. delete) the watch of ID ``watch_id``.
Expects an ``s`` querystring parameter matching the watch's secret.
GET will result in a confirmation page (or a failure page if the secret is
wrong). POST will actually delete the watch (again, if the secret is
correct).
Uses these tem... | "Unsubscribe from (i.e. delete) the watch of ID ``watch_id``.\n\n Expects an ``s`` querystring parameter matching the watch's secret.\n\n GET will result in a confirmation page (or a failure page if the secret is\n wrong). POST will actually delete the watch (again, if the secret is\n correct).\n\n Uses ... | 73 | false | mozilla/django-tidings | unsubscribe | 33,845 | |
LDU_FT/terrycain/aioboto3/put_object | LDU_FT | [
"<BEGIN>\n## `download_file`",
"Download an S3 object to a file.",
" Usage::",
" import boto3\n s3 = boto3.resource('s3')\n s3.meta.client.download_file('mybucket', 'hello.txt', '/tmp/hello.txt')",
" Similar behavior as S3Transfer's download_file() method,\n except that paramet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_object API.
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 put_object API.
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... | PutObject. Takes same args as Boto3 documentation
Encrypts files
:param: Body: File data
:param Bucket: S3 Bucket
:param Key: S3 Key (filepath) | "PutObject. Takes same args as Boto3 documentation\n\n Encrypts files\n\n :param: Body: File data\n :param Bucket: S3 Bucket\n :param Key: S3 Key (filepath)" | 74 | false | terrycain/aioboto3 | put_object | 33,846 | |
LDU_FT/assamite/creamas/spawn_container | LDU_FT | [
"<BEGIN>\n## `configure_logger`",
"Configure logging behvior for the simulations.\n<END>",
"<BEGIN>\n## `fractal_dimension`",
"Estimates the fractal dimension of an image with box counting.\n Counts pixels with value 0 as empty and everything else as non-empty.\n Input image has to be grayscale.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spawn_container API.
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 spawn_container API.
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... | Spawn a new environment in a given address as a coroutine.
Arguments and keyword arguments are passed down to the created environment
at initialization time.
If `setproctitle <https://pypi.python.org/pypi/setproctitle>`_ is
installed, this function renames the title of the process to start with
'c... | "Spawn a new environment in a given address as a coroutine.\n\n Arguments and keyword arguments are passed down to the created environment\n at initialization time.\n\n If `setproctitle <https://pypi.python.org/pypi/setproctitle>`_ is\n installed, this function renames the title of the process to start with... | 529 | false | assamite/creamas | spawn_container | 33,847 | |
LDU_FT/Josef-Friedrich/tmep/tmpl_deldupchars | LDU_FT | [
"<BEGIN>\n## `ex_literal`",
"An int, float, long, bool, string, or None literal with the given\n value.\n<END>",
"<BEGIN>\n## `ex_varassign`",
"Assign an expression into a single variable. The expression may\n either be an `ast.expr` object or a value to be used as a literal.\n<END>",
"<BEGIN>\n## `ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tmpl_deldupchars API.
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 tmpl_deldupchars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | * synopsis: ``%deldupchars{text,chars}``
* description: Search for duplicate characters and replace with only \
one occurrance of this characters. | "* synopsis: ``%deldupchars{text,chars}``\n * description: Search for duplicate characters and replace with only \\\n one occurrance of this characters." | 72 | false | Josef-Friedrich/tmep | tmpl_deldupchars | 33,848 | |
LDU_FT/bpython/curtsies/copy_with_new_str | LDU_FT | [
"<BEGIN>\n## `tictactoe`",
"Put two strategies to a classic battle of wits.\n<END>",
"<BEGIN>\n## `memo`",
"Return a function like f that remembers and reuses results of past calls.\n<END>",
"<BEGIN>\n## `max_play`",
"Play like Spock, except breaking ties by drunk_value.\n<END>",
"<BEGIN>\n## `drunk_val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_with_new_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_with_new_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... | Copies the current FmtStr's attributes while changing its string. | "Copies the current FmtStr's attributes while changing its string." | 163 | false | bpython/curtsies | copy_with_new_str | 33,849 | |
LDU_FT/MisterY/asset-allocation/calculate_set_values | LDU_FT | [
"<BEGIN>\n## `get_symbols_with_positive_balances`",
"Identifies all the securities with positive balances\n<END>",
"<BEGIN>\n## `__get_pricedb_session`",
"Provides initialization and access to module-level session\n<END>",
"<BEGIN>\n## `format`",
"Returns the view-friendly output of the aa model\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_set_values 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 calculate_set_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Calculate the expected totals based on set allocations | "Calculate the expected totals based on set allocations" | 56 | false | MisterY/asset-allocation | calculate_set_values | 33,850 | |
LDU_FT/eternnoir/pyTelegramBotAPI/extract_arguments | LDU_FT | [
"<BEGIN>\n## `split_string`",
"Splits one string into multiple strings, with a maximum amount of `chars_per_string` characters per string.\n This is very useful for splitting one giant message into multiples.",
" :param text: The text to split\n :param chars_per_string: The number of characters per lin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_arguments API.
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 extract_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns the argument after the command.
Examples:
extract_arguments("/get name"): 'name'
extract_arguments("/get"): ''
extract_arguments("/get@botName name"): 'name'
:param text: String to extract the arguments from a command
:return: the arguments if `text` is a command (according to ... | "Returns the argument after the command.\n \n Examples:\n extract_arguments(\"/get name\"): 'name'\n extract_arguments(\"/get\"): ''\n extract_arguments(\"/get@botName name\"): 'name'\n \n :param text: String to extract the arguments from a command\n :return: the arguments if `text` is a command... | 187 | false | eternnoir/pyTelegramBotAPI | extract_arguments | 33,851 | |
LDU_FT/cvxopt/chompack/diag | LDU_FT | [
"<BEGIN>\n## `symb_to_block`",
"Maps a symbolic factorization to a block-diagonal structure with\n coupling constraints.",
" :param symb: :py:class:`symbolic`\n :param coupling: optional \n :return dims: list of block dimensions\n :return sparse_to_block: di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diag API.
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 diag API.
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... | Returns a vector with the diagonal elements of the matrix. | "Returns a vector with the diagonal elements of the matrix." | 215 | false | cvxopt/chompack | diag | 33,852 | |
LDU_FT/ryukinix/decorating/write | LDU_FT | [
"<BEGIN>\n## `default_arguments`",
"Returns the available kwargs of the called class\n<END>",
"<BEGIN>\n## `recreate`",
"Recreate the class based in your args, multiple uses\n<END>",
"<BEGIN>\n## `check_arguments`",
"Put warnings of arguments whose can't be handle by the class\n<END>",
"<BEGIN>\n## `col... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Function: write
Summary: write method on the default stream
Examples: >>> stream.write('message')
'message'
Attributes:
@param (message): str-like content to send on stream
@param (flush) default=True: flush the stdout after write
Returns: None | "Function: write\n Summary: write method on the default stream\n Examples: >>> stream.write('message')\n 'message'\n Attributes:\n @param (message): str-like content to send on stream\n @param (flush) default=True: flush the stdout after write\n Returns... | 41 | false | ryukinix/decorating | write | 33,853 | |
LDU_FT/ralphbean/taskw/task_add | LDU_FT | [
"<BEGIN>\n## `_stub_task`",
"Given a description, stub out a task dict.\n<END>",
"<BEGIN>\n## `_extract_annotations_from_task`",
"Removes annotations from a task and returns a list of annotations\n<END>",
"<BEGIN>\n## `task_add`",
"Add a new task.",
" Takes any of the keywords allowed by taskwarr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task_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 extracte... | Add a new task.
Takes any of the keywords allowed by taskwarrior like proj or prior. | "Add a new task.\n\n Takes any of the keywords allowed by taskwarrior like proj or prior." | 62 | false | ralphbean/taskw | task_add | 33,854 | |
LDU_FT/esafak/mca/fs_r_sup | LDU_FT | [
"<BEGIN>\n## `dummy`",
"Dummy code select columns of a DataFrame.\n<END>",
"<BEGIN>\n## `fs_r`",
"Get the row factor scores (dimensionality-reduced representation),\n\t\tchoosing how many factors to retain, directly or based on the explained\n\t\tvariance.",
"\t\t'percent': The minimum variance that the ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fs_r_sup API.
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 fs_r_sup API.
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... | Find the supplementary row factor scores.
ncols: The number of singular vectors to retain.
If both are passed, cols is given preference. | "Find the supplementary row factor scores.\n\n\t\tncols: The number of singular vectors to retain.\n\t\tIf both are passed, cols is given preference." | 21 | false | esafak/mca | fs_r_sup | 33,855 | |
LDU_FT/eddiejessup/agaro/get_output_every | LDU_FT | [
"<BEGIN>\n## `get_average_measure`",
"Calculate a measure of a model in an output directory, averaged over\n all times when the model is at steady-state.",
" Parameters\n ----------\n dirname: str\n Output directory\n measure_func: function\n Function which takes a :class:`Model` in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_output_every API.
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_output_every API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get how many iterations between outputs have been done in a directory
run.
If there are multiple values used in a run, raise an exception.
Parameters
----------
dirname: str
A path to a directory.
Returns
-------
output_every: int
The inferred number of iterations betw... | "Get how many iterations between outputs have been done in a directory\n run.\n\n If there are multiple values used in a run, raise an exception.\n\n Parameters\n ----------\n dirname: str\n A path to a directory.\n\n Returns\n -------\n output_every: int\n The inferred number of i... | 62 | false | eddiejessup/agaro | get_output_every | 33,856 | |
LDU_FT/sdss/tree/print_exception_formatted | LDU_FT | [
"<BEGIN>\n## `set_roots`",
"Set the roots of the tree in the os environment",
" Parameters:\n uproot_with (str):\n A new TREE_DIR path used to override an existing TREE_DIR environment variable\n<END>",
"<BEGIN>\n## `load_config`",
"loads a config file",
" Parameter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_exception_formatted 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_exception_formatted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | A custom hook for printing tracebacks with colours. | "A custom hook for printing tracebacks with colours." | 70 | false | sdss/tree | print_exception_formatted | 33,857 | |
LDU_FT/kwikteam/phy/select_traces | LDU_FT | [
"<BEGIN>\n## `set_state`",
"Set the view state.",
" The passed object is the persisted `self.state` bunch.",
" May be overriden.\n<END>",
"<BEGIN>\n## `_fullname`",
"Return the fully-qualified name of a function.\n<END>",
"<BEGIN>\n## `_get_default_grid`",
"In the grid specification, 0 c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_traces API.
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 select_traces API.
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... | Load traces in an interval (in seconds). | "Load traces in an interval (in seconds)." | 346 | false | kwikteam/phy | select_traces | 33,858 | |
LDU_FT/Kuniwak/vint/get_violation_if_found | LDU_FT | [
"<BEGIN>\n## `normalize_variable_name`",
"Returns normalized variable name.\n Normalizing means that variable names get explicit visibility by\n visibility prefix such as: \"g:\", \"s:\", ...",
" Returns None if the specified node is unanalyzable.\n A node is unanalyzable if:",
" - the node is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_violation_if_found 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_violation_if_found API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns a violation if the node is invalid. | "Returns a violation if the node is invalid." | 37 | false | Kuniwak/vint | get_violation_if_found | 33,859 | |
LDU_FT/robotpy/pyfrc/set_joystick | LDU_FT | [
"<BEGIN>\n## `compute`",
"Call this when vision processing should be enabled",
" :param now: The value passed to ``update_sim``\n :param x: Returned from physics_controller.get_position\n :param y: Returned from physics_controller.get_position\n :param angle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_joystick API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_joystick API.
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... | Receives joystick values from the SnakeBoard
x,y Coordinates
n Robot number to give it to | "Receives joystick values from the SnakeBoard\n \n x,y Coordinates\n n Robot number to give it to" | 109 | false | robotpy/pyfrc | set_joystick | 33,860 | |
LDU_FT/SetBased/py-stratum/create_routine_loader | LDU_FT | [
"<BEGIN>\n## `log_verbose`",
"Logs a message only when logging level is verbose.",
" :param str|list[str] message: The message.\n<END>",
"<BEGIN>\n## `log_very_verbose`",
"Logs a message only when logging level is very verbose.",
" :param str|list[str] message: The message.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_routine_loader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_routine_loader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Factory for creating a Routine Loader objects (i.e. objects for loading stored routines into a RDBMS instance
from (pseudo) SQL files.
:param str rdbms: The target RDBMS (i.e. mysql, mssql or pgsql).
:rtype: pystratum.RoutineLoader.RoutineLoader | "Factory for creating a Routine Loader objects (i.e. objects for loading stored routines into a RDBMS instance\n from (pseudo) SQL files.\n\n :param str rdbms: The target RDBMS (i.e. mysql, mssql or pgsql).\n\n :rtype: pystratum.RoutineLoader.RoutineLoader" | 189 | false | SetBased/py-stratum | create_routine_loader | 33,861 | |
LDU_FT/Gjum/agarnet/listen | LDU_FT | [
"<BEGIN>\n## `gcommer_claim`",
"Try to get a token for this server address.\n `address` has to be ip:port, e.g. `'1.2.3.4:1234'`\n Returns tuple(address, token)\n<END>",
"<BEGIN>\n## `gcommer_donate`",
"Donate a token for this server address.\n `address` and `token` should be the return values from f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen API.
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 listen API.
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 ... | Set up a quick connection. Returns on disconnect.
After calling `connect()`, this waits for messages from the server
using `select`, and notifies the subscriber of any events. | "Set up a quick connection. Returns on disconnect.\n\n After calling `connect()`, this waits for messages from the server\n using `select`, and notifies the subscriber of any events." | 57 | false | Gjum/agarnet | listen | 33,862 | |
LDU_FT/mrname/haralyzer/match_http_version | LDU_FT | [
"<BEGIN>\n## `get_load_times`",
"Just a ``list`` of the load times of a certain asset type for each page",
" :param asset_type: ``str`` of the asset type to return load times for\n<END>",
"<BEGIN>\n## `get_stdev`",
"Returns the standard deviation for a set of a certain asset type.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_http_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_http_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Helper function that returns entries with a request type
matching the given `request_type` argument.
:param entry: entry object to analyze
:param request_type: ``str`` of request type to match
:param regex: ``bool`` indicating whether to use a regex or string match | "Helper function that returns entries with a request type\n matching the given `request_type` argument.\n\n :param entry: entry object to analyze\n :param request_type: ``str`` of request type to match\n :param regex: ``bool`` indicating whether to use a regex or string match" | 72 | false | mrname/haralyzer | match_http_version | 33,863 | |
LDU_FT/andymccurdy/redis-py/owned | LDU_FT | [
"<BEGIN>\n## `acquire`",
"Use Redis to hold a shared, distributed lock named ``name``.\n Returns True once the lock is acquired.",
" If ``blocking`` is False, always return immediately. If the lock\n was acquired, return True, otherwise return False.",
" ``blocking_timeout`` specif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the owned API.
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 owned API.
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 True if this key is locked by this lock, otherwise False. | "Returns True if this key is locked by this lock, otherwise False." | 308 | false | andymccurdy/redis-py | owned | 33,864 | |
LDU_FT/lbryio/aioupnp/run_cli | LDU_FT | [
"<BEGIN>\n## `get_specific_port_mapping`",
":param external_port: (int) external port to listen on\n :param protocol: (str) 'UDP' | 'TCP'\n :return: (int) <internal port>, (str) <lan ip>, (bool) <enabled>, (str) <description>, (int) <lease time>\n<END>",
"<BEGIN>\n## `delete_port_mapping`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cli API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | :param method: the command name
:param igd_args: ordered case sensitive M-SEARCH headers, if provided all headers to be used must be provided
:param lan_address: the ip address of the local interface
:param gateway_address: the ip address of the gateway
:param timeout: timeout, in second... | ":param method: the command name\n :param igd_args: ordered case sensitive M-SEARCH headers, if provided all headers to be used must be provided\n :param lan_address: the ip address of the local interface\n :param gateway_address: the ip address of the gateway\n :param timeout: timeout, in s... | 14 | false | lbryio/aioupnp | run_cli | 33,865 | |
LDU_FT/yjzhang/uncurl_python/nb_r_deriv | LDU_FT | [
"<BEGIN>\n## `_create_m_objective`",
"Creates an objective function and its derivative for M, given W and X",
" Args:\n w (array): clusters x cells\n X (array): genes x cells\n<END>",
"<BEGIN>\n## `initialize_from_assignments`",
"Creates a weight initialization matrix from Poisson clusterin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nb_r_deriv API.
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 nb_r_deriv API.
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... | Derivative of log-likelihood wrt r (formula from wikipedia)
Args:
r (float): the R paramemter in the NB distribution
data_row (array): 1d array of length cells | "Derivative of log-likelihood wrt r (formula from wikipedia)\n\n Args:\n r (float): the R paramemter in the NB distribution\n data_row (array): 1d array of length cells" | 265 | false | yjzhang/uncurl_python | nb_r_deriv | 33,866 | |
LDU_FT/couchbase/couchbase-python-client/list_remove | LDU_FT | [
"<BEGIN>\n## `set_json_converters`",
"Modify the default JSON conversion functions. This affects all\n :class:`~couchbase.bucket.Bucket` instances.",
" These functions will called instead of the default ones (``json.dumps``\n and ``json.loads``) to encode and decode JSON (when :const:`FMT_JSON` is\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_remove API.
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 list_remove API.
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... | Remove the element at a specific index from a list.
:param key: The document ID of the list
:param index: The index to remove
:param kwargs: Arguments to :meth:`mutate_in`
:return: :class:`OperationResult`
:raise: :exc:`IndexError` if the index does not exist
:raise: :cb... | "Remove the element at a specific index from a list.\n\n :param key: The document ID of the list\n :param index: The index to remove\n :param kwargs: Arguments to :meth:`mutate_in`\n :return: :class:`OperationResult`\n :raise: :exc:`IndexError` if the index does not exist\n :ra... | 806 | false | couchbase/couchbase-python-client | list_remove | 33,867 | |
LDU_FT/pypa/setuptools/_get_all_ns_packages | LDU_FT | [
"<BEGIN>\n## `indentedBlock`",
"Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r",
" Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_all_ns_packages 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_all_ns_packages 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 sorted list of all package namespaces | "Return sorted list of all package namespaces" | 565 | false | pypa/setuptools | _get_all_ns_packages | 33,868 | |
LDU_FT/dwavesystems/dimod/from_serializable | LDU_FT | [
"<BEGIN>\n## `sample`",
"Give random samples for a binary quadratic model.",
" Variable assignments are chosen by coin flip.",
" Args:\n bqm (:obj:`.BinaryQuadraticModel`):\n Binary quadratic model to be sampled from.",
" num_reads (int, optional, default=1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_serializable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_serializable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Deserialize a :class:`SampleSet`.
Args:
obj (dict):
A :class:`SampleSet` serialized by :meth:`~.SampleSet.to_serializable`.
Returns:
:obj:`.SampleSet`
Examples:
This example encodes and decodes using JSON.
>>> import dimod
... | "Deserialize a :class:`SampleSet`.\n\n Args:\n obj (dict):\n A :class:`SampleSet` serialized by :meth:`~.SampleSet.to_serializable`.\n\n Returns:\n :obj:`.SampleSet`\n\n Examples:\n This example encodes and decodes using JSON.\n\n >>> impor... | 908 | false | dwavesystems/dimod | from_serializable | 33,869 | |
LDU_FT/pydata/pandas-gbq/to_gbq | LDU_FT | [
"<BEGIN>\n## `get_service_account_credentials`",
"DEPRECATED: Load service account credentials from key data or key path.\n<END>",
"<BEGIN>\n## `encode_chunk`",
"Return a file-like object of CSV-encoded rows.",
" Args:\n dataframe (pandas.DataFrame): A chunk of a dataframe to encode\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_gbq API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_gbq API.
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 ... | Write a DataFrame to a Google BigQuery table.
The main method a user calls to export pandas DataFrame contents to
Google BigQuery table.
This method uses the Google Cloud client library to make requests to
Google BigQuery, documented `here
<https://google-cloud-python.readthedocs.io/en/latest/bigq... | "Write a DataFrame to a Google BigQuery table.\n\n The main method a user calls to export pandas DataFrame contents to\n Google BigQuery table.\n\n This method uses the Google Cloud client library to make requests to\n Google BigQuery, documented `here\n <https://google-cloud-python.readthedocs.io/en/lat... | 94 | false | pydata/pandas-gbq | to_gbq | 33,870 | |
LDU_FT/idmillington/layout/get_page_impositions | LDU_FT | [
"<BEGIN>\n## `_do_layout`",
"Lays the text out into separate lines and calculates their\n total height.\n<END>",
"<BEGIN>\n## `_calculate_ms_from_base`",
"Calculates the rotated minimum size from the given base minimum\n size.\n<END>",
"<BEGIN>\n## `render`",
"Draws the signature mark.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_impositions 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_page_impositions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Calculates impositions for the elements in the content list and
returns a set of page-layouts for each as manager instances.
An imposition is a way of laying out pages on a larger sheet, such
that they can be folded and cut to form a booklet.
The signature size of an imposition controls how many of the... | "Calculates impositions for the elements in the content list and\n returns a set of page-layouts for each as manager instances.\n\n An imposition is a way of laying out pages on a larger sheet, such\n that they can be folded and cut to form a booklet.\n The signature size of an imposition controls how many ... | 91 | false | idmillington/layout | get_page_impositions | 33,871 | |
LDU_FT/fractalego/parvusdb/build_variables | LDU_FT | [
"<BEGIN>\n## `add_line`",
"Adds a line to the LISP code to execute",
" :param string: The line to add\n :return: None\n<END>",
"<BEGIN>\n## `add_graph_to_namespace`",
"Adds the variables name to the namespace of the local LISP code",
" :param graph: the graph to add to the namespace\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | :param variables: The list of vertices/edges to return
:return: a dict where the keys are the names of the variables to return,
the values are the JSON of the properties of these variables | ":param variables: The list of vertices/edges to return\n :return: a dict where the keys are the names of the variables to return,\n the values are the JSON of the properties of these variables" | 36 | false | fractalego/parvusdb | build_variables | 33,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.