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/etcher-be/elib_miz/units | LDU_FT | [
"<BEGIN>\n## `reorder`",
"Re-orders a miz file into a folder (flattened)",
" Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>",
"<BEGIN>\n## `decode`",
"Decodes the mission ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the units API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the units API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Iterates over all units
Returns: generator of Unit | "Iterates over all units\n\n Returns: generator of Unit" | 100 | false | etcher-be/elib_miz | units | 27,373 | |
LDU_FT/tortoise/tortoise-orm/order_by | LDU_FT | [
"<BEGIN>\n## `transform_model`",
"Anything that uses the ModelMeta needs _meta and id.\n Also keep track of relationships and make them in the related model class.\n<END>",
"<BEGIN>\n## `apply_type_shim`",
"Morphs model fields to representative type\n<END>",
"<BEGIN>\n## `list_encoder`",
"Encodes an it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_by API.
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 order_by API.
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... | Accept args to filter by in format like this:
.. code-block:: python3
.order_by('name', '-tournament__name')
Supports ordering by related models too. | "Accept args to filter by in format like this:\n\n .. code-block:: python3\n\n .order_by('name', '-tournament__name')\n\n Supports ordering by related models too." | 89 | false | tortoise/tortoise-orm | order_by | 27,374 | |
LDU_FT/SmartTeleMax/iktomi/command_shell | LDU_FT | [
"<BEGIN>\n## `pare`",
"Pare text to have maximum size and add etc to the end if it's\n changed\n<END>",
"<BEGIN>\n## `quoteattrs`",
"Takes dict of attributes and returns their HTML representation\n<END>",
"<BEGIN>\n## `quote_js`",
"Quotes text to be used as JavaScript string in HTML templates. The\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command_shell API.
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 command_shell API.
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... | Shell command::
./manage.py app:shell
Executed with `self.shell_namespace` as local variables namespace. | "Shell command::\n\n ./manage.py app:shell\n\n Executed with `self.shell_namespace` as local variables namespace." | 196 | false | SmartTeleMax/iktomi | command_shell | 27,375 | |
LDU_FT/boriel/zxbasic/condition | LDU_FT | [
"<BEGIN>\n## `reset`",
"This is called when we need to reinitialize the instance state\n<END>",
"<BEGIN>\n## `make_node`",
"This will return a node with the symbol as a function.\n<END>",
"<BEGIN>\n## `add_string_label`",
"Maps (\"folds\") the given string, returning an unique label ID.\n This allo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the condition API.
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 condition API.
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 flag this instruction uses
or None. E.g. 'c' for Carry, 'nz' for not-zero, etc.
That is the condition required for this instruction
to execute. For example: ADC A, 0 does NOT have a
condition flag (it always execute) whilst RETC does. | "Returns the flag this instruction uses\n or None. E.g. 'c' for Carry, 'nz' for not-zero, etc.\n That is the condition required for this instruction\n to execute. For example: ADC A, 0 does NOT have a\n condition flag (it always execute) whilst RETC does." | 974 | false | boriel/zxbasic | condition | 27,376 | |
LDU_FT/NicolasLM/spinach/serialize_email_messages | LDU_FT | [
"<BEGIN>\n## `_reset`",
"Initialization that must happen before the arbiter is (re)started\n<END>",
"<BEGIN>\n## `attach_tasks`",
"Attach a set of tasks.",
" A task cannot be scheduled or executed before it is attached to an\n Engine.",
" >>> tasks = Tasks()\n >>> spin.attach_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_email_messages 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 serialize_email_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Serialize EmailMessages to be passed as task argument.
Pickle is used because serializing an EmailMessage to json can be a bit
tricky and would probably break if Django modifies the structure of the
object in the future. | "Serialize EmailMessages to be passed as task argument.\n\n Pickle is used because serializing an EmailMessage to json can be a bit\n tricky and would probably break if Django modifies the structure of the\n object in the future." | 93 | false | NicolasLM/spinach | serialize_email_messages | 27,377 | |
LDU_FT/smira/py-numa/get_run_on_node_mask | LDU_FT | [
"<BEGIN>\n## `get_node_size`",
"Get size of memory on C{node}.",
" @param node: node idx\n @type node: C{int}\n @return: free memory/total memory\n @rtype: C{tuple}(C{int}, C{int})\n<END>",
"<BEGIN>\n## `node_to_cpus`",
"Get CPUs available on C{node}.",
" @return: set of CPU ids\n @rtype... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_run_on_node_mask 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_run_on_node_mask 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 the mask of nodes that the current thread is allowed to run on.
@return: node mask
@rtype: C{set} | "Returns the mask of nodes that the current thread is allowed to run on.\n\n @return: node mask\n @rtype: C{set}" | 44 | false | smira/py-numa | get_run_on_node_mask | 27,378 | |
LDU_FT/tmux-python/libtmux/move_window | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Return tmux version.",
" If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.",
" If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_window API.
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 move_window API.
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... | Move the current :class:`Window` object ``$ tmux move-window``.
Parameters
----------
destination : str, optional
the ``target window`` or index to move the window to, default:
empty string
session : str, optional
the ``target session`` or index to mo... | "Move the current :class:`Window` object ``$ tmux move-window``.\n\n Parameters\n ----------\n destination : str, optional\n the ``target window`` or index to move the window to, default:\n empty string\n session : str, optional\n the ``target session`` or in... | 224 | false | tmux-python/libtmux | move_window | 27,379 | |
LDU_FT/toumorokoshi/transmute-core/add_func | LDU_FT | [
"<BEGIN>\n## `from_argspec`",
"retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>",
"<BEGIN>\n## `split_args`",
"given a dictionary of arguments, split them into\n args and kwargs",
" note: this destroys the arg_dict passed. if you need it,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_func API.
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 transmute function's swagger definition to the spec | "add a transmute function's swagger definition to the spec" | 100 | false | toumorokoshi/transmute-core | add_func | 27,380 | |
LDU_FT/iKevinY/EulerPy/text | LDU_FT | [
"<BEGIN>\n## `problem_glob`",
"Returns ProblemFile objects for all valid problem files\n<END>",
"<BEGIN>\n## `human_time`",
"Formats the timespan in a human readable format\n<END>",
"<BEGIN>\n## `format_time`",
"Returns string with relevant time information formatted properly\n<END>",
"<BEGIN>\n## `file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text API.
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 text API.
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... | Parses problems.txt and returns problem text | "Parses problems.txt and returns problem text" | 24 | false | iKevinY/EulerPy | text | 27,381 | |
LDU_FT/dariusbakunas/rawdisk/load | LDU_FT | [
"<BEGIN>\n## `get_entry`",
"Get mft entry by index. If entry is not already loaded it will load \\\n it from file specified during :class:`MftTable` initialization.",
" Returns:\n MftEntry: initialized :class:`~.mft_entry.MftEntry`.\n<END>",
"<BEGIN>\n## `do_list`",
"Enumerate resou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Loads GPT partition table.
Args:
filename (str): path to file or device to open for reading
bs (uint): Block size of the volume, default: 512
Raises:
IOError: If file does not exist or not readable | "Loads GPT partition table.\n\n Args:\n filename (str): path to file or device to open for reading\n bs (uint): Block size of the volume, default: 512\n\n Raises:\n IOError: If file does not exist or not readable" | 75 | false | dariusbakunas/rawdisk | load | 27,382 | |
LDU_FT/ronaldguillen/wave/validate_precision | LDU_FT | [
"<BEGIN>\n## `template_render`",
"Passing Context or RequestContext to Template.render is deprecated in 1.9+,\n see https://github.com/django/django/pull/3883 and\n https://github.com/django/django/blob/1.9rc1/django/template/backends/django.py#L82-L84",
" :param template: Template instance\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_precision 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 validate_precision 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... | Ensure that there are no more than max_digits in the number, and no
more than decimal_places digits after the decimal point.
Override this method to disable the precision validation for input
values or to enhance it in any way you need to. | "Ensure that there are no more than max_digits in the number, and no\n more than decimal_places digits after the decimal point.\n\n Override this method to disable the precision validation for input\n values or to enhance it in any way you need to." | 296 | false | ronaldguillen/wave | validate_precision | 27,383 | |
LDU_FT/data61/clkhash/hashing_function_from_properties | LDU_FT | [
"<BEGIN>\n## `convert_v1_to_v2`",
"Convert v1 schema dict to v2 schema dict.\n :param dict: v1 schema dict\n :return: v2 schema dict\n<END>",
"<BEGIN>\n## `from_json_dict`",
"Create a Schema for v1 or v2 according to dct",
" :param dct: This dictionary must have a `'features'`\n key spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashing_function_from_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashing_function_from_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Get the hashing function for this field
:param fhp: hashing properties for this field
:return: the hashing function | "Get the hashing function for this field\n :param fhp: hashing properties for this field\n :return: the hashing function" | 212 | false | data61/clkhash | hashing_function_from_properties | 27,384 | |
LDU_FT/nok/sklearn-porter/indent | LDU_FT | [
"<BEGIN>\n## `export`",
"Port a trained estimator to the syntax of a chosen programming language.",
" Parameters\n ----------\n :param class_name : string\n The name of the class in the returned result.\n :param method_name : string\n The name of the method in t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the indent API.
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 indent API.
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 ... | Indent text with single spaces.
Parameters
----------
:param text : string
The text which get a specific indentation.
:param n_indents : int, default: 1
The number of indentations.
:param skipping : boolean, default: False
Whether to skip the ... | "Indent text with single spaces.\n\n Parameters\n ----------\n :param text : string\n The text which get a specific indentation.\n :param n_indents : int, default: 1\n The number of indentations.\n :param skipping : boolean, default: False\n Whether to... | 197 | false | nok/sklearn-porter | indent | 27,385 | |
LDU_FT/rm-hull/luma.core/is_overlapping_viewport | LDU_FT | [
"<BEGIN>\n## `animate`",
"Returns a generator which \"executes\" an animation sequence for the given\n ``seq_name``, inasmuch as the next frame for the given animation is\n yielded when requested.",
" :param seq_name: The name of a previously defined animation sequence.\n :type seq_n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_overlapping_viewport 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 is_overlapping_viewport API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Checks to see if the hotspot at position ``(x, y)``
is (at least partially) visible according to the
position of the viewport. | "Checks to see if the hotspot at position ``(x, y)``\n is (at least partially) visible according to the\n position of the viewport." | 126 | false | rm-hull/luma.core | is_overlapping_viewport | 27,386 | |
LDU_FT/MrMinimal64/timezonefinder/haversine | LDU_FT | [
"<BEGIN>\n## `set_version`",
"Set package version as listed in `__version__` in `__init__.py`.\n<END>",
"<BEGIN>\n## `get_geometry`",
":param tz_name: one of the names in timezone_names\n :param tz_id: the id of the timezone (=index in timezone_names)\n :param use_id: determines whether id or na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the haversine API.
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 haversine API.
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... | :param lng_p1: the longitude of point 1 in radians
:param lat_p1: the latitude of point 1 in radians
:param lng_p2: the longitude of point 1 in radians
:param lat_p2: the latitude of point 1 in radians
:return: distance between p1 and p2 in km
this is only an approximation since the earth is not a r... | ":param lng_p1: the longitude of point 1 in radians\n :param lat_p1: the latitude of point 1 in radians\n :param lng_p2: the longitude of point 1 in radians\n :param lat_p2: the latitude of point 1 in radians\n :return: distance between p1 and p2 in km\n this is only an approximation since the earth is n... | 35 | false | MrMinimal64/timezonefinder | haversine | 27,387 | |
LDU_FT/cmcdowell/weatherpy/_parse_image | LDU_FT | [
"<BEGIN>\n## `_get_xml`",
"Returns the channel element of the RSS feed\n<END>",
"<BEGIN>\n## `_parse_text`",
"Returns the text, as a string, of the specified element in the specified\n namespace of the RSS feed.",
" Takes element_name and namespace as strings.\n<END>",
"<BEGIN>\n## `_parse_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 extr... | Returns an instance of the image.Image class for the RSS feed. | "Returns an instance of the image.Image class for the RSS feed." | 19 | false | cmcdowell/weatherpy | _parse_image | 27,388 | |
LDU_FT/ssalentin/plip/refine_hbonds_ldon | LDU_FT | [
"<BEGIN>\n## `process_pdb`",
"Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>",
"<BEGIN>\n## `download_structure`",
"Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refine_hbonds_ldon 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 refine_hbonds_ldon 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... | Refine selection of hydrogen bonds. Do not allow groups which already form salt bridges to form H-Bonds. | "Refine selection of hydrogen bonds. Do not allow groups which already form salt bridges to form H-Bonds." | 176 | false | ssalentin/plip | refine_hbonds_ldon | 27,389 | |
LDU_FT/pyrapt/rapt/rename | LDU_FT | [
"<BEGIN>\n## `get_attribute_references`",
"Return a list of attribute references in the condition expression.",
" attribute_reference ::= relation_name \".\" attribute_name | attribute_name",
" :param instring: a condition expression.\n :return: a list of attribute references.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API.
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 rename API.
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 ... | Rename the Attributes' names, prefixes, or both. If names or prefix
evaluates to None, the old version is used.
Resulting names must be unambiguous.
:param names: A list of new names for each attribute or an empty list.
:param prefix: A new prefix for the name or None | "Rename the Attributes' names, prefixes, or both. If names or prefix\n evaluates to None, the old version is used.\n Resulting names must be unambiguous.\n :param names: A list of new names for each attribute or an empty list.\n :param prefix: A new prefix for the name or None" | 86 | false | pyrapt/rapt | rename | 27,390 | |
LDU_FT/elemoine/papyrus/create_filter | LDU_FT | [
"<BEGIN>\n## `add_column_xsd`",
"Add the XSD for a column to tb (a TreeBuilder)\n<END>",
"<BEGIN>\n## `add_column_property_xsd`",
"Add the XSD for a column property to the ``TreeBuilder``.\n<END>",
"<BEGIN>\n## `add_class_properties_xsd`",
"Add the XSD for the class properties to the ``TreeBuilder``. And\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Create MapFish default filter based on the request params.
Arguments:
request
the request.
mapped_class
the SQLAlchemy mapped class.
geom_attr
the key of the geometry property as defined in the SQLAlchemy
mapper. If you use ``declarative_base`` this is the name of
... | "Create MapFish default filter based on the request params.\n\n Arguments:\n\n request\n the request.\n\n mapped_class\n the SQLAlchemy mapped class.\n\n geom_attr\n the key of the geometry property as defined in the SQLAlchemy\n mapper. If you use ``declarative_base`` this is th... | 57 | false | elemoine/papyrus | create_filter | 27,391 | |
LDU_FT/twidi/py-dataql/coerce | LDU_FT | [
"<BEGIN>\n## `EntryPoints`",
"Returns an object to use as entry point when calling ``registry.solve_resource``.",
" When calling ``registry.solve_resource`` on a \"root\" resource, we don't have any value.\n This function will create a object to use as a first value and is used to specify which\n entry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coerce API.
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 coerce API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Get a dict with attributes from ``value``.
Arguments
---------
value : ?
The value to get some resources from.
resource : dataql.resources.Object
The ``Object`` object used to obtain this value from the original one.
Returns
-------
dict
... | "Get a dict with attributes from ``value``.\n\n Arguments\n ---------\n value : ?\n The value to get some resources from.\n resource : dataql.resources.Object\n The ``Object`` object used to obtain this value from the original one.\n\n Returns\n -------\n ... | 210 | false | twidi/py-dataql | coerce | 27,392 | |
LDU_FT/cbclab/MOT/partial_derivative_mu | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partial_derivative_mu 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 partial_derivative_mu API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | The partial derivative with respect to the mean.
Args:
mu (float): the mean of the truncated normal
sigma (float): the std of the truncated normal
low (float): the lower truncation bound
high (float): the upper truncation bound
data (ndarray): the one... | "The partial derivative with respect to the mean.\n\n Args:\n mu (float): the mean of the truncated normal\n sigma (float): the std of the truncated normal\n low (float): the lower truncation bound\n high (float): the upper truncation bound\n data (ndarray):... | 445 | false | cbclab/MOT | partial_derivative_mu | 27,393 | |
LDU_FT/soaxelbrooke/join/_inner_join | LDU_FT | [
"<BEGIN>\n## `union_join`",
"Join function truest to the SQL style join. Merges both objects together in a sum-type,\n saving references to each parent in ``left`` and ``right`` attributes.",
" >>> Dog = namedtuple('Dog', ['name', 'woof', 'weight'])\n >>> dog = Dog('gatsby', 'Ruff!', 15)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _inner_join API.
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 _inner_join API.
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... | Inner join using left and right key functions
:param left: left iterable to be joined
:param right: right iterable to be joined
:param function left_key_fn: function that produces hashable value from left objects
:param function right_key_fn: function that produces hashable value from right objects
... | "Inner join using left and right key functions\n\n :param left: left iterable to be joined\n :param right: right iterable to be joined\n :param function left_key_fn: function that produces hashable value from left objects\n :param function right_key_fn: function that produces hashable value from right objec... | 19 | false | soaxelbrooke/join | _inner_join | 27,394 | |
LDU_FT/benjamin-hodgson/asynqp/close | LDU_FT | [
"<BEGIN>\n## `open_channel`",
"Open a new channel on this connection.",
" This method is a :ref:`coroutine <coroutine>`.",
" :return: The new :class:`Channel` object.\n<END>",
"<BEGIN>\n## `close`",
"Close the connection by handshaking with the server.",
" This method is a :ref:`cor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Close the connection by handshaking with the server.
This method is a :ref:`coroutine <coroutine>`. | "Close the connection by handshaking with the server.\n\n This method is a :ref:`coroutine <coroutine>`." | 95 | false | benjamin-hodgson/asynqp | close | 27,395 | |
LDU_FT/secure-systems-lab/securesystemslib/decompress_temp_file_object | LDU_FT | [
"<BEGIN>\n## `get_password`",
"<Purpose>\n Return the password entered by the user. If 'confirm' is True, the user is\n asked to enter the previously entered password once again. If they match,\n the password is returned to the caller.",
" <Arguments>\n prompt:\n The text of the password pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress_temp_file_object 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 decompress_temp_file_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | <Purpose>
To decompress a compressed temp file object. Decompression is performed
on a temp file object that is compressed, this occurs after downloading
a compressed file. For instance if a compressed version of some meta
file in the repository is downloaded, the temp file containing the
... | "<Purpose>\n To decompress a compressed temp file object. Decompression is performed\n on a temp file object that is compressed, this occurs after downloading\n a compressed file. For instance if a compressed version of some meta\n file in the repository is downloaded, the temp file containing the... | 663 | false | secure-systems-lab/securesystemslib | decompress_temp_file_object | 27,396 | |
LDU_FT/unt-libraries/codalib/xsDateTime_parse | LDU_FT | [
"<BEGIN>\n## `waitForURL`",
"Give it a URL. Keep trying to get a HEAD request from it until it works.\n If it doesn't work, wait a while and try again\n<END>",
"<BEGIN>\n## `doWaitWebRequest`",
"Same as doWebRequest, but with built in wait-looping\n<END>",
"<BEGIN>\n## `doWebRequest`",
"A urllib2 wrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xsDateTime_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xsDateTime_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 ... | Parses xsDateTime strings of form 2017-01-27T14:58:00+0600, etc.
Returns a *naive* datetime in local time according to local_tz. | "Parses xsDateTime strings of form 2017-01-27T14:58:00+0600, etc.\n Returns a *naive* datetime in local time according to local_tz." | 40 | false | unt-libraries/codalib | xsDateTime_parse | 27,397 | |
LDU_FT/tomplus/kubernetes_asyncio/create_namespaced_horizontal_pod_autoscaler | LDU_FT | [
"<BEGIN>\n## `raw`",
"Sets the raw of this RuntimeRawExtension.",
" Raw is the underlying serialization of this object. # noqa: E501",
" :param raw: The raw of this RuntimeRawExtension. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `delete_namespaced_cron_job`",
"delete_namespaced... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_namespaced_horizontal_pod_autoscaler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_namespaced_horizontal_pod_autoscaler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | create_namespaced_horizontal_pod_autoscaler # noqa: E501
create a HorizontalPodAutoscaler # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_horizontal_pod_autoscaler... | "create_namespaced_horizontal_pod_autoscaler # noqa: E501\n\n create a HorizontalPodAutoscaler # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_horizontal_pod_auto... | 1,540 | true | tomplus/kubernetes_asyncio | create_namespaced_horizontal_pod_autoscaler | 27,398 | |
LDU_FT/BlackEarth/bxml/xml | LDU_FT | [
"<BEGIN>\n## `tempfile`",
"write the docx to a named tmpfile and return the tmpfile filename\n<END>",
"<BEGIN>\n## `match`",
"decorator that allows us to match by expression or by xpath for each transformation method\n<END>",
"<BEGIN>\n## `get_match`",
"for the given elem, return the @match function that ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xml API.
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 xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | return the src with the given transformation applied, if any. | "return the src with the given transformation applied, if any." | 91 | false | BlackEarth/bxml | xml | 27,399 | |
LDU_FT/dariusbakunas/rawdisk/_get_attribute | LDU_FT | [
"<BEGIN>\n## `get_entry`",
"Get mft entry by index. If entry is not already loaded it will load \\\n it from file specified during :class:`MftTable` initialization.",
" Returns:\n MftEntry: initialized :class:`~.mft_entry.MftEntry`.\n<END>",
"<BEGIN>\n## `do_list`",
"Enumerate resou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attribute API.
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... | Determines attribute type at the offset and returns \
initialized attribute object.
Returns:
MftAttr: One of the attribute objects \
(eg. :class:`~.mft_attribute.MftAttrFilename`).
None: If atttribute type does not mach any one of the supported \
attribut... | "Determines attribute type at the offset and returns \\\n initialized attribute object.\n\n Returns:\n MftAttr: One of the attribute objects \\\n (eg. :class:`~.mft_attribute.MftAttrFilename`).\n None: If atttribute type does not mach any one of the supported \\\n ... | 75 | false | dariusbakunas/rawdisk | _get_attribute | 27,400 | |
LDU_FT/MartinThoma/mpu/set_dict_value | LDU_FT | [
"<BEGIN>\n## `timing`",
"Measure the execution time of a function call and print the result.\n<END>",
"<BEGIN>\n## `deprecated`",
"Mark functions as deprecated.",
" It will result in a warning being emitted when the function is used.\n<END>",
"<BEGIN>\n## `get_currency`",
"Convert an identifier for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_dict_value API.
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 set_dict_value API.
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... | Set a value in a (nested) dictionary by defining a list of keys.
.. note:: Side-effects
This function does not make a copy of dictionary, but directly
edits it.
Parameters
----------
dictionary : dict
keys : List[Any]
value : object
Returns
-------
dict... | "Set a value in a (nested) dictionary by defining a list of keys.\n\n .. note:: Side-effects\n This function does not make a copy of dictionary, but directly\n edits it.\n\n Parameters\n ----------\n dictionary : dict\n keys : List[Any]\n value : object\n\n Returns\n --... | 255 | false | MartinThoma/mpu | set_dict_value | 27,401 | |
LDU_FT/lsst-sqre/sqre-apikit/raise_ise | LDU_FT | [
"<BEGIN>\n## `set_flask_metadata`",
"Sets metadata on the application to be returned via metadata routes.",
" Parameters\n ----------\n app : :class:`flask.Flask` instance\n Flask application for the microservice you're adding metadata to.",
" version: `str`\n Version of your microse... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_ise API.
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 raise_ise API.
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... | Turn a failed request response into a BackendError that represents
an Internal Server Error. Handy for reflecting HTTP errors from farther
back in the call chain as failures of your service.
Parameters
----------
text: `str`
Error text.
Raises
------
:class:`apikit.BackendErro... | "Turn a failed request response into a BackendError that represents\n an Internal Server Error. Handy for reflecting HTTP errors from farther\n back in the call chain as failures of your service.\n\n Parameters\n ----------\n text: `str`\n Error text.\n\n Raises\n ------\n :class:`apikit... | 39 | false | lsst-sqre/sqre-apikit | raise_ise | 27,402 | |
LDU_FT/pyamg/pyamg/initial_setup_stage | LDU_FT | [
"<BEGIN>\n## `make_csr`",
"Convert A to CSR, if A is not a CSR or BSR matrix already.",
" Parameters\n ----------\n A : array, matrix, sparse matrix\n (n x n) matrix to convert to CSR",
" Returns\n -------\n A : csr_matrix, bsr_matrix\n If A is csr_matrix or bsr_matrix, then do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initial_setup_stage 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 initial_setup_stage 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... | Compute aggregation and the first near-nullspace candidate following Algorithm 3 in Brezina et al.
Parameters
----------
candidate_iters
number of test relaxation iterations
epsilon
minimum acceptable relaxation convergence factor
References
----------
.. [1] Brezina, Falgo... | "Compute aggregation and the first near-nullspace candidate following Algorithm 3 in Brezina et al.\n\n Parameters\n ----------\n candidate_iters\n number of test relaxation iterations\n epsilon\n minimum acceptable relaxation convergence factor\n\n References\n ----------\n .. [1] Br... | 1,074 | true | pyamg/pyamg | initial_setup_stage | 27,403 | |
LDU_FT/lpantano/seqcluster/MakePmfFromItems | LDU_FT | [
"<BEGIN>\n## `add_exp`",
"Function to add the counts for each sample",
" :param gr: name of the sample\n :param exp: counts of sample **gr**",
" :returns: dict with key,values equally to name,counts.\n<END>",
"<BEGIN>\n## `MakeJoint`",
"Joint distribution of values from pmf1 and pmf2.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MakePmfFromItems API.
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 MakePmfFromItems API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Makes a PMF from a sequence of value-probability pairs
Args:
t: sequence of value-probability pairs
name: string name for this PMF
Returns:
Pmf object | "Makes a PMF from a sequence of value-probability pairs\n\n Args:\n t: sequence of value-probability pairs\n name: string name for this PMF\n\n Returns:\n Pmf object" | 491 | false | lpantano/seqcluster | MakePmfFromItems | 27,404 | |
LDU_FT/insilichem/ommprotocol/export_frame_coordinates | LDU_FT | [
"<BEGIN>\n## `protocol`",
"Run all the stages in protocol",
" Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation",
" cfg : dict\n Imported YAML file.\n<END>",
"<BEGIN>\n## `run`",
"Launch MD simulation, which may consist of:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_frame_coordinates 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 export_frame_coordinates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Extract a single frame structure from a trajectory. | "Extract a single frame structure from a trajectory." | 84 | false | insilichem/ommprotocol | export_frame_coordinates | 27,405 | |
LDU_FT/click-contrib/sphinx-click/_format_arguments | LDU_FT | [
"<BEGIN>\n## `_get_usage`",
"Alternative, non-prefixed version of 'get_usage'.\n<END>",
"<BEGIN>\n## `_get_help_record`",
"Re-implementation of click.Opt.get_help_record.",
" The variant of 'get_help_record' found in Click makes uses of slashes to\n separate multiple opts, and formats option arguments... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_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 _format_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... | Format all `click.Argument` for a `click.Command`. | "Format all `click.Argument` for a `click.Command`." | 25 | false | click-contrib/sphinx-click | _format_arguments | 27,406 | |
LDU_FT/RedisJSON/rejson-py/jsonnummultby | LDU_FT | [
"<BEGIN>\n## `bulk_of_jsons`",
"Replace serialized JSON values with objects in a bulk array response (list)\n<END>",
"<BEGIN>\n## `setEncoder`",
"Sets the client's encoder\n ``encoder`` should be an instance of a ``json.JSONEncoder`` class\n<END>",
"<BEGIN>\n## `setDecoder`",
"Sets the client's dec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsonnummultby API.
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 jsonnummultby API.
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... | Multiplies the numeric (integer or floating point) JSON value under
``path`` at key ``name`` with the provided ``number`` | "Multiplies the numeric (integer or floating point) JSON value under\n ``path`` at key ``name`` with the provided ``number``" | 43 | false | RedisJSON/rejson-py | jsonnummultby | 27,407 | |
LDU_FT/pythonkc/pythonkc-meetups/parse_member_from_rsvp | LDU_FT | [
"<BEGIN>\n## `parse_event`",
"Parse a ``MeetupEvent`` from the given response data.",
" Returns\n -------\n A ``pythonkc_meetups.types.MeetupEvent``.\n<END>",
"<BEGIN>\n## `parse_venue`",
"Parse a ``MeetupVenue`` from the given response data.",
" Returns\n -------\n A `pythonkc_meetups.t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_member_from_rsvp 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 parse_member_from_rsvp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Parse a ``MeetupMember`` from the given RSVP response data.
Returns
-------
A ``pythonkc_meetups.types.MeetupMember``. | "Parse a ``MeetupMember`` from the given RSVP response data.\n\n Returns\n -------\n A ``pythonkc_meetups.types.MeetupMember``." | 54 | false | pythonkc/pythonkc-meetups | parse_member_from_rsvp | 27,408 | |
LDU_FT/benjamin-hodgson/asynqp/reject | LDU_FT | [
"<BEGIN>\n## `open_channel`",
"Open a new channel on this connection.",
" This method is a :ref:`coroutine <coroutine>`.",
" :return: The new :class:`Channel` object.\n<END>",
"<BEGIN>\n## `close`",
"Close the connection by handshaking with the server.",
" This method is a :ref:`cor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reject API.
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 reject API.
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 ... | Reject the message.
:keyword bool requeue: if true, the broker will attempt to requeue the
message and deliver it to an alternate consumer. | "Reject the message.\n\n :keyword bool requeue: if true, the broker will attempt to requeue the\n message and deliver it to an alternate consumer." | 95 | false | benjamin-hodgson/asynqp | reject | 27,409 | |
LDU_FT/kata198/AdvancedHTMLParser/getRootNodes | LDU_FT | [
"<BEGIN>\n## `getRootNodes`",
"getRootNodes - Gets all objects at the \"root\" (first level; no parent). Use this if you may have multiple roots (not children of <html>)\n Use this method to get objects, for example, in an AJAX request where <html> may not be your root.",
" Note: I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getRootNodes API.
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 getRootNodes API.
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... | getRootNodes - Gets all objects at the "root" (first level; no parent). Use this if you may have multiple roots (not children of <html>)
Use this method to get objects, for example, in an AJAX request where <html> may not be your root.
Note: If there are multiple root nodes (i.e. no <ht... | "getRootNodes - Gets all objects at the \"root\" (first level; no parent). Use this if you may have multiple roots (not children of <html>)\n Use this method to get objects, for example, in an AJAX request where <html> may not be your root.\n\n Note: If there are multiple root nodes (i.e. ... | 541 | false | kata198/AdvancedHTMLParser | getRootNodes | 27,410 | |
LDU_FT/shinichi-takii/ddlparse/to_bigquery_fields | LDU_FT | [
"<BEGIN>\n## `get_name`",
"Get Name converted case",
" :param name_case: name case type\n * DdlParse.NAME_CASE.original : Return to no convert\n * DdlParse.NAME_CASE.lower : Return to lower\n * DdlParse.NAME_CASE.upper : Return to upper",
" :return: name\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bigquery_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bigquery_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.
Th... | Generate BigQuery JSON fields define
:param name_case: name case type
* DdlParse.NAME_CASE.original : Return to no convert
* DdlParse.NAME_CASE.lower : Return to lower
* DdlParse.NAME_CASE.upper : Return to upper
:return: BigQuery JSON fields define | "Generate BigQuery JSON fields define\n\n :param name_case: name case type\n * DdlParse.NAME_CASE.original : Return to no convert\n * DdlParse.NAME_CASE.lower : Return to lower\n * DdlParse.NAME_CASE.upper : Return to upper\n\n :return: BigQuery JSON fields define" | 19 | false | shinichi-takii/ddlparse | to_bigquery_fields | 27,411 | |
LDU_FT/fermiPy/fermipy/to_ds9 | LDU_FT | [
"<BEGIN>\n## `build_srcdict`",
"Build a dictionary that maps from source name to the value of a source property",
" Parameters\n ----------",
" gta : `fermipy.GTAnalysis`\n The analysis object",
" prop : str\n The name of the property we are mapping",
" Returns\n -------",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_ds9 API.
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_ds9 API.
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 list of ds9 region definitions
Parameters
----------
free: bool
one of the supported ds9 point symbols, used for free sources, see here: http://ds9.si.edu/doc/ref/region.html
fixed: bool
as free but for fixed sources
frame: str
... | "Returns a list of ds9 region definitions\n Parameters\n ----------\n free: bool\n one of the supported ds9 point symbols, used for free sources, see here: http://ds9.si.edu/doc/ref/region.html\n\n fixed: bool\n as free but for fixed sources\n \n frame: st... | 2,597 | true | fermiPy/fermipy | to_ds9 | 27,412 | |
LDU_FT/T-002/pycast/invers | LDU_FT | [
"<BEGIN>\n## `local_error`",
"Calculates the error between the two given values.",
" :param list originalValue: List containing the values of the original data.\n :param list calculatedValue: List containing the values of the calculated TimeSeries that\n corresponds to originalVal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invers API.
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 invers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return the invers matrix, if it can be calculated
:return: Returns a new Matrix containing the invers
:rtype: Matrix
:raise: Raises an :py:exc:`ValueError` if the matrix is not inversible
:note: Only a squared matrix with a determinant != 0 can be inverted.
:to... | "Return the invers matrix, if it can be calculated\n\n :return: Returns a new Matrix containing the invers\n :rtype: Matrix\n\n :raise: Raises an :py:exc:`ValueError` if the matrix is not inversible\n\n :note: Only a squared matrix with a determinant != 0 can be inverted.\n ... | 338 | false | T-002/pycast | invers | 27,413 | |
LDU_FT/dropseed/configyaml/_get_descendants_errors | LDU_FT | [
"<BEGIN>\n## `_key_name`",
"Return the key referring to this object",
" The default value is the lower case version of the class name",
" :rtype: str\n<END>",
"<BEGIN>\n## `_path`",
"Return the dotted path representation of this object",
" :rtype: str\n<END>",
"<BEGIN>\n## `_add_e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_descendants_errors 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_descendants_errors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Recursively get errors from descendants
:rtype: list of :ConfigErrors: | "Recursively get errors from descendants\n\n :rtype: list of :ConfigErrors:" | 20 | false | dropseed/configyaml | _get_descendants_errors | 27,414 | |
LDU_FT/square/pylink/unlock_kinetis_identified | LDU_FT | [
"<BEGIN>\n## `main`",
"Prints the core's information.",
" Args:\n jlink_serial (str): the J-Link serial number\n device (str): the target CPU",
" Returns:\n Always returns ``0``.",
" Raises:\n JLinkException: on error\n<END>",
"<BEGIN>\n## `acquire`",
"Attempts to acquire a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlock_kinetis_identified 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 unlock_kinetis_identified API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Checks whether the given flags are a valid identity.
Args:
identity (Identity): the identity to validate against
flags (register.IDCodeRegisterFlags): the set idcode flags
Returns:
``True`` if the given ``flags`` correctly identify the the debug
interface, otherwise ``False``. | "Checks whether the given flags are a valid identity.\n\n Args:\n identity (Identity): the identity to validate against\n flags (register.IDCodeRegisterFlags): the set idcode flags\n\n Returns:\n ``True`` if the given ``flags`` correctly identify the the debug\n interface, otherwise ``False``.... | 949 | false | square/pylink | unlock_kinetis_identified | 27,415 | |
LDU_FT/RPi-Distro/python-sense-hat/show_letter | LDU_FT | [
"<BEGIN>\n## `_load_text_assets`",
"Internal. Builds a character indexed dictionary of pixels used by the\n show_message function below\n<END>",
"<BEGIN>\n## `_trim_whitespace`",
"Internal. Trims white space pixels from the front and back of loaded\n text characters\n<END>",
"<BEGIN>\n## `_get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_letter API.
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 show_letter API.
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... | Displays a single text character on the LED matrix using the specified
colours | "Displays a single text character on the LED matrix using the specified\n colours" | 75 | false | RPi-Distro/python-sense-hat | show_letter | 27,416 | |
LDU_FT/ryanjdillon/pylleo/fit1d | LDU_FT | [
"<BEGIN>\n## `create_bokeh_server`",
"Start bokeh server with applications paths\n<END>",
"<BEGIN>\n## `get_n_header`",
"Get the nummber of header rows in a Little Leonardo data file",
" Args\n ----\n f : file stream\n File handle for the file from which header rows will be read\n header_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit1d API.
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 fit1d API.
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... | Fit acceleration data at lower and upper boundaries of gravity
Args
----
lower: pandas dataframe
slice of lleo datafram containing points at -1g calibration position
upper: pandas dataframe
slice of lleo datafram containing points at -1g calibration position
Returns
-------
... | "Fit acceleration data at lower and upper boundaries of gravity\n\n Args\n ----\n lower: pandas dataframe\n slice of lleo datafram containing points at -1g calibration position\n upper: pandas dataframe\n slice of lleo datafram containing points at -1g calibration position\n\n Returns\n ... | 60 | false | ryanjdillon/pylleo | fit1d | 27,417 | |
LDU_FT/p3trus/slave/scan_temperature_old | LDU_FT | [
"<BEGIN>\n## `_typelist`",
"Helper function converting all items of x to instances.\n<END>",
"<BEGIN>\n## `write`",
"Generates and sends a command message unit.",
" :param transport: An object implementing the `.Transport` interface.\n It is used by the protocol to send the message.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_temperature_old 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 scan_temperature_old API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Performs a temperature scan.
Measures until the target temperature is reached.
:param measure: A callable called repeatedly until stability at target
temperature is reached.
:param temperature: The target temperature in kelvin.
:param rate: The sweep rate in kelvin per minu... | "Performs a temperature scan.\n\n Measures until the target temperature is reached.\n\n :param measure: A callable called repeatedly until stability at target\n temperature is reached.\n :param temperature: The target temperature in kelvin.\n :param rate: The sweep rate in kelvin ... | 189 | false | p3trus/slave | scan_temperature_old | 27,418 | |
LDU_FT/eerimoq/bincopy/add_ihex_file | LDU_FT | [
"<BEGIN>\n## `crc_srec`",
"Calculate the CRC for given Motorola S-Record hexstring.\n<END>",
"<BEGIN>\n## `crc_ihex`",
"Calculate the CRC for given Intel HEX hexstring.\n<END>",
"<BEGIN>\n## `pack_srec`",
"Create a Motorola S-Record record of given data.\n<END>",
"<BEGIN>\n## `unpack_srec`",
"Unpack g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ihex_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ihex_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 ext... | Open given Intel HEX file and add its records. Set `overwrite` to
``True`` to allow already added data to be overwritten. | "Open given Intel HEX file and add its records. Set `overwrite` to\n ``True`` to allow already added data to be overwritten." | 88 | false | eerimoq/bincopy | add_ihex_file | 27,419 | |
LDU_FT/adamzap/landslide/get_js | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses and renders a text as HTML regarding current format.\n<END>",
"<BEGIN>\n## `descape`",
"Decodes html entities from a given string\n<END>",
"<BEGIN>\n## `get_path_url`",
"Returns an absolute or relative path url given a path\n<END>",
"<BEGIN>\n## `html_parts`",
"Given an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_js API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_js API.
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 ... | Fetches and returns javascript file path or contents, depending if
we want a standalone presentation or not. | "Fetches and returns javascript file path or contents, depending if\n we want a standalone presentation or not." | 49 | false | adamzap/landslide | get_js | 27,420 | |
LDU_FT/B2W-BIT/aiologger/error | LDU_FT | [
"<BEGIN>\n## `format`",
"Formats a record and serializes it as a JSON str. If record message isnt\n already a dict, initializes a new dict and uses `default_msg_fieldname`\n as a key as the record msg as the value.\n<END>",
"<BEGIN>\n## `formatter_fields_for_record`",
":type record: aiologger.lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API.
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 error API.
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... | Log msg with severity 'ERROR'.
To pass exception information, use the keyword argument exc_info with
a true value, e.g.
await logger.error("Houston, we have a major problem", exc_info=1) | "Log msg with severity 'ERROR'.\n\n To pass exception information, use the keyword argument exc_info with\n a true value, e.g.\n\n await logger.error(\"Houston, we have a major problem\", exc_info=1)" | 69 | false | B2W-BIT/aiologger | error | 27,421 | |
LDU_FT/lablup/backend.ai-common/login | LDU_FT | [
"<BEGIN>\n## `env_info`",
"Returns a string that contains the Python version and runtime path.\n<END>",
"<BEGIN>\n## `dict2kvlist`",
"Serializes a dict-like object into a generator of the flatten list of\n repeating key-value pairs. It is useful when using HMSET method in Redis.",
" Example:\n >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
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 login API.
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... | Authorize to the docker registry using the given credentials and token scope, and returns a set
of required aiohttp.ClientSession.request() keyword arguments for further API requests.
Some registry servers only rely on HTTP Basic Authentication without token-based access controls
(usually via nginx proxy).... | "Authorize to the docker registry using the given credentials and token scope, and returns a set\n of required aiohttp.ClientSession.request() keyword arguments for further API requests.\n\n Some registry servers only rely on HTTP Basic Authentication without token-based access controls\n (usually via nginx pr... | 25 | false | lablup/backend.ai-common | login | 27,422 | |
LDU_FT/gforcada/haproxy_log_analysis/cmd_http_methods | LDU_FT | [
"<BEGIN>\n## `filter_ip_range`",
"Filter :class:`.Line` objects by IP range.",
" Both *192.168.1.203* and *192.168.1.10* are valid if the provided ip\n range is ``192.168.1`` whereas *192.168.2.103* is not valid (note the\n *.2.*).",
" :param ip_range: IP range that you want to filter to.\n :ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_http_methods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_http_methods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Reports a breakdown of how many requests have been made per HTTP
method (GET, POST...). | "Reports a breakdown of how many requests have been made per HTTP\n method (GET, POST...)." | 71 | false | gforcada/haproxy_log_analysis | cmd_http_methods | 27,423 | |
LDU_FT/ftao/python-ifcfg/alter | LDU_FT | [
"<BEGIN>\n## `get_parser_class`",
"Returns the parser according to the system platform\n<END>",
"<BEGIN>\n## `default_interface`",
"Return just the default interface device dictionary.",
" :param ifconfig: For mocking actual command output\n :param route_output: For mocking actual command output\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alter API.
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 alter API.
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... | Used to provide the ability to alter the interfaces dictionary before
it is returned from self.parse().
Required Arguments:
interfaces
The interfaces dictionary.
Returns: interfaces dict | "Used to provide the ability to alter the interfaces dictionary before\n it is returned from self.parse().\n\n Required Arguments:\n\n interfaces\n The interfaces dictionary.\n\n Returns: interfaces dict" | 16 | false | ftao/python-ifcfg | alter | 27,424 | |
LDU_FT/adaptive-learning/proso-apps/show_more | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_more API.
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 show_more API.
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... | Return list of objects of the given type.
GET parameters:
limit:
number of returned objects (default 10, maximum 100)
page:
current page number
filter_column:
column name used to filter the results
filter_value:
value for the specified column used to filter t... | "Return list of objects of the given type.\n\n GET parameters:\n limit:\n number of returned objects (default 10, maximum 100)\n page:\n current page number\n filter_column:\n column name used to filter the results\n filter_value:\n value for the specified column used ... | 276 | false | adaptive-learning/proso-apps | show_more | 27,425 | |
LDU_FT/teepark/greenhouse/local_outgoing_hook | 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 local_outgoing_hook API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_outgoing_hook API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | add a callback to run every time a greenlet is switched away from
:param handler:
the callback function, must be a function taking 2 arguments:
- an integer indicating whether it is being called as an incoming (1)
hook or as an outgoing (2) hook (in this case it will always be 2).
... | "add a callback to run every time a greenlet is switched away from\n\n :param handler:\n the callback function, must be a function taking 2 arguments:\n\n - an integer indicating whether it is being called as an incoming (1)\n hook or as an outgoing (2) hook (in this case it will always be 2).... | 349 | false | teepark/greenhouse | local_outgoing_hook | 27,426 | |
LDU_FT/grycap/RADL/p_contextualize_sentence | LDU_FT | [
"<BEGIN>\n## `parse_radl`",
"Parse a RADL document in JSON.",
" Args.:\n - data(str or list): document to parse.",
" Return(RADL): RADL object.\n<END>",
"<BEGIN>\n## `radlToSimple`",
"Return a list of maps whose values are only other maps or lists.\n<END>",
"<BEGIN>\n## `getValue`",
"Return t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_contextualize_sentence 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 p_contextualize_sentence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | contextualize_sentence : CONTEXTUALIZE LPAREN contextualize_items RPAREN
| CONTEXTUALIZE NUMBER LPAREN contextualize_items RPAREN | "contextualize_sentence : CONTEXTUALIZE LPAREN contextualize_items RPAREN\n | CONTEXTUALIZE NUMBER LPAREN contextualize_items RPAREN" | 121 | false | grycap/RADL | p_contextualize_sentence | 27,427 | |
LDU_FT/PyMLGame/pymlgame/_got_message | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the screens contents in every loop.\n<END>",
"<BEGIN>\n## `render`",
"Send the current screen content to Mate Light.\n<END>",
"<BEGIN>\n## `gameloop`",
"A game loop that circles through the methods.\n<END>",
"<BEGIN>\n## `init`",
"Initialize PyMLGame. This creates a con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _got_message API.
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 _got_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | The controller has send us a message.
:param uid: Unique id of the controller
:param text: Text to display
:type uid: str
:type text: str | "The controller has send us a message.\n\n :param uid: Unique id of the controller\n :param text: Text to display\n :type uid: str\n :type text: str" | 63 | false | PyMLGame/pymlgame | _got_message | 27,428 | |
LDU_FT/LuminosoInsight/wordfreq/lossy_tokenize | LDU_FT | [
"<BEGIN>\n## `simple_tokenize`",
"Tokenize the given text using a straightforward, Unicode-aware token\n expression.",
" The expression mostly implements the rules of Unicode Annex #29 that\n are contained in the `regex` module's word boundary matching, including\n the refinement that splits words b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lossy_tokenize API.
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 lossy_tokenize API.
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... | Get a list of tokens for this text, with largely the same results and
options as `tokenize`, but aggressively normalize some text in a lossy way
that's good for counting word frequencies.
In particular:
- Any sequence of 2 or more adjacent digits, possibly with intervening
punctuation such as a ... | "Get a list of tokens for this text, with largely the same results and\n options as `tokenize`, but aggressively normalize some text in a lossy way\n that's good for counting word frequencies.\n\n In particular:\n\n - Any sequence of 2 or more adjacent digits, possibly with intervening\n punctuation su... | 139 | false | LuminosoInsight/wordfreq | lossy_tokenize | 27,429 | |
LDU_FT/icgood/pymap/matches | LDU_FT | [
"<BEGIN>\n## `for_executor`",
"Return a subsystem based on the given executor. If ``executor`` is\n None, use :mod:`asyncio`. If ``executor`` is a\n :class:`concurrent.futures.ThreadPoolExecutor`, use :mod:`threading`.",
" Args:\n executor: The executor in use, if any.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API.
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 matches API.
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... | The message matches if all the defined search key criteria match.
Args:
msg_seq: The message sequence ID.
msg: The message object. | "The message matches if all the defined search key criteria match.\n\n Args:\n msg_seq: The message sequence ID.\n msg: The message object." | 298 | false | icgood/pymap | matches | 27,430 | |
LDU_FT/willhardy/django-seo/_register_elements | LDU_FT | [
"<BEGIN>\n## `_populate`",
"Populate this list by calling populate(), but only once.\n<END>",
"<BEGIN>\n## `_register_admin`",
"Register model in the admin, ignoring any previously registered models.\n Alternatively it could be used in the future to replace a previously \n registered model.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_elements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_elements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Takes elements from the metadata class and creates a base model for all backend models . | "Takes elements from the metadata class and creates a base model for all backend models ." | 36 | false | willhardy/django-seo | _register_elements | 27,431 | |
LDU_FT/rmorshea/spectate/mute | LDU_FT | [
"<BEGIN>\n## `views`",
"Return a model's views keyed on what events they respond to.",
" Model views are added by calling :func:`view` on a model.\n<END>",
"<BEGIN>\n## `view`",
"A decorator for registering a callback to a model",
" Parameters:\n model: the model object whose changes the call... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mute API.
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 mute API.
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... | Block a model's views from being notified.
All changes within a "mute" context will be blocked. No content is yielded to the
user as in :func:`hold`, and the views of the model are never notified that changes
took place.
Parameters:
mode: The model whose change events will be blocked.
Exa... | "Block a model's views from being notified.\n\n All changes within a \"mute\" context will be blocked. No content is yielded to the\n user as in :func:`hold`, and the views of the model are never notified that changes\n took place.\n\n Parameters:\n mode: The model whose change events will be blocked... | 94 | false | rmorshea/spectate | mute | 27,432 | |
LDU_FT/bigchaindb/bigchaindb/commit | LDU_FT | [
"<BEGIN>\n## `get`",
"API endpoint to retrieve a list of links to transaction\n outputs.",
" Returns:\n A :obj:`list` of :cls:`str` of links to outputs.\n<END>",
"<BEGIN>\n## `run_configure`",
"Run a script to configure the current node.\n<END>",
"<BEGIN>\n## `run_election... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API.
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 commit API.
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 ... | Store the new height and along with block hash. | "Store the new height and along with block hash." | 398 | false | bigchaindb/bigchaindb | commit | 27,433 | |
LDU_FT/Nixiware/viper/addService | LDU_FT | [
"<BEGIN>\n## `send`",
"Sends an email using the SMTP connection.",
" :param recipient: <tuple> recipient's email address as the first element and their name as an optional second\n element\n :param subject: <str> mail subject\n :param message: <str> mail content (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addService API.
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 addService API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Add a service instance to the application service pool.
:param moduleName: <str> module name in which the service is located
:param serviceName: <str> service name
:param service: <object> service instance
:return: <void> | "Add a service instance to the application service pool.\n\n :param moduleName: <str> module name in which the service is located\n :param serviceName: <str> service name\n :param service: <object> service instance\n :return: <void>" | 72 | false | Nixiware/viper | addService | 27,434 | |
LDU_FT/marshmallow-code/marshmallow-jsonapi/inflect | LDU_FT | [
"<BEGIN>\n## `check_relations`",
"Recursive function which checks if a relation is valid.\n<END>",
"<BEGIN>\n## `format_json_api_response`",
"Post-dump hook that formats serialized data as a top-level JSON API object.",
" See: http://jsonapi.org/format/#document-top-level\n<END>",
"<BEGIN>\n## `on_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inflect API.
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 inflect API.
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... | Inflect ``text`` if the ``inflect`` class Meta option is defined, otherwise
do nothing. | "Inflect ``text`` if the ``inflect`` class Meta option is defined, otherwise\n do nothing." | 41 | false | marshmallow-code/marshmallow-jsonapi | inflect | 27,435 | |
LDU_FT/hyperledger/indy-node/_declareTimeoutExceeded | LDU_FT | [
"<BEGIN>\n## `init_domain_ledger`",
"This is usually an implementation of Ledger\n<END>",
"<BEGIN>\n## `update_txn_with_extra_data`",
"All the data of the transaction might not be stored in ledger so the\n extra data that is omitted from ledger needs to be fetched from the\n appropriate data sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _declareTimeoutExceeded 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 _declareTimeoutExceeded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | This function is called when time for restart is up | "This function is called when time for restart is up" | 109 | false | hyperledger/indy-node | _declareTimeoutExceeded | 27,436 | |
LDU_FT/sveetch/boussole/set_settings | LDU_FT | [
"<BEGIN>\n## `clean`",
"Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.",
" Args:\n settings (dict): Loaded settings.",
" Returns:\n dict: Settings object filtered.\n<END>",
"<BEGIN>\n## `set_settings`",
"Set every given settings... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_settings API.
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_settings API.
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... | Set every given settings as object attributes.
Args:
settings (dict): Dictionnary of settings. | "Set every given settings as object attributes.\n\n Args:\n settings (dict): Dictionnary of settings." | 289 | false | sveetch/boussole | set_settings | 27,437 | |
LDU_FT/phn/lineid_plot/initial_annotate_kwargs | LDU_FT | [
"<BEGIN>\n## `color_text_boxes`",
"Color text boxes.",
" Instead of this function, one can pass annotate_kwargs and plot_kwargs to\n plot_line_ids function.\n<END>",
"<BEGIN>\n## `color_lines`",
"Color lines.",
" Instead of this function, one can pass annotate_kwargs and plot_kwargs to\n plot_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initial_annotate_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initial_annotate_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return default parameters passed to Axes.annotate to create labels. | "Return default parameters passed to Axes.annotate to create labels." | 44 | false | phn/lineid_plot | initial_annotate_kwargs | 27,438 | |
LDU_FT/contentful/contentful.py/_get | LDU_FT | [
"<BEGIN>\n## `incoming_references`",
"Fetches all entries referencing the entry",
" API Reference: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-asset",
" :param client Client instance\n :param query: (optional) Dict with... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Wrapper for the HTTP Request,
Rate Limit Backoff is handled here,
Responses are Processed with ResourceBuilder. | "Wrapper for the HTTP Request,\n Rate Limit Backoff is handled here,\n Responses are Processed with ResourceBuilder." | 71 | false | contentful/contentful.py | _get | 27,439 | |
LDU_FT/storax/jinjaapidoc/create_package_file | LDU_FT | [
"<BEGIN>\n## `prepare_dir`",
"Create apidoc dir, delete contents if delete is True.",
" :param app: the sphinx app\n :type app: :class:`sphinx.application.Sphinx`\n :param directory: the apidoc directory. you can use relative paths here\n :type directory: str\n :param delete: if True, deletes the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_package_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_package_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.
T... | Build the text of the file and write the file.
:param app: the sphinx app
:type app: :class:`sphinx.application.Sphinx`
:param env: the jinja environment for the templates
:type env: :class:`jinja2.Environment`
:param root_package: the parent package
:type root_package: :class:`str`
:param ... | "Build the text of the file and write the file.\n\n :param app: the sphinx app\n :type app: :class:`sphinx.application.Sphinx`\n :param env: the jinja environment for the templates\n :type env: :class:`jinja2.Environment`\n :param root_package: the parent package\n :type root_package: :class:`str`\n ... | 58 | false | storax/jinjaapidoc | create_package_file | 27,440 | |
LDU_FT/python-visualization/folium/warn_for_geometry_collections | LDU_FT | [
"<BEGIN>\n## `_get_self_bounds`",
"Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]].\n<END>",
"<BEGIN>\n## `path_options`",
"Contains options and constants shared between vector overlays\n (Polygon, Polyline, Circle, Circle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warn_for_geometry_collections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warn_for_geometry_collections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Checks for GeoJson GeometryCollection features to warn user about incompatibility. | "Checks for GeoJson GeometryCollection features to warn user about incompatibility." | 111 | false | python-visualization/folium | warn_for_geometry_collections | 27,441 | |
LDU_FT/vmirly/pyclust/_update_centers | LDU_FT | [
"<BEGIN>\n## `_update_centers`",
"Update Cluster Centers:\n calculate the mean of feature vectors for each cluster.",
" distance can be a string or callable.\n<END>",
"<BEGIN>\n## `_kmedoids_run`",
"Run a single trial of k-medoids clustering\n on dataset X, and given number of cluste... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_centers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_centers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Update Cluster Centers:
calculate the mean of feature vectors for each cluster.
distance can be a string or callable. | "Update Cluster Centers:\n calculate the mean of feature vectors for each cluster.\n\n distance can be a string or callable." | 47 | false | vmirly/pyclust | _update_centers | 27,442 | |
LDU_FT/facelessuser/backrefs/compile | LDU_FT | [
"<BEGIN>\n## `download_unicodedata`",
"Download Unicode data scripts and blocks.\n<END>",
"<BEGIN>\n## `get_unicodedata`",
"Ensure we have Unicode data to generate Unicode tables.\n<END>",
"<BEGIN>\n## `posix_props`",
"Insert POSIX properties.",
" Posix style properties are not as forgiving\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API.
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 compile API.
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... | Compile both the search or search and replace into one object. | "Compile both the search or search and replace into one object." | 75 | false | facelessuser/backrefs | compile | 27,443 | |
LDU_FT/MartijnBraam/pyElectronics/switch_mode | LDU_FT | [
"<BEGIN>\n## `read`",
"Read the pin state of an input pin.\n Make sure you put the pin in input modus with the IODIR* register or direction_* attribute first.",
" :Example:",
" >>> expander = MCP23017I2C(gw)\n >>> # Read the logic level on pin B3\n >>> expander.read('B3')\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the switch_mode API.
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 switch_mode API.
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... | Explicitly switch the Bus Pirate mode
:param new_mode: The mode to switch to. Use the buspirate.MODE_* constants | "Explicitly switch the Bus Pirate mode\n\n :param new_mode: The mode to switch to. Use the buspirate.MODE_* constants" | 88 | false | MartijnBraam/pyElectronics | switch_mode | 27,444 | |
LDU_FT/zlobspb/txtarantool/update_ret | LDU_FT | [
"<BEGIN>\n## `pack_int_base128`",
"Pack integer value using LEB128 encoding\n :param value: integer value to encode\n :type value: int",
" :return: encoded value\n :rtype: bytes\n<END>",
"<BEGIN>\n## `pack_str`",
"Pack string field\n <field> ::= <int32_varint><data>",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_ret API.
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 update_ret API.
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... | send update command(s), updated tuple(s) is(are) sent back | "send update command(s), updated tuple(s) is(are) sent back" | 43 | false | zlobspb/txtarantool | update_ret | 27,445 | |
LDU_FT/openvax/topiary/predict_from_named_sequences | LDU_FT | [
"<BEGIN>\n## `transcript_sort_key`",
"Key function used to sort transcripts. Taking the negative of\n protein sequence length and nucleotide sequence length so that\n the transcripts with longest sequences come first in the list. This couldn't\n be accomplished with `reverse=True` since we're also sortin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_from_named_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_from_named_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Parameters
----------
name_to_sequence_dict : (str->str) dict
Dictionary mapping sequence names to amino acid sequences
Returns pandas.DataFrame with the following columns:
- source_sequence_name
- peptide
- peptide_offset
- peptide_le... | "Parameters\n ----------\n name_to_sequence_dict : (str->str) dict\n Dictionary mapping sequence names to amino acid sequences\n\n Returns pandas.DataFrame with the following columns:\n - source_sequence_name\n - peptide\n - peptide_offset\n - ... | 91 | false | openvax/topiary | predict_from_named_sequences | 27,446 | |
LDU_FT/langloisjp/pysvcmetrics/format | LDU_FT | [
"<BEGIN>\n## `timeit`",
"Time execution of function. Returns (res, seconds).",
" >>> res, timing = timeit(time.sleep, 1)\n<END>",
"<BEGIN>\n## `timing`",
"Log timing information",
" >>> client = StatsdClient()\n >>> client.timing('example.timing', 500)\n >>> client.timing(('example... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format API.
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 format API.
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 ... | General format function.
>>> StatsdClient.format("example.format", 2, "T")
{'example.format': '2|T'}
>>> StatsdClient.format(("example.format31", "example.format37"), "2",
... "T")
{'example.format31': '2|T', 'example.format37': '2|T'}
>>> StatsdClient.format("example.fo... | "General format function.\n\n >>> StatsdClient.format(\"example.format\", 2, \"T\")\n {'example.format': '2|T'}\n >>> StatsdClient.format((\"example.format31\", \"example.format37\"), \"2\",\n ... \"T\")\n {'example.format31': '2|T', 'example.format37': '2|T'}\n >>> StatsdClien... | 40 | false | langloisjp/pysvcmetrics | format | 27,447 | |
LDU_FT/sorgerlab/indra/get_abstract | LDU_FT | [
"<BEGIN>\n## `group_and_sort_statements`",
"Group statements by type and arguments, and sort by prevalence.",
" Parameters\n ----------\n stmt_list : list[Statement]\n A list of INDRA statements.\n ev_totals : dict{int: int}\n A dictionary, keyed by statement hash (shallow) with counts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_abstract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_abstract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get the abstract of an article in the Pubmed database. | "Get the abstract of an article in the Pubmed database." | 2,493 | true | sorgerlab/indra | get_abstract | 27,448 | |
LDU_FT/tilezen/tilequeue/diff_encode | LDU_FT | [
"<BEGIN>\n## `merge`",
"Retrieve a list of OSciMap4 tile responses and merge them into one.",
" get_tiles() retrieves data and performs basic integrity checks.\n<END>",
"<BEGIN>\n## `_make_valid_if_necessary`",
"attempt to correct invalid shapes if necessary",
" After simplification, even when p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_encode API.
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 diff_encode API.
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... | Differentially encode a shapely linestring or ring. | "Differentially encode a shapely linestring or ring." | 135 | false | tilezen/tilequeue | diff_encode | 27,449 | |
LDU_FT/perrygeo/pyimpute/load_targets | LDU_FT | [
"<BEGIN>\n## `load_training_vector`",
"Parameters\n ----------\n response_shapes : Source of vector features for raster_stats;\n can be OGR file path or iterable of geojson-like features\n response_field : Field name containing the known response category (must be numeric)\n expla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_targets API.
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 load_targets API.
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... | Parameters
----------
explanatory_rasters : List of Paths to GDAL rasters containing explanatory variables
Returns
-------
expl : Array of explanatory variables
raster_info : dict of raster info | "Parameters\n ----------\n explanatory_rasters : List of Paths to GDAL rasters containing explanatory variables\n\n Returns\n -------\n expl : Array of explanatory variables\n raster_info : dict of raster info" | 17 | false | perrygeo/pyimpute | load_targets | 27,450 | |
LDU_FT/sci-bots/mpm/on_plugin_install | LDU_FT | [
"<BEGIN>\n## `update_plugin_dialog`",
"Launch dialog to track status of update of specified plugin package.",
" .. versionadded:: 0.19",
" .. versionchanged:: 0.20\n Add support for updating multiple packages (update all **installed**\n plugins by default).",
" Add :data:`update_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_plugin_install API.
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 on_plugin_install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Run ``on_plugin_install`` script for specified plugin directory (if
available).
**TODO** Add support for Linux, OSX.
Parameters
----------
plugin_directory : str
File system to plugin directory.
ostream :file-like
Output stream for status messages (default: ``sys.stdout``). | "Run ``on_plugin_install`` script for specified plugin directory (if\n available).\n\n **TODO** Add support for Linux, OSX.\n\n Parameters\n ----------\n plugin_directory : str\n File system to plugin directory.\n ostream :file-like\n Output stream for status messages (default: ``sys.std... | 181 | false | sci-bots/mpm | on_plugin_install | 27,451 | |
LDU_FT/Metatab/geoid/augment | LDU_FT | [
"<BEGIN>\n## `base62_decode`",
"Decode a Base X encoded string into the number",
" Arguments:\n - `string`: The encoded string\n - `alphabet`: The alphabet to use for encoding\n Stolen from: http://stackoverflow.com/a/1119769/1144479\n<END>",
"<BEGIN>\n## `augment`",
"Call the augment() method f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the augment API.
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 augment API.
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... | Call the augment() method for all of the derived classes in the module | "Call the augment() method for all of the derived classes in the module" | 40 | false | Metatab/geoid | augment | 27,452 | |
LDU_FT/supercoderz/pyflightdata/get_airport_metars | LDU_FT | [
"<BEGIN>\n## `get_history_by_flight_number`",
"Fetch the history of a flight by its number.",
" This method can be used to get the history of a flight route by the number.\n It checks the user authentication and returns the data accordingly.",
" Args:\n flight_number (str): The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_airport_metars 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_airport_metars 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... | Retrieve the metar data at the current time
Given the IATA code of an airport, this method returns the metar information.
Args:
iata (str): The IATA code for an airport, e.g. HYD
page (int): Optional page number; for users who are on a plan with flightradar24 they can pass in h... | "Retrieve the metar data at the current time\n\n Given the IATA code of an airport, this method returns the metar information.\n\n Args:\n iata (str): The IATA code for an airport, e.g. HYD\n page (int): Optional page number; for users who are on a plan with flightradar24 they can pa... | 99 | false | supercoderz/pyflightdata | get_airport_metars | 27,453 | |
LDU_FT/BYU-Hydroinformatics/HydroErr/watt_m | LDU_FT | [
"<BEGIN>\n## `me`",
"Compute the mean error of the simulated and observed data.",
" .. image:: /pictures/ME.png",
" **Range:** -inf < MAE < inf, data units, closer to zero is better, indicates bias.",
" **Notes:** The mean error (ME) measures the difference between the simulated data and the\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watt_m API.
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 watt_m API.
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 ... | Compute Watterson's M (M).
.. image:: /pictures/M.png
**Range:** -1 ≤ M < 1, does not indicate bias, larger is better.
**Notes:**
Parameters
----------
simulated_array: one dimensional ndarray
An array of simulated data from the time series.
observed_array: one dimensional ndarr... | "Compute Watterson's M (M).\n\n .. image:: /pictures/M.png\n\n **Range:** -1 ≤ M < 1, does not indicate bias, larger is better.\n\n **Notes:**\n\n Parameters\n ----------\n simulated_array: one dimensional ndarray\n An array of simulated data from the time series.\n\n observed_array: one dim... | 343 | false | BYU-Hydroinformatics/HydroErr | watt_m | 27,454 | |
LDU_FT/PyAr/fades/_decide | LDU_FT | [
"<BEGIN>\n## `consolidate_dependencies`",
"Parse files, get deps and merge them. Deps read later overwrite those read earlier.\n<END>",
"<BEGIN>\n## `decide_child_program`",
"Decide which the child program really is (if any).\n<END>",
"<BEGIN>\n## `detect_inside_virtualenv`",
"Tell if fades is running ins... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decide API.
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 _decide API.
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... | Find out which method should be applied to download that URL. | "Find out which method should be applied to download that URL." | 85 | false | PyAr/fades | _decide | 27,455 | |
LDU_FT/Aula13/poloniex/returnOrderBook | LDU_FT | [
"<BEGIN>\n## `clear`",
"Release the semaphore of all of its bounds, setting the internal\n counter back to its original bind limit. Notify an equivalent amount\n of threads that they can run.\n<END>",
"<BEGIN>\n## `_api_wrapper`",
"API function decorator that performs rate limiting and error che... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the returnOrderBook API.
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 returnOrderBook API.
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 order book for a given market, as well as a sequence
number for use with the Push API and an indicator specifying whether
the market is frozen. You may set currencyPair to "all" to get the
order books of all markets. | "Returns the order book for a given market, as well as a sequence\n number for use with the Push API and an indicator specifying whether\n the market is frozen. You may set currencyPair to \"all\" to get the\n order books of all markets." | 37 | false | Aula13/poloniex | returnOrderBook | 27,456 | |
LDU_FT/jcrobak/parquet-python/read_plain_int64 | LDU_FT | [
"<BEGIN>\n## `_get_footer_size`",
"Read the footer size in bytes, which is serialized as little endian.\n<END>",
"<BEGIN>\n## `_read_footer`",
"Read the footer from the given file object and returns a FileMetaData object.",
" This method assumes that the fo references a valid parquet file.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_plain_int64 API.
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 read_plain_int64 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Read `count` 64-bit ints using the plain encoding. | "Read `count` 64-bit ints using the plain encoding." | 71 | false | jcrobak/parquet-python | read_plain_int64 | 27,457 | |
LDU_FT/gkmngrgn/radpress/radpress_get_markup_descriptions | LDU_FT | [
"<BEGIN>\n## `get_markup_choices`",
"Receives available markup options as list.\n<END>",
"<BEGIN>\n## `read`",
"Parse content and metadata of markdown files\n<END>",
"<BEGIN>\n## `get_user_model`",
"Returns the user model to use at runtime.\n :return: User or custom user\n<END>",
"<BEGIN>\n## `has_ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the radpress_get_markup_descriptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the radpress_get_markup_descriptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Provides markup options. It used for adding descriptions in admin and
zen mode.
:return: list | "Provides markup options. It used for adding descriptions in admin and\n zen mode.\n\n :return: list" | 11 | false | gkmngrgn/radpress | radpress_get_markup_descriptions | 27,458 | |
LDU_FT/ithaka/apiron/get_adapted_session | LDU_FT | [
"<BEGIN>\n## `build_url`",
"Builds a valid URL from a host and path which may or may not have slashes in the proper place.\n Does not conform to `IETF RFC 1808 <https://tools.ietf.org/html/rfc1808.html>`_ but instead joins the host and path as given.\n Does not append any additional slashes to the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_adapted_session API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_adapted_session 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... | Mounts an adapter capable of communication over HTTP or HTTPS to the supplied session.
:param adapter:
A :class:`requests.adapters.HTTPAdapter` instance
:return:
The adapted :class:`requests.Session` instance | "Mounts an adapter capable of communication over HTTP or HTTPS to the supplied session.\n\n :param adapter:\n A :class:`requests.adapters.HTTPAdapter` instance\n :return:\n The adapted :class:`requests.Session` instance" | 25 | false | ithaka/apiron | get_adapted_session | 27,459 | |
LDU_FT/sio2project/filetracker/put_file | LDU_FT | [
"<BEGIN>\n## `get_file`",
"Retrieves file identified by ``name``.",
" The file is saved as ``save_to``. If ``add_to_cache`` is ``True``,\n the file is added to the local store. If ``force_refresh`` is\n ``True``, local cache is not examined if a remote store is\n configur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Adds file ``filename`` to the filetracker under the name ``name``.
If the file already exists, a new version is created. In practice
if the store does not support versioning, the file is overwritten.
The file may be added to local store only (if ``to_remote_store`` is
``Fal... | "Adds file ``filename`` to the filetracker under the name ``name``.\n\n If the file already exists, a new version is created. In practice\n if the store does not support versioning, the file is overwritten.\n\n The file may be added to local store only (if ``to_remote_store`` is\n ... | 84 | false | sio2project/filetracker | put_file | 27,460 | |
LDU_FT/stephrdev/django-formwizard/get_form | LDU_FT | [
"<BEGIN>\n## `as_view`",
"This method is used within urls.py to create unique formwizard\n instances for every request. We need to override this method because\n we add some kwargs which are needed to make the formwizard usable.\n<END>",
"<BEGIN>\n## `get_initkwargs`",
"Creates a dict with all n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form API.
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_form API.
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... | Constructs the form for a given `step`. If no `step` is defined, the
current step will be determined automatically.
The form will be initialized using the `data` argument to prefill the
new form. If needed, instance or queryset (for `ModelForm` or
`ModelFormSet`) will be added too. | "Constructs the form for a given `step`. If no `step` is defined, the\n current step will be determined automatically.\n\n The form will be initialized using the `data` argument to prefill the\n new form. If needed, instance or queryset (for `ModelForm` or\n `ModelFormSet`) will be added too... | 60 | false | stephrdev/django-formwizard | get_form | 27,461 | |
LDU_FT/keenlabs/KeenClient-Python/query | LDU_FT | [
"<BEGIN>\n## `_initialize_client_from_environment`",
"Initialize a KeenClient instance using environment variables.\n<END>",
"<BEGIN>\n## `add_event`",
"Adds an event.",
" Depending on the persistence strategy of the client,\n this will either result in the event being uploaded to Keen\n immediatel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Performs a query using the Keen IO analysis API. A read key must be set first. | "Performs a query using the Keen IO analysis API. A read key must be set first." | 177 | false | keenlabs/KeenClient-Python | query | 27,462 | |
LDU_FT/BYU-Hydroinformatics/HydroErr/drel | LDU_FT | [
"<BEGIN>\n## `me`",
"Compute the mean error of the simulated and observed data.",
" .. image:: /pictures/ME.png",
" **Range:** -inf < MAE < inf, data units, closer to zero is better, indicates bias.",
" **Notes:** The mean error (ME) measures the difference between the simulated data and the\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drel API.
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 drel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Compute the the relative index of agreement (drel).
.. image:: /pictures/drel.png
**Range:** 0 ≤ drel < 1, does not indicate bias, larger is better.
**Notes:** Instead of absolute differences, this metric uses relative differences.
Parameters
----------
simulated_array: one dimensional ndarr... | "Compute the the relative index of agreement (drel).\n\n .. image:: /pictures/drel.png\n\n **Range:** 0 ≤ drel < 1, does not indicate bias, larger is better.\n\n **Notes:** Instead of absolute differences, this metric uses relative differences.\n\n Parameters\n ----------\n simulated_array: one dimens... | 343 | false | BYU-Hydroinformatics/HydroErr | drel | 27,463 | |
LDU_FT/Scoppio/RagnarokEngine3/y_rotate | LDU_FT | [
"<BEGIN>\n## `set_default_pos`",
"Set the default starting location of our character.\n<END>",
"<BEGIN>\n## `__generate_location`",
"Reset the location of the cloud once it has left the viewable area of the screen.\n<END>",
"<BEGIN>\n## `load_character`",
"Create an instance of the main character and retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the y_rotate API.
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 y_rotate API.
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 matrix that rotates around the y axis. | "Create a matrix that rotates around the y axis." | 165 | false | Scoppio/RagnarokEngine3 | y_rotate | 27,464 | |
LDU_FT/JoeVirtual/KonFoo/as_signed | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Returns the selected field *attributes* for each :class:`Field` *nested*\n in the `Container` as a JSON formatted string.",
" The *attributes* of each :class:`Field` for containers *nested* in the\n `Container` are viewed as well (chained method call).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_signed API.
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 as_signed API.
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 field *value* of the `Decimal` field as a signed integer. | "Returns the field *value* of the `Decimal` field as a signed integer." | 233 | false | JoeVirtual/KonFoo | as_signed | 27,465 | |
LDU_FT/ZELLMECHANIK-DRESDEN/dclab/add_px_err | LDU_FT | [
"<BEGIN>\n## `tdms2rtdc`",
"Convert .tdms datasets to the hdf5-based .rtdc file format\n<END>",
"<BEGIN>\n## `load_from_file`",
"Load the configuration from a file",
" Parameters\n ----------\n cfg_file: str\n Path to configuration file",
" Returns\n -------\n cfg : CaseInsensitiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_px_err API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_px_err API.
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... | Undo pixelation correction
Isoelasticity lines are already corrected for pixelation
effects as described in
Mapping of Deformation to Apparent Young's Modulus
in Real-Time Deformability Cytometry
Christoph Herold, arXiv:1704.00572 [cond-mat.soft] (2017)
https://arxiv.or... | "Undo pixelation correction\n\n Isoelasticity lines are already corrected for pixelation\n effects as described in\n\n Mapping of Deformation to Apparent Young's Modulus\n in Real-Time Deformability Cytometry\n Christoph Herold, arXiv:1704.00572 [cond-mat.soft] (2017)\n https:/... | 433 | false | ZELLMECHANIK-DRESDEN/dclab | add_px_err | 27,466 | |
LDU_FT/pdkit/pdkit/fft_signal | LDU_FT | [
"<BEGIN>\n## `load`",
"This is a general load data method where the format of data to load can be passed as a parameter,",
" :param str filename: The path to load data from\n :param str format_file: format of the file. Default is CloudUPDRS. Set to mpower for mpower data.\n :ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fft_signal API.
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 fft_signal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | This method perform Fast Fourier Transform on the data frame using a \
`hanning window <https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.signal.hann.html>`_
:param data_frame: the data frame
:type data_frame: pandas.DataFrame
:return: data frame with a '... | "This method perform Fast Fourier Transform on the data frame using a \\\n `hanning window <https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.signal.hann.html>`_\n\n :param data_frame: the data frame\n :type data_frame: pandas.DataFrame\n :return: data frame w... | 344 | false | pdkit/pdkit | fft_signal | 27,467 | |
LDU_FT/pip-services3-python/pip-services3-commons-python/get_as_nullable_type | LDU_FT | [
"<BEGIN>\n## `equals_as`",
"Compares this object value to specified specified value.\n When direct comparison gives negative results it converts\n values to type specified by type code and compare them again.",
" :param value_type: the Typecode type that defined the type of the result",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_nullable_type 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_as_nullable_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Converts array element into a value defined by specied typecode.
If conversion is not possible it returns None.
:param index: an index of element to get.
:param value_type: the TypeCode that defined the type of the result
:return: element value defined by the typecode or None if conve... | "Converts array element into a value defined by specied typecode.\n If conversion is not possible it returns None.\n\n :param index: an index of element to get.\n\n :param value_type: the TypeCode that defined the type of the result\n\n :return: element value defined by the typecode or None ... | 811 | false | pip-services3-python/pip-services3-commons-python | get_as_nullable_type | 27,468 | |
LDU_FT/thriftrw/thriftrw-python/link | LDU_FT | [
"<BEGIN>\n## `add_include`",
"Adds a module as an included module.",
" :param name:\n Name under which the included module should be exposed in the\n current module.\n :param module_spec:\n ModuleSpec of the included module.\n<END>",
"<BEGIN>\n## `link`",
"Link... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Resolve and link all types in the scope. | "Resolve and link all types in the scope." | 135 | false | thriftrw/thriftrw-python | link | 27,469 | |
LDU_FT/dnanexus/dx-toolkit/workflow_dry_run | LDU_FT | [
"<BEGIN>\n## `load_app_resource`",
":param kwargs: keyword args for :func:`~dxpy.bindings.search.find_one_data_object`, with the exception of \"project\"\n :raises: :exc:`~dxpy.exceptions.DXError` if \"project\" is given, if this is called with dxpy.JOB_ID not set, or if \"DX_RESOURCES_ID\" or \"DX_PROJECT_CON... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the workflow_dry_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the workflow_dry_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 ... | Invokes the /workflow-xxxx/dryRun API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun | "Invokes the /workflow-xxxx/dryRun API method.\n\n For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun" | 1,430 | true | dnanexus/dx-toolkit | workflow_dry_run | 27,470 | |
LDU_FT/olitheolix/qtmacs/enableHook | LDU_FT | [
"<BEGIN>\n## `qteSaveMacroData`",
"Associate arbitrary ``data`` with ``widgetObj``.",
" This is a convenience method to easily store applet/widget\n specific information in between calls.",
" If ``widgetObj`` is **None** then the calling widget\n ``self.qteWidget`` will be used.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enableHook API.
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 enableHook API.
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... | Enable yank-pop.
This method is connected to the 'yank-qtmacs_text_edit' hook
(triggered by the yank macro) to ensure that yank-pop only
gets activated afterwards. | "Enable yank-pop.\n\n This method is connected to the 'yank-qtmacs_text_edit' hook\n (triggered by the yank macro) to ensure that yank-pop only\n gets activated afterwards." | 1,108 | true | olitheolix/qtmacs | enableHook | 27,471 | |
LDU_FT/instana/python-sensor/handle_agent_tasks | LDU_FT | [
"<BEGIN>\n## `run`",
"Span a background thread to periodically report queued spans\n<END>",
"<BEGIN>\n## `record_span`",
"Convert the passed BasicSpan into an JsonSpan and\n add it to the span queue\n<END>",
"<BEGIN>\n## `build_registered_span`",
"Takes a BasicSpan and converts it into a registered... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_agent_tasks 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 handle_agent_tasks 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... | When request(s) are received by the host agent, it is sent here
for handling & processing. | "When request(s) are received by the host agent, it is sent here\n for handling & processing." | 76 | false | instana/python-sensor | handle_agent_tasks | 27,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.