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/pahaz/sshtunnel/_bindlist | LDU_FT | [
"<BEGIN>\n## `check_address`",
"Check if the format of the address is correct",
" Arguments:\n address (tuple):\n (``str``, ``int``) representing an IP address and port,\n respectively",
" .. note::\n alternatively a local ``address`` can be a ``str`` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bindlist API.
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 _bindlist API.
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... | Define type of data expected for remote and local bind address lists
Returns a tuple (ip_address, port) whose elements are (str, int) | "Define type of data expected for remote and local bind address lists\n Returns a tuple (ip_address, port) whose elements are (str, int)" | 96 | false | pahaz/sshtunnel | _bindlist | 16,373 | |
LDU_FT/getsentry/sentry-plugins/__apply_mask | LDU_FT | [
"<BEGIN>\n## `validate_config`",
"```\n if config['foo'] and not config['bar']:\n raise PluginError('You cannot configure foo with bar')\n return config\n ```\n<END>",
"<BEGIN>\n## `build_dynamic_field`",
"Builds a field based on JIRA's meta field information\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __apply_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.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __apply_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.
The extr... | Perform a bitwise AND operation on all corresponding bytes between the
mask and the provided address. Mask parts set to 0 will become 0 in the
anonymized IP address as well
:param bytes address_packed: Binary representation of the IP address to
be anonymized
:param bytes mask_packed: Binary represen... | "Perform a bitwise AND operation on all corresponding bytes between the\n mask and the provided address. Mask parts set to 0 will become 0 in the\n anonymized IP address as well\n :param bytes address_packed: Binary representation of the IP address to\n be anonymized\n :param bytes mask_packed: Binary re... | 14 | false | getsentry/sentry-plugins | __apply_mask | 16,374 | |
LDU_FT/mingchen/django-cas-ng/permission_required | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Replacement for django.contrib.auth.decorators.permission_required that\n returns 403 Forbidden if the user is already logged in.\n<END>",
"<BEGIN>\n## `authenticate`",
"Verifies CAS ticket and gets or creates User object\n<END>",
"<BEGIN>\n## `get_user_id`",
"For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permission_required API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permission_required API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Replacement for django.contrib.auth.decorators.permission_required that
returns 403 Forbidden if the user is already logged in. | "Replacement for django.contrib.auth.decorators.permission_required that\n returns 403 Forbidden if the user is already logged in." | 25 | false | mingchen/django-cas-ng | permission_required | 16,375 | |
LDU_FT/dahlia/wikidata/image_url | LDU_FT | [
"<BEGIN>\n## `page_url`",
"(:class:`str`) The canonical url of the page.\n<END>",
"<BEGIN>\n## `image_url`",
"r\"\"\"(:class:`~typing.Optional`\\ [:class:`str`]) The image url.\n It may be :const:`None` if it's not an image.\n<END>",
"<BEGIN>\n## `image_resolution`",
"r\"\"\"(:class:`~typing.Option... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | r"""(:class:`~typing.Optional`\ [:class:`str`]) The image url.
It may be :const:`None` if it's not an image. | "r\"\"\"(:class:`~typing.Optional`\\ [:class:`str`]) The image url.\n It may be :const:`None` if it's not an image." | 33 | false | dahlia/wikidata | image_url | 16,376 | |
LDU_FT/Nekroze/librarian/top_cards | LDU_FT | [
"<BEGIN>\n## `add_attribute`",
"Add the given attribute to this Card. Returns the length of\n attributes after addition.\n<END>",
"<BEGIN>\n## `add_ability`",
"Add the given ability to this Card under the given phase. Returns\n the length of the abilities for the given phase after the addition.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the top_cards API.
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 top_cards API.
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... | Retrieve the top number of cards as ``Librarian.Card`` objects in a
list in order of top to bottom most card. Uses the decks
``.get_card`` and passes along the cache and remove arguments. | "Retrieve the top number of cards as ``Librarian.Card`` objects in a\n list in order of top to bottom most card. Uses the decks\n ``.get_card`` and passes along the cache and remove arguments." | 43 | false | Nekroze/librarian | top_cards | 16,377 | |
LDU_FT/yougov/vr.common/_init_redis | LDU_FT | [
"<BEGIN>\n## `str_to_pool`",
"Given a string containing an nginx upstream section, return the pool name\n and list of nodes.\n<END>",
"<BEGIN>\n## `get_buildfile_path`",
"Path to which a build tarball should be downloaded.\n<END>",
"<BEGIN>\n## `_retry`",
"Try to call f(*args, **kwargs) \"n\" times bef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_redis API.
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 _init_redis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a StrictRedis instance or None based on redis_spec.
redis_spec may be None, a Redis URL, or a StrictRedis instance | "Return a StrictRedis instance or None based on redis_spec.\n\n redis_spec may be None, a Redis URL, or a StrictRedis instance" | 49 | false | yougov/vr.common | _init_redis | 16,378 | |
LDU_FT/BBVA/data-refinery/fusion | LDU_FT | [
"<BEGIN>\n## `explode`",
"given an array of objects de-normalized into fields\n<END>",
"<BEGIN>\n## `csv_to_map`",
"Convert csv to dict",
" :param delimiter:\n :param fields:\n :return:\n<END>",
"<BEGIN>\n## `map_to_csv`",
"Convert dict to csv",
" :param fields:\n :return:\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fusion API.
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 fusion API.
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 ... | TODO: dict based better than list based please
:param fields:
:param target_field:
:param etl_func:
:return: | "TODO: dict based better than list based please\n\n :param fields:\n :param target_field:\n :param etl_func:\n :return:" | 14 | false | BBVA/data-refinery | fusion | 16,379 | |
LDU_FT/sileht/python-jsonpath-rw-ext/p_expression | LDU_FT | [
"<BEGIN>\n## `find`",
"Return sorted value of This if list or dict.\n<END>",
"<BEGIN>\n## `match`",
"Returns all matched values of pattern in data\n<END>",
"<BEGIN>\n## `match1`",
"Returns first matched value of pattern in data or None if no matches\n<END>",
"<BEGIN>\n## `p_jsonpath_operator_jsonpath`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_expression API.
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 p_expression API.
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... | expression : jsonpath
| jsonpath FILTER_OP ID
| jsonpath FILTER_OP FLOAT
| jsonpath FILTER_OP NUMBER
| jsonpath FILTER_OP BOOL | "expression : jsonpath\n | jsonpath FILTER_OP ID\n | jsonpath FILTER_OP FLOAT\n | jsonpath FILTER_OP NUMBER\n | jsonpath FILTER_OP BOOL" | 10 | false | sileht/python-jsonpath-rw-ext | p_expression | 16,380 | |
LDU_FT/mattharrison/rst2odp/_is_last_child | LDU_FT | [
"<BEGIN>\n## `adjust_fit`",
"given a x and y of dest, determine the ratio and return\n an (x,y,w,h) for a fitted image (note x or y could be neg).\n >>> adjust_fit(4,3,5,5)\n (0.5, 0, 3.0, 3.0)\n >>> adjust_fit(8,6,5,5)\n (1.0, 0, 6.0, 6.0)\n >>> adjust_fit(4,3,5,2)\n (0, 0.69999999999999996,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_last_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_last_child API.
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... | Check if last child of cur_node is tagname with attributes | "Check if last child of cur_node is tagname with attributes" | 50 | false | mattharrison/rst2odp | _is_last_child | 16,381 | |
LDU_FT/brechtm/rinohtype/write_array | LDU_FT | [
"<BEGIN>\n## `preprocess_tree`",
"Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>",
"<BEGIN>\n## `_size_columns`",
"Calculate the table's column sizes constrained by:",
" - requested (absolute, rela... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Write an array in flat row flat pixel format as a PNG file on
the output file. See also :meth:`write` method. | "Write an array in flat row flat pixel format as a PNG file on\n the output file. See also :meth:`write` method." | 310 | false | brechtm/rinohtype | write_array | 16,382 | |
LDU_FT/mongodb/mongo-python-driver/_op_msg_uncompressed | LDU_FT | [
"<BEGIN>\n## `_arguments_repr`",
"Representation of the arguments used to create this object.\n<END>",
"<BEGIN>\n## `with_options`",
"Make a copy of this CodecOptions, overriding some options::",
" >>> from bson.codec_options import DEFAULT_CODEC_OPTIONS\n >>> DEFAULT_CODEC_OPTIONS.tz_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _op_msg_uncompressed 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 _op_msg_uncompressed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Internal compressed OP_MSG message helper. | "Internal compressed OP_MSG message helper." | 908 | false | mongodb/mongo-python-driver | _op_msg_uncompressed | 16,383 | |
LDU_FT/paylogic/pip-accel/put | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a distribution archive from any of the available caches.",
" :param requirement: A :class:`.Requirement` object.\n :returns: The absolute pathname of a local file or :data:`None` when the\n distribution archive is missing from all available caches.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | Store a distribution archive in all of the available caches.
:param requirement: A :class:`.Requirement` object.
:param handle: A file-like object that provides access to the
distribution archive. | "Store a distribution archive in all of the available caches.\n\n :param requirement: A :class:`.Requirement` object.\n :param handle: A file-like object that provides access to the\n distribution archive." | 252 | false | paylogic/pip-accel | put | 16,384 | |
LDU_FT/KE-works/pykechain/services | LDU_FT | [
"<BEGIN>\n## `value`",
"Value of a reference property.",
" You can set the reference with a Part, Part id or None value.\n Ensure that the model of the provided part, matches the configured model",
" :return: a :class:`Part` or None\n :raises APIError: When unable to find the assoc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the services API.
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 services API.
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... | Retrieve Services.
If additional `keyword=value` arguments are provided, these are added to the request parameters. Please
refer to the documentation of the KE-chain API for additional query parameters.
:param name: (optional) name to limit the search for
:type name: basestring or None... | "Retrieve Services.\n\n If additional `keyword=value` arguments are provided, these are added to the request parameters. Please\n refer to the documentation of the KE-chain API for additional query parameters.\n\n :param name: (optional) name to limit the search for\n :type name: basestring ... | 751 | false | KE-works/pykechain | services | 16,385 | |
LDU_FT/brentpayne/phrase/add | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds a new word to the WordList and assigns it an id. If id is set,\n :param word: The word token\n :param id: (Optional) The token id can be set, but bypasses the automatic id assignment. Only specify the id\n if you plan to specify it on all add calls.\n :re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Adds a new phrase to the dictionary
:param phrase: the new phrase as a list of tokens
:param phrase_id: optionally the phrase_id can be set on addition. Beware, if you set one id you should set
them all as the auto-generated ids do not take into account phrase_ids set this way.
:ret... | "Adds a new phrase to the dictionary\n :param phrase: the new phrase as a list of tokens\n :param phrase_id: optionally the phrase_id can be set on addition. Beware, if you set one id you should set\n them all as the auto-generated ids do not take into account phrase_ids set this way.\n ... | 21 | false | brentpayne/phrase | add | 16,386 | |
LDU_FT/dddomodossola/remi/onkeydown | LDU_FT | [
"<BEGIN>\n## `add_coord`",
"Adds a coord to the polyline and creates another circle\n<END>",
"<BEGIN>\n## `set_stroke`",
"Sets the stroke properties.\r",
" Args:\r\n width (int): stroke width\r\n color (str): stroke color\n<END>",
"<BEGIN>\n## `add_arrow_coord`",
"Determine ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onkeydown API.
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 onkeydown API.
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... | Called when user types and releases a key.
The widget should be able to receive the focus in order to emit the event.
Assign a 'tabindex' attribute to make it focusable.
Args:
key (str): the character value
keycode (str): the numeric char code | "Called when user types and releases a key.\n The widget should be able to receive the focus in order to emit the event.\n Assign a 'tabindex' attribute to make it focusable.\n \n Args:\n key (str): the character value\n keycode (str): the numeric char code" | 195 | false | dddomodossola/remi | onkeydown | 16,387 | |
LDU_FT/Phylliade/ikpy/symbolic_Rz_matrix | LDU_FT | [
"<BEGIN>\n## `plot_basis`",
"Plot le repère adapté à la taille du robot\n<END>",
"<BEGIN>\n## `plot_target_trajectory`",
"Ajoute la trajectoire (liste des targets) au plot\n<END>",
"<BEGIN>\n## `symbolic_Rz_matrix`",
"Matrice symbolique de rotation autour de l'axe Z\n<END>",
"<BEGIN>\n## `rotation_matri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbolic_Rz_matrix 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 symbolic_Rz_matrix 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... | Matrice symbolique de rotation autour de l'axe Z | "Matrice symbolique de rotation autour de l'axe Z" | 88 | false | Phylliade/ikpy | symbolic_Rz_matrix | 16,388 | |
LDU_FT/pysal/spglm/initialize | LDU_FT | [
"<BEGIN>\n## `fit`",
"Method that fits a model with a particular estimation routine.",
" Parameters\n ----------",
" ini_betas : array\n k*1, initial coefficient values, including constant.\n Default is None, which calculates initial value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize API.
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 initialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Initialize the response variable.
Parameters
----------
endog : array
Endogenous response variable
Returns
--------
If `endog` is binary, returns `endog`
If `endog` is a 2d array, then the input is assumed to be in the format
(successes, fai... | "Initialize the response variable.\n\n Parameters\n ----------\n endog : array\n Endogenous response variable\n\n Returns\n --------\n If `endog` is binary, returns `endog`\n\n If `endog` is a 2d array, then the input is assumed to be in the format\n (s... | 161 | false | pysal/spglm | initialize | 16,389 | |
LDU_FT/peepall/FancyLogger/run | LDU_FT | [
"<BEGIN>\n## `set_configuration`",
"Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger\n behavior.\n :param command: The command object that holds all the necessary information from the remote process.\n<END>",
"<BEGIN>\n## `run`",
"The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | The main loop for the logger process. Will receive remote processes orders one by one and wait for the next one.
Then return from this method when the main application calls for exit, which is a regular command. | "The main loop for the logger process. Will receive remote processes orders one by one and wait for the next one.\n Then return from this method when the main application calls for exit, which is a regular command." | 61 | false | peepall/FancyLogger | run | 16,390 | |
LDU_FT/xzased/lvm2py/open | LDU_FT | [
"<BEGIN>\n## `open`",
"Obtains the lvm, vg_t and lv_t handle. Usually you would never need to use this\n method unless you are doing operations using the ctypes function wrappers in\n conversion.py",
" *Raises:*",
" * HandleError\n<END>",
"<BEGIN>\n## `is_active`",
"Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Obtains the lvm and vg_t handle. Usually you would never need to use this method
unless you are doing operations using the ctypes function wrappers in conversion.py
*Raises:*
* HandleError | "Obtains the lvm and vg_t handle. Usually you would never need to use this method\n unless you are doing operations using the ctypes function wrappers in conversion.py\n\n *Raises:*\n\n * HandleError" | 189 | false | xzased/lvm2py | open | 16,391 | |
LDU_FT/cgevans/scikits-bootstrap/jackknife_indexes | LDU_FT | [
"<BEGIN>\n## `ci`",
"Given a set of data ``data``, and a statistics function ``statfunction`` that\napplies to that data, computes the bootstrap confidence interval for\n``statfunction`` on that data. Data points are assumed to be delineated by\naxis 0.",
"Parameters\n----------\ndata: array_like, shape (N, ...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jackknife_indexes API.
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 jackknife_indexes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Given data points data, where axis 0 is considered to delineate points, return
a list of arrays where each array is a set of jackknife indexes.
For a given set of data Y, the jackknife sample J[i] is defined as the data set
Y with the ith data point deleted. | "Given data points data, where axis 0 is considered to delineate points, return\na list of arrays where each array is a set of jackknife indexes.\n\nFor a given set of data Y, the jackknife sample J[i] is defined as the data set\nY with the ith data point deleted." | 30 | false | cgevans/scikits-bootstrap | jackknife_indexes | 16,392 | |
LDU_FT/openstack/horizon/load_cells | LDU_FT | [
"<BEGIN>\n## `volume_list_paged`",
"List volumes with pagination.",
" To see all volumes in the cloud as an admin you can pass in a special\n search option: {'all_tenants': 1}\n<END>",
"<BEGIN>\n## `extension_supported`",
"This method will determine if Cinder supports a given extension name.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_cells API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_cells API.
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... | Load the row's data and initialize all the cells in the row.
It also set the appropriate row properties which require
the row's data to be determined.
The row's data is provided either at initialization or as an
argument to this function.
This function is called automatically ... | "Load the row's data and initialize all the cells in the row.\n\n It also set the appropriate row properties which require\n the row's data to be determined.\n\n The row's data is provided either at initialization or as an\n argument to this function.\n\n This function is called autom... | 831 | false | openstack/horizon | load_cells | 16,393 | |
LDU_FT/lambdalisue/django-permission/_get_model_perms | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission check decorator for classbased generic view",
" This decorator works as class decorator\n DO NOT use ``method_decorator`` or whatever while this decorator will use\n ``self`` argument for method of classbased generic view.",
" Parameters\n ------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_model_perms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_model_perms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get permissions related to the model specified in constructor
Returns
-------
set
A set instance of `app_label.codename` formatted permission strings | "Get permissions related to the model specified in constructor\n\n Returns\n -------\n set\n A set instance of `app_label.codename` formatted permission strings" | 147 | false | lambdalisue/django-permission | _get_model_perms | 16,394 | |
LDU_FT/developmentseed/landsat-util/data_collector | LDU_FT | [
"<BEGIN>\n## `_read_cmap`",
"reads the colormap from a text file given in settings.py.\n See colormap_cubehelix.txt. File must contain 256 RGB values\n<END>",
"<BEGIN>\n## `data_collector`",
"Buffers n bytes of data.",
" :param iterable:\n Could be a list, generator or string\n :type ite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_collector API.
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 data_collector API.
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... | Buffers n bytes of data.
:param iterable:
Could be a list, generator or string
:type iterable:
List, generator, String
:returns:
A generator object | "Buffers n bytes of data.\n\n :param iterable:\n Could be a list, generator or string\n :type iterable:\n List, generator, String\n\n :returns:\n A generator object" | 152 | false | developmentseed/landsat-util | data_collector | 16,395 | |
LDU_FT/nikcub/floyd/I | LDU_FT | [
"<BEGIN>\n## `get_file_contents`",
"Get the context of the file using full path name\n<END>",
"<BEGIN>\n## `import_model`",
"imports a model of name from path, returning from local model\n cache if it has been previously loaded otherwise importing\n<END>",
"<BEGIN>\n## `parse_md`",
"Takes a post path a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the I API.
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 docum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the I API.
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 docum... | 1' if Daylight Savings Time, '0' otherwise. | "1' if Daylight Savings Time, '0' otherwise." | 71 | false | nikcub/floyd | I | 16,396 | |
LDU_FT/vpelletier/python-functionfs/serialise | LDU_FT | [
"<BEGIN>\n## `getInterfaceInAllSpeeds`",
"Produce similar fs, hs and ss interface and endpoints descriptors.\n Should be useful for devices desiring to work in all 3 speeds with maximum\n endpoint wMaxPacketSize. Reduces data duplication from descriptor\n declarations.\n Not intended to cover fancy co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialise API.
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 serialise API.
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... | structure (ctypes.Structure)
The structure to serialise.
Returns a ctypes.c_char array.
Does not copy memory. | "structure (ctypes.Structure)\n The structure to serialise.\n\n Returns a ctypes.c_char array.\n Does not copy memory." | 40 | false | vpelletier/python-functionfs | serialise | 16,397 | |
LDU_FT/wavefrontHQ/python-client/search_cloud_integration_deleted_for_facets | LDU_FT | [
"<BEGIN>\n## `display`",
"Sets the display of this Message.",
" The form of display for this message # noqa: E501",
" :param display: The display of this Message. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `scope`",
"Sets the scope of this Message.",
" The audience sco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_cloud_integration_deleted_for_facets 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 search_cloud_integration_deleted_for_facets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | Lists the values of one or more facets over the customer's deleted cloud integrations # noqa: E501
# noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.search_cloud_integration_deleted_... | "Lists the values of one or more facets over the customer's deleted cloud integrations # noqa: E501\n\n # 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.search_cloud_integration_de... | 954 | false | wavefrontHQ/python-client | search_cloud_integration_deleted_for_facets | 16,398 | |
LDU_FT/SeabornGames/Table/_safe_str | LDU_FT | [
"<BEGIN>\n## `list_to_obj`",
":param list_: list of list or list of dictionary to use as the\n source\n :param columns: list of strings to label the columns when\n converting to str\n :param row_columns: list of columns in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _safe_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _safe_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | :param cell: obj to turn in to a string
:param quote_numbers: bool if True will quote numbers that are strings
:param repr_line_break: if True will replace \n with \\n
:param deliminator: if the deliminator is in the cell it will be quoted
:param quote_empty_str: bool if True will quote... | ":param cell: obj to turn in to a string\n :param quote_numbers: bool if True will quote numbers that are strings\n :param repr_line_break: if True will replace \\n with \\\\n\n :param deliminator: if the deliminator is in the cell it will be quoted\n :param quote_empty_str: bool if True wi... | 93 | false | SeabornGames/Table | _safe_str | 16,399 | |
LDU_FT/ThreshingFloor/libtf/_parse_auth_message | LDU_FT | [
"<BEGIN>\n## `_extract_features`",
"Extracts and sets the feature data from the log file necessary for a reduction\n<END>",
"<BEGIN>\n## `_extract_line_features`",
"Parse raw log lines and convert it to a dictionary with extracted features.\n<END>",
"<BEGIN>\n## `_analyze`",
"Decide which lines should be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_auth_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_auth_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.
T... | Parse a message to see if we have ip addresses or users that we care about
:param auth_message: The auth message to parse
:return: Result | "Parse a message to see if we have ip addresses or users that we care about\n\n :param auth_message: The auth message to parse\n :return: Result" | 25 | false | ThreshingFloor/libtf | _parse_auth_message | 16,400 | |
LDU_FT/inorton/junit2html/anchor | LDU_FT | [
"<BEGIN>\n## `anchor`",
"Generate a html anchor name\n :return:\n<END>",
"<BEGIN>\n## `html`",
"Render this test class as html\n :return:\n<END>",
"<BEGIN>\n## `html`",
"Render those properties as html\n :return:\n<END>",
"<BEGIN>\n## `html`",
"Render this test case as HTML\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the anchor API.
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 anchor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Generate a html anchor name
:return: | "Generate a html anchor name\n :return:" | 22 | false | inorton/junit2html | anchor | 16,401 | |
LDU_FT/ankitpopli1891/django-autotranslate/humanize_placeholders | LDU_FT | [
"<BEGIN>\n## `humanize_placeholders`",
"Convert placeholders to the (google translate) service friendly form.",
" %(name)s -> __name__\n %s -> __item__\n %d -> __number__\n<END>",
"<BEGIN>\n## `restore_placeholders`",
"Restore placeholders in the translated message.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the humanize_placeholders 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 humanize_placeholders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert placeholders to the (google translate) service friendly form.
%(name)s -> __name__
%s -> __item__
%d -> __number__ | "Convert placeholders to the (google translate) service friendly form.\n\n %(name)s -> __name__\n %s -> __item__\n %d -> __number__" | 15 | false | ankitpopli1891/django-autotranslate | humanize_placeholders | 16,402 | |
LDU_FT/mpdavis/python-jose/sign | LDU_FT | [
"<BEGIN>\n## `rsa_private_key_pkcs8_to_pkcs1`",
"Convert a PKCS8-encoded RSA private key to PKCS1.\n<END>",
"<BEGIN>\n## `rsa_private_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to PKCS8.\n<END>",
"<BEGIN>\n## `rsa_public_key_pkcs1_to_pkcs8`",
"Convert a PKCS1-encoded RSA private key to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Signs a claims set and returns a JWS string.
Args:
payload (str): A string to sign
key (str or dict): The key to use for signing the claim set. Can be
individual JWK or JWK set.
headers (dict, optional): A set of headers that will be added to
the default headers. An... | "Signs a claims set and returns a JWS string.\n\n Args:\n payload (str): A string to sign\n key (str or dict): The key to use for signing the claim set. Can be\n individual JWK or JWK set.\n headers (dict, optional): A set of headers that will be added to\n the default head... | 85 | false | mpdavis/python-jose | sign | 16,403 | |
LDU_FT/camptocamp/Studio/update | LDU_FT | [
"<BEGIN>\n## `discover_datasources`",
"Discover the datasources contained in the datastore\n corresponding to the OGR string ogr_str, return an\n array of {name,type, hash}\n<END>",
"<BEGIN>\n## `discover_datasource_columns`",
"Loop through the datastore's datasources to find\n the datasource identif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | PUT /layertemplates/id: Update an existing item. | "PUT /layertemplates/id: Update an existing item." | 98 | false | camptocamp/Studio | update | 16,404 | |
LDU_FT/openpaperwork/paperwork-backend/find_documents | LDU_FT | [
"<BEGIN>\n## `examine_rootdir`",
"Examine the rootdir.\n Calls on_new_doc(doc), on_doc_modified(doc), on_doc_deleted(docid)\n every time a new, modified, or deleted document is found\n<END>",
"<BEGIN>\n## `reload_index`",
"Read the index, and load the document list from it",
" Arguments... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_documents API.
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 find_documents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns all the documents matching the given keywords
Arguments:
sentence --- a sentenced query
Returns:
An array of document (doc objects) | "Returns all the documents matching the given keywords\n\n Arguments:\n sentence --- a sentenced query\n Returns:\n An array of document (doc objects)" | 171 | false | openpaperwork/paperwork-backend | find_documents | 16,405 | |
LDU_FT/nvbn/thefuck/_add_conflicting_arguments | LDU_FT | [
"<BEGIN>\n## `get_loaded_rules`",
"Yields all available rules.",
" :type rules_paths: [Path]\n :rtype: Iterable[Rule]\n<END>",
"<BEGIN>\n## `get_rules_import_paths`",
"Yields all rules import paths.",
" :rtype: Iterable[Path]\n<END>",
"<BEGIN>\n## `get_rules`",
"Returns all enabled rules.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_conflicting_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_conflicting_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | It's too dangerous to use `-y` and `-r` together. | "It's too dangerous to use `-y` and `-r` together." | 132 | false | nvbn/thefuck | _add_conflicting_arguments | 16,406 | |
LDU_FT/insightindustry/validator-collection/is_ipv6 | LDU_FT | [
"<BEGIN>\n## `disable_on_env`",
"Disable the ``func`` called if its name is present in ``VALIDATORS_DISABLED``.",
" :param func: The function/validator to be disabled.\n :type func: callable",
" :returns: If disabled, the ``value`` (first positional argument) passed to\n ``func``. If enabled, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_ipv6 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_ipv6 API.
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... | Indicate whether ``value`` is a valid IP version 6 address.
:param value: The value to evaluate.
:returns: ``True`` if ``value`` is valid, ``False`` if it is not.
:rtype: :class:`bool <python:bool>`
:raises SyntaxError: if ``kwargs`` contains duplicate keyword parameters or duplicates
keyword p... | "Indicate whether ``value`` is a valid IP version 6 address.\n\n :param value: The value to evaluate.\n\n :returns: ``True`` if ``value`` is valid, ``False`` if it is not.\n :rtype: :class:`bool <python:bool>`\n\n :raises SyntaxError: if ``kwargs`` contains duplicate keyword parameters or duplicates\n ... | 599 | false | insightindustry/validator-collection | is_ipv6 | 16,407 | |
LDU_FT/Hackerfleet/hfos/get_tagged | LDU_FT | [
"<BEGIN>\n## `_augment_book`",
"Checks if the newly created object is a book and only has an ISBN.\n If so, tries to fetch the book data off the internet.",
" :param uuid: uuid of book to augment\n :param client: requesting client\n<END>",
"<BEGIN>\n## `serial_ports`",
"Lists serial por... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tagged API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tagged API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a list of tagged objects for a schema | "Return a list of tagged objects for a schema" | 344 | false | Hackerfleet/hfos | get_tagged | 16,408 | |
LDU_FT/tisimst/mcerp/floor | LDU_FT | [
"<BEGIN>\n## `correlate`",
"Force a correlation matrix on a set of statistically distributed objects.\r\n This function works on objects in-place.\r",
" Parameters\r\n ----------\r\n params : array\r\n An array of of uv objects.\r\n corrmat : 2d-array\r\n The correlation matrix to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the floor API.
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 floor API.
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... | Floor function (round towards negative infinity) | "Floor function (round towards negative infinity)" | 166 | false | tisimst/mcerp | floor | 16,409 | |
LDU_FT/caktus/django-timepiece/delete_entry | LDU_FT | [
"<BEGIN>\n## `add_timezone`",
"If the value is naive, then the timezone is added to it.",
" If no timezone is given, timezone.get_current_timezone() is used.\n<END>",
"<BEGIN>\n## `get_active_entry`",
"Returns the user's currently-active entry, or None.\n<END>",
"<BEGIN>\n## `get_month_start`",
"Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_entry API.
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 delete_entry API.
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... | Give the user the ability to delete a log entry, with a confirmation
beforehand. If this method is invoked via a GET request, a form asking
for a confirmation of intent will be presented to the user. If this method
is invoked via a POST request, the entry will be deleted. | "Give the user the ability to delete a log entry, with a confirmation\n beforehand. If this method is invoked via a GET request, a form asking\n for a confirmation of intent will be presented to the user. If this method\n is invoked via a POST request, the entry will be deleted." | 88 | false | caktus/django-timepiece | delete_entry | 16,410 | |
LDU_FT/qacafe/cdrouter.py/download | LDU_FT | [
"<BEGIN>\n## `list`",
"Get a list of configs.",
" :param filter: (optional) Filters to apply as a string list.\n :param type: (optional) `union` or `inter` as string.\n :param sort: (optional) Sort fields to apply as string list.\n :param limit: (optional) Limit returned list length.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
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 download API.
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... | Download a capture as a PCAP file.
:param id: Result ID as an int.
:param seq: TestResult sequence ID as an int.
:param intf: Interface name as string.
:param inline: (optional) Use inline version of capture file.
:rtype: tuple `(io.BytesIO, 'filename')` | "Download a capture as a PCAP file.\n\n :param id: Result ID as an int.\n :param seq: TestResult sequence ID as an int.\n :param intf: Interface name as string.\n :param inline: (optional) Use inline version of capture file.\n :rtype: tuple `(io.BytesIO, 'filename')`" | 282 | false | qacafe/cdrouter.py | download | 16,411 | |
LDU_FT/kolypto/py-good/_compile_literal | LDU_FT | [
"<BEGIN>\n## `message`",
"Convenience decorator that applies [`Msg()`](#msg) to a callable.",
" ```python\n from good import Schema, message",
" @message(u'Need a number')\n def intify(v):\n return int(v)\n ```",
" :param message: Error message to use instead\n :type message: uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compile_literal API.
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 _compile_literal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Compile literal schema: type and value matching | "Compile literal schema: type and value matching" | 118 | false | kolypto/py-good | _compile_literal | 16,412 | |
LDU_FT/akfullfo/taskforce/merge_query | LDU_FT | [
"<BEGIN>\n## `_format`",
"Returns the response tuple according to the selected format.\n A format is available if the method \"_format_xxx\" is callable.\n The default format is json.\n<END>",
"<BEGIN>\n## `version`",
"Return the taskforce version.",
" Supports standard options.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Merges params parsed from the URI into the mapping from the POST body and
returns a new dict with the values.
This is a convenience function that gives use a dict a bit like PHP's $_REQUEST
array. The original 'postmap' is preserved so the caller can identify a
param's source if necessary. | "Merges params parsed from the URI into the mapping from the POST body and\n returns a new dict with the values.\n\n This is a convenience function that gives use a dict a bit like PHP's $_REQUEST\n array. The original 'postmap' is preserved so the caller can identify a\n param's source if necessary." | 290 | false | akfullfo/taskforce | merge_query | 16,413 | |
LDU_FT/jtpaasch/simplygithub/prepare | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Get the URL for a resource.",
" Args:",
" profile\n A profile generated from ``simplygithub.authentication.profile``.\n Such profiles tell this module (i) the ``repo`` to connect to,\n and (ii) the ``token`` to connect with.",
" res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
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... | Restructure/prepare data about a blob for output. | "Restructure/prepare data about a blob for output." | 224 | false | jtpaasch/simplygithub | prepare | 16,414 | |
LDU_FT/Asana/python-asana/delete | LDU_FT | [
"<BEGIN>\n## `fetch_token`",
"Exchange a code (and 'state' token) for a bearer token\n<END>",
"<BEGIN>\n## `find_by_id`",
"Returns the complete tag record for a single tag.",
" Parameters\n ----------\n tag : {Id} The tag to get.\n [params] : {Object} Parameters for the request\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | A specific, existing project can be deleted by making a DELETE request
on the URL for that project.
Returns an empty data record.
Parameters
----------
project : {Id} The project to delete. | "A specific, existing project can be deleted by making a DELETE request\n on the URL for that project.\n \n Returns an empty data record.\n\n Parameters\n ----------\n project : {Id} The project to delete." | 318 | false | Asana/python-asana | delete | 16,415 | |
LDU_FT/appknox/pyaxmlparser/get_qualifier | LDU_FT | [
"<BEGIN>\n## `_decode8`",
"Decode an UTF-8 String at the given offset",
" :param offset: offset of the string inside the data\n :return: str\n<END>",
"<BEGIN>\n## `_decode16`",
"Decode an UTF-16 String at the given offset",
" :param offset: offset of the string inside the data\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_qualifier API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_qualifier API.
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... | Return resource name qualifier for the current configuration.
for example
* `ldpi-v4`
* `hdpi-v4`
All possible qualifiers are listed in table 2 of https://developer.android.com/guide
/topics/resources/providing-resources
FIXME: This name might not have all properties se... | "Return resource name qualifier for the current configuration.\n for example\n * `ldpi-v4`\n * `hdpi-v4`\n\n All possible qualifiers are listed in table 2 of https://developer.android.com/guide\n /topics/resources/providing-resources\n\n FIXME: This name might not have all prop... | 63 | false | appknox/pyaxmlparser | get_qualifier | 16,416 | |
LDU_FT/pylast/pylast/_get_things | LDU_FT | [
"<BEGIN>\n## `cleanup_nodes`",
"Remove text nodes containing only whitespace\n<END>",
"<BEGIN>\n## `_collect_nodes`",
"Returns a sequence of dom.Node objects about as close to limit as possible\n<END>",
"<BEGIN>\n## `_extract_all`",
"Extracts all the values from the xml string. returning a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_things API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_things API.
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... | Returns a list of the most played thing_types by this thing. | "Returns a list of the most played thing_types by this thing." | 146 | false | pylast/pylast | _get_things | 16,417 | |
LDU_FT/Legobot/Legobot/get_dm_channel | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a server.",
" This overrides the function in SimpleIRCClient\n to provide SSL functionality.",
" :param args:\n :param kwargs:\n :return:\n<END>",
"<BEGIN>\n## `set_metadata`",
"This function sets the metadata that is common between p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dm_channel API.
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_dm_channel API.
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... | Perform a lookup of users to resolve a userid to a DM channel
Args:
userid (string): Slack userid to lookup.
Returns:
string: DM channel ID of user | "Perform a lookup of users to resolve a userid to a DM channel\n\n Args:\n userid (string): Slack userid to lookup.\n\n Returns:\n string: DM channel ID of user" | 119 | false | Legobot/Legobot | get_dm_channel | 16,418 | |
LDU_FT/IdentityPython/pyop/_create_signed_id_token | LDU_FT | [
"<BEGIN>\n## `parse_authentication_request`",
"Parses and verifies an authentication request.",
" :param request_body: urlencoded authentication request\n :param http_headers: http headers\n<END>",
"<BEGIN>\n## `authorize`",
"Creates an Authentication Response for the specified authentication ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_signed_id_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_signed_id_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Creates a signed ID Token.
:param client_id: who the ID Token is intended for
:param sub: who the ID Token is regarding
:param user_claims: any claims about the user to be included
:param nonce: nonce from the authentication request
:param authorization_code: the authorization co... | "Creates a signed ID Token.\n :param client_id: who the ID Token is intended for\n :param sub: who the ID Token is regarding\n :param user_claims: any claims about the user to be included\n :param nonce: nonce from the authentication request\n :param authorization_code: the authorizat... | 79 | false | IdentityPython/pyop | _create_signed_id_token | 16,419 | |
LDU_FT/borntyping/python-riemann-client/send | LDU_FT | [
"<BEGIN>\n## `socket_recvall`",
"A helper method to read of bytes from a socket to a maximum length\n<END>",
"<BEGIN>\n## `send`",
"Sends a message, but does not return a response",
" :returns: None - can't receive a response over UDP\n<END>",
"<BEGIN>\n## `send`",
"Sends a message to a Riemann s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
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 send API.
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... | Sends a message to a Riemann server and returns it's response
:param message: The message to send to the Riemann server
:returns: The response message from Riemann
:raises RiemannError: if the server returns an error | "Sends a message to a Riemann server and returns it's response\n\n :param message: The message to send to the Riemann server\n :returns: The response message from Riemann\n :raises RiemannError: if the server returns an error" | 43 | false | borntyping/python-riemann-client | send | 16,420 | |
LDU_FT/abhishek-ram/pyas2-lib/verify_certificate_chain | LDU_FT | [
"<BEGIN>\n## `quote_as2name`",
"Function converts as2 name from unquoted to quoted format\n :param unquoted_name: the as2 name in unquoted format\n :return: the as2 name in unquoted format\n<END>",
"<BEGIN>\n## `mime_to_bytes`",
"Function to convert and email Message to flat string format\n :param ms... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_certificate_chain 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 verify_certificate_chain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Verify a given certificate against a trust store | "Verify a given certificate against a trust store" | 81 | false | abhishek-ram/pyas2-lib | verify_certificate_chain | 16,421 | |
LDU_FT/dellis23/ansible-toolkit/split_path | LDU_FT | [
"<BEGIN>\n## `split_path`",
"\"/tmp/test\"",
" Becomes:",
" (\"/\", \"tmp\", \"test\")\n<END>",
"<BEGIN>\n## `get_files`",
"Returns a recursive list of all non-hidden files in and below the current\n directory.\n<END>",
"<BEGIN>\n## `backup`",
"Replaces the contents of a file with its dec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | "/tmp/test"
Becomes:
("/", "tmp", "test") | "\"/tmp/test\"\n\n Becomes:\n\n (\"/\", \"tmp\", \"test\")" | 23 | false | dellis23/ansible-toolkit | split_path | 16,422 | |
LDU_FT/kashifrazzaqui/again/can | LDU_FT | [
"<BEGIN>\n## `log`",
"logs parameters and result - takes no arguments\n<END>",
"<BEGIN>\n## `logx`",
"logs parameters and result\n takes arguments\n supress_args - list of parameter names to supress\n supress_all_args - boolean to supress all arguments\n supress_result - boolean to sup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can API.
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 can API.
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... | returns a list of states that can result from processing this event | "returns a list of states that can result from processing this event" | 25 | false | kashifrazzaqui/again | can | 16,423 | |
LDU_FT/PierreRust/apigpio/read | LDU_FT | [
"<BEGIN>\n## `u2i`",
"Converts a 32 bit unsigned number to signed.",
" uint32:= an unsigned 32 bit number",
" ...\n print(u2i(4294967272))\n -24\n print(u2i(37))\n 37\n ...\n<END>",
"<BEGIN>\n## `_u2i`",
"Converts a 32 bit unsigned number to signed. If the number\n is negative it ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
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 read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns the GPIO level.
gpio:= 0-53.
...
yield from pi.set_mode(23, pigpio.INPUT)
yield from pi.set_pull_up_down(23, pigpio.PUD_DOWN)
print(yield from pi.read(23))
0
yield from pi.set_pull_up_down(23, pigpio.PUD_UP)
print(yield from pi.read(23))
1
... | "Returns the GPIO level.\n gpio:= 0-53.\n ...\n yield from pi.set_mode(23, pigpio.INPUT)\n yield from pi.set_pull_up_down(23, pigpio.PUD_DOWN)\n print(yield from pi.read(23))\n 0\n yield from pi.set_pull_up_down(23, pigpio.PUD_UP)\n print(yield from pi.read(23))\n... | 102 | false | PierreRust/apigpio | read | 16,424 | |
LDU_FT/OCA/vertical-hotel/on_change_categ | LDU_FT | [
"<BEGIN>\n## `_offset_format_timestamp1`",
"Convert a source timeStamp string into a destination timeStamp string,\n attempting to apply the correct offset if both the server and local\n timeZone are recognized,or no offset at all if they aren't or if\n tz_offset is false (i.e. assuming they are both in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_change_categ API.
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 on_change_categ API.
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... | When you change categ_id it check checkin and checkout are
filled or not if not then raise warning
-----------------------------------------------------------
@param self: object pointer | "When you change categ_id it check checkin and checkout are\n filled or not if not then raise warning\n -----------------------------------------------------------\n @param self: object pointer" | 71 | false | OCA/vertical-hotel | on_change_categ | 16,425 | |
LDU_FT/vtraag/leidenalg/download_and_compile_igraph | LDU_FT | [
"<BEGIN>\n## `find_partition`",
"Detect communities using the default settings.",
" This function detects communities given the specified method in the\n ``partition_type``. This should be type derived from\n :class:`VertexPartition.MutableVertexPartition`, e.g.\n :class:`ModularityVertexPartition` or :clas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_and_compile_igraph 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 download_and_compile_igraph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Downloads and compiles the C core of igraph. | "Downloads and compiles the C core of igraph." | 202 | false | vtraag/leidenalg | download_and_compile_igraph | 16,426 | |
LDU_FT/jic-dtool/dtoolcore/_create_structure | LDU_FT | [
"<BEGIN>\n## `generous_parse_uri`",
"Return a urlparse.ParseResult object with the results of parsing the\n given URI. This has the same properties as the result of parse_uri.",
" When passed a relative path, it determines the absolute path, sets the\n scheme to file, the netloc to localhost and return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_structure API.
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 _create_structure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create necessary structure to hold a dataset. | "Create necessary structure to hold a dataset." | 111 | false | jic-dtool/dtoolcore | _create_structure | 16,427 | |
LDU_FT/Opentrons/opentrons/dispatch | LDU_FT | [
"<BEGIN>\n## `get_attached_instruments`",
"Find the instruments attached to our mounts.",
" :param expected: A dict that may contain a mapping from mount to\n strings that should prefix instrument model names.\n When instruments are scanned, they are matche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
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 dispatch API.
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... | Routes commands to subhandlers based on the command field in the body. | "Routes commands to subhandlers based on the command field in the body." | 1,359 | true | Opentrons/opentrons | dispatch | 16,428 | |
LDU_FT/bsolomon1124/pyfinance/get_anlz_factor | LDU_FT | [
"<BEGIN>\n## `value`",
"Compute option value according to BSM model.\n<END>",
"<BEGIN>\n## `implied_vol`",
"Get implied vol at the specified price using an iterative approach.\r",
" There is no closed-form inverse of BSM-value as a function of sigma,\r\n so start at an anchoring volatility lev... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_anlz_factor API.
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 get_anlz_factor API.
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... | Find the number of periods per year given a frequency.
Parameters
----------
freq : str
Any frequency str or anchored offset str recognized by Pandas.
Returns
-------
float
Example
-------
>>> get_anlz_factor('D')
252.0
>>> get_anlz_factor('5D') # 5... | "Find the number of periods per year given a frequency.\r\n\r\n Parameters\r\n ----------\r\n freq : str\r\n Any frequency str or anchored offset str recognized by Pandas.\r\n\r\n Returns\r\n -------\r\n float\r\n\r\n Example\r\n -------\r\n >>> get_anlz_factor('D')\r\n 252.0\r\n ... | 372 | false | bsolomon1124/pyfinance | get_anlz_factor | 16,429 | |
LDU_FT/kelproject/pykube/request | LDU_FT | [
"<BEGIN>\n## `iterator`",
"Execute the API request and return an iterator over the objects. This\n method does not use the query cache.\n<END>",
"<BEGIN>\n## `get_kwargs`",
"Creates a full URL to request based on arguments.",
" :Parametes:\n - `kwargs`: All keyword arguments to build... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Makes an API request based on arguments.
:Parameters:
- `args`: Non-keyword arguments
- `kwargs`: Keyword arguments | "Makes an API request based on arguments.\n\n :Parameters:\n - `args`: Non-keyword arguments\n - `kwargs`: Keyword arguments" | 54 | false | kelproject/pykube | request | 16,430 | |
LDU_FT/xsleonard/pystmark/load_message | LDU_FT | [
"<BEGIN>\n## `send`",
"Send a message.",
" :param message: Message to send.\n :type message: `dict` or :class:`Message`\n :param api_key: Your Postmark API key. Required, if `test` is not `True`.\n :param secure: Use the https scheme for the Postmark API.\n Defaults to `True`\n :param test... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 load_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... | Create a :class:`Message` from a message data `dict`.
:param message: A `dict` of message data.
:param \*\*kwargs: Additional keyword arguments to construct
:class:`Message` with.
:rtype: :class:`Message` | "Create a :class:`Message` from a message data `dict`.\n\n :param message: A `dict` of message data.\n :param \\*\\*kwargs: Additional keyword arguments to construct\n :class:`Message` with.\n :rtype: :class:`Message`" | 113 | false | xsleonard/pystmark | load_message | 16,431 | |
LDU_FT/OCA/vertical-hotel/onchange_dates | LDU_FT | [
"<BEGIN>\n## `_offset_format_timestamp1`",
"Convert a source timeStamp string into a destination timeStamp string,\n attempting to apply the correct offset if both the server and local\n timeZone are recognized,or no offset at all if they aren't or if\n tz_offset is false (i.e. assuming they are both in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onchange_dates API.
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 onchange_dates API.
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... | This method gives the duration between check in and checkout
if customer will leave only for some hour it would be considers
as a whole day.If customer will check in checkout for more or equal
hours, which configured in company as additional hours than it would
be consider as full days
... | "This method gives the duration between check in and checkout\n if customer will leave only for some hour it would be considers\n as a whole day.If customer will check in checkout for more or equal\n hours, which configured in company as additional hours than it would\n be consider as full d... | 71 | false | OCA/vertical-hotel | onchange_dates | 16,432 | |
LDU_FT/ianclegg/ntlmlib/get_ntlmv1_response | LDU_FT | [
"<BEGIN>\n## `wrap`",
"NTM GSSwrap()\n :param message: The message to be encrypted\n :return: The signed and encrypted message\n<END>",
"<BEGIN>\n## `unwrap`",
"NTLM GSSUnwrap()\n :param message: The message to be encrypted\n :return: The signed and encrypted message\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ntlmv1_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ntlmv1_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Generate the Unicode MD4 hash for the password associated with these credentials. | "Generate the Unicode MD4 hash for the password associated with these credentials." | 43 | false | ianclegg/ntlmlib | get_ntlmv1_response | 16,433 | |
LDU_FT/pesaply/sarafu/push_to_server | LDU_FT | [
"<BEGIN>\n## `get_account_details`",
"This method can be used in a number of scenarios:\n 1. When it is necessary to very account information\n 2. When there's a need to filter transactions by an account id\n 3. When account details (e.g. name of account) are needed\n<END>",
"<BEGIN>\n## `g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_to_server API.
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 push_to_server API.
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... | Use appropriate CIM API call to save payment profile to Authorize.NET
1. If customer has no profile yet, create one with this payment profile
2. If payment profile is not on Authorize.NET yet, create it there
3. If payment profile exists on Authorize.NET update it there | "Use appropriate CIM API call to save payment profile to Authorize.NET\n 1. If customer has no profile yet, create one with this payment profile\n 2. If payment profile is not on Authorize.NET yet, create it there\n 3. If payment profile exists on Authorize.NET update it there" | 30 | false | pesaply/sarafu | push_to_server | 16,434 | |
LDU_FT/miguelgrinberg/python-engineio/_read_loop_polling | LDU_FT | [
"<BEGIN>\n## `signal_handler`",
"SIGINT handler.",
" Disconnect all active clients and then invoke the original signal handler.\n<END>",
"<BEGIN>\n## `on`",
"Register an event handler.",
" :param event: The event name. Can be ``'connect'``, ``'message'`` or\n ``'disconnect'`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_loop_polling 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 _read_loop_polling 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... | Read packets by polling the Engine.IO server. | "Read packets by polling the Engine.IO server." | 128 | false | miguelgrinberg/python-engineio | _read_loop_polling | 16,435 | |
LDU_FT/ttinies/sc2players/getBlizzBotPlayers | LDU_FT | [
"<BEGIN>\n## `attrs`",
"provide a copy of this player's attributes as a dictionary\n<END>",
"<BEGIN>\n## `simpleAttrs`",
"provide a copy of this player's attributes as a dictionary, but with objects flattened into a string representation of the object\n<END>",
"<BEGIN>\n## `_validateAttrs`",
"prove that a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getBlizzBotPlayers 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 getBlizzBotPlayers 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... | identify all of Blizzard's built-in bots | "identify all of Blizzard's built-in bots" | 32 | false | ttinies/sc2players | getBlizzBotPlayers | 16,436 | |
LDU_FT/MoseleyBioinformaticsLab/ctfile/_to_ctfile_counts_line | LDU_FT | [
"<BEGIN>\n## `tokenizer`",
"A lexical analyzer for the `CTfile` formatted files.",
" :param str text: `CTfile` formatted text.\n :return: Tuples of data.\n :rtype: py:class:`~collections.namedtuple`\n<END>",
"<BEGIN>\n## `_molfile`",
"Process ``Molfile``.",
" :param stream: Queue containing li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_ctfile_counts_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_ctfile_counts_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create counts line in ``CTfile`` format.
:param str key: Counts line key.
:return: Counts line string.
:rtype: :py:class:`str` | "Create counts line in ``CTfile`` format.\n\n :param str key: Counts line key. \n :return: Counts line string.\n :rtype: :py:class:`str`" | 93 | false | MoseleyBioinformaticsLab/ctfile | _to_ctfile_counts_line | 16,437 | |
LDU_FT/python-hyper/brotlipy/finish | LDU_FT | [
"<BEGIN>\n## `decompress`",
"Decompress a complete Brotli-compressed string.",
" :param data: A bytestring containing Brotli-compressed data.\n<END>",
"<BEGIN>\n## `compress`",
"Compress a string using Brotli.",
" .. versionchanged:: 0.5.0\n Added ``mode``, ``quality``, `lgwin``, ``lgblock``, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API.
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 finish API.
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 ... | Finish the compressor. This will emit the remaining output data and
transition the compressor to a completed state. The compressor cannot
be used again after this point, and must be replaced. | "Finish the compressor. This will emit the remaining output data and\n transition the compressor to a completed state. The compressor cannot\n be used again after this point, and must be replaced." | 27 | false | python-hyper/brotlipy | finish | 16,438 | |
LDU_FT/rduplain/jeni-python/close | LDU_FT | [
"<BEGIN>\n## `see_doc`",
"Copy docstring from existing object to the decorated callable.\n<END>",
"<BEGIN>\n## `class_in_progress`",
"True if currently inside a class definition, else False.\n<END>",
"<BEGIN>\n## `get`",
"Get initial yield value, or result of send(name) if name given.\n<END>",
"<BEGIN>\... | 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 injector & injected Provider instances, including generators.
Providers are closed in the reverse order in which they were opened,
and each provider is only closed once. Providers are closed if accessed
by the injector, even if a dependency is not successfully provided. As
such, p... | "Close injector & injected Provider instances, including generators.\n\n Providers are closed in the reverse order in which they were opened,\n and each provider is only closed once. Providers are closed if accessed\n by the injector, even if a dependency is not successfully provided. As\n s... | 91 | false | rduplain/jeni-python | close | 16,439 | |
LDU_FT/DallasMorningNews/django-datafreezer/create_col_nums | LDU_FT | [
"<BEGIN>\n## `clean`",
"Verifies that beginning date is before ending date.\n<END>",
"<BEGIN>\n## `get_success_url`",
"Ensure the user-originating redirection URL is safe.\n<END>",
"<BEGIN>\n## `form_valid`",
"Security check complete. Log the user in.\n<END>",
"<BEGIN>\n## `map_hubs_to_verticals`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_col_nums API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_col_nums API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return column numbers and letters that repeat up to NUM_REPEATS.
I.e., NUM_REPEATS = 2 would return a list of 26 * 26 = 676 2-tuples. | "Return column numbers and letters that repeat up to NUM_REPEATS.\n\n I.e., NUM_REPEATS = 2 would return a list of 26 * 26 = 676 2-tuples." | 63 | false | DallasMorningNews/django-datafreezer | create_col_nums | 16,440 | |
LDU_FT/Frzk/Ellis/add | LDU_FT | [
"<BEGIN>\n## `_prepare`",
"Updates the function arguments and creates a :class:`asyncio.Task`\n from the Action.",
" *kwargs* is an optional dictionnary of additional arguments to pass to\n the Action function.",
" .. warning::\n *kwargs* will overwrite existing keys in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Adds the given IP address to the given ipset.
If a timeout is given, the IP will stay in the ipset for
the given duration. Else it's added forever.
The resulting command looks like this:
``ipset add -exist ellis_blacklist4 192.0.2.10 timeout 14400`` | "Adds the given IP address to the given ipset.\n \n If a timeout is given, the IP will stay in the ipset for\n the given duration. Else it's added forever.\n\n The resulting command looks like this:\n\n ``ipset add -exist ellis_blacklist4 192.0.2.10 timeout 14400``" | 106 | false | Frzk/Ellis | add | 16,441 | |
LDU_FT/Kaggle/kaggle-api/dataset_download_files | LDU_FT | [
"<BEGIN>\n## `language`",
"Sets the language of this KernelPushRequest.",
" The language that the kernel is written in # noqa: E501",
" :param language: The language of this KernelPushRequest. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `kernel_type`",
"Sets the kernel_type of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataset_download_files 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 dataset_download_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | download all files for a dataset
Parameters
==========
dataset: the string identified of the dataset
should be in format [owner]/[dataset-name]
path: the path to download the dataset to
force: force the download if the file already exists... | "download all files for a dataset\n\n Parameters\n ==========\n dataset: the string identified of the dataset\n should be in format [owner]/[dataset-name]\n path: the path to download the dataset to\n force: force the download if the file alread... | 304 | false | Kaggle/kaggle-api | dataset_download_files | 16,442 | |
LDU_FT/SheffieldML/GPy/contour | LDU_FT | [
"<BEGIN>\n## `pdf_link`",
":param link_f: latent variables link(f)\n :type link_f: Nx1 array\n :param y: data\n :type y: Nx1 array\n :param Y_metadata: includes censoring information in dictionary key 'censored'\n :returns: likelihood evaluated for this point\n :rtype: fl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contour API.
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 contour API.
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... | Make a contour plot at (X, Y) with heights/colors stored in C on the canvas.
if Z is not None: make 3d contour plot at (X, Y, Z) with heights/colors stored in C on the canvas.
the kwargs are plotting library specific kwargs! | "Make a contour plot at (X, Y) with heights/colors stored in C on the canvas.\n \n if Z is not None: make 3d contour plot at (X, Y, Z) with heights/colors stored in C on the canvas.\n \n the kwargs are plotting library specific kwargs!" | 1,670 | true | SheffieldML/GPy | contour | 16,443 | |
LDU_FT/klmitch/framer/connection_made | LDU_FT | [
"<BEGIN>\n## `factory`",
"Generates and returns a callable suitable for passing as the\n ``protocol_factory`` parameter of the ``create_connection()``\n or ``create_server()`` loop methods. This class method\n performs some sanity checks on the arguments, and is preferred\n over using... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connection_made API.
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 connection_made API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Called by the underlying transport when a connection is made.
:param transport: The transport representing the connection. | "Called by the underlying transport when a connection is made.\n\n :param transport: The transport representing the connection." | 77 | false | klmitch/framer | connection_made | 16,444 | |
LDU_FT/azavea/django-tinsel/log | LDU_FT | [
"<BEGIN>\n## `route`",
"Route a request to different views based on http verb.",
" Kwargs should be 'GET', 'POST', 'PUT', 'DELETE' or 'ELSE',\n where the first four map to a view to route to for that type of\n request method/verb, and 'ELSE' maps to a view to pass the request\n to if the given reque... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Log a message before passing through to the wrapped function.
This is useful if you want to determine whether wrappers are
passing down the pipeline to the functions they wrap, or exiting
early, usually with some kind of exception.
Example:
example_view = decorate(username_matches_request_user,
... | "Log a message before passing through to the wrapped function.\n\n This is useful if you want to determine whether wrappers are\n passing down the pipeline to the functions they wrap, or exiting\n early, usually with some kind of exception.\n\n Example:\n example_view = decorate(username_matches_request_... | 21 | false | azavea/django-tinsel | log | 16,445 | |
LDU_FT/ianepperson/pyredminews/check_cache | LDU_FT | [
"<BEGIN>\n## `journals`",
"Retrieve journals attribute for this very Issue\n<END>",
"<BEGIN>\n## `save`",
"Save all changes back to Redmine with optional notes.\n<END>",
"<BEGIN>\n## `set_status`",
"Save all changes and set to the given new_status\n<END>",
"<BEGIN>\n## `_objectify`",
"Return an object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_cache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_cache API.
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... | Returns the updated cached version of the given dict | "Returns the updated cached version of the given dict" | 45 | false | ianepperson/pyredminews | check_cache | 16,446 | |
LDU_FT/jpgxs/pyopsview/_requires_update | LDU_FT | [
"<BEGIN>\n## `_get_schema_loader`",
"Gets a closure for schema.load_schema with the correct/current\n Opsview version\n<END>",
"<BEGIN>\n## `_resolve_definitions`",
"Interpolates definitions from the top-level definitions key into the\n schema. This is performed in a cut-down way similar to JSON... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _requires_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _requires_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Checks whether the old object and new object differ; only checks
keys which exist in the new object | "Checks whether the old object and new object differ; only checks\n keys which exist in the new object" | 26 | false | jpgxs/pyopsview | _requires_update | 16,447 | |
LDU_FT/estnltk/estnltk/add_rule | LDU_FT | [
"<BEGIN>\n## `templatesCollector`",
"leaves related articles and wikitables in place\n<END>",
"<BEGIN>\n## `assert_legal_arguments`",
"Assert that PrettyPrinter arguments are correct.",
" Raises\n ------\n ValueError\n In case there are unknown arguments or a single layer is mapped to more t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rule API.
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_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Add a new rule.
Parameters
----------
pattern: str
Pattern that is compiled to a regular expression.
css_class: str
The class that will corresponds to given pattern. | "Add a new rule.\n\n Parameters\n ----------\n pattern: str\n Pattern that is compiled to a regular expression.\n css_class: str\n The class that will corresponds to given pattern." | 1,003 | false | estnltk/estnltk | add_rule | 16,448 | |
LDU_FT/pwaller/pyprof2calltree/convert | LDU_FT | [
"<BEGIN>\n## `pstats2entries`",
"Helper to convert serialized pstats back to a list of raw entries.",
" Converse operation of cProfile.Profile.snapshot_stats()\n<END>",
"<BEGIN>\n## `is_installed`",
"Return whether or not a given executable is installed on the machine.\n<END>",
"<BEGIN>\n## `main`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert API.
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 convert API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | convert `profiling_data` to calltree format and dump it to `outputfile`
`profiling_data` can either be:
- a pstats.Stats instance
- the filename of a pstats.Stats dump
- the result of a call to cProfile.Profile.getstats()
`outputfile` can either be:
- a file() instance open in ... | "convert `profiling_data` to calltree format and dump it to `outputfile`\n\n `profiling_data` can either be:\n - a pstats.Stats instance\n - the filename of a pstats.Stats dump\n - the result of a call to cProfile.Profile.getstats()\n\n `outputfile` can either be:\n - a file() instance... | 14 | false | pwaller/pyprof2calltree | convert | 16,449 | |
LDU_FT/jealous/stockstats/_get_rsv | LDU_FT | [
"<BEGIN>\n## `_get_p`",
"get the permutation of specified range\r",
" example:\r\n index x x_-2,-1_p\r\n 0 1 NaN\r\n 1 -1 NaN\r\n 2 3 2 (0.x > 0, and assigned to weight 2)\r\n 3 5 1 (2.x > 0, and assi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_rsv API.
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_rsv API.
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... | Calculate the RSV (Raw Stochastic Value) within N days
This value is essential for calculating KDJs
Current day is included in N
:param df: data
:param n_days: N days
:return: None | "Calculate the RSV (Raw Stochastic Value) within N days\r\n\r\n This value is essential for calculating KDJs\r\n Current day is included in N\r\n :param df: data\r\n :param n_days: N days\r\n :return: None" | 84 | false | jealous/stockstats | _get_rsv | 16,450 | |
LDU_FT/Anaconda-Platform/anaconda-client/unlock_channel | LDU_FT | [
"<BEGIN>\n## `norm_package_version`",
"Normalize a version by removing extra spaces and parentheses.\n<END>",
"<BEGIN>\n## `split_spec`",
"Split a spec by separator and return stripped start and end parts.\n<END>",
"<BEGIN>\n## `parse_specification`",
"Parse a requirement from a python distribution metada... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlock_channel API.
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 unlock_channel API.
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... | Tag all files in channel <channel> also as channel <to_channel>
:param channel: channel to copy
:param owner: Perform this operation on all packages of this user
:param to_channel: Destination name (may be a channel that already exists) | "Tag all files in channel <channel> also as channel <to_channel> \n \n :param channel: channel to copy\n :param owner: Perform this operation on all packages of this user\n :param to_channel: Destination name (may be a channel that already exists)" | 111 | false | Anaconda-Platform/anaconda-client | unlock_channel | 16,451 | |
LDU_FT/sashahart/cookies/valid_value | LDU_FT | [
"<BEGIN>\n## `strip_spaces_and_quotes`",
"Remove invalid whitespace and/or single pair of dquotes and return None\n for empty strings.",
" Used to prepare cookie values, path, and domain attributes in a way which\n tolerates simple formatting mistakes and standards variations.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_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 extra... | Validate a cookie value string.
This is generic across quote/unquote functions because it directly verifies
the encoding round-trip using the specified quote/unquote functions.
So if you use different quote/unquote functions, use something like this
as a replacement for valid_value::
my_valid_... | "Validate a cookie value string.\n\n This is generic across quote/unquote functions because it directly verifies\n the encoding round-trip using the specified quote/unquote functions.\n So if you use different quote/unquote functions, use something like this\n as a replacement for valid_value::\n\n m... | 63 | false | sashahart/cookies | valid_value | 16,452 | |
LDU_FT/asweigart/pyautogui/keyDown | LDU_FT | [
"<BEGIN>\n## `_specialKeyEvent`",
"Helper method for special keys.",
" Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac\n<END>",
"<BEGIN>\n## `_keyDown`",
"Performs a keyboard key press without the release. This will put that\n key in a held down state.",
" NOTE:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keyDown API.
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 keyDown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Performs a keyboard key press without the release. This will put that
key in a held down state.
NOTE: For some reason, this does not seem to cause key repeats like would
happen if a keyboard key was held down on a text field.
Args:
key (str): The key to be pressed down. The valid names are liste... | "Performs a keyboard key press without the release. This will put that\n key in a held down state.\n\n NOTE: For some reason, this does not seem to cause key repeats like would\n happen if a keyboard key was held down on a text field.\n\n Args:\n key (str): The key to be pressed down. The valid names a... | 162 | false | asweigart/pyautogui | keyDown | 16,453 | |
LDU_FT/vmware/pyvmomi/GetArgs | LDU_FT | [
"<BEGIN>\n## `_AddType`",
"Note: Must be holding the _lazyLock, or in main init path\n<END>",
"<BEGIN>\n## `GetServiceVersions`",
"Get all the versions for the service with specified namespace (partially) ordered\n by compatibility (i.e. any version in the list that is compatible with some version\n v in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetArgs API.
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 GetArgs API.
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... | Supports the command-line arguments listed below. | "Supports the command-line arguments listed below." | 128 | false | vmware/pyvmomi | GetArgs | 16,454 | |
LDU_FT/mailgun/talon/quick_detect_encoding | LDU_FT | [
"<BEGIN>\n## `safe_format`",
"Helper: formats string with any combination of bytestrings/unicode\n strings without raising exceptions\n<END>",
"<BEGIN>\n## `to_unicode`",
"Safely returns a unicode version of a given string\n >>> utils.to_unicode('привет')\n u'привет'\n >>> utils.to_unicode(u'п... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quick_detect_encoding 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 quick_detect_encoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Tries to detect the encoding of the passed string.
Uses cchardet. Fallbacks to detect_encoding. | "Tries to detect the encoding of the passed string.\n\n Uses cchardet. Fallbacks to detect_encoding." | 140 | false | mailgun/talon | quick_detect_encoding | 16,455 | |
LDU_FT/opencivicdata/pupa/_prepare_imports | LDU_FT | [
"<BEGIN>\n## `items_differ`",
"check whether or not jsonitems and dbitems differ\n<END>",
"<BEGIN>\n## `resolve_json_id`",
"Given an id found in scraped JSON, return a DB id for the object.",
" params:\n json_id: id from json\n allow_no_match: just return None... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_imports API.
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 _prepare_imports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | filters the import stream to remove duplicates
also serves as a good place to override if anything special has to be done to the
order of the import stream (see OrganizationImporter) | "filters the import stream to remove duplicates\n\n also serves as a good place to override if anything special has to be done to the\n order of the import stream (see OrganizationImporter)" | 48 | false | opencivicdata/pupa | _prepare_imports | 16,456 | |
LDU_FT/kivy/python-for-android/getitem | LDU_FT | [
"<BEGIN>\n## `dist_dir`",
"The dist dir at which to place the finished distribution.\n<END>",
"<BEGIN>\n## `check_recipe_choices`",
"Checks what recipes are being built to see which of the alternative\n and optional dependencies are being used,\n and returns a list of these.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getitem API.
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 getitem API.
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... | Subscribe an object from sandboxed code. | "Subscribe an object from sandboxed code." | 404 | false | kivy/python-for-android | getitem | 16,457 | |
LDU_FT/podio/podio-py/_strify | LDU_FT | [
"<BEGIN>\n## `AuthorizingClient`",
"Creates a Podio client using an auth object.\n<END>",
"<BEGIN>\n## `encode_and_quote`",
"If ``data`` is unicode, return urllib.quote_plus(data.encode(\"utf-8\"))\n otherwise return urllib.quote_plus(data)\n<END>",
"<BEGIN>\n## `_strify`",
"If s is a unicode string, e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strify API.
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 _strify API.
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... | If s is a unicode string, encode it to UTF-8 and return the results,
otherwise return str(s), or None if s is None | "If s is a unicode string, encode it to UTF-8 and return the results,\n otherwise return str(s), or None if s is None" | 82 | false | podio/podio-py | _strify | 16,458 | |
LDU_FT/funkybob/knights-templater/parseprint | LDU_FT | [
"<BEGIN>\n## `parseprint`",
"Parse some code from a string and pretty-print it.\n<END>",
"<BEGIN>\n## `tokenise`",
"A generator which yields Token instances\n<END>",
"<BEGIN>\n## `kompile`",
"Creates a new class based on the supplied template, and returnsit.",
" class Template(object):\n def _... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseprint API.
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 parseprint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parse some code from a string and pretty-print it. | "Parse some code from a string and pretty-print it." | 27 | false | funkybob/knights-templater | parseprint | 16,459 | |
LDU_FT/jrief/djangocms-cascade/get_html_tag_attributes | LDU_FT | [
"<BEGIN>\n## `_enrich_link`",
"Enrich the dict glossary['link'] with an identifier onto the model\n<END>",
"<BEGIN>\n## `get_form`",
"Extend the form for the given plugin with the form SharableCascadeForm\n<END>",
"<BEGIN>\n## `get_picture_elements`",
"Create a context, used to render a <picture> together... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_html_tag_attributes 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_html_tag_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Returns a dictionary of attributes, which shall be added to the current HTML tag.
This method normally is called by the models's property method ``html_tag_ attributes``,
which enriches the HTML tag with those attributes converted to a list as
``attr1="val1" attr2="val2" ...``. | "Returns a dictionary of attributes, which shall be added to the current HTML tag.\n This method normally is called by the models's property method ``html_tag_ attributes``,\n which enriches the HTML tag with those attributes converted to a list as\n ``attr1=\"val1\" attr2=\"val2\" ...``." | 78 | false | jrief/djangocms-cascade | get_html_tag_attributes | 16,460 | |
LDU_FT/nir0s/python-packer/_parse_inspection_output | LDU_FT | [
"<BEGIN>\n## `build`",
"Executes a `packer build`",
" :param bool parallel: Run builders in parallel\n :param bool debug: Run in debug mode\n :param bool force: Force artifact output even if exists\n :param bool machine_readable: Make output machine-readable\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_inspection_output 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 _parse_inspection_output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Parses the machine-readable output `packer inspect` provides.
See the inspect method for more info.
This has been tested vs. Packer v0.7.5 | "Parses the machine-readable output `packer inspect` provides.\n\n See the inspect method for more info.\n This has been tested vs. Packer v0.7.5" | 22 | false | nir0s/python-packer | _parse_inspection_output | 16,461 | |
LDU_FT/arne-cl/discoursegraphs/graph2geoff | LDU_FT | [
"<BEGIN>\n## `merging_cli`",
"simple commandline interface of the merging module.",
" This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>",
"<BEGIN>\n## `add_node_ids_as_labels`",
"Adds the ID of each node of a discourse graph as a label (an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graph2geoff API.
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 graph2geoff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get the `graph` as Geoff string. The edges between the nodes
have relationship name `edge_rel_name`. The code
below shows a simple example::
# create a graph
import networkx as nx
G = nx.Graph()
G.add_nodes_from([1, 2, 3])
G.add_edge(1, 2)
G.add_edge(2, 3)
... | "Get the `graph` as Geoff string. The edges between the nodes\n have relationship name `edge_rel_name`. The code\n below shows a simple example::\n\n # create a graph\n import networkx as nx\n G = nx.Graph()\n G.add_nodes_from([1, 2, 3])\n G.add_edge(1, 2)\n G.add_edge(2,... | 846 | false | arne-cl/discoursegraphs | graph2geoff | 16,462 | |
LDU_FT/lowandrew/OLCTools/relative_symlink | LDU_FT | [
"<BEGIN>\n## `classes`",
"Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>",
"<BEGIN>\n## `gene_name`",
"Split the FASTA header string into i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relative_symlink API.
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 relative_symlink API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create relative symlinks files - use the relative path from the desired output directory to the storage path
e.g. ../../2013-SEQ-0072/simulated/40/50_150/simulated_trimmed/2013-SEQ-0072_simulated_40_50_150_R1.fastq.gz
is the relative path to the output_dir. The link name is the base name of the source file join... | "Create relative symlinks files - use the relative path from the desired output directory to the storage path\n e.g. ../../2013-SEQ-0072/simulated/40/50_150/simulated_trimmed/2013-SEQ-0072_simulated_40_50_150_R1.fastq.gz\n is the relative path to the output_dir. The link name is the base name of the source file j... | 432 | false | lowandrew/OLCTools | relative_symlink | 16,463 | |
LDU_FT/LuqueDaniel/pybooru/post_flag_create | LDU_FT | [
"<BEGIN>\n## `post_update`",
"Update a specific post (Requires login).",
" Parameters:\n post_id (int): The id number of the post to update.\n tag_string (str): A space delimited list of tags.\n rating (str): The rating for the post. Can be: safe, questionable,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_flag_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_flag_create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Function to flag a post.
Parameters:
post_id (int): The id of the flagged post.
reason (str): The reason of the flagging. | "Function to flag a post.\n\n Parameters:\n post_id (int): The id of the flagged post.\n reason (str): The reason of the flagging." | 299 | false | LuqueDaniel/pybooru | post_flag_create | 16,464 | |
LDU_FT/ska-sa/katversion/setuptools_entry | LDU_FT | [
"<BEGIN>\n## `patch_init_py`",
"Patch __init__.py to remove version check and append hard-coded version.\n<END>",
"<BEGIN>\n## `setuptools_entry`",
"Setuptools entry point for setting version and baking it into package.\n<END>",
"<BEGIN>\n## `date_version`",
"Generate a version string based on the SCM typ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setuptools_entry API.
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 setuptools_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Setuptools entry point for setting version and baking it into package. | "Setuptools entry point for setting version and baking it into package." | 41 | false | ska-sa/katversion | setuptools_entry | 16,465 | |
LDU_FT/django-cumulus/django-cumulus/match_local | LDU_FT | [
"<BEGIN>\n## `set_options`",
"Sets instance variables based on an options dict\n<END>",
"<BEGIN>\n## `match_cloud`",
"Returns the cloud objects that match the include and exclude patterns.\n<END>",
"<BEGIN>\n## `match_local`",
"Filters os.walk() with include and exclude patterns.\n See: http://stac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_local API.
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 match_local API.
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... | Filters os.walk() with include and exclude patterns.
See: http://stackoverflow.com/a/5141829/93559 | "Filters os.walk() with include and exclude patterns.\n See: http://stackoverflow.com/a/5141829/93559" | 30 | false | django-cumulus/django-cumulus | match_local | 16,466 | |
LDU_FT/randomsync/robotframework-mqttlibrary/publish_single | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to an MQTT broker. This is a pre-requisite step for publish\n and subscribe keywords.",
" `broker` MQTT broker host",
" `port` broker port (default 1883)",
" `client_id` if not specified, a random id is generated",
" `clean_session` spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_single API.
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 publish_single API.
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... | Publish a single message and disconnect. This keyword uses the
[http://eclipse.org/paho/clients/python/docs/#single|single]
function of publish module.
`topic` topic to which the message will be published
`payload` message payload to publish (default None)
`qos` qos of the mes... | "Publish a single message and disconnect. This keyword uses the\n [http://eclipse.org/paho/clients/python/docs/#single|single]\n function of publish module.\n\n `topic` topic to which the message will be published\n\n `payload` message payload to publish (default None)\n\n `qos` qos o... | 72 | false | randomsync/robotframework-mqttlibrary | publish_single | 16,467 | |
LDU_FT/glyph/automat/preserveName | LDU_FT | [
"<BEGIN>\n## `isOriginalLocation`",
"Attempt to discover if this appearance of a PythonAttribute\n representing a class refers to the module where that class was\n defined.\n<END>",
"<BEGIN>\n## `findMachinesViaWrapper`",
"Recursively yield L{MethodicalMachine}s and their FQPNs within a\n L{PythonMod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preserveName API.
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 preserveName API.
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... | Preserve the name of the given function on the decorated function. | "Preserve the name of the given function on the decorated function." | 60 | false | glyph/automat | preserveName | 16,468 | |
LDU_FT/cemsbr/yala/get_linter_config | LDU_FT | [
"<BEGIN>\n## `_set_linters`",
"Use user linters or all available when not specified.\n<END>",
"<BEGIN>\n## `print_config`",
"Print all yala configurations, including default and user's.\n<END>",
"<BEGIN>\n## `_parse_cfg_linters`",
"Return valid linter names found in config files.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_linter_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_linter_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return linter options without linter name prefix. | "Return linter options without linter name prefix." | 45 | false | cemsbr/yala | get_linter_config | 16,469 | |
LDU_FT/MrYsLab/pymata-aio/_discover_port | LDU_FT | [
"<BEGIN>\n## `start`",
"This method opens an IP connection on the IP device",
" :return: None\n<END>",
"<BEGIN>\n## `write`",
"This method writes sends data to the IP device\n :param data:",
" :return: None\n<END>",
"<BEGIN>\n## `loop`",
"Function that gets called again as soon as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _discover_port API.
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 _discover_port API.
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... | This is a private utility method.
This method attempts to discover the com port that the arduino
is connected to.
:returns: Detected Comport | "This is a private utility method.\n This method attempts to discover the com port that the arduino\n is connected to.\n\n :returns: Detected Comport" | 561 | false | MrYsLab/pymata-aio | _discover_port | 16,470 | |
LDU_FT/andreikop/qutepart/_isValidTrigger | LDU_FT | [
"<BEGIN>\n## `_createAction`",
"Create QAction with given parameters and add to the widget\n<END>",
"<BEGIN>\n## `clear`",
"Clear bookmarks on block range including start and end\n<END>",
"<BEGIN>\n## `_onPrevBookmark`",
"Previous Bookmark action triggered. Move cursor\n<END>",
"<BEGIN>\n## `_onNextBook... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _isValidTrigger API.
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 _isValidTrigger API.
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... | check if the trigger characters are in the right context,
otherwise running the indenter might be annoying to the user | "check if the trigger characters are in the right context,\n otherwise running the indenter might be annoying to the user" | 303 | false | andreikop/qutepart | _isValidTrigger | 16,471 | |
LDU_FT/gamechanger/confluent_schema_registry_client/get_subject_compatibility_level | LDU_FT | [
"<BEGIN>\n## `get_schema`",
"Retrieves the schema with the given schema_id from the registry\n and returns it as a `dict`.\n<END>",
"<BEGIN>\n## `get_subjects`",
"Returns the list of subject names present in the schema registry.\n<END>",
"<BEGIN>\n## `get_subject_version_ids`",
"Return the list of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subject_compatibility_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subject_compatibility_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Gets the compatibility level for the given subject. | "Gets the compatibility level for the given subject." | 16 | false | gamechanger/confluent_schema_registry_client | get_subject_compatibility_level | 16,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.